Elamur Research

Text Embeddings by Weakly-Supervised Contrastive Pre-training

Paper · 2022 · Liang Wang, Nan Yang, Xiaolong Huang et al.

Summary

A search system needs to connect a question with useful evidence even when they use different words. A classification system needs to distinguish categories, and a clustering system needs to gather related documents. Text embeddings offer a common interface for these tasks: convert each text into a compact vector, then compare vectors. The difficulty is learning a representation whose distances remain useful across different purposes. This paper introduces E5, an embedding family trained around that goal, and argues that the quality of the text relationships used during training deserves as much attention as the training objective.

The authors assemble CCPairs from relationships already present in web content. A question accompanies an answer, a scientific title accompanies an abstract, and a discussion post receives comments. These structures supply weak supervision: they suggest that texts belong together without requiring an annotator to judge every pair. After preliminary cleaning, the collection contains roughly 1.3 billion pairs. A further filter trains an initial encoder on that noisy collection and asks whether it can recover each passage from its associated query among competing passages. Keeping only strong matches leaves roughly 270M pairs. E5 then learns to distinguish these retained relationships from mismatched texts through contrastive training.

The resulting encoder produces a single vector for each input. Its Transformer processes both queries and passages with shared parameters, while short prefixes identify their different roles. The main training stage uses other passages in the current batch as negative examples, with a batch size of 32,768. An optional fine-tuning stage introduces labeled inference and retrieval data, together with difficult negative examples and guidance from a separate relevance scorer. The paper distinguishes E5-PT, which stops after contrastive pretraining, from E5 after this supervised stage.

On the evaluated BEIR retrieval datasets, E5-PT base obtains an average nDCG@10 of 42.9, and E5-PT large reaches 44.2. The authors report that the base version exceeds BM25 by 1.2 points across the 15 publicly downloadable datasets, presenting this as the first such result without labeled embedding-training data. Supervised E5 base reaches 48.7 on the same benchmark collection, although its MS-MARCO and Natural Questions evaluations are then in-domain. Across the English MTEB evaluation, which contains 56 datasets, the authors also report competitive performance against substantially larger systems. These findings support carefully curated weak supervision as a strong foundation for reusable embeddings. They do not establish that dense retrieval should replace lexical search everywhere, or that supervised refinement has become unnecessary.

Interesting ideas

Learn from existing relationships. The web contains useful training structure before anyone creates a dedicated annotation project. Questions and answers, titles and abstracts, or posts and comments offer different kinds of connection between texts. CCPairs treats that structure as a resource, then filters it rather than assuming every connection is meaningful. The broader lesson applies wherever an application already records relationships: document references, support conversations, or linked explanatory material can suggest training candidates. The relationship supplies a starting hypothesis about relevance, while subsequent checks determine whether it is dependable enough to learn from.

Use recoverability to inspect noisy data. The consistency filter asks whether an encoder trained on a candidate collection can recognize the pairings that collection asserts. A pairing that remains difficult to recover becomes a reason for scrutiny. This makes a learned system useful during dataset construction, before the final training run. The transferable idea is to compare proposed supervision with behavior learned from the wider collection. Such disagreement can identify suspicious material in retrieval, weak annotation, or structured prediction, provided it is treated as a fallible signal rather than proof of an error.

Separate input roles with small textual cues. E5 shares its encoder between both sides of a pair but prefixes inputs with query: or passage:. These markers allow the representation to depend on what a text is meant to do. A question seeking an explanation need not be treated like a document supplying one. The same design principle could help systems that compare requests with responses, claims with evidence, or examples with category descriptions. Shared machinery can still support different relationships when the intended role is made explicit.

Improve the comparison set before complicating the architecture. E5 uses a straightforward contrastive setup, but exposes each query to many competing passages through large batches. That matters because distinguishing a positive from weak alternatives is easier than distinguishing it from a broad collection of plausible distractions. The authors’ comparisons favor current-batch negatives over the alternatives they tested. For other projects, the reusable question is whether a representation lacks architectural capacity or simply receives an insufficiently informative training comparison. The answer depends on available memory, data scale, and the cost of finding difficult negatives.

Match supervision to the intended use. Retrieval data and inference data improve different parts of E5’s evaluation. The combined fine-tuning mixture gives the strongest overall MTEB outcome, while individual sources favor particular tasks. This suggests treating training diversity as a functional design choice. A collection that improves answer retrieval may not improve sentence similarity or classification equally. Researchers building general representations can borrow the practice of evaluating source combinations by task family, instead of selecting a mixture solely from its aggregate score.

Keep a lexical baseline in view. E5’s average retrieval result is meaningful because the comparison includes BM25, an established method with practical strengths. The paper also identifies settings where exact wording or long documents remain difficult for dense representations. A strong conventional baseline makes an embedding experiment more informative: it shows whether semantic matching adds useful retrieval behavior in the domain that matters. This principle applies especially when a learned component increases training cost or makes individual ranking decisions harder to explain.

Deep dive: Text Embeddings by Weakly-Supervised Contrastive Pre-training

How E5 learns reusable text embeddings from naturally paired web text, why data filtering matters, and what its evaluations establish. · about 35 minutes to read

How Mova uses it

For Mova, the small open language system written in Rust, the useful contribution is a set of testable engineering ideas. The proposed connections concern its learning, world knowledge, frame analysis, and answering stages. They should be understood as possible adaptations. There is no evidence here that Mova has already implemented E5 training, reproduced its benchmark results, or integrated its embeddings into an existing pipeline.

Inspecting weak linguistic supervision

In the learning stage, Mova could adapt the consistency-filtering idea to silver Universal Dependencies trees or proposed frames. Silver annotations are candidate analyses produced automatically rather than established through a fully manual annotation process. A learner could be retrained on those candidates, then tested on whether it reproduces the asserted structures. Items that remain difficult could be flagged before they enter witness agreement.

The connection to E5 is the use of learned agreement as a data-quality signal. The tasks themselves differ: E5 ranks passages, whereas Mova would be checking linguistic analyses. That difference prevents a direct claim that the same filter would work. A failed reproduction might indicate a noisy tree, but it might also expose a construction the learner handles poorly. An honest implementation would therefore preserve the candidate analysis, the learner’s alternative, and the reason for flagging it. The flag would request examination; it would not silently convert disagreement into rejection.

This proposal also suggests a concrete test boundary. Mova could compare the material reaching witness agreement with and without this preliminary flagging, while separately inspecting unusual but valid constructions. The relevant outcome would be whether the filter improves the reliability of accepted analyses without systematically excluding difficult language. E5 motivates that experiment but supplies no result for it.

Training answering readers from natural pairs

Stackexchange-style questions and answers could provide material for Mova’s answering readers without requiring an LLM teacher to generate the supervision. The question establishes an information need, and the associated answer offers a candidate response. E5 shows how such naturally connected texts can contribute to a broader training collection.

For Mova, the same source could support both learning and evaluation, provided the examples used to judge performance remain separate from those used for training. An answer’s association with a question is useful evidence, but it does not guarantee correctness, completeness, or suitability for Mova’s reading task. The reusable contribution is the availability of naturally occurring supervision, together with the need to inspect its quality.

Making retrieval roles explicit

The world stage could distinguish a question from a candidate fact when retrieving knowledge-graph material or WordNet glosses. Role-tagged inputs would express the intended relationship: the question asks for information, while the retrieved text should supply it. This follows E5’s distinction between query and passage roles.

A useful test would separate passages that answer a question from passages that merely resemble its wording. The proposal does not require treating a similarity score as an explanation of the answer. Mova could retain the retrieved fact or gloss as the inspectable evidence and use the learned score only to help find it.

