Sparse Feature Attribution for Explaining Distribution Shifts

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 112 papers25 conceptsfrozen 2026-10-04

When a machine learning model’s performance degrades in production, practitioners face a "black box" problem: they know the model is failing, but they don't know why. Traditional methods can detect that a distribution shift has occurred, but they struggle to explain it. Recent research has converged on a powerful intuition to solve this: while data may have thousands of dimensions, the shift itself is usually sparse. By forcing explanations to focus on a minimal subset of features, we can transform complex distributional changes into human-readable diagnoses.

The Sparsity Hypothesis

The core insight shared across this research is that distribution shifts—whether they are changes in the data itself (covariate shift) or changes in the relationship between features and labels (concept shift)—are rarely uniform. Instead, they are typically driven by a small number of "unstable" features.

Daniele Angioni, Luca Demetrio, and colleagues demonstrate this in Robust Machine Learning for Malware Detection over Time, showing that the majority of performance loss in longitudinal tasks is caused by a tiny percentage of the total feature set. This suggests that we don't need to retrain models on everything; we just need to find and mitigate the specific features that have "drifted."

Interpretable Transport Maps

To explain how a distribution has changed, researchers have turned to Optimal Transport (OT). OT finds the most efficient way to "morph" one distribution into another. However, standard OT produces dense maps where every feature changes slightly, making it impossible for a human to see the signal through the noise.

To fix this, Marco Cuturi and Pierre Ablin in Monge, Bregman and Occam introduce sparsity-inducing regularizers (like the $L_1$ norm) directly into the transport cost. This forces the "displacement vectors"—the instructions for how to move the data—to be zero for most features.

Similarly, Sean Kulinski and David I. Inouye argue in Towards Explaining Distribution Shifts that these sparse maps filter out high-dimensional noise. Instead of a vague global shift, a researcher sees that "Feature A increased by 20% and Feature B shifted its variance," providing a clear diagnostic path.

Diagnosing Concept Shift

While transport maps explain changes in the data, SGShift, a framework developed by Ruiqi Lyu, Alistair Turcan, and Bryan Wilder, focuses on changes in the logic of the model.

In Explaining Concept Shift with Interpretable Feature Attribution, they model the shift as a sparse additive correction to the original model. By identifying the minimal set of features where the relationship to the outcome has changed, they can recover model performance even with very little data from the new environment. This approach treats shift diagnosis as a feature selection problem, ensuring that the explanation is both statistically sound and easy to understand.

Why It Works: The Power of Constraints

The reason these methods are effective is that they prioritize intuition over completeness. By applying an "Occam’s Razor" constraint to the problem of distribution shift:

  1. Interpretability: Human operators can immediately identify which variables (e.g., specific genes or software behaviors) are driving the change.
  2. Robustness: Sparse models are less likely to overfit to noise in high-dimensional settings, which is critical when data in the "shifted" domain is scarce.
  3. Actionability: Once the sparse set of shifted features is identified, practitioners can choose to drop those features, weight them differently, or collect more targeted data to fix the model.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_sparse_feature_attribution_for_explainin_5c8da959,
  title = {Sparse Feature Attribution for Explaining Distribution Shifts},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sparse-feature-attribution-for-explaining-distribution-shifts/rdr_5c8da959869e4e5890ed309873dd6d6b},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_sparse_feature_attribution_for_explainin_5c8da959_v1,
  title = {Sparse Feature Attribution for Explaining Distribution Shifts},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sparse-feature-attribution-for-explaining-distribution-shifts/rdr_5c8da959869e4e5890ed309873dd6d6b/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}