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

Interpretable Generalized Additive Models for Datasets with Missing Values

Hayden McTavish, Jon Donnelly, Margo Seltzer, Cynthia Rudin

In the world of real-world data science, missing values aren't just a nuisance—they are an inevitability. Whether it's a patient skipping a medical test or a credit applicant with an incomplete history, those "NAs" carry weight. Traditionally, we either fill them in (imputation) or flag them (indicators). But as a new paper from researchers at Duke and UBC points out, both approaches often break the very thing we value most in high-stakes domains: interpretability.

Enter M-GAM (Missingness-Generalized Additive Model), a framework designed to handle missing data without turning your model into a black box.

TL;DR

M-GAM extends Generalized Additive Models (GAMs) to treat missingness as a first-class citizen, using $\ell_0$ regularization to keep models sparse and readable. It outperforms traditional imputation in speed and accuracy—especially when the fact that data is missing is itself informative—while maintaining the simple, 1D visualizations that make GAMs so popular.

What Problem Does This Paper Address?

Generalized Additive Models (GAMs) are beloved because they are "univariate": the model’s prediction is just the sum of individual shape functions (curves) for each feature. You can plot these curves and see exactly how "Age" or "Income" affects the outcome.

However, missing data ruins this simplicity:

  1. Imputation kills interpretability: If you impute a missing value for $X_3$ using $X_1$ and $X_2$, your model for $X_3$ is no longer univariate. It becomes a complex, multi-dimensional interaction that you can't easily visualize.
  2. Indicators cause "feature explosion": Simply adding an "is missing" flag for every variable, plus interactions, leads to a massive number of terms. Without heavy-duty regularization, these models overfit and become too messy for a human to audit.
Comparison of imputation vs. M-GAM on model interpretability.

The authors tackle the question: How can we maintain the interpretability of GAMs when data is missing, without sacrificing accuracy or sparsity?

Methods

The core of the paper is the M-GAM framework. It introduces two clever additions to the standard GAM:

  • Missingness Indicators: Explicit terms that capture the baseline effect of a feature being missing.
  • Missingness Adjustments: Interaction terms that allow the "shape" of one feature's curve to change based on whether another feature is missing.

Crucially, M-GAM uses $\ell_0$ regularization. Unlike the more common $\ell_1$ (Lasso) which shrinks coefficients, $\ell_0$ directly penalizes the number of non-zero terms. This forces the model to pick only the most essential features and interactions, resulting in a "sparse" model that a human can actually read. To solve this computationally difficult $\ell_0$ problem, they leverage the FastSparse optimization framework.

Datasets

The authors evaluated M-GAM on several real-world datasets known for missingness and high-stakes decision-making:

  • FICO: Credit risk data from the Explainable ML Challenge.
  • Breast Cancer: Medical data predicting cancer outcomes.
  • MIMIC-III: A massive dataset of critical care hospital stays.
  • Pharyngitis: Clinical variables for pediatric patients.
  • CKD & Heart Disease: Standard UCI benchmarks.

They also tested the models against synthetic Missing At Random (MAR) scenarios to see how they handle "informative missingness"—cases where the reason data is missing is correlated with the outcome.

Key Insights and Ideas

  • Missingness is Information: In many cases, data isn't missing by accident. A doctor might not order a specific test because a patient looks healthy. M-GAM exploits this "informative missingness," whereas imputation often "smears" this signal away by trying to guess the missing value.
  • Interpretability via Sparsity: The authors show that you don't need a dense, complex model to handle missing data. By using $\ell_0$ regularization, they produce models with just 20–40 coefficients that perform as well as "black-box" ensembles.
  • The Imputation Myth: The paper provides a mathematical proof showing that even "perfect" imputation can actually reduce the best possible performance of a predictive model if the missingness itself was a useful predictor.

Key Results

  • Superior Accuracy: On datasets with informative missingness, M-GAM significantly outperformed "impute-then-predict" methods (like MICE or MissForest).
  • Massive Speedup: M-GAM is often an order of magnitude faster than multiple imputation methods. It avoids the overhead of generating multiple "fake" datasets and training models on all of them.
  • Extreme Sparsity: On the FICO and Breast Cancer datasets, M-GAM achieved state-of-the-art accuracy using a fraction of the non-zero coefficients required by other methods, making the entire logic of the model viewable on a single page.
Performance and sparsity comparison across different missing data methods.

Limitations and Future Work

The authors are transparent about a few hurdles:

  • Uniform Penalty: Currently, the $\ell_0$ penalty is the same for all terms. They suggest that future versions could "discount" the penalty for features already in the model, encouraging the reuse of existing features rather than adding new ones.
  • Distribution Shift: Like any model that relies on missingness patterns, M-GAM is vulnerable if the reason for missingness changes (e.g., a hospital changes its testing policy).
  • Global vs. Local Sparsity: While the model is globally sparse, future work could explore making it even simpler for specific sub-populations.

For those working in healthcare, finance, or policy, M-GAM offers a compelling path forward: a way to embrace the "blanks" in our data without losing the ability to explain our decisions.

Summary updated

BibTeX
@inproceedings{mctavish2024interpretable,
  author = {Hayden McTavish and Jon Donnelly and Margo Seltzer and Cynthia Rudin},
  title = {{Interpretable Generalized Additive Models for Datasets with Missing Values}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=soUXmwL5aK},
}
Figure