NODE-GAM: Neural Generalized Additive Model for Interpretable Deep Learning

Chun-Hao Chang, Rich Caruana, Anna Goldenberg

Introduction

NODE-GAM bridges the gap between high-performance deep learning and "glass-box" interpretability. By making tree-based additive models fully differentiable, the authors have created a model that scales to massive datasets and supports self-supervised pre-training, all while remaining as easy for a human to inspect as a simple line graph.

The Problem with Black-Box Models

In high-stakes fields like healthcare or finance, "black-box" models are a liability. If a model denies a loan or predicts a patient's mortality, stakeholders need to know why.

Generalized Additive Models (GAMs) are the gold standard for interpretable machine learning. They decompose a prediction into a sum of individual feature contributions (e.g., $Score = f(age) + f(blood\_pressure)$). Because each function $f$ can be plotted on a 2D graph, humans can easily audit them. However, traditional GAMs—like those based on splines or boosted trees—have three major weaknesses:

  1. Scalability: They struggle with massive datasets containing millions of rows.
  2. Optimization: They are not differentiable, meaning they cannot easily run on GPUs or leverage modern deep learning optimization techniques.
  3. Data Efficiency: They cannot benefit from self-supervised pre-training, which is essential when labeled data is scarce.

Introducing NODE-GAM

To address these limitations, the authors introduce NODE-GAM and NODE-GA$^2$M (which includes pairwise interactions). Their approach builds on Neural Oblivious Decision Ensembles (NODE), a deep learning architecture that mimics decision trees but uses differentiable "gates" instead of hard splits.

NODE-GAM Architecture

Key innovations of this architecture include:

  • Temperature-Annealed Gating: To ensure the model remains a GAM, each "tree" must only look at one or two features. The authors use a gating mechanism with a "temperature" that gradually cools during training, forcing the model to eventually select exactly one feature per tree.
  • Attention-Based GAMs (AB-GAMs): An attention mechanism allows the model to decide which previous trees in the network are most relevant, increasing expressiveness without sacrificing the additive structure.
  • Differentiable Training: Because the entire pipeline is differentiable, it can be trained using mini-batches on GPUs, unlocking massive scalability.
  • Self-Supervised Pre-training: Adapting "masking" techniques common in NLP (like BERT), the model learns to predict missing feature values from unlabeled data. This creates a rich internal representation before the model ever sees a label.

Datasets and Evaluation

The models were evaluated on a diverse suite of 14 datasets:

  • 6 Large-scale datasets: Including Higgs (11M samples), Click (1M), and Microsoft (964k).
  • 8 Medium-scale datasets: Covering domains like healthcare (MIMIC-II/III, Support2), finance (Credit, Income), and regression tasks (Bikeshare, Wine).

Key Insights and Results

The results demonstrate that you do not have to choose between the accuracy of a neural network and the interpretability of a GAM. NODE-GAM matches or beats state-of-the-art tree-based GAMs (like Explainable Boosting Machines, or EBM) while scaling significantly better.

  • Superior Scalability and Efficiency: On large datasets like Higgs and Year, NODE-GA$^2$M outperformed the previous state-of-the-art (EBM) by up to 7.3%. Furthermore, traditional spline-based GAMs ran out of memory on 5 out of 6 large datasets, whereas NODE-GAM handled them with ease.
  • Low-Label Performance: In scenarios with very few labels (e.g., 0.5% of the dataset), self-supervised pre-training improved performance by up to 10% compared to non-pre-trained versions. This is a major win for "small data" problems in fields like medicine.
  • Interpretability in Action: The model produces clear "shape graphs" that reveal how individual features impact predictions. For example, on the Bikeshare dataset, the model clearly captures the non-linear effects of hour, temperature, and month on rental counts, aligning well with human intuition and competing models.
Shape Graphs for Bikeshare Dataset
(Note: The paper also highlights clinical thresholds identified in the MIMIC-II mortality dataset, such as younger patients in the ICU having higher relative risk because their presence implies a more severe acute condition.)

When modeling interactions (GA$^2$M), the authors use a "purification" step to push as much information as possible into the simpler main-effect graphs. This ensures the final visualizations remain as clean and intuitive as possible.

Limitations and Future Work

While powerful, the authors note a few limitations:

  • Association vs. Causation: The shape graphs show how the model makes decisions based on correlations in the data, which do not necessarily represent causal links.
  • Interaction Complexity: While GA$^2$M handles pairwise interactions, it intentionally ignores higher-order interactions (3-way or more) to remain human-readable.
  • Hyperparameter Sensitivity: Like many deep learning models, NODE-GAM requires more tuning (e.g., learning rates, dropout) compared to traditional "off-the-shelf" boosted trees.

Summary updated

BibTeX
@inproceedings{chang2022node,
  author = {Chun-Hao Chang and Rich Caruana and Anna Goldenberg},
  title = {{NODE-GAM: Neural Generalized Additive Model for Interpretable Deep Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=g8NJR6fCCl8},
}
Figure