Paper Reading AI Learner

Optimizing What Matters: AUC-Driven Learning for Robust Neural Retrieval

2025-09-30 18:14:01
Nima Sheikholeslami, Erfan Hosseini, Patrice Bechard, Srivatsava Daruru, Sai Rajeswar

Abstract

Dual-encoder retrievers depend on the principle that relevant documents should score higher than irrelevant ones for a given query. Yet the dominant Noise Contrastive Estimation (NCE) objective, which underpins Contrastive Loss, optimizes a softened ranking surrogate that we rigorously prove is fundamentally oblivious to score separation quality and unrelated to AUC. This mismatch leads to poor calibration and suboptimal performance in downstream tasks like retrieval-augmented generation (RAG). To address this fundamental limitation, we introduce the MW loss, a new training objective that maximizes the Mann-Whitney U statistic, which is mathematically equivalent to the Area under the ROC Curve (AUC). MW loss encourages each positive-negative pair to be correctly ranked by minimizing binary cross entropy over score differences. We provide theoretical guarantees that MW loss directly upper-bounds the AoC, better aligning optimization with retrieval goals. We further promote ROC curves and AUC as natural threshold free diagnostics for evaluating retriever calibration and ranking quality. Empirically, retrievers trained with MW loss consistently outperform contrastive counterparts in AUC and standard retrieval metrics. Our experiments show that MW loss is an empirically superior alternative to Contrastive Loss, yielding better-calibrated and more discriminative retrievers for high-stakes applications like RAG.

Abstract (translated)

双编码检索器依赖于这样一个原则,即对于给定的查询,相关文档应比不相关的文档获得更高的分数。然而,目前占主导地位的噪声对比估计(NCE)目标,支撑着对比损失的基础,优化了一种软化的排名替代指标,我们严格证明该方法在本质上忽略了评分分离质量和与AUC的相关性。这种不匹配导致了较差的校准和在检索增强生成(RAG)等下游任务中的次优性能。 为了解决这一基本限制,我们引入了MW损失,这是一种新的训练目标,它最大化Mann-Whitney U统计量,这在数学上等同于ROC曲线下的面积(AUC)。MW损失通过最小化每个正负对之间的分数差的二元交叉熵来鼓励正确的排名。我们提供了理论保证,证明MW损失直接上限AoC,从而更好地将优化与检索目标对齐。 此外,我们还推广了使用ROC曲线和AUC作为评估检索器校准和排序质量的无阈值诊断方法的重要性。 从实验结果来看,基于MW损失训练的检索器在AUC和标准检索指标上始终优于对比学习的检索器。我们的实验表明,对于像RAG这样的高风险应用,MW损失是对比损失的一种经验上的更优替代方案,能够生成更好的校准和更具区分度的检索器。

URL

https://arxiv.org/abs/2510.00137

PDF

https://arxiv.org/pdf/2510.00137.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot