Adaptive Explainable Neural Networks (AxNNs)

Jie Chen, Joel Vaughan, Vijayan N. Nair, Agus Sudjianto · DOI

Abstract

While machine learning techniques have been successfully applied in several fields, the black-box nature of the models presents challenges for interpreting and explaining the results. We develop a new framework called Adaptive Explainable Neural Networks (AxNN) for achieving the dual goals of good predictive performance and model interpretability. For predictive performance, we build a structured neural network made up of ensembles of generalized additive model networks and additive index models (through explainable neural networks) using a two-stage process. This can be done using either a boosting or a stacking ensemble. For interpretability, we show how to decompose the results of AxNN into main effects and higher-order interaction effects. The computations are inherited from Google's open source tool AdaNet and can be efficiently accelerated by training with distributed computing. The results are illustrated on simulated and real datasets.

Introduction

In high-stakes domains such as finance and healthcare, the deployment of "black-box" models—like deep neural networks or gradient-boosted trees—is often limited by their lack of transparency. While these models offer high predictive accuracy, they frequently fail to provide clear justifications for individual predictions. Post-hoc explanation methods like LIME or SHAP attempt to bridge this gap but can be inconsistent or struggle with feature correlations.

Adaptive Explainable Neural Networks (AxNNs) address this by being "interpretable by design." By employing a structured, two-stage architecture, AxNNs capture independent main effects followed by complex interactions, providing a fully decomposable "glass-box" alternative that maintains competitive performance with state-of-the-art black-box models.

Methodology

The AxNN framework is built upon two primary structural components designed to isolate different types of feature influences:

  1. GAMnet (Main Effects): In the first stage, the model utilizes Generalized Additive Model networks. Each input feature $x_i$ is processed by its own dedicated sub-network, ensuring the model captures "main effects"—the independent contribution of a single variable to the outcome.
  2. xNN (Interaction Effects): The second stage introduces Explainable Neural Networks (xNNs). These use "ridge functions"—projections of multiple variables ($\beta^T x$)—to capture interactions between features, such as how the combined effect of multiple variables differs from the sum of their individual effects.
Comparison of sub-network structures: xNN (left) for capturing interactions via projections and GAMnet (right) for capturing individual main effects.

Adaptive Two-Stage Training

AxNN leverages Google’s AdaNet to automate architecture search. Instead of manual tuning, the model "grows" by iteratively selecting the best sub-networks. The training follows a two-stage process:

  • Stage 1 focuses exclusively on GAMnet structures to exhaustively model main effects.
  • Stage 2 adds xNN structures to model the remaining variance through interactions.
The full two-stage AxNN architecture, illustrating the iterative addition of sub-networks in Stage 1 (main effects) and Stage 2 (interactions) to form a weighted ensemble.

The framework supports two ensembling strategies: Boosting, where Stage 2 fits the residuals of Stage 1, and Stacking, which creates a weighted ensemble of strong learners.

Experimental Evaluation

The researchers evaluated AxNN across synthetic and large-scale real-world datasets, including UCI Bike Sharing (~17k samples), Mortgage Default (~1M samples), and the Higgs Boson dataset (~800k samples).

  • Predictive Performance: AxNN achieved accuracy competitive with XGBoost and outperformed standard Feedforward Neural Networks (FFNNs) on the Mortgage and Higgs Boson tasks. The "Stacking" variant generally proved superior, particularly on continuous data manifolds.
  • Interpretability and Fidelity: On synthetic data, AxNN successfully recovered the ground-truth mathematical functions. Its "ridge function decomposition" allows for the visualization of learned functions, providing high fidelity to the underlying data logic.
  • Robustness to Correlation: By separating main effects first, AxNN is more robust than traditional Partial Dependence Plots (PDPs) when features are highly correlated, avoiding common extrapolation errors.

Discussion and Conclusion

AxNN provides a significant step toward automated, interpretable machine learning. By forcing the model to organize knowledge into human-readable components—main effects and interactions—it eliminates the "black art" of architecture design while maintaining high performance.

Future work will address challenges such as "interaction overlap," where multiple overlapping interactions might be grouped into a single higher-order effect, and the computational overhead associated with training large ensembles. Despite these challenges, AxNN offers a robust framework for transparent decision-making in critical applications.

Summary updated

Abstract

While machine learning techniques have been successfully applied in several fields, the black-box nature of the models presents challenges for interpreting and explaining the results. We develop a new framework called Adaptive Explainable Neural Networks (AxNN) for achieving the dual goals of good predictive performance and model interpretability. For predictive performance, we build a structured neural network made up of ensembles of generalized additive model networks and additive index models (through explainable neural networks) using a two-stage process. This can be done using either a boosting or a stacking ensemble. For interpretability, we show how to decompose the results of AxNN into main effects and higher-order interaction effects. The computations are inherited from Google's open source tool AdaNet and can be efficiently accelerated by training with distributed computing. The results are illustrated on simulated and real datasets.
BibTeX
@misc{chen2020adaptive,
  author = {Jie Chen and Joel Vaughan and Vijayan N. Nair and Agus Sudjianto},
  title = {{Adaptive Explainable Neural Networks (AxNNs)}},
  year = {2020},
  eprint = {2004.02353},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.02353},
}
Figure