Introduction
In the field of machine learning, progress is measured through rigorous benchmarking. Researchers typically evaluate a set of algorithms (comparates) across a suite of datasets to determine which methods represent the state-of-the-art. For over a decade, the Critical Difference (CD) diagram has served as the gold standard for visualizing these multiple comparisons. However, recent research reveals a fundamental flaw in this approach: CD diagrams are inherently unstable.
The "Dirty Secret" of CD Diagrams
The primary issue with CD diagrams is their sensitivity to the "comparate set"—the specific group of algorithms being compared. Because these diagrams rely on mean ranks and multiple test corrections (such as the Holm correction), the relative standing of two algorithms can change, or even flip, simply by adding or removing a third, unrelated algorithm.
This instability creates a potential loophole for "gaming" results. A researcher could, intentionally or not, manipulate the narrative of their study by carefully selecting which baseline methods to include. Furthermore, rank-based comparisons ignore the magnitude of performance differences; a marginal win is treated identically to a substantial one.
As shown in the figure above, replacing a single algorithm in the set (ResNet with STSF) causes a visual "swap" in the rankings of DrCIF and InceptionTime. This visual inconsistency undermines the reliability of the CD diagram as a tool for objective scientific comparison.
The Multiple Comparison Matrix (MCM) Solution
To address these shortcomings, the authors propose the Multiple Comparison Matrix (MCM). The MCM is designed to be a robust, pairwise evaluation framework that remains stable regardless of the broader comparate set. Instead of collapsing all data into a single global ranking line, the MCM uses a grid-based approach.
Key Features of the MCM:
- Pairwise Primacy: Every cell in the matrix represents a direct head-to-head comparison between two specific algorithms.
- Stable Ordering: Algorithms are ordered by their average performance measure (e.g., mean accuracy) across all tasks. Unlike rank, this average is independent of other algorithms in the set.
- Rich Descriptive Statistics: Each cell provides three key metrics: Mean Difference (the average performance gap), Win/Tie/Loss counts, and a Wilcoxon p-value used as a descriptive measure of effect strength.
- Heatmap Visualization: Cells are color-coded based on the magnitude of the mean difference, allowing for quick identification of performance clusters.
Experimental Validation
The authors demonstrated the MCM using the UCR Time Series Archive, a benchmark of 108 datasets. They compared 24 state-of-the-art classification algorithms, including HIVE-COTE 2.0, InceptionTime, ROCKET, and DrCIF.
While a standard CD diagram (like the one above) provides a high-level summary, it masks the granular details revealed by the MCM. For instance, the MCM shows that even if Algorithm A has a higher average accuracy than Algorithm B, Algorithm B might still win on a significant number of individual datasets—a nuance that global ranking completely hides.
Discussion and Future Directions
The transition from CD diagrams to MCMs involves trade-offs. While CD diagrams are compact and can fit many algorithms on a single line, MCMs become dense grids as the number of comparates grows. The authors suggest using "Focused MCMs"—comparing a few new methods against a set of established baselines—to manage this complexity.
Future work includes integrating Bayesian hierarchical models into the MCM framework, replacing or augmenting the Wilcoxon test with "probability of winning" metrics. To encourage adoption, the authors have released a Python implementation of the MCM, aiming to make it as accessible as the traditional CD diagram.
Conclusion
The Multiple Comparison Matrix offers a more stable, transparent, and informative way to present benchmark results. By moving away from unstable global rankings and toward robust pairwise comparisons, the machine learning community can ensure that reported progress is both consistent and reproducible.
Summary updated