arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.04446cs.LG
收藏

选择性匹配损失——并非所有分数都生而平等

Selective Matching Losses -- Not All Scores Are Created Equal

Google DeepMind(谷歌DeepMind);Google Research(谷歌研究)

Gil I. Shamir, Manfred K. Warmuth

AI总结:

本文提出通过递增链接函数构建选择性匹配损失,并基于复合 Softmax 建立多维框架,使模型在关键分数区域获得更准确的预测与排序能力。

摘要:

学习系统在某个域上将预测分数与观测值进行匹配。通常,在该域的某个子集(或区域)中产生准确预测至关重要,而在其他区域中准确预测则不那么重要。我们通过在分数域上设计递增的链接函数来构建选择性匹配损失函数。匹配损失是对链接的积分。链接将损失敏感性定义为分数的函数,相较于平坦区域,更强调高斜率即高敏感性的区域。损失的非对称性会驱动模型并解决其欠定问题,使其在更重要的高敏感性区域中更好地预测,并区分高重要性区域与低重要性区域。利用经过缩放和平移的 Sigmoid 以及双曲正弦链接,可以设计出种类繁多的选择性标量损失。然而,它们的性质并不能推广到多分类情形。逐维应用这些损失缺乏排序敏感性,即无法根据类别分数的排序来分配重要性。利用复合 Softmax 函数,我们开发了一个用于多维选择性损失的框架。我们克服了标准 Softmax 函数的局限:后者适用于分类,但不适合区分相邻分数。在具有更重要分数区域的应用中,选择性损失相比传统损失具有显著优势,这些应用包括停留时间预测、检索、使用 pointwise、对比 pairwise 或 listwise 损失的排序、蒸馏问题,以及 Large Language Models(LLMs,大语言模型)的微调对齐。

英文摘要:

Learning systems match predicted scores to observations over some domain. Often, it is critical to produce accurate predictions in some subset (or region) of the domain, yet less important to accurately predict in other regions. We construct selective matching loss functions by design of increasing link functions over score domains. A matching loss is an integral over the link. A link defines loss sensitivity as function of the score, emphasizing high slope high sensitivity regions over flat ones. Loss asymmetry drives a model and resolves its underspecification to predict better in high sensitivity regions where it is more important, and to distinguish between high and low importance regions. A large variety of selective scalar losses can be designed with scaled and shifted Sigmoid and hyperbolic sine links. Their properties, however, do not extend to multi-class. Applying them per dimension lacks ranking sensitivity that assigns importance according to class score ranking. Utilizing composite Softmax functions, we develop a framework for multidimensional selective losses. We overcome limitations of the standard Softmax function, that is good for classification, but not for distinction between adjacent scores. Selective losses have substantial advantage over traditional losses in applications with more important score regions, including dwell-time prediction, retrieval, ranking with either pointwise, contrastive pairwise, or listwise losses, distillation problems, and fine-tuning alignment of Large Language Models (LLMs).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