NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Beyond Contrastive Learning: Synthetic Data Enables List-wise Training with Multiple Levels of Relevance

Reza Esfandiarpoor, George Zerveas, Ruochen Zhang, Macton Mgonzo, Carsten Eickhoff, Stephen H. Bach

Introduction

Modern Information Retrieval (IR) has long relied on contrastive learning, typically using the InfoNCE loss to distinguish a single positive document from a set of negatives. While effective, this binary paradigm oversimplifies the complexity of relevance. Researchers have recently introduced SyCL (Synthetic ranking Context for List-wise training), a framework that moves beyond binary labels by leveraging Large Language Models (LLMs) to generate synthetic training data with four distinct levels of relevance. By employing a list-wise Wasserstein distance loss, SyCL achieves significant performance gains over traditional methods.

The Limitations of Binary Relevance

Most text retrievers are trained to separate "relevant" from "irrelevant" documents. However, this approach suffers from two critical flaws:

  1. Binary Oversimplification: It treats all unannotated documents as equally irrelevant, ignoring "false negatives"—documents that may be partially relevant or even superior to the annotated positive.
  2. Ranking Blindness: Contrastive learning focuses on separation rather than ranking. It does not explicitly teach models how to order a collection of documents with varying degrees of utility.
Comparison of binary relevance (A) vs. multi-level relevance (B). Binary labels often miss relevant documents (false negatives), whereas multi-level labels provide a nuanced ranking signal.

Existing datasets like MS MARCO are often "sparse," meaning many relevant documents lack labels. This creates a noisy training signal that hinders a model's ability to generalize to new domains.

The SyCL Framework

SyCL addresses these limitations through a two-pronged approach involving synthetic data generation and a novel loss function.

Multi-level Synthetic Generation

Instead of relying on sparse human annotations, SyCL uses LLMs (such as Llama 3.3 70B) to sequentially generate four passages for every query, representing a natural "relevance decay":

  • Level 3 (Perfectly Relevant): Contains the exact answer.
  • Level 2 (Highly Relevant): Answers the query but may be unclear or buried in noise.
  • Level 1 (Related): Topically relevant but does not provide a specific answer.
  • Level 0 (Irrelevant): Completely unrelated to the query.

Wasserstein Distance Loss

Standard losses like KL-divergence penalize all incorrect rankings equally. SyCL utilizes the 2-Wasserstein distance, which accounts for the distance between relevance levels. For example, the model is penalized more heavily for confusing a "Perfectly Relevant" document with an "Irrelevant" one than for confusing it with a "Highly Relevant" one. This provides a richer gradient for learning a smooth, accurate ranking function.

Empirical Results and Insights

SyCL was evaluated on the MS MARCO training set (~502k queries) using ~2 million LLM-generated passages. The results demonstrate that synthetic, nuanced data can be more powerful than real-world binary data.

  • Performance Gains: SyCL improved the nDCG@10 of a base Contriever model by 14.1 points on TREC DL19 and 14.9 points on TREC DL20.
  • Zero-Shot Robustness: On the BEIR benchmark, SyCL outperformed models trained on real binary data by an average of 2.3 nDCG@10 points, showing superior generalization across diverse domains.
  • The Power of "Almost Right": Teaching a model to distinguish between "perfect" and "highly relevant" (Level 3 vs. Level 2) provides a much more effective learning signal than simple binary classification.
Distribution of model scores across the four synthetic relevance levels (0-3), showing clear separation and the model's ability to learn a graded ranking function.

Conclusion

SyCL demonstrates that the quality and granularity of training signals are more important than the "realness" of the text. By moving from binary contrastive learning to multi-level list-wise training, researchers can build retrievers that are not only more accurate in-domain but also significantly more robust in zero-shot scenarios. Future work may explore even finer relevance granularity to determine the limits of this nuanced training approach.

Summary updated

BibTeX
@misc{esfandiarpoor2025beyond,
  author = {Reza Esfandiarpoor and George Zerveas and Ruochen Zhang and Macton Mgonzo and Carsten Eickhoff and Stephen H. Bach},
  title = {{Beyond Contrastive Learning: Synthetic Data Enables List-wise Training with Multiple Levels of Relevance}},
  year = {2025},
  eprint = {2503.23239},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.23239},
}
Figure