Correcting misinterpretations of additive models

Benedict Clark, Rick Wilming, Hjalmar Schulz, Rustam Zhumagambetov, Danny Panknin, Stefan HaufeNeurIPS 2025

Generalized Additive Models (GAMs) are often hailed as the "gold standard" for interpretable machine learning in high-stakes fields like medicine or criminal justice. Because they decompose a prediction into a sum of independent "shape functions" for each feature, it is widely assumed that we can simply look at a plot to understand exactly how the model works.

However, a new paper from researchers at PTB Berlin and TU Berlin, titled "Correcting misinterpretations of additive models," reveals a dangerous flaw: these "glass-box" models can lie. They frequently assign high importance to features that have zero actual relationship with the target, a phenomenon driven by "suppressor variables." To fix this, the authors introduce PatternGAM, ensuring that model explanations align with actual statistical reality.

The Problem: The "Glass-Box" Trap and Suppressor Variables

Even "intrinsically interpretable" models like GAMs can be misleading. The core issue lies in the suppressor variable.

Imagine you are predicting a target $y$ using features $x_1$ and $x_2$. Feature $x_1$ is highly informative but noisy. Feature $x_2$ has zero correlation with $y$, but it is correlated with the noise in $x_1$. An optimal model will give $x_2$ a large weight to "cancel out" the noise in $x_1$, significantly improving overall accuracy.

If you look at the model's coefficients (or shape functions in a GAM), $x_2$ looks incredibly important. In a high-stakes setting—like predicting recidivism or hospital mortality—a practitioner might wrongly conclude that $x_2$ is a key risk factor. Structural transparency does not equal interpretational transparency; just because you can see the math inside a GAM doesn't mean the math represents a strong statistical link to the target.

Methods: Introducing PatternGAM

To bridge the gap between what a model uses and what is actually informative, the authors generalize the concept of activation patterns—originally a linear algebra trick for interpreting brain imaging models—to the non-linear world of additive models.

  1. PatternGAM & PatternQLR: Instead of interpreting the raw "shape functions" learned by a GAM (or a polynomial model like QLR), the authors fit univariate generative surrogate models. These surrogates identify the "pattern" of how a feature actually relates to the target, effectively nullifying the influence of suppressors.
  2. FNI-EMDA Metric: Evaluating Explainable AI (XAI) is notoriously difficult. The authors propose a new metric: False-Negative Invariant Earth Mover’s Distance Accuracy. Standard metrics often penalize a model if it only identifies a subset of important features. FNI-EMDA recognizes that multiple valid explanations might exist, so it heavily penalizes "false positives" (highlighting wrong features) while remaining lenient toward "false negatives" (missing some right ones).

Key Insights and Results

The authors evaluated their methods across synthetic benchmarks (XAI-TRIS) and real-world datasets (COMPAS and MIMIC-IV).

Statistical Association Property (SAP)

The authors argue that a "correct" explanation must satisfy the SAP: it should only assign importance to a feature if that feature is actually statistically associated with the target. They prove that standard GAMs fail this property, while PatternGAM satisfies it.

Correcting Spurious Attributions

On the synthetic XAI-TRIS benchmark, PatternGAM and PatternQLR significantly outperformed popular attribution methods like SHAP, Integrated Gradients, and the standard interpretation of GAMs.

Comparison of shape functions: PatternGAM (red) correctly nullifies the influence of irrelevant distractor features that mislead the original GAM (black).

As seen above, standard GAMs can be easily fooled into drawing complex shape functions for irrelevant distractor features. PatternGAM successfully flattens these curves, correctly identifying that the features carry no true signal.

Real-World Case Studies: COMPAS and MIMIC-IV

In the MIMIC-IV mortality study, the researchers found that certain features (like Diastolic Blood Pressure) entered the model with a "polarity" opposite to their actual correlation with mortality. This is a classic sign of a suppressor at work, which PatternGAM successfully identifies and corrects.

In the COMPAS dataset (used to predict criminal recidivism), PatternGAM provided crucial insights into how sensitive attributes are handled by the model.

Feature attributions for Age and Race in the COMPAS dataset, comparing standard GAM interpretations with PatternGAM.

PatternGAM revealed that while sensitive attributes like race and sex have marginal correlations with recidivism, the multivariate model doesn't actually rely on them for its predictive power. This suggests that high accuracy can be achieved without relying on biased proxies, provided the model is interpreted correctly.

Limitations and Future Work

While PatternGAM represents a significant step forward for interpretable ML, the authors note a few limitations:

  • Interaction Complexity: The paper handles univariate and bivariate (pairs of features) terms well, but extending this to higher-order interactions remains a computational and theoretical challenge.
  • Post-hoc Nature: PatternGAM is a post-hoc adjustment. It helps us understand a trained model better, but it doesn't change how the model makes its underlying predictions.
  • Causal Inference: While PatternGAM successfully identifies true statistical associations and filters out suppressors, it does not fully solve the problem of disentangling confounding variables in a purely causal sense. That requires a dedicated set of causal inference tools.

Summary updated

BibTeX
@inproceedings{clark2025correcting,
  author = {Benedict Clark and Rick Wilming and Hjalmar Schulz and Rustam Zhumagambetov and Danny Panknin and Stefan Haufe},
  title = {{Correcting misinterpretations of additive models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=2ClM0g9OFT},
}
Figure