Comparing machine learning algorithms by union-free generic depth

Hannah Blocher, Georg Schollmeyer, Malte Nalenz, Christoph Jansen

The research was published in the International Journal of Approximate Reasoning.

Introduction

In the field of machine learning, benchmarking is the primary method for determining which algorithms are superior. However, the standard practice of selecting a single metric—such as accuracy—and averaging it across multiple datasets is a significant oversimplification. Practitioners understand that performance is multi-dimensional; an algorithm might excel in precision but lag in recall, or dominate on small datasets while failing on larger ones. When multiple criteria conflict, we encounter partial orders—situations where one algorithm cannot be strictly ranked above another.

A recent study by Hannah Blocher and colleagues, published in the International Journal of Approximate Reasoning, introduces a novel statistical framework to address this complexity: union-free generic (ufg) depth.

The Challenge: Navigating Incomparability

Comparing machine learning algorithms is inherently multi-criteria. We evaluate models based on accuracy, Area Under the Curve (AUC), training time, and Brier scores. When comparing two algorithms across these metrics, they are often incomparable: Algorithm A might be more accurate, but Algorithm B might offer better probabilistic calibration.

Traditional benchmarking often collapses this complexity into a single average rank, which discards vital information about these systematic incomparabilities. While "depth functions" are common for standard numerical data—identifying how "central" or "typical" a data point is within a cloud—the field lacked similar descriptive tools for non-standard data like partial orders. The authors aim to fill this gap, providing a method to identify the "median" or "most representative" partial order in a collection of benchmark results.

Methodology: Defining ufg Depth

The core contribution of the paper is the union-free generic (ufg) depth. This framework adapts the concept of "simplicial depth"—a geometric tool used to find the center of a point cloud—to the abstract space of partial orders.

Key technical components include:

  • Formal Concept Analysis (FCA): The authors utilize FCA to define a "closure operator" on the set of all possible partial orders. This allows for a formal definition of what it means for one partial order to be "between" others.
  • Union-Free Generic Sets: The researchers identify specific subsets of observed orders (ufg sets) that are non-redundant. The depth of a given order is determined by the weighted probability that it falls within the "closure" of these randomly drawn sets.
  • Binary Linear Programming: Given that the space of all possible partial orders is astronomically large (even for a small number of algorithms), the authors developed an optimization approach using binary linear programming to find the most central (deepest) and most outlying (shallowest) orders.

A critical theoretical insight (Theorem 7) proves that ufg depth cannot be reduced to simple pairwise "sum-statistics," such as counting how many times Algorithm A beat Algorithm B. Instead, the entire structure of the performance relations must be considered.

Experimental Validation and Insights

The authors validated their framework using two major benchmark sources: the UCI Machine Learning Repository and the OpenML Repository.

UCI Comparison

Analyzing 16 datasets comparing 8 classifiers (including Random Forest, GBM, and LASSO) across 3 metrics, the authors found the "deepest" (most central) poset had a depth value of 0.32. This central structure revealed that while some algorithms like CART are generally outperformed, there is no single "best" algorithm. Instead, a group of undominated algorithms—GBM, Random Forest, and Boosted Decision Stumps—emerges as the top tier.

OpenML Comparison

In a larger study involving 80 binary classification datasets and 5 classifiers, the deepest poset (depth 0.34) was a total order. This indicated that Random Forest (RF) was the clear dominant force across the metrics used (AUC, F-score, Predictive Accuracy, and Brier score). Interestingly, the analysis showed that the dominance structure is stable for top-performing algorithms but becomes significantly more "messy" and incomparable for lower-performing ones.

The "Ontic" Perspective and Outlier Detection

A key conceptual shift in this work is the "Ontic" perspective: treating the partial order as the actual data point rather than a noisy version of a "true" total order. This respects the inherent uncertainty and conflict in multi-criteria decision-making. Furthermore, the framework enables outlier detection. Datasets that produce very "shallow" (low depth) partial orders can be flagged as outliers, potentially indicating data quality issues or highly unusual problem domains.

Conclusion

The introduction of ufg depth provides a more stable "representative" view of algorithm performance than simple averages. While the current method is descriptive, future work is needed to add formal statistical inference (such as confidence intervals) to account for sampling uncertainty. Additionally, the authors suggest that this closure-based approach could be extended to other non-standard data types, such as interval-valued data or complex relational structures.

Summary updated

BibTeX
@article{blocher2024comparing,
  author = {Hannah Blocher and Georg Schollmeyer and Malte Nalenz and Christoph Jansen},
  title = {{Comparing machine learning algorithms by union-free generic depth}},
  journal = {Int. J. Approx. Reason.},
  year = {2024},
  doi = {10.1016/j.ijar.2024.109166},
}
Figure