Improving Text Embeddings for Smaller Language Models Using Contrastive Fine-tuning
Not on the map. Why?
Abstract (arXiv)
While Large Language Models show remarkable performance in natural language understanding, their resource-intensive nature makes them less accessible. In contrast, smaller language models such as MiniCPM offer more sustainable scalability, but often underperform without specialized optimization. In this paper, we explore the enhancement of smaller language models through the improvement of their text embeddings. We select three language models, MiniCPM, Phi-2, and Gemma, to conduct contrastive fine-tuning on the NLI dataset. Our results demonstrate that this fine-tuning method enhances the quality of text embeddings for all three models across various benchmarks, with MiniCPM showing the most significant improvements of an average 56.33% performance gain. The contrastive fine-tuning code is publicly available at https://github.com/trapoom555/Language-Model-STS-CFT.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 13 of its 24 references that are in the map. First posted on arXiv 1 Aug 2024.
Builds on
13 of 24 references.
References · 13
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
1 more
- 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025LoRACode: LoRA Adapters for Code Embeddingscited by 0
- 2025LoRACode: LoRA Adapters for Code Embeddings7 Mar 2025