What Changed? Interpretable Model Comparison

Rahul Nair, Massimiliano Mattetti, Elizabeth Daly, Dennis Wei, Oznur Alkan, Yunfeng Zhang

Abstract

Machine learning models are frequently updated, yet standard performance metrics often fail to capture critical shifts in decision logic. This paper proposes a framework for interpretable model comparison by approximating "black-box" models with human-readable Boolean rules. A novel "grounding" technique ensures structural consistency between rule sets, allowing for a clear identification of behavioral differences.

Introduction

In production environments, machine learning models are rarely static. They evolve through retraining on new data or transitions to more complex architectures. Traditional evaluation relies on aggregate statistics like accuracy or F1-score. However, these metrics are inherently "lossy"; a model update might maintain overall accuracy while significantly altering behavior for specific subgroups, potentially eroding user trust. This work addresses the challenge of interpretable model comparison, providing a method to explain exactly how decision-making logic has shifted between two model versions.

Proposed Methodology

The authors introduce a three-stage pipeline to facilitate transparent comparisons:

  1. Surrogate Rule Generation: Complex models are approximated using Boolean Rules via Column Generation (BRCG). This process translates black-box logic into Disjunctive Normal Form (DNF)—sets of "If-Then" rules that are easily understood by humans.
  2. Grounding (BRCG+): To combat the "Rashomon Effect"—where similar models yield wildly different rule structures—the authors introduce a grounding penalty. This optimization term encourages the second rule set to remain structurally similar to the first, stabilizing the comparison.
  3. Rule Comparison: An assignment algorithm matches rules between models based on statistical similarity (overlap in data coverage) and semantic similarity (similarity in rule conditions).
The interpretable model comparison pipeline, showing the flow from training data and black-box models to the final ruleset differences.

Experimental Setup

The methodology was validated across seven binary classification datasets, ranging from small-scale (e.g., Breast Cancer, Mushroom) to large-scale (e.g., Lending Club with 1.3 million observations). These datasets served as benchmarks for testing the framework's ability to recover artificial label perturbations and to compare disparate architectures, such as Random Forests versus XGBoost.

Results and Discussion

The experiments highlighted several key findings:

  • Stability and Recovery: The grounding technique significantly improved the stability of rule sets. As shown in the recovery experiments, the method successfully identifies induced changes, provided the grounding parameter ($c_u$) is appropriately tuned.
  • Semantic vs. Statistical Insights: The framework distinguishes between changes in output (statistical) and changes in underlying logic (semantic), offering a holistic view of model evolution.
  • Qualitative Analysis: In a comparison on the 'Adult' dataset, the tool revealed that while both Random Forest and XGBoost shared core logic, XGBoost identified four additional specific cohorts, explaining its superior accuracy.
Fraction of induced changes recovered as a function of perturbation probability and the grounding penalty parameter $c_u$.

Conclusion and Future Work

This framework provides a vital tool for maintaining "mental models" of AI systems during updates. While effective, the reliance on Mixed-Integer Linear Programming (MILP) introduces computational costs for extremely high-dimensional data. Future research will focus on automating hyperparameter selection for the grounding penalty and extending the approach to multi-class and non-tabular data domains.

Summary updated

BibTeX
@inproceedings{nair2021what,
  author = {Rahul Nair and Massimiliano Mattetti and Elizabeth Daly and Dennis Wei and Oznur Alkan and Yunfeng Zhang},
  title = {{What Changed? Interpretable Model Comparison}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/393},
}
Figure