Skip to main content
QUICK REVIEW

[Paper Review] Extending F1 metric, probabilistic approach

Mikołaj Sitarz|arXiv (Cornell University)|Oct 21, 2022
Neural Networks and ApplicationsComputer Science9 references7 citations
TL;DR

This paper proposes a new probabilistic F1 extension, P₄, as a symmetric, bounded [0,1] metric that harmonically averages precision, recall, specificity, and negative predictive value. It addresses F1's limitations by incorporating true negatives and ensuring the metric vanishes when any key conditional probability drops to zero, outperforming F1 in edge cases and demonstrating superior threshold selection in empirical evaluation.

ABSTRACT

This article explores the extension of well-known F1 score used for assessing the performance of binary classifiers. We propose the new metric using probabilistic interpretation of precision, recall, specificity, and negative predictive value. We describe its properties and compare it to common metrics. Then we demonstrate its behavior in edge cases of the confusion matrix. Finally, the properties of the metric are tested on binary classifier trained on the real dataset.

Motivation & Objective

  • To address F1's lack of dependency on true negatives and its asymmetry under label swapping.
  • To develop a unified metric that evaluates all four key conditional probabilities: P(+|C+), P(C+|+), P(C-|-), and P(-|C-).
  • To create a metric that is bounded in [0,1], vanishes when any component probability approaches zero, and reaches 1 only when all four probabilities are near 1.
  • To provide a more robust alternative to F1 and MCC for evaluating binary classifiers, especially in imbalanced datasets.

Proposed method

  • Define P₄ as the harmonic mean of precision, recall, specificity, and negative predictive value (NPV).
  • Ensure P₄ satisfies three core properties: boundedness in [0,1], vanishing when any component probability is zero, and reaching 1 only when all four probabilities are 1.
  • Use a probabilistic interpretation of classification performance based on conditional probabilities derived from the confusion matrix.
  • Compare P₄ with F1 and MCC via ROC-like curves using MCC vs. P₄ and MCC vs. F1 across varying probability thresholds.
  • Apply the metric to a real-world binary classifier (SVM with Gaussian kernel) to evaluate threshold selection and robustness.
  • Prove P₄'s symmetry under label swapping using commutative properties of the harmonic mean and confusion matrix transformation.

Experimental results

Research questions

  • RQ1Can a single metric be constructed that evaluates all four key conditional probabilities in binary classification?
  • RQ2Does a symmetric, bounded [0,1] metric exist that vanishes when any component probability approaches zero?
  • RQ3How does P₄ compare to F1 and MCC in terms of threshold selection and robustness across edge cases?
  • RQ4Does P₄ improve upon F1 by incorporating specificity and NPV, leading to more reliable performance assessment?

Key findings

  • P₄ is symmetric under label swapping, resolving a key limitation of F1.
  • P₄ vanishes when any of the four conditional probabilities approaches zero, ensuring it reflects poor performance on any class.
  • In empirical evaluation, P₄ identified an optimal threshold of τ = 0.52, differing from F1’s τ = 0.45, indicating improved sensitivity to true negative and negative predictive value components.
  • The P₄ curve in MCC vs. P₄ space has a smaller opening angle than F1, suggesting more conservative and balanced performance trade-offs.
  • P₄ is closer to MCC in behavior and probabilistic interpretation than any other composite metric, while retaining a more interpretable [0,1] scale.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.