The Tile: A 2D Map of Ranking Scores for Two-Class Classification

Sébastien Piérard, Anaïs Halin, Anthony Cioppa, Adrien Deliège, Marc Van DroogenbroeckarXiv 2024

TL;DR

The Tile is a novel 2D visualization tool that organizes an infinite family of classification metrics—including Accuracy, $F_1$, and Jaccard—into a single, continuous map. By parameterizing these scores based on application-specific trade-offs (like balancing false alarms vs. missed detections), it allows researchers to choose the most appropriate evaluation metric and rank classifiers with unprecedented clarity.

What Problem Does This Paper Address?

In machine learning, we are drowning in performance metrics. Should you use Accuracy? $F_1$-score? Matthews Correlation Coefficient? The choice often feels arbitrary, yet it dictates which model is crowned "best."

Standard evaluation spaces like ROC (Receiver Operating Characteristic) or Precision-Recall curves are great for visualizing trade-offs, but they don't provide a single ranking. To rank models, you must pick a specific score, which essentially draws "iso-performance" lines across these spaces. The problem is that different metrics lead to different rankings, and there hasn't been a unified way to understand how these metrics relate to one another or to the specific needs of an application (e.g., medical diagnosis where a "miss" is far worse than a "false alarm").

Methods

The authors introduce a mathematical framework for canonical ranking scores ($RI_{a,b}$). This framework is built on three axioms of ranking and is parameterized by two intuitive values:

  • $a$ (Horizontal axis): Controls the trade-off between True Positives and True Negatives.
  • $b$ (Vertical axis): Balances the cost of False Positives (false alarms) versus False Negatives (misses).

By varying $a$ and $b$ from 0 to 1, the authors create "The Tile"—a 2D map where every point represents a unique ranking score. They demonstrate that most common metrics are simply specific points on this Tile. For example, Accuracy sits right in the center ($a=0.5, b=0.5$), while $F_1$ and other $F_\beta$ scores live along the right edge.

Figure 1. Introducing the Tile. We introduce a new visual tool, called the Tile, representing an infinite family of ranking scores to evaluate the performances of two-class classifiers at a glance. In this figure, we highlight the correspondences between specific ranking scores on the Tile and their corresponding set of iso- performance lines in the ROC space. Notably, the variation of iso-performance lines along the right border of the Tile demon- strates the limitations of the ROC space for ranking performance. This visualization illustrates how the Tile simplifies the task of ranking classifiers and enhances the interpretation of performance scores across various evaluation spaces, such as the ROC space.

The paper also provides a geometric bridge to the ROC space, showing how any point on the Tile corresponds to a specific "pencil" of iso-performance lines in the ROC plane.

Datasets

To validate the Tile's properties, the authors used:

  • Synthetic Performance Distributions: They generated 10,000 random classifier performances using a symmetric Dirichlet distribution to estimate rank correlations (Kendall $\tau$) between different scores.
  • Toy Examples: A set of four hypothetical classifiers was used to demonstrate how rankings shift across the Tile as class priors (prevalence) change.

Key Insights and Ideas

  • Metrics as a Continuum: Instead of seeing Accuracy and $F_1$ as unrelated tools, the Tile reveals they are part of a continuous spectrum of "importance" weighting.
  • Visualizing Robustness: The Tile allows you to see if a classifier's rank is stable. If a model is "best" across a large area of the Tile, it is a robust choice. If it only wins in a tiny corner, its superiority is highly sensitive to specific (and perhaps arbitrary) metric choices.
  • The "No-Skill" Curve: The authors identify specific curves on the Tile ($\gamma_\pi$ and $\gamma_\tau$) where all "no-skill" classifiers (those that guess randomly) are ranked equally. This clarifies the behavior of chance-corrected metrics like Cohen’s Kappa.
  • ROC Limitations: Figure 2 illustrates that while ROC space is universal, the ranking within it is not. The Tile shows exactly how changing your metric choice pivots the iso-performance lines in ROC space.
Geometry of ranking scores in the ROC plane.

Key Results

  • Unified Mapping: The authors successfully mapped Accuracy, $F_\beta$ scores, Jaccard’s coefficient, TPR, TNR, PPV, and NPV onto the Tile.
  • Correlation Analysis: Using the synthetic dataset, they showed that performance orderings are generally robust to small perturbations in the $a$ and $b$ parameters, providing confidence in using the Tile for model selection.
  • Volume Under Tile (VUT): They introduced a new aggregate metric, the VUT, which represents the average performance across all possible importance weightings. While it doesn't satisfy all formal ranking axioms, it correlates extremely highly with Accuracy ($\rho \approx 0.996$).

Limitations and Future Work

  • Binary Crisp Classification: The current work is strictly limited to two-class classifiers that output hard labels (crisp classification). Extending this to multi-class problems or soft classifiers (those outputting probabilities) is a natural next step.
  • VUT Axioms: The authors acknowledge that the Volume Under Tile (VUT) aggregate score violates one of their core axioms of ranking, suggesting it should be used for intuition rather than as a definitive new "super-metric."
  • Trilogy Context: This paper is part B of a trilogy. Part A covers the foundational axioms, and Part C (referenced as [21]) provides practical guides for real-world scenarios, implying that the full utility of the Tile is best understood by looking at the broader series.

Summary updated

BibTeX
@misc{pierard2024tile,
  author = {Sébastien Piérard and Anaïs Halin and Anthony Cioppa and Adrien Deliège and Marc Van Droogenbroeck},
  title = {{The Tile: A 2D Map of Ranking Scores for Two-Class Classification}},
  year = {2024},
  eprint = {2412.04309},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.04309},
}
Figure