Laplace-Approximated Neural Additive Models: Improving Interpretability with Bayesian Inference

Kouroche Bouchiat, Alexander Immer, Hugo Yèche, Gunnar Rätsch, Vincent Fortuin · DOI

Introduction

Deep learning models are often criticized as "black boxes," a significant barrier to their adoption in high-stakes domains like medicine and finance. Neural Additive Models (NAMs) were proposed to bridge this gap by learning a separate sub-network for each input feature. Predictions are made by summing these individual contributions, allowing for clear visualization of how each feature influences the outcome.

Despite their promise, standard NAMs suffer from three critical weaknesses: they frequently overfit to noise (producing jagged, non-smooth curves), lack reliable uncertainty estimates, and struggle to capture feature interactions. This paper introduces LA-NAM, a Bayesian framework that utilizes Laplace approximations to address these flaws, providing a robust, "glass-box" alternative for critical decision-making.

Comparison of recovered functions and epistemic uncertainty on synthetic data. LA-NAM recovers smooth ground truth functions while providing reliable uncertainty estimates.

The LA-NAM Framework

The core innovation of LA-NAM is the transition from point estimates of neural network weights to a full posterior probability distribution. The authors employ several techniques to make this Bayesian approach both effective and computationally tractable:

  • Linearized Laplace Inference: By linearizing sub-networks around their trained weights, the model can be treated as a Generalized Linear Model. This enables the closed-form calculation of the marginal likelihood, which serves as a metric for model selection and structure.
  • Automatic Relevance Determination (ARD): LA-NAM automatically tunes its priors by maximizing the marginal likelihood. If a feature is uninformative or redundant, the framework pushes its contribution toward zero, effectively performing automatic feature selection.
  • Efficient Covariance Handling: To manage the large covariance matrices inherent in deep networks, the authors use layer-wise Kronecker factorization (KFAC), ensuring the Bayesian computations remain efficient.
  • Interaction Detection: Rather than checking all possible feature pairs, LA-NAM uses Mutual Information to identify highly correlated feature networks in the posterior. It then selectively adds joint sub-networks for these pairs to capture essential interactions.

Experimental Evaluation

The researchers evaluated LA-NAM across a spectrum of benchmarks, from synthetic regression tasks to 14 standard UCI datasets. Most notably, they tested the model on two large-scale ICU mortality prediction tasks: MIMIC-III and HiRID. These real-world datasets are characterized by high dimensionality and missing data, making them ideal for testing both predictive power and interpretability.

Key Results and Insights

Superior Interpretability and Calibration

LA-NAM produces feature curves that are significantly smoother than those of standard NAMs, aligning better with medical intuition. For instance, in mortality risk prediction, LA-NAM shows risk increasing steadily with heart rate, whereas standard NAMs often produce erratic jumps. Furthermore, LA-NAM provides well-calibrated uncertainty estimates (credible intervals), helping clinicians distinguish between confident predictions and those based on sparse data.

Performance metrics on ICU mortality tasks and qualitative comparison of feature curves. LA-NAM achieves competitive performance with LightGBM while maintaining interpretability and automatically pruning redundant features like Bicarbonate.

Automatic Feature Selection

In the ICU datasets, LA-NAM demonstrated its ability to prune redundancy. It correctly identified that "Bicarbonate" and "Anion Gap" provided overlapping information and automatically suppressed one, leading to cleaner, more focused explanations for medical staff.

Competitive Performance

LA-NAM successfully bridges the gap between interpretable additive models and high-performance black-box models. On the MIMIC-III mortality task, LA-NAM achieved an AUROC of 79.6%, outperforming the standard NAM (77.6%). By adding just ten second-order interactions (LA-NAM₁₀), the performance reached 80.2%, nearly matching the state-of-the-art Gradient Boosted Tree model, LightGBM (80.6%).

Conclusion and Future Work

LA-NAM represents a significant step forward in making deep learning models interpretable and robust. By integrating Bayesian principles, it offers a model that is not only accurate but also self-aware of its uncertainty and capable of simplifying its own explanations.

Current limitations include a focus on second-order interactions; future work may explore heuristics for higher-order dependencies. Additionally, while the Laplace approximation is efficient, exploring more global Bayesian methods or applying these principles to even larger, multi-modal datasets could further enhance the model's capabilities in complex physical and biological systems.

Summary updated

BibTeX
@inproceedings{bouchiat2024laplace,
  author = {Kouroche Bouchiat and Alexander Immer and Hugo Yèche and Gunnar Rätsch and Vincent Fortuin},
  title = {{Laplace-Approximated Neural Additive Models: Improving Interpretability with Bayesian Inference}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=0pSTzCnEmi},
}
Figure