Lune

ICLR2021Top-tier venue

Supervised Contrastive Learning for Pre-trained Language Model Fine-tuning

Beliz Gunel, Jingfei Du, Alexis Conneau, Veselin Stoyanov

Abstract

State-of-the-art natural language understanding classification models follow two-stages: pre-training a large language model on an auxiliary task, and then fine-tuning the model on a task-specific labeled dataset using cross-entropy loss. Cross-entropy loss has several shortcomings that can lead to sub-optimal generalization and instability. Driven by the intuition that good generalization requires capturing the similarity between examples in one class and contrasting them with examples in other classes, we propose a supervised contrastive learning (SCL) objective for the fine-tuning stage. Combined with cross-entropy, the SCL loss we propose obtains improvements over a strong RoBERTa-Large baseline on multiple datasets of the GLUE benchmark in both the high-data and low-data regimes, and it does not require any specialized architecture, data augmentation of any kind, memory banks, or additional unsupervised data. We also demonstrate that the new objective leads to models that are more robust to different levels of noise in the training data, and can generalize better to related tasks with limited labeled task data.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

54 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Intent Contrastive Learning for Sequential Recommendation cites A Simple Framework for Contrastive Learning of Visual Representations
  • Intent Contrastive Learning for Sequential Recommendation cites Supervised Contrastive Learning
  • Expanding Small-Scale Datasets with Guided Imagination cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • Expanding Small-Scale Datasets with Guided Imagination cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations cites A Simple Framework for Contrastive Learning of Visual Representations
  • Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations cites Supervised Contrastive Learning
  • Contrast and Generation Make BART a Good Dialogue Emotion Recognizer cites A Simple Framework for Contrastive Learning of Visual Representations
  • Contrast and Generation Make BART a Good Dialogue Emotion Recognizer cites Supervised Contrastive Learning
  • Supervised Contrastive Learning cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations cites A Simple Framework for Contrastive Learning of Visual Representations
  • Improved Text Classification via Contrastive Adversarial Training cites A Simple Framework for Contrastive Learning of Visual Representations
  • Improved Text Classification via Contrastive Adversarial Training cites Supervised Contrastive Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers54

  1. Intent Contrastive Learning for Sequential RecommendationYongjun Chen, Zhiwei Liu, Jia Li, Julian J. McAuley et al.WWW 2022 · 429 citations
  2. Contrast and Generation Make BART a Good Dialogue Emotion RecognizerShimin Li, Hang Yan, Xipeng QiuAAAI 2022 · 121 citations
  3. Improved Text Classification via Contrastive Adversarial TrainingLin Pan, Chung-Wei Hang, Avirup Sil, Saloni PotdarAAAI 2022 · 115 citations
  4. Expanding Small-Scale Datasets with Guided ImaginationYifan Zhang, Daquan Zhou, Bryan Hooi, Kai Wang et al.NeurIPS 2023 · 84 citations
  5. Supervised Adversarial Contrastive Learning for Emotion Recognition in ConversationsDou Hu, Yinan Bao, Lingwei Wei, Wei Zhou et al.ACL 2023 · 64 citations

Builds on14

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. wav2vec 2.0: A Framework for Self-Supervised Learning of Speech RepresentationsAlexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, Michael AuliNeurIPS 2020 · 9,451 citations
  3. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  4. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
  5. RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations

Related papers

  1. CoDA: Contrast-enhanced and Diversity-promoting Data Augmentation for Natural Language UnderstandingYanru Qu, Dinghan Shen, Yelong Shen, Sandra Sajeev et al.ICLR 2021 · 77 citations
  2. Contrastive Classification and Representation Learning with Probabilistic InterpretationRahaf Aljundi, Yash Patel, Milan Sulc, Nikolay Chumerin et al.AAAI 2023 · 10 citations
  3. MCLF: A Multi-grained Contrastive Learning Framework for ASR-robust Spoken Language UnderstandingZhiqi Huang, Dongsheng Chen, Zhihong Zhu, Xuxin ChengEMNLP Findings 2023 · 4 citations
  4. OssCSE: Overcoming Surface Structure Bias in Contrastive Learning for Unsupervised Sentence EmbeddingZhan Shi, Guoyin Wang, Ke Bai, Jiwei Li et al.EMNLP 2023 · 3 citations
  5. Rethinking Denoised Auto-Encoding in Language Pre-TrainingFuli Luo, Pengcheng Yang, Shicheng Li, Xuancheng Ren et al.EMNLP 2021 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines