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 · DOI

Introduction

Information retrieval models have traditionally relied on contrastive learning, a binary paradigm that distinguishes between "positive" (relevant) and "negative" (irrelevant) documents. However, this approach overlooks the nuanced spectrum of relevance found in real-world search. Researchers have introduced SyCL (Synthetic ranking Context for List-wise training), a novel method that leverages Large Language Models (LLMs) to generate synthetic training data across four distinct levels of relevance. By employing a geometry-aware Wasserstein distance loss, SyCL achieves significant performance improvements over traditional models, particularly in out-of-domain scenarios.

The Limitations of Contrastive Learning

Most modern retrievers are trained using contrastive learning, where a model is presented with one positive document and several negatives. This approach suffers from two primary issues:

  1. Coarseness: Binary labels fail to distinguish between a "nearly perfect" document and a "completely irrelevant" one. Ranking is inherently about nuances—identifying the best answer among several good ones.
  2. Label Noise: Datasets like MS MARCO are often sparsely annotated. Many documents labeled as "negatives" are actually highly relevant but were simply overlooked by human annotators. These "false negatives" provide a confusing signal to the model during training.
Comparison between standard binary labeling (A), which suffers from false negatives, and the proposed multi-level relevance ranking (B).

SyCL: Multi-Level Synthetic Generation and List-wise Training

To address these flaws, SyCL replaces real-world binary labels with a synthetic, multi-level ranking context.

Multi-Level Synthetic Generation

Instead of relying on existing documents, SyCL prompts an LLM to generate four versions of a document for a given query: Perfectly Relevant, Highly Relevant, Related, and Irrelevant. To ensure a consistent hierarchy, the LLM generates these sequentially. This "sequential prompting" allows the model to intentionally reduce relevance for each subsequent version, creating a reliable gradient for training.

Wasserstein Distance Loss

Standard training functions like InfoNCE or KL-Divergence are insensitive to the order of labels. SyCL utilizes the 2-Wasserstein distance, a geometry-aware loss function. It penalizes the model more severely for misclassifying a "Perfectly Relevant" document as "Irrelevant" than for misclassifying it as "Highly Relevant," reflecting the spatial nature of ranking.

Distribution of relevance scores across the four synthetic levels, demonstrating clear separation between categories.

Experimental Results

The researchers trained their model on 502,000 queries from the MS MARCO set, replacing the original human-written documents with approximately 2 million LLM-generated passages.

  • In-Domain Performance: SyCL demonstrated massive gains, improving nDCG@10 by 14.1 points on TREC DL19 and 14.9 points on TREC DL20 compared to base models.
  • Zero-Shot Generalization: On the BEIR benchmark—a collection of 14 diverse datasets—SyCL outperformed models trained on real-world MS MARCO data by an average of 2.3 nDCG points. This suggests that synthetic data can act as a "denoising" tool, providing a cleaner training signal than human-annotated data.

Conclusion

SyCL demonstrates that synthetic data is not merely a substitute for real data but a means to enable more sophisticated training paradigms. By moving from binary contrastive learning to multi-level list-wise training, models can learn a more refined embedding space. While limitations regarding query dependency and the "nuance ceiling" of LLMs remain, the success of SyCL highlights the potential of using LLMs to create high-quality, structured training environments for the next generation of search engines.

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