Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Improving Text Embeddings with Large Language Models

About

In this paper, we introduce a novel and simple method for obtaining high-quality text embeddings using only synthetic data and less than 1k training steps. Unlike existing methods that often depend on multi-stage intermediate pre-training with billions of weakly-supervised text pairs, followed by fine-tuning with a few labeled datasets, our method does not require building complex training pipelines or relying on manually collected datasets that are often constrained by task diversity and language coverage. We leverage proprietary LLMs to generate diverse synthetic data for hundreds of thousands of text embedding tasks across 93 languages. We then fine-tune open-source decoder-only LLMs on the synthetic data using standard contrastive loss. Experiments demonstrate that our method achieves strong performance on highly competitive text embedding benchmarks without using any labeled data. Furthermore, when fine-tuned with a mixture of synthetic and labeled data, our model sets new state-of-the-art results on the BEIR and MTEB benchmarks.

Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, Furu Wei• 2023

Related benchmarks

TaskDatasetResultRank
Information RetrievalBEIR (test)--
90
Information RetrievalBEIR
Average NDCG@100.529
62
Sentence Embedding EvaluationMTEB (test)
Classification Score78.5
55
Information RetrievalLIMIT benchmark (test)
Recall@21.3
46
Information RetrievalBRIGHT
Biology nDCG@1017.9
45
Multi-lingual retrievalMIRACL (dev)
Avg Score63.4
43
Conversational RetrievalQReCC (test)
Recall@1021.1
43
Information RetrievalSciFact
nDCG@100.748
36
Information RetrievalFIQA BEIR (test)
nDCG@1044.5
32
Multilingual Long-context RetrievalMLDR
nDCG@1042.6
28
Showing 10 of 57 rows

Other info

Follow for update