Research map / Adversarial robustness and security / Attacks on text and graphs
CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understanding
Dong Wang, Ning Ding, Piji Li, Hai-Tao Zheng
Tsinghua University · Tencent
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| adversarial training (FreeLB) on BERT-base | BERT-base · IMDB contrast set (Rev) | accuracy: 89.8 -> 87.7 | Hurt |
| adversarial training (FreeLB) on BERT-base | BERT-base · SNLI contrast set (Rev) | accuracy: 73.0 -> 71.4 | Hurt |
| adversarial training (FreeLB) on BERT-base | BERT-base · IMDB adversarial set | accuracy: 88.7 -> 91.9 | Improved |
| CLINE contrastive pre-training with semantic negatives | RoBERTa-base · BoolQ contrast consistency | contrast consistency: 43.9 -> 47.8 | Improved |
| CLINE contrastive pre-training with semantic negatives | RoBERTa-base · PERSPECTRUM contrast consistency | contrast consistency: 65.0 -> 72.2 | Improved |
| CLINE contrastive pre-training with semantic negatives | RoBERTa-base · IMDB adversarial set | accuracy: 93.9 -> 94.7 | Improved |
| add CLINE pre-training on top of FreeLB | RoBERTa + FreeLB · SNLI adversarial set | accuracy: 58.1 -> 58.7 | Improved |
| add replaced token detection objective (ablation) | CLINE · PERSPECTRUM contrast consistency (100% data) | contrast consistency: 68.9 -> 72.2 | Improved |
| add replaced token detection objective (ablation) | CLINE · BoolQ contrast consistency (100% data) | contrast consistency: 46.6 -> 47.8 | Improved |
| use constructed antonym-based hard negatives instead of random negatives (ablation) | CLINE · PERSPECTRUM contrast consistency (1% data) | contrast consistency: 14.7 -> 33.6 | Improved |
| use constructed antonym-based hard negatives instead of random negatives (ablation) | CLINE · BoolQ contrast consistency (100% data) | contrast consistency: 44.5 -> 47.8 | Improved |
| CLINE pre-training from BERT-base | BERT-base · MR sentence triplets, BertScore Hits | max Hits (%): 47.0 -> 66.8 | Improved |
Open problems in adversarial prompts for language models
Do adversarial-prompt attacks and defenses for language models hold on closed models, other languages, multi-turn use and adaptive opponents?
- The method needs white-box or logit access and cannot reach closed models. · 11 papers state it
- Evaluation is English-only, and other languages are untested. · 11 papers state it
- Models tested are open-weight and small, with frontier models left out. · 9 papers state it
Closest papers by meaning
- Generating Natural Language Adversarial Examples (EMNLP 2018 · similarity 0.89)
- Unsupervised Sentence Representation via Contrastive Learning with Mixing Negatives (AAAI 2022 · similarity 0.87)
- Contrastive Learning with Adversarial Examples for Alleviating Pathology of Language Model (ACL 2023 · similarity 0.87)
- Contrastive Learning with Adversarial Examples (NeurIPS 2020 · similarity 0.87)
- Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretation (AAAI 2022 · similarity 0.87)
- Towards Robust Knowledge Unlearning: An Adversarial Framework for Assessing and Improving Unlearning Robustness in Large Language Models (AAAI 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.