Comparing frame descriptions without overriding syntax

For frames, Mova could compare a clause with descriptions of candidate speech acts or VerbNet classes. E5’s zero-shot classification procedure motivates this use of label descriptions as texts that can be matched against an input. In Mova, that comparison could offer an explainable fallback signal, especially when several candidate descriptions seem plausible.

The decisive analysis would still rest on the tree. A nearby description in an embedding space is not evidence that the clause has the necessary syntactic structure. The value of the fallback would be to expose a candidate and its description for comparison with the structural analysis, rather than replacing that analysis with a hidden similarity judgment.

Finally, fable question answering offers a setting for comparing lexical and dense retrieval. Mova could keep lexical retrieval as a negative control and examine which questions benefit from dense matching. Such a comparison would make the proposed addition accountable to a concrete task. Until those tests exist, the paper provides a research direction for Mova, not a demonstrated improvement.

The problem and its context

Why a useful text vector is difficult to learn

A text embedding compresses an input into a fixed-size numerical representation. Its practical attraction is that the same representation can support several operations: finding a nearby document, comparing the meanings of sentences, grouping related texts, or supplying features to a classifier. The compression is also the difficulty. The vector must preserve distinctions that matter later, even though those later tasks may differ from the task used to train it.

In information retrieval, the authors contrast dense embeddings with sparse representations such as TF-IDF. Sparse methods depend heavily on shared words. Dense representations offer a way to connect texts whose wording differs, potentially overcoming lexical mismatch. They also provide a convenient interface: a retrieval system can store document vectors and compare a new query vector against them.

However, an encoder trained to process language does not automatically produce an effective single-vector representation of an entire text. The paper places BERT and GPT in this context. Their transferable internal representations are valuable, but retrieval and matching impose a more specific requirement: each independently encoded text must occupy a useful position in a shared space. Good language representations and good distances between complete texts are related goals, not interchangeable evaluation criteria.

Contrastive learning addresses this requirement by training on relationships. A positive pair tells the encoder which texts should match. Negative passages provide alternatives that should receive lower scores. The quality of this instruction depends on the pairs. If a supposed positive contains little relevant information, the objective can reward an unhelpful connection. An unlimited source of pairs is therefore not automatically an unlimited source of useful learning.

Earlier approaches described by the authors

The paper locates dense text representations within a longer history. Latent Semantic Indexing derives document representations through a decomposition of word–document occurrence information. Latent Dirichlet Allocation instead represents documents through probabilistic topic structure. The authors also point to work showing that weighted combinations of word embeddings can provide a strong sentence-level baseline.

With pretrained encoders and labeled datasets, researchers could train representations more directly for sentence relationships. The related-work discussion includes Sentence-BERT, SimCSE, Sentence-T5, and SGPT. These approaches help establish the general strategy of adapting a language encoder so that complete texts can be compared through continuous vectors.

The authors distinguish representations shaped for particular applications from those intended to work broadly. GTR is discussed as using supervised data for passage retrieval, while Sentence-T5 is associated with semantic similarity. Supervised training can be effective, but task labels constrain what can be collected and which relationships receive emphasis. A general-purpose embedding should ideally transfer beyond the narrow kind of judgment represented by one labeled dataset.

Another line of work constructs supervision automatically. In the inverse cloze task, a sentence taken from a passage acts as a query and the remaining material becomes its positive passage. Contriever uses random text crops with augmentation, which the paper describes as more effective than that task on several retrieval evaluations. Neighboring spans offer another source of automatic positives. These procedures make large collections feasible because they do not require a person to annotate each pair.

The criticism is about the usefulness of the resulting relationships. Two spans can come from the same document without forming the sort of query–evidence connection that a retrieval application needs. The authors report that earlier approaches in this category remained below BM25 on BEIR unless they received supervised fine-tuning. They also discuss SPAR, which learns from BM25 as a teacher, and domain-matched pretraining, which aims to improve performance within a target domain.

What E5 changes

E5 shifts the source of supervision towards naturally connected texts. Its central question is whether a broad collection of meaningful web relationships, cleaned aggressively, can support strong embeddings before labeled task adaptation. The contrastive framework remains simple. Much of the contribution lies in choosing and curating the pairs that define what the framework learns.

The paper acknowledges closely related community work around sentence-transformers, where embeddings had been trained using mixtures of annotated and automatically collected data. Its own emphasis is on establishing a strong pretraining foundation from weakly supervised pairs, followed by an optional supervised stage. The distinction matters when interpreting the results: strong performance without labeled embedding-training examples is one finding; further improvement after labeled training is another.

Evaluation is part of the problem definition. Semantic similarity tests whether sentence scores align with human similarity judgments, while retrieval tests whether relevant passages appear near the top of a ranking. Classification and clustering probe other properties. A representation can succeed at one without being best at the others.

The authors therefore use BEIR for varied retrieval settings and MTEB for a broader range of embedding applications. They do not use SentEval, explaining that its linear-probing results depend on optimization choices. Their broader position is that embedding quality should be examined through several downstream uses, because no single evaluation settles whether a representation is generally useful.

The method, step by step

The method has a data-curation stage, a contrastive training stage, and an optional supervised stage. These stages answer different questions. Curation decides which textual relationships are worth learning. Contrastive training turns those relationships into a vector space. Fine-tuning then adds stronger task-specific judgments to that space.

From naturally related texts to reusable embeddings

The steps in order.

From naturally related texts to reusable embeddingsStep 1: Harvest pairs from varied web sources1. Harvest pairs from varied web sourcesStep 2: Apply source-specific cleaning rules2. Apply source-specific cleaning rulesStep 3: Train an initial encoder on noisy pairs3. Train an initial encoder on noisy pairsStep 4: Keep pairs recovered by the encoder4. Keep pairs recovered by the encoderStep 5: Pre-train E5 with large-batch contrastive learning5. Pre-train E5 with large-batch contrastive learningStep 6: Optionally refine using labeled task data6. Optionally refine using labeled task dataStep 7: Encode texts for downstream comparisons7. Encode texts for downstream comparisons

Harvest relationships rather than isolated documents

The basic training item contains a query, written as q, and a passage, written as p. These are functional names. A passage can be a sentence, a paragraph, or a longer document; the method does not restrict the term to a particular length. The query side is the text used to retrieve its paired passage.

Different sources supply different relationships. Reddit contributes posts with comments. Stackexchange supplies questions with answers that received upvotes. Wikipedia connects an entity name and section heading with the relevant passage. Scientific material contributes title–abstract relationships as well as citation-based pairs. Common Crawl and news supply titles associated with page content.

This variety matters because the relationships are not semantically identical. An abstract expands a title. An answer responds to an information need. A citation connects scientific documents through scholarly use. The dataset asks the encoder to learn across these different signals instead of specializing entirely in one. Some subsets are reused from existing collections, but the selection principle is that the source can be mined automatically.

The first cleaning stage uses source-specific rules. Reddit comments are excluded when they exceed 4096 characters or have a score below 1. For web passages, the authors remove material with high perplexity. Perplexity is used here as a language-based filtering signal, not as the final measure of embedding quality. These preliminary operations leave roughly 1.3 billion candidate pairs, with Reddit and Common Crawl providing most of the material.

The appendix adds details about provenance and processing. Common Crawl data comes from the 2022-33 snapshot and is processed with cc_net, including language identification and deduplication. Webpages from the MS-MARCO document-ranking corpus are also included. During filtering, the authors examine passage combinations within pages instead of relying only on a title paired with page content.

For scientific data from S2ORC, the training sample weight is 0.3. The stated purpose is to prevent the scientific domain from receiving excessive emphasis. This is a useful distinction between collecting diverse sources and allowing their raw sizes to determine the final training distribution. Diversity in the inventory does not on its own ensure balance during learning.

Filter pairs through a learned retrieval test

The next stage uses an initial encoder trained on the noisy collection. For each candidate pair, that encoder scores the associated passage against a pool containing 1 million randomly selected passages. The pair survives only when its passage ranks among the top k candidates. The authors choose k = 2 after manually inspecting quality.

This is a consistency test between the dataset’s asserted relationship and the encoder’s learned behavior. If q is supposed to connect with p, the initial encoder should be able to distinguish p from many unrelated passages. A failure suggests that the asserted connection may be too weak or noisy for the intended training task.

The motivation comes from prior observations about memorization. The authors describe neural networks as often learning cleaner labels before eventually fitting noisy ones. That behavior gives an intermediate learner potential value as a filter: it may capture broad regularities before memorizing every questionable example. The paper connects its approach to earlier noise-filtering methods instead of claiming that learned filtering itself is completely new.

After filtering, the collection contains roughly 270M pairs. The authors leave repeated applications of the filtering procedure for future work. The reported pipeline therefore should not be read as an iterative cleaning system that repeatedly converges on a final collection.

The meaning of the filter also needs care. It selects pairs that the initial encoder can recover under a particular retrieval challenge. That is a useful operational criterion, but it is not an independent human judgment that every surviving pair is correct. Nor does a low rank establish that a discarded relationship is false. The method uses recoverability to improve the training distribution, and the downstream experiments evaluate whether that choice helps.

Encode both sides with shared parameters

E5 uses a bi-encoder arrangement. The query and passage are processed separately, so their vectors can be computed independently. Both use the same encoder parameters. After the Transformer processes a text, the output representations are averaged to obtain its fixed-size embedding.

Independent encoding is important for deployment. A target collection can be encoded in advance, leaving only the new query to be encoded when a request arrives. The retrieval stage then compares vectors rather than jointly processing every query–document combination through a larger relevance calculation.

Shared parameters do not mean identical treatment of every input. The encoder receives the prefix query: for a query and passage: for a passage. Those role indicators allow the same text-processing machinery to learn a directional matching relationship. This is especially relevant when the corpus contains material resembling the question itself: a useful result may answer the question rather than merely restate it.

Some sources do not supply an obvious direction. Citation pairs are the authors’ example. They randomly assign the query role in those cases. The role convention is therefore partly determined by the source and partly chosen for practical simplicity.

The scoring rule is:

sθ(p, q) = cos(Eq, Ep) / τ

Here, q is the query text and p is the passage text. Eq and Ep are their respective embedding vectors. The function cos measures cosine similarity, which compares their directions. The symbol θ represents the encoder’s learned parameters, and sθ is the resulting compatibility score. The temperature τ controls how sharply score differences affect the subsequent training probabilities. Its default value is 0.01.

Cosine similarity supplies the underlying comparison, while temperature changes the scale used in learning. The temperature is therefore part of the training behavior even though retrieval is described in terms of cosine ranking. The paper’s discussion of negative-sampling alternatives also notes that temperature sensitivity can affect comparisons between training methods.

Learn by choosing the paired passage

For each query, contrastive training presents its associated passage alongside negative passages. The objective rewards the encoder when the positive receives a stronger score than the alternatives. It is not learning a separate classifier for each downstream application. It is shaping a common scoring space through many such choices.

minθ Lcont = −(1/n) Σᵢ log[exp(sθ(qᵢ, pᵢ)) / (exp(sθ(qᵢ, pᵢ)) + Σⱼ exp(sθ(qᵢ, pᵢⱼ⁻)))]

The quantity Lcont is the contrastive loss being minimized over parameters θ. There are n training pairs in the collection represented by the expression, indexed by i. The query qᵢ has positive passage pᵢ. Its negative passages are pᵢⱼ⁻, indexed by j, with m negatives assigned to that example. The summation over j runs over those negatives. The function exp exponentiates each compatibility score, and log is the logarithm.

The fraction can be read as the probability assigned to the positive passage within the comparison set. Its numerator contains the positive score. Its denominator contains that score together with the negative scores. The loss becomes smaller when the positive accounts for more of that total. Averaging over the examples encourages the same behavior throughout training.

E5 obtains its negatives from the current batch. For a given query, passages associated with other queries act as alternatives. This avoids a separate large-scale mining procedure during pretraining, while a large batch supplies a broad set of distractions.

The main pretraining batch contains 32,768 examples. Because the negative set comes from the batch, this choice directly affects the retrieval problem presented during learning. The authors find the approach stable and effective when batches are sufficiently large. Their analyses compare it with methods that store or reuse embeddings from earlier parameter states.

There is a distinction between a computational negative and a verified irrelevant passage. A passage paired with another query is available as a negative in the objective; it has not necessarily been manually judged irrelevant to the current query. The paper’s recipe uses this scalable approximation rather than collecting exhaustive relevance judgments.

Run the pre-training configurations

The authors train small, base, and large E5 variants. The small encoder starts from MiniLM. The base version begins from bert-base-uncased, while the large version uses bert-large-uncased-whole-word-masking. Contrastive training therefore builds on pretrained language encoders rather than beginning from randomly initialized text processing.

Training lasts 20k steps, corresponding to approximately 2.5 epochs over the dataset. AdamW is used with a decaying learning rate, and the opening 1,000 steps provide warmup. The stated learning rates are 3 × 10⁻⁴ for small, 2 × 10⁻⁴ for base, and 1 × 10⁻⁴ for large.

The hardware requirements increase with size. The small run uses 16 V100 GPUs for 1 day. The base run uses 32 V100 GPUs for 1 day, while the large run uses 64 V100 GPUs for 2 days. Mixed precision and gradient checkpointing reduce memory demands and improve training efficiency.

These details explain why the method’s conceptual simplicity should not be confused with a small training budget. Large-batch contrastive learning depends on substantial computational capacity in the reported setup. The final embeddings can be convenient to use even when producing them requires a demanding training process.

Optionally add stronger supervision

The second stage combines NLI, MS-MARCO passage-ranking data, and Natural Questions. NLI supplies relationships involving sentence inference. The retrieval datasets supply query–passage judgments closer to search applications. Their effects differ across downstream tasks, which motivates using them together.

For retrieval fine-tuning, the authors use mined hard negatives and a cross-encoder teacher. A hard negative is an incorrect candidate that is difficult to distinguish from the positive. The teacher processes the relevance comparison more directly and supplies a distribution of scores that the independent student encoder is trained to approximate.

For NLI, contradiction sentences provide hard negatives. The fine-tuning setup uses 7 hard negatives per example. Because an NLI example has 1 such contradiction available, the remaining 6 sentences are sampled randomly from the corpus. These random additions and the contradiction do not provide identical kinds of difficulty, even though they enter the training comparison together.

The combined objective is:

minθ [DKL(pce, pstu) + αLcont]

The term DKL is the Kullback–Leibler divergence between probability distributions. The distribution pce comes from the cross-encoder teacher, and pstu comes from the student encoder. Their divergence encourages the student’s relative scores to resemble the teacher’s. Lcont is the contrastive objective already defined, and α determines its weight within the combined loss. The optimization adjusts θ, the student parameters.

The teacher distribution provides softer information than a single correct-or-incorrect label. Meanwhile, the contrastive term preserves pressure to favor the labeled positive. For retrieval data, the authors reuse difficult negatives and reranker scores from SimLM instead of describing a newly created mining pipeline for this stage.

Using 8 GPUs and a batch size of 256, fine-tuning proceeds for 3 epochs. Warmup lasts 400 steps. The learning rates are 3 × 10⁻⁵, 2 × 10⁻⁵, and 1 × 10⁻⁵ for small, base, and large respectively. E5-PT denotes the versions that do not undergo this supervised refinement.

Use the vectors for different tasks

For retrieval, passage vectors are prepared and indexed offline. A new query is encoded at request time, and the system ranks stored passages by cosine similarity. Approximate nearest-neighbor methods can make this comparison practical for large collections.

For classification with a small labeled sample, the encoder remains frozen while a linear classifier is trained on its vectors. This separates the shared representation from the task-specific decision boundary. Each task then needs its own classifier parameters rather than a separate fully adapted encoder.

Zero-shot text classification uses a different procedure. The input and candidate labels are converted into descriptive sentences through manually chosen templates. The predicted category is the one whose description lies closest to the input. In the paper’s sentiment example, a movie review is compared with descriptions expressing favorable or unfavorable review categories. No learned classifier head is required for that comparison.

For similarity, cosine scores are compared with human judgments through rank-based evaluation. For clustering, an ordinary clustering method such as k-means operates on the vectors. Outside retrieval and zero-shot classification, the authors use query-side embeddings by default. The implementation also treats Quora duplicate questions symmetrically by assigning the query prefix to both sides.

Experiments and results

What the benchmarks measure

BEIR tests retrieval across varied domains and information needs. The collection contains 19 datasets, but the authors evaluate the 15 with public downloads. These cover settings such as web retrieval, answering questions, and verifying claims. The headline metric is nDCG@10, a ranking measure that rewards relevant results appearing near the beginning of the returned list.

The retrieval evaluation is deliberately heterogeneous. A system that works for short factual questions might behave differently on scientific material or argument retrieval. Averaging across datasets provides a broad comparison, but it does not erase those differences. The authors’ later analysis explicitly returns to domains where lexical matching remains difficult to replace.

MTEB provides the wider embedding evaluation. The paper uses its English portion, containing 56 datasets. Its task families include classification, clustering, and pair classification; it also evaluates reranking, retrieval, semantic similarity, and summarization. These uses place different demands on the representation, so their scores should not be interpreted as interchangeable measurements of one narrow capability.

The metrics vary accordingly. Classification uses accuracy, clustering uses v-measure, and pair classification uses average precision. Reranking is evaluated with MAP, while retrieval uses nDCG@10. The similarity-oriented evaluations use Spearman coefficients. The point of the combined evaluation is breadth across applications, rather than a claim that the underlying metrics have identical meanings.

Retrieval without labeled embedding-training data

The clearest numerical comparison reported in the main prose concerns the pre-training-only variants. E5-PT base obtains an average nDCG@10 of 42.9 across the evaluated BEIR collection. E5-PT large reaches 44.2. These results come before the supervised refinement stage.

E5-PT size comparison on BEIR average nDCG@10

The large pre-training-only variant achieves the stronger average retrieval score.

E5-PT size comparison on BEIR average nDCG@10E5-PT base: 42.9E5-PT base42.9E5-PT large (this paper): 44.2E5-PT large (this paper)44.2
The numbers
System or settingnDCG@10
E5-PT base42.9
E5-PT large (this paper)44.2

The authors state that E5-PT base exceeds BM25 by 1.2 points on the 15-dataset average. They present this as the first reported case in which an embedding system trained without labeled data surpasses BM25 on that evaluation. The claim is about this benchmark average and this supervision condition. It does not mean E5 wins every individual retrieval task.

The baseline discussion connects the result to the source of positive pairs. Contriever learns from augmented random crops. LaPraDor combines inverse-cloze training with a dropout-based positive construction associated with SimCSE. Those methods make automatic supervision easy to obtain. E5 requires more work in data curation, and the authors argue that its performance justifies that effort.

Other baseline conditions affect how comparisons should be read. The paper reports SimCSE with a BERT base encoder. Its LaPraDor comparison excludes a BM25 ensemble. Some results for the paid-API cpt system are unavailable in the original comparison source. These qualifications matter because a benchmark column can otherwise conceal differences in availability, implementation, or use of lexical components.

The result supports a particular practical proposition: naturally related texts, filtered at scale, can yield strong retrieval vectors without a labeled relevance-training stage. It does not isolate every part of the recipe in the main comparison. Architecture initialization, data composition, filtering, and batch construction all contribute to the system being evaluated.

Retrieval after supervised refinement

After fine-tuning, E5 base reaches an average BEIR nDCG@10 of 48.7. The authors report that this exceeds existing systems including the larger GTR large. This comparison is evidence for the complete training pipeline, combining the weakly supervised foundation with later labeled learning.

The supervision condition changes the meaning of zero-shot evaluation. MS-MARCO and Natural Questions appear in fine-tuning, so their benchmark results are in-domain. The remaining BEIR datasets measure transfer to other tasks and domains without additional training on those target datasets. Calling the entire supervised result “zero-shot” without that distinction would obscure where training information entered.

Most evaluated datasets improve after fine-tuning, but the paper names exceptions including FiQA and Scidocs, as well as Fever. The authors suggest that the labeled mixture may lack sufficient domain diversity. This is a proposed explanation instead of a separate experiment proving the source of every regression.

The appendix also warns that MS-MARCO results depend on the input setup. Its in-domain evaluation uses document titles supplied through RocketQA, whereas the BEIR version lacks those titles. The authors therefore expect lower results in the latter setting. The relevant lesson is that a shared dataset name does not guarantee identical retrieval inputs.

For the additional in-domain evaluations, the paper names MRR@10 and Recall@1k for MS-MARCO. Natural Questions is assessed with Recall@20 and Recall@100 under a passage-retrieval setup associated with Dense Passage Retrieval. Those metrics examine complementary aspects of retrieval, including the position of useful results and whether they enter a candidate set.

Broader embedding performance

On MTEB, the authors report that E5 performs strongly against comparably sized alternatives and remains competitive with much larger encoders. The large E5 version has 300M parameters. The discussed GTR xxl and Sentence-T5 xxl systems each have 4.8B parameters. The abstract and main discussion also emphasize that E5 base competes with alternatives containing 40× as many parameters.

These are comparisons of parameter counts and evaluated performance, not direct measurements of equal hardware cost or identical serving speed. Their significance is that representation quality does not track parameter count alone in these experiments. Training data and the sequence of training stages are central to the result.

A particularly useful control is BERT-FT base. It receives the same supervised data as E5 base but starts from BERT without the CCPairs contrastive stage. The reported performance gap favors E5. This comparison helps attribute value to the intermediate embedding pretraining, instead of attributing all of E5’s final quality to its supervised mixture.

The paper also evaluates zero-shot sentiment classification on the SST-2 development split. Candidate labels are represented through textual descriptions and matched against the input. The authors report a clear advantage over always predicting the majority label. This experiment demonstrates that the matching interface can support classification, while remaining narrower than a claim of universal zero-shot classification performance.

What the ablations show

The design analyses use base-size encoders. For BEIR, the authors select 6 datasets whose results are more stable between runs. That restriction matters: these comparisons examine design choices on a subset, rather than repeating every headline result across the full benchmark.

Larger batches strengthen the contrastive task

The batch-size analysis increases the setting from 1K to 32K and reports improvements across all 6 selected datasets. Because passages from the batch provide the negatives, larger batches make each training choice more demanding. The encoder has to distinguish the positive from a wider range of alternatives.

This supports large-batch training within the tested recipe. It does not establish that increasing batch size indefinitely would continue to help, or that batch size is the only effective way to improve negatives. The authors explicitly acknowledge difficult negative mining as an alternative for smaller batches.

Their reason for avoiding that alternative at pretraining scale is practical. Mining over collections larger than 100M examples requires substantial engineering. The reported recipe trades that mining problem for the computational demands of large batches.

Fine-tuning sources improve different capabilities

The source-combination analysis separates retrieval-oriented data from NLI. The MS-MARCO and Natural Questions combination is strongest for retrieval. NLI is helpful for semantic similarity and classification through linear probing. Combining the sources produces the best overall MTEB outcome.

This finding explains why a general representation may need more than a large amount of one kind of supervision. Retrieval labels teach useful query–passage distinctions, but those distinctions do not exhaust the relationships tested by sentence similarity or classification. The combined mixture broadens the training signal.

The result also cautions against choosing training data from an aggregate score alone. A researcher optimizing retrieval might prefer a different balance from one building a shared representation for many applications. The paper’s overall mixture is supported by its general-purpose objective, while the individual comparisons reveal where that mixture obtains its benefits.

Filtering helps beyond reducing training volume

At a training scale of 1M pairs, the filtered collection yields an advantage of almost 6 points in the authors’ analysis. At the full-data setting, the unfiltered collection is about 4× larger, yet remains behind by 1.6 points.

These comparisons show that the filter’s value is not limited to making the corpus easier to process. More unfiltered examples do not compensate for the weaker training signal in the reported setup. The result supports the authors’ emphasis on selecting useful relationships rather than maximizing the raw number of pairs.

It does not prove that every excluded example is incorrect. The filtered set may also be more aligned with what the initial encoder can learn and with the downstream tasks used for evaluation. The practical finding is that this selection procedure improves the resulting embeddings under the tested conditions.

Current-batch negatives compare favorably with stored negatives

The paper tests pre-batch negatives, which reuse embeddings from earlier batches, and Momentum Contrast, which maintains a momentum encoder and a queue. Both approaches can enlarge the negative collection without the same immediate memory burden as a larger current batch.

Their complication is that many stored vectors were created under older parameter values. The current query encoder is therefore compared with representations that do not all reflect its present state. The authors identify this as a downside and report favorable results for their in-batch approach.

They also note that MoCo is sensitive to hyper-parameters, including temperature, and allow that more tuning could improve it. The analysis supports the chosen implementation; it is not a definitive ranking of every possible configuration of the competing strategies.

Additional complexity does not always pay

The appendix reports a modest gain from adding BM25-mined hard negatives when using 15M examples: roughly 0.5 points on BEIR. However, the mining process becomes too time-consuming over a 250M+ collection, in spite of parallel execution. This is a case where a favorable smaller-scale result does not translate into an attractive full-scale procedure.

Initialization also matters. Replacing BERT with RoBERTa produces worse results on most BEIR datasets in the authors’ experiments. The observation is specific to this embedding setup. It does not overturn RoBERTa’s performance in other applications.

Finally, the authors add a masked-language objective to 25% of the training pairs. Performance remains similar while training becomes more expensive. The result gives no reason to retain that auxiliary objective in the final recipe. Together, these negative findings help explain why E5 uses a comparatively direct training framework in spite of the many possible additions.

Limitations

Limits explicitly recognized by the authors

The authors do not argue that dense retrieval has made BM25 obsolete. They identify practical advantages for BM25 in simplicity, efficiency, and interpretability. They also point to difficult cases involving specialized domains, long documents, and exact lexical matching.

Trec-Covid illustrates a long-tail domain in their discussion. Touche-2020 raises the challenge of longer documents. FEVER is cited as a setting where exact wording matters. These examples constrain the meaning of the average BEIR improvement: a broad aggregate gain does not remove domain-specific weaknesses.

Long-text representation is a deeper unresolved issue. The related-work section asks whether a fixed-size vector can retain all the information in a long document. E5 does not settle that question. Its implementation sets evaluation text length to 512 and freezes positional embeddings during both training stages. The experiments therefore should not be interpreted as demonstrating unrestricted long-document understanding.

The authors also leave open whether purely self-supervised training can deliver the strongest embeddings across tasks. E5-PT is effective, but supervised refinement improves most task categories. Clustering is an exception in the reported MTEB discussion. The paper therefore supports weak supervision as a powerful foundation, while still finding value in human-labeled data.

Several possible improvements remain unresolved. Repeated consistency filtering is deferred. MoCo might benefit from additional tuning. The authors expect gains from further scaling, but that expectation is not a reported result. These statements identify research possibilities rather than completed extensions of E5.

Limits visible in the evaluation setup

The English MTEB evaluation does not establish multilingual quality. The broader benchmark includes multilingual material, but this paper evaluates its English portion. Similarly, a varied set of text tasks does not imply evidence about other modalities. The general-purpose claim concerns the embedding applications actually examined.

The filter’s independence is another limitation. The same broad learning process that discovers useful regularities also influences which examples survive. A relationship may be discarded because it is noisy, but it may instead be rare, difficult, or poorly represented by the initial encoder. The downstream comparisons show that filtering helps the tested outcomes; they do not provide an exhaustive audit of what the filter removes.

This matters especially for unusual domains. A procedure that favors easily recoverable relationships could improve average performance while reducing exposure to valid but difficult cases. That possibility is a cautious inference from the selection mechanism, not a measured failure reported by the authors.

The contamination precautions are useful but bounded. The authors remove training pairs matching evaluation material through exact strings. Such removal addresses literal overlap. It does not demonstrate that every paraphrase, near-duplicate, or related source document has been excluded. The paper’s reported safeguard should therefore be described precisely, without turning it into a guarantee of complete separation.

The supervised retrieval results also require a clear accounting of training exposure. Once MS-MARCO and Natural Questions enter fine-tuning, their evaluations no longer test transfer to unseen task distributions. The other BEIR datasets retain that transfer role. The distinction is central to interpreting the supervised average.

Parameter efficiency has a similarly limited meaning. Matching larger encoders with fewer parameters is valuable, but the paper does not establish equal training budgets, equal data access, or equal inference conditions across every comparison. Its own training setup uses substantial GPU resources. A smaller final encoder and a cheaper end-to-end development process are different claims.

Limits of the claimed generality

A single vector offers a useful common interface, but different applications require different notions of closeness. A question may need an answer instead of a paraphrase. A classification input may need proximity to a category description. A similarity task may reward broader semantic overlap. E5 handles these differences through its training mixture, role prefixes, and downstream procedures; it does not show that one undifferentiated similarity judgment is ideal everywhere.

The sentiment experiment is also limited in scope. It uses the SST-2 development split and manually chosen templates. Its success demonstrates a workable classification procedure in that setting. It does not establish that label descriptions can replace trained classifiers for arbitrary categories or that template choice is unimportant.

Finally, benchmark scores provide evidence about observable task performance, not a complete explanation of the embedding space. The paper does not establish that individual coordinates correspond to interpretable linguistic properties or that a high similarity score constitutes reliable factual evidence. Retrieval quality and factual correctness remain distinct questions.

The strongest supported conclusion is therefore specific but substantial: heterogeneous natural pairings, filtered through a learned consistency test and used in large-batch contrastive training, produce effective reusable text representations. The boundaries concern where those representations transfer, what their scores mean, and how much further supervision is needed.

What came after

Later citing work places E5 within several expanding research directions: multilingual embeddings, longer contexts, instruction-based representations, and retrieval-centered applications. Citation establishes a connection in the research record, but it does not by itself show that a later system reused CCPairs, adopted the same filter, or reproduced the same training recipe. Where only a work’s title identifies its scope, that scope supports a thematic comparison rather than a detailed claim about implementation.

Extending language coverage and input length

