SupCL-Seq: Supervised Contrastive Learning for Downstream Optimized Sequence Representations
Not on the map. Why?
Abstract (arXiv)
While contrastive learning is proven to be an effective training strategy in computer vision, Natural Language Processing (NLP) is only recently adopting it as a self-supervised alternative to Masked Language Modeling (MLM) for improving sequence representations. This paper introduces SupCL-Seq, which extends the supervised contrastive learning from computer vision to the optimization of sequence representations in NLP. By altering the dropout mask probability in standard Transformer architectures, for every representation (anchor), we generate augmented altered views. A supervised contrastive loss is then utilized to maximize the system's capability of pulling together similar samples (e.g., anchors and their altered views) and pushing apart the samples belonging to the other classes. Despite its simplicity, SupCLSeq leads to large gains in many sequence classification tasks on the GLUE benchmark compared to a standard BERTbase, including 6% absolute improvement on CoLA, 5.4% on MRPC, 4.7% on RTE and 2.6% on STSB. We also show consistent gains over self supervised contrastively learned representations, especially in non-semantic tasks. Finally we show that these gains are not solely due to augmentation, but rather to a downstream optimized sequence representation. Code: https://github.com/hooman650/SupCL-Seq
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 12 of its 14 references that are in the map. First posted on arXiv 15 Sep 2021.
Builds on
12 of 14 references.
References · 12
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2020Supervised Contrastive Learningcited by 2,829
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,380
- 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 997
- 2018Neural Network Acceptability Judgmentscited by 958
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 673
- 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 276
- 2020Deep Learning Based Text Classification: A Comprehensive Reviewcited by 141
Built on by
Citing papers per year: 2022: 2; 2023: 3; 2024: 2.
7 papers.
- 2022Contrastive Positive Sample Propagation along the Audio-Visual Event Linecited by 50
- 2022Generative Aspect-Based Sentiment Analysis with Contrastive Learning and Expressive Structurecited by 13
- 2023MatchXML: An Efficient Text-label Matching Framework for Extreme Multi-label Text Classificationcited by 3
- 2024Learning Label Hierarchy with Supervised Contrastive Learningcited by 3
- 2024How Well Do LLMs Handle Cantonese? Benchmarking Cantonese Capabilities of Large Language Modelscited by 3
- 2023Retrofitting Light-weight Language Models for Emotions using Supervised Contrastive Learningcited by 2
- 2023CRL+: A Novel Semi-Supervised Deep Active Contrastive Representation Learning-Based Text Classification Model for Insurance Datacited by 0
- 2024How Well Do LLMs Handle Cantonese? Benchmarking Cantonese Capabilities of Large Language Models29 Aug 2024
- 2024Learning Label Hierarchy with Supervised Contrastive Learning31 Jan 2024
- 2023Retrofitting Light-weight Language Models for Emotions using Supervised Contrastive Learning29 Oct 2023
- 2023MatchXML: An Efficient Text-label Matching Framework for Extreme Multi-label Text Classification25 Aug 2023
- 2023CRL+: A Novel Semi-Supervised Deep Active Contrastive Representation Learning-Based Text Classification Model for Insurance Data8 Feb 2023
- 2022Contrastive Positive Sample Propagation along the Audio-Visual Event Line18 Nov 2022
- 2022Generative Aspect-Based Sentiment Analysis with Contrastive Learning and Expressive Structure14 Nov 2022