NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

InterpretML: A Unified Framework for Machine Learning Interpretability

Harsha Nori, Samuel Jenkins, Paul Koch, Rich CaruanaarXiv 2019

Introduction

As machine learning transitions from research environments to high-stakes sectors like healthcare, finance, and the judicial system, the "black box" nature of complex models has become a significant barrier to adoption. Practitioners often face a binary choice: deploy simple, interpretable models like linear regression at the cost of predictive accuracy, or utilize high-performance ensembles like Random Forests and XGBoost while sacrificing the ability to explain individual decisions.

InterpretML addresses this dilemma by providing an open-source Python framework that unifies "glassbox" models—interpretable by design—and "blackbox" explainability tools under a single, scikit-learn-compatible API.

The InterpretML Framework

The core philosophy of InterpretML is to standardize the interpretability landscape. The library categorizes methods into two primary buckets:

  1. Glassbox Models: Inherently transparent models such as Decision Trees, Linear Models, and the novel Explainable Boosting Machine (EBM).
  2. Blackbox Explainers: Post-hoc techniques like LIME, SHAP, and Partial Dependence plots used to interrogate opaque models.
The InterpretML architecture unifies various model types and explainers under a consistent API for computation and visualization.

By exposing these methods through a unified interface, InterpretML allows data scientists to compare different interpretability techniques and models seamlessly within a single workflow, supported by an interactive visualization dashboard.

Explainable Boosting Machines (EBM)

A standout contribution of the framework is the Explainable Boosting Machine (EBM). EBM is a specialized Generalized Additive Model (GAM) that utilizes a "round-robin" boosting procedure. Unlike standard gradient boosting, which may build trees on multiple features simultaneously, EBM trains on one feature at a time with a very low learning rate.

This additive structure ensures that the contribution of each feature can be isolated and visualized as a simple graph. Furthermore, EBM automatically detects and incorporates pairwise interactions ($GA^2M$), significantly enhancing predictive power without compromising the model's inherent transparency.

Experimental Evaluation

The authors benchmarked InterpretML and the EBM algorithm across five diverse tabular datasets: Heart-disease, Breast-cancer, Telco-churn, Adult-income, and Credit-fraud. These datasets represent various domains where interpretability is paramount. EBM's performance was compared against industry standards, including Logistic Regression, Random Forest, and XGBoost.

Results and Discussion

The experimental results challenge the notion that accuracy must be sacrificed for interpretability. In AUROC benchmarks, EBM consistently matched or outperformed state-of-the-art black-box ensembles, ranking as the top performer on the majority of the tested datasets.

Comparison of training and scoring times across datasets. While EBM has higher training costs, its scoring speed is highly competitive.

A key finding relates to computational efficiency. While EBM incurs a higher "training cost"—often requiring extensive epochs and bagging for peak accuracy—it is exceptionally fast during inference. Because the final model functions as a series of lookup tables, it requires minimal memory and computation for production scoring.

Conclusion

InterpretML demonstrates that the accuracy-interpretability trade-off is often a choice rather than a necessity. By providing a modular, standardized framework, the authors advocate for interpretability to become a default component of the machine learning pipeline. The ability to edit model logic directly through feature graphs further empowers domain experts to refine models based on qualitative insights, bridging the gap between data science and subject matter expertise.

Summary updated

BibTeX
@misc{nori2019interpretml,
  author = {Harsha Nori and Samuel Jenkins and Paul Koch and Rich Caruana},
  title = {{InterpretML: A Unified Framework for Machine Learning Interpretability}},
  year = {2019},
  eprint = {1909.09223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.09223},
}
Figure