On benchmark experiments and visualization methods for the evaluation and interpretation of machine learning models

Giuseppe Casalicchio2019

Introduction

The rapid proliferation of machine learning (ML) algorithms has created a significant need for robust infrastructure to evaluate, compare, and interpret these models. Giuseppe Casalicchio’s dissertation, "On Benchmark Experiments and Visualization Methods for the Evaluation and Interpretation of Machine Learning Models," addresses critical gaps in the ML pipeline. Rather than introducing a singular new predictive algorithm, the work provides a comprehensive toolkit for benchmarking and model interpretation, focusing on transparency and reproducibility.

Standardizing Benchmarking and Reproducibility

A primary challenge in machine learning research is "benchmarking chaos"—the difficulty of comparing algorithms due to inconsistent software interfaces and a lack of standardized datasets. Casalicchio addresses this through several key contributions:

  1. OpenML Integration: The author developed an R interface for OpenML.org, an open-science platform. This integration allows researchers to access datasets and share experimental results directly from their programming environment, fostering a more collaborative and reproducible research ecosystem.
  2. The OpenML100 Suite: To provide a "gold standard" for benchmarking, the author curated the OpenML100, a suite of 100 classification datasets. These datasets were specifically selected for their medium size (500 to 100,000 observations) and balanced classes, ensuring they are computationally manageable yet statistically significant.
  3. Multilabel Support: Extending the mlr R package, the author introduced support for multilabel classification, where instances can belong to multiple categories simultaneously (e.g., a photograph containing both "sunset" and "ocean").

Advanced Evaluation: The Residual-Based Predictiveness (RBP) Curve

Traditional evaluation metrics, such as the Area Under the ROC Curve (AUC), primarily measure discrimination—a model's ability to rank or separate classes. However, they often ignore calibration—whether the predicted probabilities accurately reflect the true likelihood of an event. A model might correctly rank risks but provide wildly inaccurate probability values.

Casalicchio introduces the Residual-Based Predictiveness (RBP) curve to bridge this gap. By plotting model residuals against their empirical cumulative distribution, the RBP curve provides a holistic view of model performance. Unlike traditional curves, the RBP curve incorporates the actual outcome ($D$), making it sensitive to overfitting. In simulations involving 1,000 datasets, the RBP curve successfully identified influential markers where traditional tests, such as the Hosmer-Lemeshow calibration test, remained inconclusive.

Interpretable Machine Learning: From Global to Local

As models become more complex, the "black box" problem becomes more acute. Casalicchio proposes several methods to decompose model behavior and move beyond simple global importance scores:

Partial Importance (PI) and Individual Conditional Importance (ICI)

Building on Partial Dependence (PD) and Individual Conditional Expectation (ICE) plots, the author introduced Partial Importance (PI) and Individual Conditional Importance (ICI) plots. While PD/ICE plots show how predictions change with a feature, PI/ICI plots show how the model’s performance (error) changes. This distinction is crucial for identifying heterogeneity; an ICI plot can reveal if a feature is highly important for a specific subgroup of data even if its global importance is low.

Shapley Feature Importance (SFIMP)

To address the "fair attribution" of model performance, the author developed Shapley Feature Importance (SFIMP). Grounded in cooperative game theory, SFIMP decomposes total model performance (e.g., Mean Squared Error) into contributions from individual features. This method prevents the "double-counting" of interacting features—a common issue in standard permutation importance—and allows for fair comparisons across disparate model types, such as Random Forests and Support Vector Machines.

Key Results and Empirical Findings

The dissertation’s methods were validated through extensive benchmarking and case studies:

  • Multilabel Benchmarking: In studies across 10 datasets (including audio, genetics, and image data), Dependent Binary Relevance (DBR) and Classifier Chains (CC) were found to outperform standard Binary Relevance by effectively accounting for label dependencies.
  • Clinical and Economic Applications: The RBP curve was demonstrated using breast cancer "omics" data, while the classic Boston Housing dataset served as a primary example for the new feature importance visualizations.

Limitations and Future Directions

Despite the advancements, several challenges remain. The computational cost of calculating Shapley values for SFIMP remains high as the feature space grows, necessitating the development of more efficient approximation algorithms. Additionally, the author noted that multilabel algorithms still struggle with "sparse labels"—categories that appear in less than 2% of the data—which can lead to instability during cross-validation.

Future research directions include extending the RBP curve to regression and multiclass settings and exploring clustering techniques for ICI curves to identify "importance-based" subgroups within datasets.

Conclusion

By focusing on the infrastructure of evaluation and the nuances of interpretation, Casalicchio’s work provides essential tools for the modern data scientist. The combination of standardized benchmarking via OpenML and novel visualization techniques like the RBP and ICI plots moves the field toward more transparent, reliable, and interpretable machine learning.

Summary updated

BibTeX
@misc{casalicchio2019benchmark,
  author = {Giuseppe Casalicchio},
  title = {{On benchmark experiments and visualization methods for the evaluation and interpretation of machine learning models}},
  year = {2019},
}
Figure