Sparse and Faithful Explanations Without Sparse Models

Yiyang Sun, Zhi Chen, Vittorio Orlandi, Tong Wang, Cynthia Rudin

Abstract

Even if a model is not globally sparse, it is possible for decisions made from that model to be accurately and faithfully described by a small number of features. For instance, an application for a large loan might be denied to someone because they have no credit history, which overwhelms any evidence towards their creditworthiness. In this work, we introduce the Sparse Explanation Value (SEV), a new way of measuring sparsity in machine learning models. In the loan denial example above, the SEV is 1 because only one factor is needed to explain why the loan was denied. SEV is a measure of decision sparsity rather than overall model sparsity, and we are able to show that many machine learning models – even if they are not sparse – actually have low decision sparsity, as measured by SEV. SEV is defined using movements over a hypercube, allowing SEV to be defined consistently over various model classes, with movement restrictions reflecting real-world constraints. Our algorithms reduce SEV without sacrificing accuracy, providing sparse and completely faithful explanations, even without globally sparse models.

Introduction

In the field of Explainable AI (XAI), a persistent trade-off exists between model accuracy and interpretability. Traditionally, achieving interpretability required "global sparsity"—limiting the total number of features used by the model. While a linear model with five features is easy to grasp, it often lacks the predictive power of complex "black box" models like deep neural networks or gradient-boosted trees.

However, global sparsity may be an unnecessarily restrictive requirement. For an individual whose loan application is denied, the total number of features the bank's model considers is less important than the specific handful of reasons for their rejection. This paper introduces the concept of local sparsity or "decision sparsity," measured by the Sparse Explanation Value (SEV). SEV quantifies how many features drive an individual prediction, allowing for complex models that still provide simple, faithful explanations.

The Sparse Explanation Value (SEV)

The SEV framework conceptualizes feature combinations as vertices on a Boolean hypercube. Each vertex represents a state where features are either at their "query" value (the instance being explained) or a "reference" value (typically a population average or prototype).

Visualizing SEV+ and SEV- through hypercube movements, tabular examples, and linear classifier decision boundaries.

Two primary metrics are defined:

  • SEV+: The minimum number of features that must change from the reference to the query values to flip a prediction from negative to positive.
  • SEV-: The minimum number of features that must change from the query to the reference values to flip a prediction from positive to negative (a counterfactual explanation).

Optimization Strategies

To move beyond mere measurement, the authors propose two training-time optimization techniques to minimize SEV:

  1. Vol-Opt (Volume-based Optimization): Designed for linear models, this method minimizes the geometric volume of high-SEV regions.
  2. All-Opt (Individual-based Optimization): A flexible approach adding a penalty term to the loss function to encourage "one-step" flips (changing a single feature). This is applicable to any differentiable model, including MLPs and fine-tuned GBDTs.

Experimental Results

The researchers evaluated SEV across six real-world tabular datasets, including Adult Income, FICO credit risk, and MIMIC-III medical data.

Key Insights

  • Inherent Sparsity: Many standard models already exhibit low SEVs; decisions are often naturally dominated by a few key factors.
  • Sparsity at No Cost: On the Adult dataset, average SEV+ was reduced to exactly 1.0 for nearly every query with negligible impact on accuracy or AUC.
  • Superiority to SHAP and LIME: SEV provides significantly sparser explanations than popular local methods. While SHAP or LIME might require changing 50% of features to flip a prediction, SEV consistently finds 1-2 feature flips.
  • Computational Efficiency: Unlike some counterfactual methods that can be slow or fail to converge, SEV calculations are typically completed in milliseconds.

Discussion and Future Work

The SEV framework demonstrates that global sparsity is not a prerequisite for interpretability. By focusing on decision sparsity, we can maintain high-performance models while providing users with simple, actionable explanations.

Future research will address current limitations, such as accounting for causal dependencies between features (e.g., the relationship between education and income) and exploring more nuanced methods for selecting reference points. Additionally, direct human studies will be essential to further validate the perceived interpretability of SEV-generated explanations.

Summary updated

BibTeX
@inproceedings{sun2024sparse,
  author = {Yiyang Sun and Zhi Chen and Vittorio Orlandi and Tong Wang and Cynthia Rudin},
  title = {{Sparse and Faithful Explanations Without Sparse Models}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=H7gu81Brpq},
}
Figure