精确率与召回率之间的最优排序分数是什么?我们总能找到它,而且它很少是F1 What Is the Optimal Ranking Score Between Precision and Recall? We Can Always Find It and It Is Rarely $F_1$ 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-11-27
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
分类任务中精确率和召回率常相互矛盾,传统Fβ分数通过调和平均折中,但未必产生最优排序。本文用Kendall秩相关将折中问题形式化为优化问题,证明F1及其变体远非最优,并给出闭式解求最优β值。在六个案例中验证,为排序评价提供更合理的选择。
领域机器学习评价指标与排序学习
适合谁读需要一定专业背景(机器学习、信息检索或统计学基础)
核心贡献1. 证明Fβ诱导的排序有意义,并定义精确率与召回率排序间的最短路径;2. 将折中问题形式化为基于Kendall秩相关的优化问题,给出求最优β的闭式解,并证明F1及其偏斜不敏感版本远非最优。
关键数据在六个案例研究中验证了理论工具,F1及其偏斜不敏感版本在排序折中上远非最优;提供了求最优β的闭式表达式。
推荐理由如果你用F1分数做排序评价,这篇文章会告诉你为什么它可能不是最佳选择,并教你如何找到真正最优的折中方案。
关键词["精确率", "召回率", "F分数", "排序评价", "Kendall秩相关", "优化"]

原文摘要

查看英文原文摘要

Ranking methods or models based on their performance is of prime importance but is tricky because performance is fundamentally multidimensional. In the case of classification, precision and recall are scores with probabilistic interpretations that are both important to consider and complementary. The rankings induced by these two scores are often in partial contradiction. In practice, therefore, it is extremely useful to establish a compromise between the two views to obtain a single, global ranking. Over the last fifty years or so, it has been proposed to take a weighted harmonic mean, known as the F-score, F-measure, or $F_β$. Generally speaking, by averaging basic scores, we obtain a score that is intermediate in terms of values. However, there is no guarantee that these scores lead to meaningful rankings and no guarantee that the rankings are good tradeoffs between these base scores. Given the ubiquity of $F_β$ scores in the literature, some clarification is in order. Concretely: (1) We establish that $F_β$-induced rankings are meaningful and define a shortest path between precision- and recall-induced rankings. (2) We frame the problem of finding a tradeoff between two scores as an optimization problem expressed with Kendall rank correlations. We show that $F_1$ and its skew-insensitive version are far from being optimal in that regard. (3) We provide theoretical tools and a closed-form expression to find the optimal value for $β$ for any distribution or set of performances, and we illustrate their use on six case studies. Code is available at https://github.com/pierard/cvpr-2026-optimal-tradeoff-precision-recall.