Multilingual E5 is the most direct continuation named in the later literature. Its title identifies a multilingual extension of the E5 embedding line. That direction addresses a clear boundary of the original evaluation, which concentrated on English datasets. The citation alone does not specify how the later training data, filtering procedure, or language coverage differ.

C-Pack concerns resources for general Chinese embeddings. It belongs to the same broad effort to make reusable text representations practical beyond the original English setting. Its connection is particularly relevant to E5’s emphasis on data: general embeddings require suitable training resources as well as an encoder. No specific borrowing of CCPairs construction can be inferred from the title.

M3-Embedding brings together multilingual scope, multiple functions, and multiple granularities, with self-knowledge distillation named as its method. This broadens the representation problem along several axes. E5 demonstrates the value of one reusable embedding interface; the later title points toward serving more languages and more forms of retrieval within a related research agenda.

Longer inputs become an explicit focus in mGTE, whose subject includes multilingual representation and reranking over long contexts. Jina Embeddings 2 likewise centers long-document embeddings. These directions correspond to a limitation E5 itself recognizes: compressing lengthy material into a fixed representation remains difficult. Their titles identify that problem as a target, without establishing how completely they solve it.

Nomic Embed combines reproducibility with long-context embedding training. Reproducibility is a distinct concern from benchmark strength: researchers also need to understand and repeat the process that produces an encoder. The title signals that concern, but does not provide grounds for attributing a particular data-release practice or numerical result.

jina-embeddings-v3 identifies multilingual embeddings with task LoRA. Its stated scope raises another question alongside E5’s shared representation: how task-specific adaptation should interact with a common encoder. The available citation identifies the adaptation mechanism by name, but does not establish its relationship to E5’s role prefixes or fine-tuning mixture.

Changing the encoder and the training objective

Multi-stage Contrastive Learning explicitly targets general text embeddings through a staged contrastive approach. That makes it a close thematic neighbor to E5’s separation of broad pretraining and later refinement. The title supports the connection between stages and generality, while leaving the exact stages and their effects unspecified.

Instruction-Finetuned Text Embeddings frames generality through instructions. E5 uses short role markers to distinguish query and passage behavior; instruction-based embeddings raise a broader version of the same design question: how much information about the intended task should accompany the text being represented? The citation does not establish that the later work derives its instruction mechanism from E5.

Improving Embeddings with Large Language Models connects embedding quality with larger language systems. NV-Embed similarly concerns training such systems as generalist embedders. Both titles place encoder training and general-purpose representation at the center, but they do not identify which specific technique accounts for any improvement.

LLM2Vec addresses the use of large language systems as text encoders. Generative Representational Instruction Tuning joins generative and representational training in its stated subject. These works extend the surrounding question of what training makes a language system useful for vector-based tasks. E5’s contribution remains a concrete demonstration that the embedding objective and its data deserve dedicated attention.

Qwen3 Embedding places embedding and reranking within a foundation-system framework. The modern bidirectional encoder study focuses on speed, memory efficiency, and longer contexts for adaptation and inference. These titles suggest continued work on both representation quality and practical encoder design. They do not support a claim that later architecture changes preserve or replace E5’s particular recipe.

Retrieval becomes part of larger systems

Query2doc studies query expansion using large language systems. Its focus is adjacent to embedding training: retrieval can change when the request is reformulated, even if the stored representation remains fixed. E5 improves the matching space; query expansion addresses the text entering that space. The citation alone does not establish how the approaches are combined.

Legal Question Answering connects retrieval with long-form answers and interpretability in a legal setting. Best Practices for Retrieval-Augmented Generation examines retrieval as part of a broader answer-generation process. These application directions make E5’s retrieval role relevant, while also introducing questions its own experiments do not settle, such as whether retrieved evidence supports the final answer.

Retrieval Meets Long Context concerns the relationship between retrieval and systems that accept longer inputs. MultiHop-RAG names evaluation for queries requiring multiple retrieval steps. Both move beyond the isolated quality of a single query–passage ranking. Their titles identify broader system questions, not evidence that E5 itself performs multi-step reasoning.

FlashRAG provides a toolkit-oriented direction for retrieval-augmented research. Learning to Retrieve In-Context Examples applies retrieval to selecting examples for another system’s input. Together, these titles illustrate how reusable representations can enter different experimental workflows. The candidate being retrieved need not always be an answer passage; it may be an example intended to guide later processing.

Search-R1 and ReSearch both connect search with reinforcement learning for reasoning. Chain of Agents concerns collaboration on long-context tasks. These are broader architectures and training settings than E5 evaluates. Their citations show that the embedding paper is part of the surrounding retrieval literature, without demonstrating that E5’s training method is responsible for their system-level behavior.

Broadening evaluation and examining data

MMTEB names a large multilingual embedding benchmark. It continues the evaluation question that motivates E5’s use of MTEB: generality needs to be tested across more than one task or language. Its title establishes the multilingual benchmark focus, while offering no basis here for comparing its scores with E5’s English results.

ColPali brings vision-language systems into document retrieval. That expands the kind of evidence a retrieval representation may need to preserve. It is related to E5 through the retrieval problem, but the visual setting goes beyond E5’s text-only experiments.

Automatic Data Selection for Alignment concerns selecting instruction-tuning data. Its thematic connection is the importance of choosing useful supervision rather than accepting every available example. The title does not establish that it uses E5’s recoverability filter. The comparison is a shared research question about data quality, not a documented transfer of the same algorithm.

Crowd Workers and Text Production addresses the use of large language systems in crowd-produced text. Its relevance lies in the provenance of supervision, a concern distinct from E5’s automatic mining but adjacent to the broader question of what training examples actually represent. Knowledge Fusion names another related direction, though its title alone does not identify a specific embedding method or dependence on E5.

Across these later citations, the supported pattern is an expanding set of questions around representation, data, retrieval, and evaluation. E5’s place in that development is clearest where it offers an experimentally grounded starting point: learn from varied natural relationships, inspect their quality, and evaluate the resulting vectors across different uses. The later titles show how far the surrounding agenda extends; they do not turn every citation into evidence that the original recipe was adopted unchanged.

 Fields, topics and concepts

Cite

Cite as Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder and Furu Wei. 2022. Text Embeddings by Weakly-Supervised Contrastive Pre-training. arXiv:2212.03533.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2212.03533 · arXiv 2212.03533

@misc{wang2022text,
  title = {{Text Embeddings by Weakly-Supervised Contrastive Pre-training}},
  author = {Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder and Furu Wei},
  year = {2022},
  doi = {10.48550/arxiv.2212.03533},
  eprint = {2212.03533},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2212.03533}
}

References

63 references, from the paper's own bibliography.

  1. Sanjeev Arora, Yingyu Liang, and Tengyu Ma. A simple but tough-to-beat baseline for sentence embeddings. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017. URL https://openreview.net/forum?id=SyK00v5xx. OpenAlex ↗ · Scholar ↗
  2. Mikel Artetxe and Holger Schwenk. Massively multilingual sentence embeddings for zero-shot cross-lingual transfer and beyond. Transactions of the Association for Computational Linguistics, 7:0 597–610, 2019. . URL https://aclanthology.org/Q19-1038. our card
  3. David M. Blei, Andrew Y. Ng, and Michael I. Jordan. Latent dirichlet allocation. In Thomas G. Dietterich, Suzanna Becker, and Zoubin Ghahramani, editors, Advances in Neural Information Processing Systems 14 [Neural Information Processing Systems: Natural and Synthetic, NIPS 2001, December 3-8, 2001, Vancouver, British Columbia, Canada], pages 601–608. MIT Press, 2001. URL https://proceedings.neurips.cc/paper/2001/hash/296472c9542ad4d4788d543508116cbc-Abstract.html. OpenAlex ↗ · Scholar ↗
  4. Alexander Bondarenko, Maik Fröbe, Johannes Kiesel, Shahbaz Syed, Timon Gurcke, Meriem Beloucif, Alexander Panchenko, Chris Biemann, Benno Stein, Henning Wachsmuth, et al. Overview of touché 2022: argument retrieval. In International Conference of the Cross-Language Evaluation Forum for European Languages, pages 311–336. Springer, 2022. OpenAlex ↗ · Scholar ↗
  5. Vera Boteva, Demian Gholipour, Artem Sokolov, and Stefan Riezler. A full-text learning to rank dataset for medical information retrieval. In European Conference on Information Retrieval, pages 716–722. Springer, 2016. OpenAlex ↗ · Scholar ↗
  6. Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 632–642, Lisbon, Portugal, 2015. Association for Computational Linguistics. . URL https://aclanthology.org/D15-1075. our card
  7. Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In Hugo Larochelle, Marc'Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin, editors, Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html. our card
  8. Daniel Fernando Campos, Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, Li Deng, and Bhaskar Mitra. Ms marco: A human generated machine reading comprehension dataset. ArXiv, abs/1611.09268, 2016. our card
  9. Wei-Cheng Chang, Felix X. Yu, Yin-Wen Chang, Yiming Yang, and Sanjiv Kumar. Pre-training tasks for embedding-based large-scale retrieval. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. URL https://openreview.net/forum?id=rkg-mA4FDr. OpenAlex ↗ · Scholar ↗
  10. Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 1597–1607. PMLR, 2020. URL http://proceedings.mlr.press/v119/chen20j.html. our card
  11. Xilun Chen, Kushal Lakhotia, Barlas Oğuz, Anchit Gupta, Patrick Lewis, Stan Peshterliev, Yashar Mehdad, Sonal Gupta, and Wen-tau Yih. Salient phrase aware dense retrieval: Can a dense retriever imitate a sparse one? arXiv preprint arXiv:2110.06918, 2021. OpenAlex ↗ · Scholar ↗
  12. Arman Cohan, Sergey Feldman, Iz Beltagy, Doug Downey, and Daniel S Weld. Specter: Document-level representation learning using citation-informed transformers. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2270–2282, 2020. our card
  13. Alexis Conneau and Douwe Kiela. SentEval: An evaluation toolkit for universal sentence representations. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan, 2018. European Language Resources Association (ELRA). URL https://aclanthology.org/L18-1269. our card
  14. Alexis Conneau, Douwe Kiela, Holger Schwenk, Loïc Barrault, and Antoine Bordes. Supervised learning of universal sentence representations from natural language inference data. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 670–680, Copenhagen, Denmark, 2017. Association for Computational Linguistics. . URL https://aclanthology.org/D17-1070. our card
  15. Zhuyun Dai, Vincent Zhao, Ji Ma, Yi Luan, Jianmo Ni, Jing Lu, Anton Bakalov, Kelvin Guu, Keith B. Hall, and Ming-Wei Chang. Promptagator: Few-shot dense retrieval from 8 examples. ArXiv, abs/2209.11755, 2022. our card
  16. Scott Deerwester, Susan T Dumais, George W Furnas, Thomas K Landauer, and Richard Harshman. Indexing by latent semantic analysis. Journal of the American society for information science, 410 (6):0 391–407, 1990. OpenAlex ↗ · Scholar ↗
  17. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota, 2019. Association for Computational Linguistics. . URL https://aclanthology.org/N19-1423. our card
  18. Thomas Diggelmann, Jordan Boyd-Graber, Jannis Bulian, Massimiliano Ciaramita, and Markus Leippold. Climate-fever: A dataset for verification of real-world climate claims. arXiv preprint arXiv:2012.00614, 2020. our card
  19. Vitaly Feldman and Chiyuan Zhang. What neural networks memorize and why: Discovering the long tail via influence estimation. In Hugo Larochelle, Marc'Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin, editors, Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/1e14bfe2714193e7af5abc64ecbd6b46-Abstract.html. our card
  20. Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Naveen Arivazhagan, and Wei Wang. Language-agnostic bert sentence embedding. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 878–891, 2022. our card
  21. Leo Gao, Stella Rose Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. The pile: An 800gb dataset of diverse text for language modeling. ArXiv, abs/2101.00027, 2021a. our card
  22. Tianyu Gao, Xingcheng Yao, and Danqi Chen. SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6894–6910, Online and Punta Cana, Dominican Republic, 2021b. Association for Computational Linguistics. . URL https://aclanthology.org/2021.emnlp-main.552. our card
  23. Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor W. Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicolò Cesa-Bianchi, and Roman Garnett, editors, Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 8536–8546, 2018. URL https://proceedings.neurips.cc/paper/2018/hash/a19744e268754fb0148b017647355b7b-Abstract.html. OpenAlex ↗ · Scholar ↗
  24. Faegheh Hasibi, Fedor Nikolaev, Chenyan Xiong, Krisztian Balog, Svein Erik Bratsberg, Alexander Kotov, and Jamie Callan. Dbpedia-entity v2: a test collection for entity search. In Proceedings of the 40th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 1265–1268, 2017. OpenAlex ↗ · Scholar ↗
  25. Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross B. Girshick. Momentum contrast for unsupervised visual representation learning. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 9726–9735. IEEE, 2020. . URL https://doi.org/10.1109/CVPR42600.2020.00975. our card
  26. Doris Hoogeveen, Karin M Verspoor, and Timothy Baldwin. Cqadupstack: A benchmark data set for community question-answering research. In Proceedings of the 20th Australasian document computing symposium, pages 1–8, 2015. OpenAlex ↗ · Scholar ↗
  27. Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for NLP. In Kamalika Chaudhuri and Ruslan Salakhutdinov, editors, Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 2790–2799. PMLR, 2019. URL http://proceedings.mlr.press/v97/houlsby19a.html. our card
  28. Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. Towards unsupervised dense information retrieval with contrastive learning. ArXiv, abs/2112.09118, 2021. our card
  29. Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc V. Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume 139 of Proceedings of Machine Learning Research, pages 4904–4916. PMLR, 2021. URL http://proceedings.mlr.press/v139/jia21b.html. our card
  30. Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6769–6781, Online, 2020. Association for Computational Linguistics. . URL https://aclanthology.org/2020.emnlp-main.550. our card
  31. Omar Khattab and Matei Zaharia. Colbert: Efficient and effective passage search via contextualized late interaction over BERT. In Jimmy Huang, Yi Chang, Xueqi Cheng, Jaap Kamps, Vanessa Murdock, Ji-Rong Wen, and Yiqun Liu, editors, Proceedings of the 43rd International ACM SIGIR conference on research and development in Information Retrieval, SIGIR 2020, Virtual Event, China, July 25-30, 2020, pages 39–48. ACM, 2020. . URL https://doi.org/10.1145/3397271.3401075. our card
  32. Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. Natural questions: A benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:0 452–466, 2019. . URL https://aclanthology.org/Q19-1026. our card
  33. Jinhyuk Lee, Mujeen Sung, Jaewoo Kang, and Danqi Chen. Learning dense representations of phrases at scale. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 6634–6647, Online, 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.acl-long.518. our card
  34. Katherine Lee, Daphne Ippolito, Andrew Nystrom, Chiyuan Zhang, Douglas Eck, Chris Callison-Burch, and Nicholas Carlini. Deduplicating training data makes language models better. In ACL, 2022. our card
  35. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. ArXiv, abs/1907.11692, 2019. our card
  36. Kyle Lo, Lucy Lu Wang, Mark Neumann, Rodney Kinney, and Daniel Weld. S2ORC: The semantic scholar open research corpus. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4969–4983, Online, 2020. Association for Computational Linguistics. . URL https://aclanthology.org/2020.acl-main.447. our card
  37. Macedo Maia, Siegfried Handschuh, André Freitas, Brian Davis, Ross McDermott, Manel Zarrouk, and Alexandra Balahur. Www'18 open challenge: financial opinion mining and question answering. In Companion proceedings of the the web conference 2018, pages 1941–1942, 2018. OpenAlex ↗ · Scholar ↗
  38. Tomas Mikolov, Kai Chen, Gregory S. Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. In ICLR, 2013. our card
  39. Niklas Muennighoff. Sgpt: Gpt sentence embeddings for semantic search. ArXiv, abs/2202.08904, 2022. our card
  40. Niklas Muennighoff, Nouamane Tazi, Loic Magne, and Nils Reimers. Mteb: Massive text embedding benchmark. ArXiv, abs/2210.07316, 2022. our card
  41. Arvind Neelakantan, Tao Xu, Raul Puri, Alec Radford, Jesse Michael Han, Jerry Tworek, Qiming Yuan, Nikolas A. Tezak, Jong Wook Kim, Chris Hallacy, Johannes Heidecke, Pranav Shyam, Boris Power, Tyna Eloundou Nekoul, Girish Sastry, Gretchen Krueger, David P. Schnurr, Felipe Petroski Such, Kenny Sai-Kin Hsu, Madeleine Thompson, Tabarak Khan, Toki Sherbakov, Joanne Jang, Peter Welinder, and Lilian Weng. Text and code embeddings by contrastive pre-training. ArXiv, abs/2201.10005, 2022. our card
  42. Duc Tam Nguyen, Chaithanya Kumar Mummadi, Thi-Phuong-Nhung Ngo, Thi Hoai Phuong Nguyen, Laura Beggel, and Thomas Brox. SELF: learning to filter noisy labels with self-ensembling. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. URL https://openreview.net/forum?id=HkgsPhNYPS. OpenAlex ↗ · Scholar ↗
  43. Jianmo Ni, Chen Qu, Jing Lu, Zhuyun Dai, Gustavo Hern'andez 'Abrego, Ji Ma, Vincent Zhao, Yi Luan, Keith B. Hall, Ming-Wei Chang, and Yinfei Yang. Large dual encoders are generalizable retrievers. ArXiv, abs/2112.07899, 2021. our card
  44. Jianmo Ni, Gustavo Hernandez Abrego, Noah Constant, Ji Ma, Keith Hall, Daniel Cer, and Yinfei Yang. Sentence-t5: Scalable sentence encoders from pre-trained text-to-text models. In Findings of the Association for Computational Linguistics: ACL 2022, pages 1864–1874, 2022. our card
  45. Barlas Oguz, Kushal Lakhotia, Anchit Gupta, Patrick Lewis, Vladimir Karpukhin, Aleksandra Piktus, Xilun Chen, Sebastian Riedel, Scott Yih, Sonal Gupta, and Yashar Mehdad. Domain-matched pre-training tasks for dense retrieval. In Findings of the Association for Computational Linguistics: NAACL 2022, Seattle, WA, United States, July 10-15, 2022, pages 1524–1534. Association for Computational Linguistics, 2022. . URL https://doi.org/10.18653/v1/2022.findings-naacl.114. OpenAlex ↗ · Scholar ↗
  46. Fabio Petroni, Aleksandra Piktus, Angela Fan, Patrick Lewis, Majid Yazdani, Nicola De Cao, James Thorne, Yacine Jernite, Vassilis Plachouras, Tim Rocktaschel, and Sebastian Riedel. Kilt: a benchmark for knowledge intensive language tasks. In North American Chapter of the Association for Computational Linguistics, 2020. our card
  47. Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume 139 of Proceedings of Machine Learning Research, pages 8748–8763. PMLR, 2021. URL http://proceedings.mlr.press/v139/radford21a.html. our card
  48. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21:0 1–67, 2020. our card
  49. Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982–3992, Hong Kong, China, 2019. Association for Computational Linguistics. . URL https://aclanthology.org/D19-1410. our card
  50. Ruiyang Ren, Yingqi Qu, Jing Liu, Wayne Xin Zhao, QiaoQiao She, Hua Wu, Haifeng Wang, and Ji-Rong Wen. RocketQAv2: A joint training method for dense passage retrieval and passage re-ranking. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 2825–2835, Online and Punta Cana, Dominican Republic, 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.emnlp-main.224. our card
  51. Holger Schwenk, Guillaume Wenzek, Sergey Edunov, Edouard Grave, Armand Joulin, and Angela Fan. CCMatrix: Mining billions of high-quality parallel sentences on the web. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 6490–6500, Online, 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.acl-long.507. our card
  52. Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, A. Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In Conference on Empirical Methods in Natural Language Processing, 2013. our card
  53. Nandan Thakur, Nils Reimers, Andreas Rücklé, Abhishek Srivastava, and Iryna Gurevych. Beir: A heterogeneous benchmark for zero-shot evaluation of information retrieval models. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2), 2021. OpenAlex ↗ · Scholar ↗
  54. James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. FEVER: a large-scale dataset for fact extraction and VERification. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 809–819, New Orleans, Louisiana, 2018. Association for Computational Linguistics. . URL https://aclanthology.org/N18-1074. our card
  55. Ellen Voorhees, Tasmeer Alam, Steven Bedrick, Dina Demner-Fushman, William R Hersh, Kyle Lo, Kirk Roberts, Ian Soboroff, and Lucy Lu Wang. Trec-covid: constructing a pandemic information retrieval test collection. In ACM SIGIR Forum, volume 54, pages 1–12. ACM New York, NY, USA, 2021. OpenAlex ↗ · Scholar ↗
  56. Henning Wachsmuth, Shahbaz Syed, and Benno Stein. Retrieval of the best counterargument without prior topic knowledge. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 241–251, 2018. our card
  57. David Wadden, Shanchuan Lin, Kyle Lo, Lucy Lu Wang, Madeleine van Zuylen, Arman Cohan, and Hannaneh Hajishirzi. Fact or fiction: Verifying scientific claims. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7534–7550, 2020. our card
  58. Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. Simlm: Pre-training with representation bottleneck for dense passage retrieval. ArXiv, abs/2207.02578, 2022. our card
  59. Wenhui Wang, Hangbo Bao, Shaohan Huang, Li Dong, and Furu Wei. Minilmv2: Multi-head self-attention relation distillation for compressing pretrained transformers. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 2140–2151, 2021. our card
  60. Guillaume Wenzek, Marie-Anne Lachaux, Alexis Conneau, Vishrav Chaudhary, Francisco Guzmán, Armand Joulin, and Edouard Grave. CCNet: Extracting high quality monolingual datasets from web crawl data. In Proceedings of the 12th Language Resources and Evaluation Conference, pages 4003–4012, Marseille, France, 2020. European Language Resources Association. ISBN 979-10-95546-34-4. URL https://aclanthology.org/2020.lrec-1.494. our card
  61. Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul N. Bennett, Junaid Ahmed, and Arnold Overwijk. Approximate nearest neighbor negative contrastive learning for dense text retrieval. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021. URL https://openreview.net/forum?id=zeFrfgyZln. our card
  62. Canwen Xu, Daya Guo, Nan Duan, and Julian McAuley. Laprador: Unsupervised pretrained dense retriever for zero-shot text retrieval. In Findings of the Association for Computational Linguistics: ACL 2022, pages 3557–3569, 2022. OpenAlex ↗ · Scholar ↗
  63. Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2369–2380, 2018. our card

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/wang-2022-text-embeddings-weakly-supervised-contrastive/