二分类中两种排序分数的最优权衡解析解
The Optimal Ranking Tradeoffs Between Two Ranking Scores in Two-Class Classification
arXiv 上这篇论文把 F-score、kappa 这些评测指标统一成一个可调参数的分数族,还给了求最优折中的解析解,做模型评估的可以看看。
论文研究机器学习评测中 F-score、Cohen's kappa、balanced accuracy 等分数导致的排名不一致问题。作者将这些分数统一为按 true negative、false positive、false negative、true positive 四种结果的相对重要性参数化的排序分数。权衡的定义是最小化 Kendall 距离(bubble-sort 距离)上的 Fréchet 方差,最优权衡位于所有排名构成的流形上最短 geodesic 路径的中心。论文给出在类别先验相同情况下,任意两个初始分数之间最优权衡排序分数的精确解析解。
The Optimal Ranking Tradeoffs Between Two Ranking Scores in Two-Class Classification
The accuracy, true negative rate (negative class recall), true positive rate (positive class recall), negative predictive value (negative class precision), positive predictive value (positive class precision), class-specific intersections over unions, class-specific F-scores, Cohen's kappa, and balanced accuracy are scores that one intuitively wants to maximize when developing machine learning methods. However, they lead to different rankings of such methods. So, how can we establish a ranking that is an optimal tradeoff between any pair of these scores? It turns out that all these scores are special cases of ranking scores: a continuum of scores parameterized by the relative importance values assigned to the true negative, false positive, false negative, and true positive outcomes. Since all these scores are known to induce meaningful rankings, we seek the optimal tradeoffs among them. We consider the tradeoff between two scores to be optimal when it minimizes the Fréchet variance regarding the Kendall distance (also known as the bubble-sort distance) between rankings. For any given set of classifiers to rank, the optimal tradeoff lies at the center of the shortest (geodesic) path on the manifold of all rankings induced by the ranking scores. However, in the parameter space of the ranking scores, it is rarely achieved by averaging the importance values corresponding to the initial scores. In this paper, we present an exact analytical solution for determining a ranking score that is an optimal tradeoff for any given pair of initial scores, in the common case where the class priors are the same for all compared performances. We also experimentally investigate what happens when performance follows some distributions with fixed priors.