TL;DR
Standard metrics like accuracy or F1-score fail to capture application-specific trade-offs when evaluating binary classifiers. This paper introduces a practical guide to "The Tile," a 2D visualization tool that maps an infinite family of ranking scores based on user preferences. By analyzing 74 state-of-the-art semantic segmentation models, the authors demonstrate how different stakeholders—analysts, designers, benchmarkers, and developers—can leverage different "flavors" of the Tile to make optimal, context-aware decisions.
What Problem Does This Paper Address?
Evaluating machine learning models often relies on a single metric (like Accuracy) or a 2D curve (like ROC or Precision-Recall). However, these approaches have major drawbacks. Single metrics ignore the specific costs of different errors (e.g., a false negative in autonomous driving is much worse than a false positive).
Meanwhile, evaluation spaces like ROC curves are designed for scoring functions with variable thresholds, making them inadequate for comparing unique, fixed-threshold classifiers. As a result, plots become cluttered and uninterpretable when comparing dozens of distinct models, making it nearly impossible to establish a clear ranking.
This paper addresses the challenge of evaluating and ranking binary classifiers across all possible operational preferences simultaneously, providing a unified, mathematically consistent framework.
Methods
The authors build upon a visualization tool called The Tile, a 2D square map parameterizing an infinite family of mathematically consistent ranking scores. The axes of the Tile represent the importance given to true positives vs. true negatives ($a$) and false negatives vs. false positives ($b$). The corners correspond to classic metrics: TPR, TNR, PPV, and NPV, with Accuracy sitting right in the center.
The paper introduces a step-by-step guide detailing four distinct "flavors" of the Tile tailored to specific user profiles:
- Correlation Tile (The Theoretical Analyst): Displays how standard reference metrics (like mIoU) correlate with the Tile's canonical scores across different preference zones.
- Value Tile (The Method Designer): Maps the exact score values for a specific model across the preference space to reveal its strengths and weaknesses.
- Ranking Tile (The Benchmarker): Displays the relative rank of a model compared to all competitors at every point on the map.
- Entity Tile (The Application Developer): Identifies exactly which model is the top performer for any given preference combination.
Datasets
To demonstrate the framework, the authors evaluate 74 state-of-the-art semantic segmentation models from the MMSegmentation toolbox. These models were originally trained on diverse datasets: Cityscapes, ADE20K, Pascal VOC 2012, and COCO-Stuff 164k.
To make them directly comparable, the multi-class outputs were mapped into a binary classification task (foreground vs. background) and evaluated on 8,000 images from the BDD100K dataset, a diverse driving dataset used as the common testing benchmark.
Key Insights and Ideas
- No Single Winner: A model that dominates under one set of preferences might perform poorly under another. Cleanly segmenting the operational space shows exactly where each model excels.
- The Illusion of the ROC Space: While traditional ROC plots become unreadable with dozens of models, the Tile successfully organizes an infinite number of ranking scores into a single, interpretable visualization.
- Dataset Bias Matters: The dataset a model was trained on heavily influences its ranking behavior on the test set, even when using the exact same architecture (e.g.,
PSPNetperforms differently based on whether it was trained on Cityscapes vs. ADE20K).
Key Results
- Out of 74 models, the top spot on the Entity Tile ("Who's first?") is shared by just 4 models depending on the user's exact preferences:
SETR(dominating 46.97% of the tile area),Mask2Former(29.85%),ISANet(20.52%), andDeepLabV3+(2.66%). SETRandSegFormerwere found to minimize the maximum rank, making them the safest choices if application preferences are completely unknown, withSETRachieving the lowest mean rank overall.- The Correlation Tile revealed that the commonly used macro-IoU metric only correlates strongly ($\ge 0.85$) with the canonical scores in a narrow horizontal band near the top of the Tile, proving that relying solely on IoU leaves massive blind spots regarding model performance under other deployment conditions.
Limitations and Future Work
- Multi-class Extension Complexity: While the underlying theory applies to multi-class problems, an $n$-class problem requires an $(n^2 - 2)$-dimensional space, making direct 2D visualization impossible without micro- or macro-averaging, which introduces other interpretability issues.
- Sensitivity to Class Priors: The current visualization assumes fixed class priors. If the class distribution changes dynamically in production, the mapping shifts.
The authors note that these multi-class visualization challenges and dynamic class imbalances remain open areas for future research.
Summary updated