Supersparse Linear Integer Models for Interpretable Classification

Berk Ustun, Stefano Tracà, Cynthia RudinarXiv 2013 · DOI

Abstract

Scoring systems are classification models that only require users to add, subtract, and multiply a few meaningful numbers to make a prediction. These models are often used because they are practical and interpretable. In this paper, we introduce an off-the-shelf tool to create scoring systems that are both accurate and interpretable, known as a Supersparse Linear Integer Model (SLIM). SLIM is a discrete optimization problem that minimizes the 0-1 loss to encourage a high level of accuracy, regularizes the $L_0$-norm to encourage a high level of sparsity, and constrains coefficients to a set of interpretable values. We illustrate the practical and interpretable nature of SLIM scoring systems through applications in medicine and criminology, and show that they are accurate and sparse in comparison to state-of-the-art classification models using numerical experiments.

Introduction

In high-stakes fields like medicine and criminology, practitioners often rely on simple scoring systems to make critical decisions. A typical scoring system might instruct a clinician: "Add 1 point if the patient is over 60, subtract 2 if they are non-smokers." Historically, these systems were built using heuristics or by rounding off coefficients from logistic regression—methods that do not explicitly optimize for accuracy or sparsity.

The authors of this paper challenge the common "interpretability-accuracy trade-off" myth. They argue that complex "black-box" models, such as Support Vector Machines (SVMs) or Random Forests, are not always necessary for high accuracy. The primary hurdle in creating truly sparse, integer-based models is that they represent a difficult discrete optimization problem. While standard tools often use "convex proxies" like Lasso ($L_1$-regularization) for computational ease, these proxies can introduce unnecessary complexity or sacrifice the transparency required by practitioners.

The SLIM Framework

To address these challenges, the authors introduce SLIM (Supersparse Linear Integer Model). Unlike standard models that utilize smooth loss functions, SLIM solves a discrete optimization problem with four core components:

  1. 0-1 Loss: SLIM directly minimizes the number of misclassifications. While this is more robust to outliers than standard log-loss, it is significantly harder to optimize.
  2. $L_0$-Regularization: The model directly penalizes the number of non-zero features, ensuring the resulting model is "supersparse."
  3. Integer Constraints: Coefficients are restricted to a user-defined set of interpretable values (e.g., integers between -10 and 10).
  4. Mixed-Integer Programming (MIP): To solve this non-convex, NP-hard problem, the authors formulate it as a MIP and leverage modern commercial solvers like CPLEX.

Additionally, SLIM employs a "tiny" $L_1$ penalty as a tie-breaker. This ensures that when multiple models offer equal accuracy, the solver selects the one with the smallest, most "coprime" integer coefficients, further enhancing interpretability.

Empirical Evaluation

The researchers evaluated SLIM against several state-of-the-art models using datasets from the UCI Machine Learning repository and specialized studies:

  • Medical Datasets: breastcancer (biopsy), haberman (survival), and mammo (mammograms).
  • Sparse/General Datasets: internetad and spambase.
  • Criminology: A violentcrime dataset derived from a US Department of Justice study.

Key Results

  • Performance vs. Lasso: In five out of six datasets, SLIM produced models that were more accurate than Lasso at the same level of sparsity. This demonstrates that optimizing for integers from the start is superior to rounding the results of a continuous model.
  • Breast Cancer Case Study: SLIM created a model using only three features—Clump Thickness, Uniformity of Cell Shape, and Bare Nuclei—with a test error of only 2.2%. This performance matched or exceeded much more complex models.
  • Criminology Application: For predicting violent crime, SLIM produced a 14-item scoring system that achieved 69% sensitivity. This significantly outperformed complex decision trees, which required over 60 nodes to reach similar performance levels.
  • Stability: SLIM's model sizes remained stable across cross-validation folds, whereas decision tree methods like CART or C5.0 often varied wildly in complexity.

Insights on Interpretability

The authors define interpretability through three lenses: Sparsity (few variables), Meaningful Weights (small integers), and Intuition (coefficient signs that align with domain expertise). Their findings suggest that SLIM models consistently sit on the "efficient frontier" of the accuracy-sparsity plane. This means that for a given level of simplicity, it is generally impossible to find a more accurate model using other methods.

Furthermore, the paper demonstrates that Mixed-Integer Programming is ready for practical use. While discrete optimization is theoretically slow, modern solvers can produce optimal or near-optimal scoring systems for datasets with thousands of rows and hundreds of features within minutes to an hour.

Limitations and Future Work

Despite its strengths, SLIM has limitations. The MIP formulation is NP-hard, meaning it may struggle with "Big Data" involving millions of features without specialized branching strategies. Additionally, the best results currently require commercial solvers like CPLEX or Gurobi, which may have limited accessibility.

Finally, the authors acknowledge that interpretability is subjective. While SLIM allows users to define their own constraints, choosing the correct constraints still requires significant domain expertise. Future research may explore "Personalized Interpretable Linear Models" (PILM), allowing users to define different penalty levels for features based on the cost or complexity of data collection.

Summary updated

BibTeX
@misc{ustun2013supersparse,
  author = {Berk Ustun and Stefano Tracà and Cynthia Rudin},
  title = {{Supersparse Linear Integer Models for Interpretable Classification}},
  year = {2013},
  eprint = {1306.6677},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1306.6677},
}
Figure