Lune

AAAI2022顶会

Improved Text Classification via Contrastive Adversarial Training

Lin Pan, Chung-Wei Hang, Avirup Sil, Saloni Potdar

摘要

We propose a simple and general method to regularize the fine-tuning of Transformer-based encoders for text classification tasks. Specifically, during fine-tuning we generate adversarial examples by perturbing the word embedding matrix of the model and perform contrastive learning on clean and adversarial examples in order to teach the model to learn noise-invariant representations. By training on both clean and adversarial examples along with the additional contrastive objective, we observe consistent improvement over standard fine-tuning on clean examples. On several GLUE benchmark tasks, our fine-tuned Bert_Large model outperforms Bert_Large baseline by 1.7% on average, and our fine-tuned Roberta_Large improves over Roberta_Large baseline by 1.3%. We additionally validate our method in different domains using three intent classification datasets, where our fine-tuned Roberta_Large outperforms Roberta_Large baseline by 1-2% on average. For the challenging low-resource scenario, we train our system using half of the training data (per intent) in each of the three intent classification datasets, and achieve similar performance compared to the baseline trained with full training data.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Evaluating Code Summarization Techniques: A New Metric and an Empirical Characterization 引用了 MPNet: Masked and Permuted Pre-training for Language Understanding
  • Efficient Adversarial Training in LLMs with Continuous Attacks 引用了 Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space
  • Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space 引用了 Deberta: decoding-Enhanced Bert with Disentangled Attention
  • Supervised Contrastive Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Towards a Holistic Understanding of Mathematical Questions with Contrastive Pre-training 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Towards a Holistic Understanding of Mathematical Questions with Contrastive Pre-training 引用了 Supervised Contrastive Learning
  • Towards a Holistic Understanding of Mathematical Questions with Contrastive Pre-training 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Efficient Adversarial Training in LLMs with Continuous AttacksSophie Xhonneux, Alessandro Sordoni, Stephan Günnemann, Gauthier Gidel 等NeurIPS 2024 · 151 次引用
  2. Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding SpaceLeo Schwinn, David Dobre, Sophie Xhonneux, Gauthier Gidel 等NeurIPS 2024 · 113 次引用
  3. Evaluating Code Summarization Techniques: A New Metric and an Empirical CharacterizationAntonio Mastropaolo, Matteo Ciniselli, Massimiliano Di Penta, Gabriele BavotaICSE 2024 · 28 次引用
  4. Towards Viewpoint-Invariant Visual Recognition via Adversarial TrainingShouwei Ruan, Yinpeng Dong, Hang Su, Jianteng Peng 等ICCV 2023 · 23 次引用
  5. Towards a Holistic Understanding of Mathematical Questions with Contrastive Pre-trainingYuting Ning, Zhenya Huang, Xin Lin, Enhong Chen 等AAAI 2023 · 10 次引用

它引用的 Paper11

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna 等NeurIPS 2020 · 7,049 次引用
  3. Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 次引用
  4. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 次引用
  5. MPNet: Masked and Permuted Pre-training for Language UnderstandingKaitao Song, Xu Tan, Tao Qin, Jianfeng Lu 等NeurIPS 2020 · 1,957 次引用

相关 Paper

  1. Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningBeliz Gunel, Jingfei Du, Alexis Conneau, Veselin StoyanovICLR 2021 · 595 次引用
  2. CoDA: Contrast-enhanced and Diversity-promoting Data Augmentation for Natural Language UnderstandingYanru Qu, Dinghan Shen, Yelong Shen, Sandra Sajeev 等ICLR 2021 · 77 次引用
  3. FreeLB: Enhanced Adversarial Training for Natural Language UnderstandingChen Zhu, Yu Cheng, Zhe Gan, Siqi Sun 等ICLR 2020 · 502 次引用
  4. R-AT: Regularized Adversarial Training for Natural Language UnderstandingShiwen Ni, Jiawen Li, Hung-Yu KaoEMNLP Findings 2022 · 5 次引用
  5. Rethinking Denoised Auto-Encoding in Language Pre-TrainingFuli Luo, Pengcheng Yang, Shicheng Li, Xuancheng Ren 等EMNLP 2021 · 8 次引用
黄昏的海面,两侧是细线勾勒的悬崖