What Is the Optimal Ranking Score Between Precision and Recall? We Can Always Find It and It Is Rarely F₁

Sébastien Piérard, Adrien Deliège, Marc Van Droogenbroeck
11/27/2025
cs.PFcs.AIcs.CV

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{pirard2025what,
  title  = {What Is the Optimal Ranking Score Between Precision and Recall? We Can Always Find It and It Is Rarely F₁},
  author = {Sébastien Piérard and Adrien Deliège and Marc Van Droogenbroeck},
  year   = {2025},
  eprint = {2511.22442},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.22442v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.22442.svg)](https://codeofpaper.com/paper/2511.22442)

Discussion