mlsanityData to 14 Oct 2026

Improving Text Embeddings for Smaller Language Models Using Contrastive Fine-tuning

arXiv 2408.00690 ↗First posted 1 Aug 2024cs.CLcited by 1

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  6. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  8. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
  9. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  10. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  11. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
  12. 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
1 more
  1. 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.