TaCL: Improving BERT Pre-training with Token-aware Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
Masked language models (MLMs) such as BERT and RoBERTa have revolutionized the field of Natural Language Understanding in the past few years. However, existing pre-trained MLMs often output an anisotropic distribution of token representations that occupies a narrow subset of the entire representation space. Such token representations are not ideal, especially for tasks that demand discriminative semantic meanings of distinct tokens. In this work, we propose TaCL (Token-aware Contrastive Learning), a novel continual pre-training approach that encourages BERT to learn an isotropic and discriminative distribution of token representations. TaCL is fully unsupervised and requires no additional data. We extensively test our approach on a wide range of English and Chinese benchmarks. The results show that TaCL brings consistent and notable improvements over the original BERT model. Furthermore, we conduct detailed analysis to reveal the merits and inner-workings of our approach.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 46 of its 73 references that are in the map. First posted on arXiv 7 Nov 2021.
Builds on
46 of 73 references.
References · 46
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
34 more
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2021VideoCLIP: Contrastive Pre-training for Zero-shot Video-Text Understandingcited by 596
- 2017Time-Contrastive Networks: Self-Supervised Learning from Videocited by 453
- 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
- 2020Self-Alignment Pretraining for Biomedical Entity Representationscited by 233
- 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
- 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
- 2019BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysiscited by 176
- 2021Multi-Task Pre-Training for Plug-and-Play Task-Oriented Dialogue Systemcited by 139
- 2021SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarizationcited by 131
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2021Self-Guided Contrastive Learning for BERT Sentence Representationscited by 103
- 2021TACo: Token-aware Cascade Contrastive Learning for Video-Text Alignmentcited by 102
- 2021Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence Encoderscited by 88
- 2018Chinese NER Using Lattice LSTMcited by 81
- 2021DialogLM: Pre-trained Model for Long Dialogue Understanding and Summarizationcited by 72
- 2020FLAT: Chinese NER Using Flat-Lattice Transformercited by 67
- 2021CONTaiNER: Few-Shot Named Entity Recognition via Contrastive Learningcited by 64
- 2021Plan-then-Generate: Controlled Data-to-Text Generation via Planningcited by 52
- 2019Glyce: Glyph-vectors for Chinese Character Representationscited by 46
- 2021Phrase-BERT: Improved Phrase Embeddings from BERT with an Application to Corpus Explorationcited by 44
- 2021Non-Autoregressive Text Generation with Pre-trained Language Modelscited by 36
- 2020Multilingual BERT Post-Pretraining Alignmentcited by 30
- 2020Dialogue Response Selection with Hierarchical Curriculum Learningcited by 27
- 2020Prototype-to-Style: Dialogue Generation with Style-Aware Editing on Retrieval Memorycited by 22
- 2021Few-Shot Table-to-Text Generation with Prototype Memorycited by 21
- 2021Rewire-then-Probe: A Contrastive Recipe for Probing Biomedical Knowledge of Pre-trained Language Modelscited by 21
- 2021MirrorWiC: On Eliciting Word-in-Context Representations from Pretrained Language Modelscited by 18
- 2016F-Score Driven Max Margin Neural Network for Named Entity Recognition in Chinese Social Mediacited by 11
- 2021Exploring Dense Retrieval for Dialogue Response Selectioncited by 11
Built on by
Citing papers per year: 2021: 1; 2022: 18; 2023: 8; 2024: 3; 2025: 1; 2026: 1.
32 papers.
Sort:
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2023A Systematic Study and Comprehensive Evaluation of ChatGPT on Benchmark Datasetscited by 123
- 2022Language Models Can See: Plugging Visual Controls in Text Generationcited by 89
- 2022Contrastive Search Is What You Need For Neural Text Generationcited by 58
- 2022Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulationscited by 44
- 2022Nonparametric Masked Language Modelingcited by 39
- 2022A Theoretical Study of Inductive Biases in Contrastive Learningcited by 38
- 2023InfoNCE Loss Provably Learns Cluster-Preserving Representationscited by 37
- 2022CoCo: Coherence-Enhanced Machine-Generated Text Detection Under Data Limitation With Contrastive Learningcited by 32
- 2022Modality-Aware Contrastive Instance Learning with Self-Distillation for Weakly-Supervised Audio-Visual Violence Detectioncited by 26
- 2023Adapting a Language Model While Preserving its General Knowledgecited by 23
- 2022On Isotropy, Contextualization and Learning Dynamics of Contrastive-based Sentence Representation Learningcited by 15
20 more
- 2022HyPe: Better Pre-trained Language Model Fine-tuning with Hidden Representation Perturbationcited by 11
- 2022R2D2: Robust Data-to-Text with Replacement Detectioncited by 8
- 2022Effidit: Your AI Writing Assistantcited by 8
- 2022From Easy to Hard: A Dual Curriculum Learning Framework for Context-Aware Document Rankingcited by 5
- 2023Headless Language Models: Learning without Predicting with Contrastive Weight Tyingcited by 5
- 2023SCStory: Self-supervised and Continual Online Story Discoverycited by 5
- 2025Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learningcited by 5
- 2022SDCL: Self-Distillation Contrastive Learning for Chinese Spell Checkingcited by 4
- 2023Transfer-Free Data-Efficient Multilingual Slot Labelingcited by 4
- 2021SimCLAD: A Simple Framework for Contrastive Learning of Acronym Disambiguationcited by 3
- 2022Multi-level Distillation of Semantic Knowledge for Pre-training Multilingual Language Modelcited by 3
- 2022A Benchmark Study of Contrastive Learning for Arabic Social Meaningcited by 2
- 2022Self-supervised Rewiring of Pre-trained Speech Encoders: Towards Faster Fine-tuning with Less Labels in Speech Processingcited by 2
- 2023Weighted Sampling for Masked Language Modelingcited by 2
- 2022Learning Locality and Isotropy in Dialogue Modelingcited by 1
- 2023Sentence-Level Relation Extraction via Contrastive Learning with Descriptive Relation Promptscited by 1
- 2024Injecting Wiktionary to improve token-level contextual representations using contrastive learningcited by 1
- 2024Contrastive and Consistency Learning for Neural Noisy-Channel Model in Spoken Language Understandingcited by 0
- 2024Modeling Comparative Logical Relation with Contrastive Learning for Text Generationcited by 0
- 2026SIGMA: Semantic Identifier Grouping for Molecular Autoregressioncited by 0
- 2026SIGMA: Semantic Identifier Grouping for Molecular Autoregression26 Mar 2026
- 2025Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning4 Jun 2025
- 2024Modeling Comparative Logical Relation with Contrastive Learning for Text Generation13 Jun 2024
- 2024Contrastive and Consistency Learning for Neural Noisy-Channel Model in Spoken Language Understanding23 May 2024
- 2024Injecting Wiktionary to improve token-level contextual representations using contrastive learning12 Feb 2024
- 2023SCStory: Self-supervised and Continual Online Story Discovery27 Nov 2023
- 2023Headless Language Models: Learning without Predicting with Contrastive Weight Tying15 Sep 2023
- 2023A Systematic Study and Comprehensive Evaluation of ChatGPT on Benchmark Datasets29 May 2023
- 2023Transfer-Free Data-Efficient Multilingual Slot Labeling22 May 2023
- 2023Sentence-Level Relation Extraction via Contrastive Learning with Descriptive Relation Prompts11 Apr 2023
- 2023Weighted Sampling for Masked Language Modeling28 Feb 2023
- 2023InfoNCE Loss Provably Learns Cluster-Preserving Representations15 Feb 2023
20 more
- 2023Adapting a Language Model While Preserving its General Knowledge21 Jan 2023
- 2022CoCo: Coherence-Enhanced Machine-Generated Text Detection Under Data Limitation With Contrastive Learning20 Dec 2022
- 2022On Isotropy, Contextualization and Learning Dynamics of Contrastive-based Sentence Representation Learning18 Dec 2022
- 2022HyPe: Better Pre-trained Language Model Fine-tuning with Hidden Representation Perturbation17 Dec 2022
- 2022Nonparametric Masked Language Modeling2 Dec 2022
- 2022A Theoretical Study of Inductive Biases in Contrastive Learning27 Nov 2022
- 2022Multi-level Distillation of Semantic Knowledge for Pre-training Multilingual Language Model2 Nov 2022
- 2022SDCL: Self-Distillation Contrastive Learning for Chinese Spell Checking31 Oct 2022
- 2022Contrastive Search Is What You Need For Neural Text Generation25 Oct 2022
- 2022Self-supervised Rewiring of Pre-trained Speech Encoders: Towards Faster Fine-tuning with Less Labels in Speech Processing24 Oct 2022
- 2022A Benchmark Study of Contrastive Learning for Arabic Social Meaning22 Oct 2022
- 2022From Easy to Hard: A Dual Curriculum Learning Framework for Context-Aware Document Ranking22 Aug 2022
- 2022Effidit: Your AI Writing Assistant3 Aug 2022
- 2022Modality-Aware Contrastive Instance Learning with Self-Distillation for Weakly-Supervised Audio-Visual Violence Detection12 Jul 2022
- 2022Learning Locality and Isotropy in Dialogue Modeling29 May 2022
- 2022R2D2: Robust Data-to-Text with Replacement Detection25 May 2022
- 2022Language Models Can See: Plugging Visual Controls in Text Generation5 May 2022
- 2022Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulations6 Apr 2022
- 2022A Contrastive Framework for Neural Text Generation13 Feb 2022
- 2021SimCLAD: A Simple Framework for Contrastive Learning of Acronym Disambiguation29 Nov 2021
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2023A Systematic Study and Comprehensive Evaluation of ChatGPT on Benchmark Datasetscited by 123
- 2022Language Models Can See: Plugging Visual Controls in Text Generationcited by 89
- 2022Contrastive Search Is What You Need For Neural Text Generationcited by 58
- 2022Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulationscited by 44
- 2022Nonparametric Masked Language Modelingcited by 39
- 2022A Theoretical Study of Inductive Biases in Contrastive Learningcited by 38
- 2023InfoNCE Loss Provably Learns Cluster-Preserving Representationscited by 37
- 2022CoCo: Coherence-Enhanced Machine-Generated Text Detection Under Data Limitation With Contrastive Learningcited by 32
- 2022Modality-Aware Contrastive Instance Learning with Self-Distillation for Weakly-Supervised Audio-Visual Violence Detectioncited by 26
- 2023Adapting a Language Model While Preserving its General Knowledgecited by 23
- 2022On Isotropy, Contextualization and Learning Dynamics of Contrastive-based Sentence Representation Learningcited by 15
12 most cited of 32 All 32 (JSON)
- 2026SIGMA: Semantic Identifier Grouping for Molecular Autoregression26 Mar 2026
- 2025Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning4 Jun 2025
- 2024Modeling Comparative Logical Relation with Contrastive Learning for Text Generation13 Jun 2024
- 2024Contrastive and Consistency Learning for Neural Noisy-Channel Model in Spoken Language Understanding23 May 2024
- 2024Injecting Wiktionary to improve token-level contextual representations using contrastive learning12 Feb 2024
- 2023SCStory: Self-supervised and Continual Online Story Discovery27 Nov 2023
- 2023Headless Language Models: Learning without Predicting with Contrastive Weight Tying15 Sep 2023
- 2023A Systematic Study and Comprehensive Evaluation of ChatGPT on Benchmark Datasets29 May 2023
- 2023Transfer-Free Data-Efficient Multilingual Slot Labeling22 May 2023
- 2023Sentence-Level Relation Extraction via Contrastive Learning with Descriptive Relation Prompts11 Apr 2023
- 2023Weighted Sampling for Masked Language Modeling28 Feb 2023
- 2023InfoNCE Loss Provably Learns Cluster-Preserving Representations15 Feb 2023
12 newest of 32 All 32 (JSON)