Contrastive Learning-based Sentence Encoders Implicitly Weight Informative Words
Not on the map. Why?
Abstract (arXiv)
The performance of sentence encoders can be significantly improved through the simple practice of fine-tuning using contrastive loss. A natural question arises: what characteristics do models acquire during contrastive learning? This paper theoretically and experimentally shows that contrastive-based sentence encoders implicitly weight words based on information-theoretic quantities; that is, more informative words receive greater weight, while others receive less. The theory states that, in the lower bound of the optimal value of the contrastive learning objective, the norm of word embedding reflects the information gain associated with the distribution of surrounding words. We also conduct comprehensive experiments using various models, multiple datasets, two methods to measure the implicit weighting of models (Integrated Gradients and SHAP), and two information-theoretic quantities (information gain and self-information). The results provide empirical evidence that contrastive fine-tuning emphasizes informative words.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 25 of its 36 references that are in the map. First posted on arXiv 24 Oct 2023.
Builds on
25 of 36 references.
References · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
13 more
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
- 2019The many Shapley values for model explanationcited by 341
- 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
- 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
- 2022DiffCSE: Difference-based Contrastive Learning for Sentence Embeddingscited by 131
- 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 124
- 2021"Will You Find These Shortcuts?" A Protocol for Evaluating the Faithfulness of Input Salience Methods for Text Classificationcited by 66
- 2023Analyzing Feed-Forward Blocks in Transformers through the Lens of Attention Mapscited by 33
- 2022ferret: a Framework for Benchmarking Explainers on Transformerscited by 26
- 2022Norm of Word Embedding Encodes Information Gaincited by 21
- 2020To what extent do human explanations of model behavior align with actual model behavior?cited by 18
- 2017Unsupervised Sentence Representations as Word Information Series: Revisiting TF--IDFcited by 6
- 2022SPBERTQA: A Two-Stage Question Answering System Based on Sentence Transformers for Medical Textscited by 5
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 1.
5 papers.
- 2024Revisiting Cosine Similarity via Normalized ICA-transformed Embeddingscited by 5
- 2024Zipfian Whiteningcited by 3
- 2025Static Word Embeddings for Sentence Semantic Representationcited by 1
- 2025Introspection in Learned Semantic Scene Graph Localisationcited by 0
- 2026FineSID: Scalable and Efficient Semantic Identifier Learning for Generative Recommendationcited by 0
- 2026FineSID: Scalable and Efficient Semantic Identifier Learning for Generative Recommendation29 Sep 2026
- 2025Introspection in Learned Semantic Scene Graph Localisation8 Oct 2025
- 2025Static Word Embeddings for Sentence Semantic Representation5 Jun 2025
- 2024Zipfian Whitening1 Nov 2024
- 2024Revisiting Cosine Similarity via Normalized ICA-transformed Embeddings16 Jun 2024