scimeatlas

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

ACL 2021Adversarial robustness and security › Attacks on text and graphsapproach: Adversarial prompts for language modelsopen problems in this approach120 citations (OpenAlex)

Tsinghua University · Tencent

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
10improved
2hurt

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 changedWhereMeasuredEffect
adversarial training (FreeLB) on BERT-baseBERT-base · IMDB contrast set (Rev)accuracy: 89.8 -> 87.7Hurt
adversarial training (FreeLB) on BERT-baseBERT-base · SNLI contrast set (Rev)accuracy: 73.0 -> 71.4Hurt
adversarial training (FreeLB) on BERT-baseBERT-base · IMDB adversarial setaccuracy: 88.7 -> 91.9Improved
CLINE contrastive pre-training with semantic negativesRoBERTa-base · BoolQ contrast consistencycontrast consistency: 43.9 -> 47.8Improved
CLINE contrastive pre-training with semantic negativesRoBERTa-base · PERSPECTRUM contrast consistencycontrast consistency: 65.0 -> 72.2Improved
CLINE contrastive pre-training with semantic negativesRoBERTa-base · IMDB adversarial setaccuracy: 93.9 -> 94.7Improved
add CLINE pre-training on top of FreeLBRoBERTa + FreeLB · SNLI adversarial setaccuracy: 58.1 -> 58.7Improved
add replaced token detection objective (ablation)CLINE · PERSPECTRUM contrast consistency (100% data)contrast consistency: 68.9 -> 72.2Improved
add replaced token detection objective (ablation)CLINE · BoolQ contrast consistency (100% data)contrast consistency: 46.6 -> 47.8Improved
use constructed antonym-based hard negatives instead of random negatives (ablation)CLINE · PERSPECTRUM contrast consistency (1% data)contrast consistency: 14.7 -> 33.6Improved
use constructed antonym-based hard negatives instead of random negatives (ablation)CLINE · BoolQ contrast consistency (100% data)contrast consistency: 44.5 -> 47.8Improved
CLINE pre-training from BERT-baseBERT-base · MR sentence triplets, BertScore Hitsmax Hits (%): 47.0 -> 66.8Improved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy