English

Text Embeddings by Weakly-Supervised Contrastive Pre-training

Computation and Language 2024-02-23 v2 Information Retrieval

Abstract

This paper presents E5, a family of state-of-the-art text embeddings that transfer well to a wide range of tasks. The model is trained in a contrastive manner with weak supervision signals from our curated large-scale text pair dataset (called CCPairs). E5 can be readily used as a general-purpose embedding model for any tasks requiring a single-vector representation of texts such as retrieval, clustering, and classification, achieving strong performance in both zero-shot and fine-tuned settings. We conduct extensive evaluations on 56 datasets from the BEIR and MTEB benchmarks. For zero-shot settings, E5 is the first model that outperforms the strong BM25 baseline on the BEIR retrieval benchmark without using any labeled data. When fine-tuned, E5 obtains the best results on the MTEB benchmark, beating existing embedding models with 40x more parameters.

Keywords

Cite

@article{arxiv.2212.03533,
  title  = {Text Embeddings by Weakly-Supervised Contrastive Pre-training},
  author = {Liang Wang and Nan Yang and Xiaolong Huang and Binxing Jiao and Linjun Yang and Daxin Jiang and Rangan Majumder and Furu Wei},
  journal= {arXiv preprint arXiv:2212.03533},
  year   = {2024}
}

Comments

17 pages, v2 fixes the SummEval numbers

R2 v1 2026-06-28T07:24:34.050Z