Deep Neural Networks (DNNs) are powerful but notoriously opaque. In high-stakes fields like medicine, understanding why a model makes a specific prediction is just as critical as the prediction itself. Neural Additive Models (NAMs) were designed to bridge this gap by using a separate neural sub-network for each input feature. The final prediction is the sum of these sub-networks, allowing practitioners to visualize exactly how individual features (e.g., blood pressure or age) affect the outcome.
However, standard NAMs suffer from three major flaws: they overfit to noise (producing "jumpy," non-smooth curves), lack uncertainty estimation, and ignore feature interactions. This paper introduces LA-NAM (Laplace-Approximated NAM), a Bayesian upgrade that resolves these issues while maintaining the "glass-box" interpretability of additive models.
The LA-NAM Approach
LA-NAM transitions from point estimates of neural network weights to a probability distribution over those weights, utilizing several key techniques:
- Linearized Laplace Inference: The authors approximate the posterior distribution of the network weights as a Gaussian. By linearizing the model around the Maximum A Posteriori (MAP) estimate, the NAM effectively becomes a Generalized Linear Model (GLM) acting on the network's Jacobians.
- Block-Diagonal Covariance: Leveraging the modular structure of NAMs (one sub-network per feature), LA-NAM uses a block-diagonal covariance matrix. This ensures computational efficiency and prevents uncertainty from one feature from "leaking" into another.
- Automatic Relevance Determination (ARD): By optimizing the marginal likelihood, LA-NAM automatically tunes the regularization for each feature. Uninformative features are pushed toward zero by the Bayesian prior, performing implicit feature selection.
- Interaction Discovery: To identify critical second-order interactions, the model calculates the mutual information between sub-network posteriors, ranking and selecting the most promising feature pairs for fine-tuning.
Key Insights and Empirical Results
LA-NAM was evaluated on various UCI benchmarks and two large-scale medical ICU datasets (MIMIC-III and HiRID) focused on predicting patient mortality.
Smoothness and Calibration Standard NAMs often produce jagged, unintuitive curves that capture noise rather than true signal. The Bayesian prior in LA-NAM acts as a natural smoother, resulting in feature curves that align much better with domain knowledge. Furthermore, LA-NAM provides calibrated "credible intervals." In medical applications, the model displays wider uncertainty in regions where data is sparse (e.g., extreme lab values), warning clinicians against over-trusting predictions in those ranges. On the MIMIC-III and HiRID datasets, LA-NAM demonstrated significantly lower Expected Calibration Error than standard NAMs.
Performance and Interpretability Across UCI benchmarks, LA-NAM consistently outperformed standard NAMs. When augmented with top-ranked second-order interactions (LA-NAM₁₀), it achieved performance competitive with LightGBM, a gold standard for tabular data.
In a detailed case study on ICU data, LA-NAM correctly ignored redundant features—such as Bicarbonate when Anion Gap was already accounted for—and successfully identified known medical interactions, like the combined risk of high white blood cell counts and low platelet counts.
Limitations and Future Work
While LA-NAM significantly advances interpretable deep learning, it has a few limitations:
- Search Space for Interactions: Current interaction detection focuses on pairs. Exploring higher-order interactions is theoretically possible but computationally expensive due to exponential growth in the search space.
- Computational Overhead: Despite efficiencies like block-diagonal approximations and Kronecker factorization (KFAC), Bayesian inference remains more computationally demanding than standard backpropagation.
- Linearization Assumption: The Laplace approximation relies on the model being "locally linear." This works well for NAMs but may falter in extremely deep or complex architectures.
Future work may explore more complex priors or apply these Bayesian principles to other flexible, "glass-box" architectures.
Summary updated