Skip to main navigation Skip to search Skip to main content

When Hard Negatives Hurt: Bridging the Generative Discriminative Gap in Hard Negative Synthesis for Retrieval

  • Zhicheng Zhang (Co-first Author)
  • , Jiwei Tang (Co-first Author)
  • , Kuicai Dong
  • , Xiaopeng Li
  • , Jieming Zhu
  • , Jingyu Li
  • , Qianhui Zhu
  • , Fengyuan Lu
  • , Wang Jiaheng
  • , Gang Wang
  • , Hai-Tao Zheng*
  • , Zhaocheng Du*
  • *Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary Works › RGC 32 - Refereed conference paper (with host publication) › peer-review

2 Downloads (CityUHK Scholars)

Abstract

Hard negative mining has become the dominant strategy for training retrievers, yet it faces intrinsic limitations: negatives are bounded by corpus availability, selected by retriever score rather than diagnostic value, and increasingly contaminated by false positives as the retriever improves. LLM-based synthesis offers a principled alternative, where negatives that are unconstrained, targeted, and free from false positive risk. But we show that naïvely incorporating generated negatives into contrastive learning often degrades retrieval performance. We identify and formalize the root cause as a generative-discriminative gap: LLM generation optimizes for fluent, plausible text, while contrastive learning demands strategic violations of relevance at the decision boundary. Our analysis reveals two compounding failure modes: discriminative-agnostic generation, where the LLM lacks an explicit model of query information needs and defaults to generic or topic-drifted text that provides no contrastive signal; and source-dependent shortcuts, where distributional artifacts enable the model to distinguish negatives by origin rather than relevance, causing gradient drift that actively corrupts optimization. To close this gap, we propose CausalNeg consisting of two main modules: (1) CoT-guided counterfactual perturbation for data construction: decomposes why a document satisfies a query into explicit information requirements, then surgically violates individual requirements to construct negatives with controlled, interpretable hardness. (2) Query-view entropy maximization during training: disperses generated negatives across the similarity spectrum, minimizing the mutual information between source identity and similarity scores to suppress shortcut exploitation. Experiments on 4 retrieval benchmarks show that CausalNeg outperforms mining-only and naïve generation baselines, validating causally grounded synthesis and entropy-regularized training as complementary solutions to the generative-discriminative gap. © 2026 Owner/Author.
Original languageEnglish
Title of host publicationKDD '26- Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining
PublisherAssociation for Computing Machinery
Pages6688-6699
Volume2
ISBN (Print)9798400722592
DOIs
Publication statusPublished - Aug 2026
Event32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD 2026) - International Convention Center Jeju (ICC Jeju), Jeju Island, Korea, Republic of
Duration: 9 Aug 2026 → 13 Aug 2026
https://kdd2026.kdd.org/

Publication series

NameProceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining
ISSN (Print)2154-817X

Conference

Conference32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD 2026)
Abbreviated titleACM KDD 2026
PlaceKorea, Republic of
CityJeju Island
Period9/08/26 → 13/08/26
Internet address

Bibliographical note

Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).

Funding

This research is supported by National Natural Science Foundation of China (Grant No.62276154); the Natural Science Foundation of Guangdong Province (Grant No.2024TQ08X729); Basic Research Fund of Shenzhen City (Grant No.JCYJ20240813112009013 and GJHZ20240218113603006); The Major Key Project of PCL for Experiments and Applications (Grant No.PCL2024A08).

Research Keywords

  • contrastive learning
  • dense retrieval
  • hard negative synthesis
  • information retrieval
  • large language models

Publisher's Copyright Statement

  • This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/

Fingerprint

Dive into the research topics of 'When Hard Negatives Hurt: Bridging the Generative Discriminative Gap in Hard Negative Synthesis for Retrieval'. Together they form a unique fingerprint.

Cite this