Reproduce “SyNeg: LLM-Driven Synthetic Hard-Negatives for Dense Retrieval” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiaopeng Li, Xiangyang Li, Hao Zhang, Zhaocheng Du, Pengyue Jia, Yichao Wang, Xiangyu Zhao, Huifeng Guo and 1 more

Researchers at City University of Hong Kong and Huawei Noah’s Ark Lab developed SyNeg, a framework that leverages large language models to generate high-quality synthetic hard-negatives for training dense retrieval models. This approach consistently improved retrieval performance, boosting COCO-DR by +2.9 NDCG@10 and BGE-large by +3.0 NDCG@10 on average across five BEIR datasets, while ensuring training stability through a hybrid mixing strategy.

Key insights

  • LLMs can synthesize high-quality hard negatives that are genuinely challenging and diverse, especially when guided by multi-attribute specifications and self-reflection (Chain-of-Thought) within the prompt.
  • A hybrid strategy, blending synthetic and corpus-mined negatives, is essential to maintain training stability and achieve performance gains, as pure synthetic negatives can be overly challenging and destabilizing.
  • Optimal performance with hard synthetic negatives is achieved by using a lower temperature factor in the InfoNCE loss, which increases the contrast between positive and negative pairs.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.