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
TL;DR
SyCL introduces a synthetic ranking framework where large language models produce multi-level relevance passages (levels 3,2,1,0) for MS MARCO queries and are trained with a 2-Wasserstein list-wise loss to better capture graded relevance. The approach eliminates real document reliance and demonstrates strong in-domain and out-of-domain ranking gains on MS MARCO and BEIR, with further improvements when real data are incorporated. Key findings show that multi-level synthetic data can outperform binary-label methods, that data quality (not just quantity) matters, and that smaller LLMs can still generate effective training corpora. The work highlights practical benefits for robust IR under distribution shift and niche domains, and outlines avenues for extending relevance granularity and leveraging query collections efficiently.
Abstract
Although synthetic data has changed various aspects of information retrieval (IR) pipelines, the main training paradigm remains: contrastive learning with binary relevance labels, where one positive document is compared against several negatives using the InfoNCE loss. This objective treats all documents that are not explicitly annotated as relevant on an equally negative footing, regardless of their actual degree of relevance, thus missing subtle nuances useful for ranking. To overcome this limitation, in this work, we forgo real documents and annotations and use large language models to directly generate synthetic documents that answer the MS MARCO queries according to several different levels of relevance. We also propose using Wasserstein distance as a more effective loss function for training transformer-based retrievers with graduated relevance labels. Our experiments on MS MARCO and BEIR benchmark show that our proposed approach outperforms conventional training with InfoNCE by a large margin. Without using any real documents, our method significantly improves self-supervised retrievers and is more robust to distribution shift compared to contrastive learning using real data. Our method also successfully integrates existing real data into the synthetic ranking context, further boosting the performance. Overall, we show that generating multi-level ranking contexts is a better approach to synthetic data generation for IR than just generating the standard positive and negative documents.
