Research
Neural Additive Experts: Context-Gated Experts for Controllable Model Additivity
Neural Additive Experts: Context-Gated Experts for Controllable Model Additivity Overview Research area: Interpretable machine learning, with a focus on generalized additive models (GAMs), mixture-of-
- arXiv
- 2602.10585
- Published
- 2026-02-11
- Authors
- Guangzhi Xiong, Sanchit Sinha, Aidong Zhang
AI summary
Neural Additive Experts: Context-Gated Experts for Controllable Model AdditivityOverview
- Research area: Interpretable machine learning, with a focus on generalized additive models (GAMs), mixture-of-experts architectures, and the accuracy–interpretability trade-off.
- Technical level: Intermediate. Readers should know what GAMs are and have some familiarity with gating networks and softmax-based mixture of experts; the theory (Stone–Weierstrass approximation, uniform-norm containment results) is stated in compact form.
- Scope: The paper introduces Neural Additive Experts (NAEs), a mixture-of-experts extension of GAMs in which each feature is modeled by multiple expert networks combined by a context-dependent gate, plus a regularization term that lets users dial the model between fully additive and interaction-capturing behavior.
What This Paper Is About
Standard GAMs decompose predictions into one clear contribution per feature, which makes them interpretable but limits their accuracy because they cannot capture feature interactions. Adding interactions (as in GA²M) improves accuracy but makes it harder to attribute a prediction to a single feature, and existing GAM variants offer no explicit knob to control how additive the model is. The paper's goal is a single framework that can flexibly model interactions while keeping feature-level attributions clear and letting the user tune how additive the model becomes.
Key Contributions
- Neural Additive Experts (NAEs): a framework that gives each feature a set of K specialized expert networks and uses a dynamic, context-aware gating mechanism that computes relevance scores from all features, relaxing the strict additivity of classical GAMs while keeping the final prediction a sum of per-feature contributions.
- A targeted expert-variation penalty: a regularization term weighted by λ that penalizes the variance of expert outputs within each feature, providing a tunable mechanism to move between flexible and additive models.
- Theoretical analysis: proofs that NAEs contain GAMs exactly (Theorem 1), approximate GA²M models to arbitrary precision (Theorem 2), and become monotonically more additive as λ increases, converging to a GAM in the limit (Theorem 3).
- Empirical validation: experiments on two synthetic datasets (10,000 samples each) and six real-world datasets showing competitive accuracy alongside feature-level explanations, with reported complexity of O(n) for NAE explanations versus O(n²) for interaction-based GA²M models.
Main Findings
- GAM containment is exact: Theorem 1 shows that any function in the GAM class is representable by an NAE with K = 1 expert and constant gating, so NAEs strictly generalize standard additive models. The paper writes the relationship as GAM ⊊ closure of NAE(K) when gates may depend on other features.
- GA²M is approximable to arbitrary precision: Theorem 2 states that for any GA²M function and any ε > 0, an NAE exists with uniform error below ε. The required number of experts per feature is bounded by K_i ≤ 1 + 2 Σ_{j≠i} M_ij, where M_ij is the number of separable terms used for the pairwise function f_ij (Lemma 1, Lemma 2).
- λ monotonically controls additivity: Theorem 3 states that the additivity metric A(λ) (Equation 15) is nondecreasing in λ, that the limit as λ → ∞ equals 1, and that limit points of minimizers are GAMs.
- Synthetic additive data: on the unimodal dataset (x₁ ~ U(0,1), σ = 0.1, y ~ N(x₁ − 1/2 + sin(4πx₁), σ²)), both NAM and NAE recover the underlying shape function correctly.
- Synthetic non-additive data: on the multimodal dataset (x₂ sampled from {−1, 1}, with the sign of the sine term flipping), NAM produces a near-linear fit and fails to capture the interaction, while NAE recovers the multimodal oscillatory structure, with its upper and lower expert bounds reflecting the range of feature contributions.
- Additivity scores track λ on simulated data: training on the multimodal dataset with λ = 0.1, 1, and 10 yields additivity scores of 0.597, 0.709, and 1.000 respectively, matching the theoretical prediction.
- Real-world accuracy: on Housing, NAE records RMSE 0.451 ± 0.002, better than every interpretable baseline (e.g., EBM 0.559, NAM 0.572, NODE-GAM 0.558, NA²M 0.492) and better than the black-box MLP (0.501) and NODE (0.523), though XGBoost is lower at 0.443. On MIMIC-II NAE reaches AUC 0.847 ± 0.014; on MIMIC-III 0.825 ± 0.006; on Income 0.927 ± 0.003; on Credit 0.982 ± 0.009; and on Year it records MSE 78.66 ± 0.21 (NODE is lower at 76.21 and XGBoost at 78.53).
- Explanation complexity is reduced: GA²M-style interaction models require examining O(n²) components for a full inspection, while NAE always decomposes into exactly one scalar contribution per feature, giving O(n) shape plots.
- The accuracy–interpretability trade-off is quantified on Housing: as λ rises from 0 to 100, additivity rises from 0.522 ± 0.000 to 1.000 ± 0.000 and tightness rises from 0.860 ± 0.000 to 1.000 ± 0.000, while RMSE degrades from 0.451 ± 0.003 at λ = 0 to 0.582 ± 0.008 at λ = 100 (the best RMSE in the sweep is 0.450 ± 0.002 at λ = 0.01).
- Feature effects remain coherent: on the Housing dataset, EBM, NAM, and NAE all capture similar geographic trends in the Longitude feature, with higher property values near roughly −122.5 (San Francisco) and −118.5 (Los Angeles). NAE additionally shows a wide range of possible outcomes between −120 and −119, most data points near the lower bound, and its Longitude–Latitude interaction plot indicates coastal regions raise house prices while other areas in the same longitude range may lower them.
Methodology in Plain English
The model starts by encoding each feature separately into a latent vector. Instead of the single shape function a standard GAM would use, each feature gets K small expert networks, each producing a scalar effect. A gating network reads the latents of all features and produces relevance scores for the experts of each feature; a sparsity mask sets low-scoring experts to −∞ before a softmax, so only relevant experts contribute. Each feature's output is the gating-weighted average of its experts, and the final prediction is the sum of these per-feature outputs plus an intercept.
Two design choices carry the paper's claims. First, because the gate can see other features, a feature's effect can change with context — which is how interaction-like behavior enters the model without breaking the sum-over-features form. Second, a penalty term measures how far each expert's output deviates from the mean output of that feature's experts, and adds that deviation to the training loss with weight λ. Large λ pushes all experts for a feature toward the same function, collapsing the model back into an ordinary additive model; small λ leaves the experts free.
The theoretical work then shows that one expert with a constant gate reproduces any GAM exactly, and that two experts combined by a logistic-style gate can produce a product u(x_i)·v(x_j), so any pairwise interaction expressible as a sum of separable products can be built out of experts — giving the GA²M approximation result. Interpretability is preserved by reporting, for each feature, the minimum and maximum expert output as intrinsic bounds on the feature's possible contribution, plus a "tightness" metric for how closely actual effects span those bounds, and an "additivity" metric comparing the variance of the conditional mean feature effect to the variance of the feature effect itself.
Why This Matters
- Research impact: The paper reframes the accuracy–interpretability trade-off as a tunable parameter rather than a fixed architectural choice, and gives containment results (GAM ⊆ NAE, GA²M approximable by NAE) that place additive models and interaction models inside a single family. It also draws a distinction between the empirical variability bands used in post-hoc heterogeneity analysis and NAE's architectural bounds, which the authors argue guarantee coverage for unseen inputs.
- Real-world applications:
- Clinical risk prediction, motivated by the paper's use of MIMIC-II and MIMIC-III, where per-feature contributions must be auditable.
- Real-estate and socioeconomic modeling, such as the Housing dataset, where geographically varying effects must be explained to non-specialists.
- Credit and lending decisions, where the Credit and Income datasets stand in for regulated settings requiring documented feature-level reasoning.
- Tabular problems with categorical or heterogeneous features, such as the Year dataset, where a single per-feature explanation plot is easier to review than a combinatorial set of pairwise surfaces.
- Industry relevance: The O(n) explanation complexity versus O(n²) for interaction models matters at scale, and the λ knob gives practitioners a documented starting point — the paper recommends λ = 0.1 across datasets and suggests increasing it if more interpretability is needed while monitoring validation accuracy and the additivity metric. Because explanations come from the forward pass rather than a post-hoc procedure like additive SHAP, no separate attribution computation over a black-box model is required.
Future Directions
- Choosing λ automatically: the paper uses λ = 0.1 uniformly and suggests manual tuning; how to select λ per dataset or per feature from validation signals remains open.
- Gating and expert-count design: the main text defers ablation studies on the gating mechanism and the number of experts K to appendices, so the sensitivity of results to those choices is not settled in the main narrative.
- Scaling and computational cost: the paper cites a complexity discussion in Appendix J and robustness-to-sparsity simulations in Appendix E, but the main text does not report how NAE behaves as feature count and K grow large.
- Interaction analysis in practice: the paper outlines isolating pairwise interactions by zeroing cross-feature gating terms (Equation 9) and points to Appendix F for further discussion, leaving systematic validation of recovered interactions as a follow-up question.
Target Audience
Researchers and practitioners working on interpretable machine learning who are already familiar with GAMs, EBMs, NAMs, and GA²M-style interaction models and want a single architecture with an explicit control knob. It is also relevant to applied scientists in regulated or high-stakes tabular domains (healthcare, finance, public policy) who need accurate models whose predictions can be decomposed into per-feature contributions. Readers without background in additive models or mixture-of-experts gating will find the theory sections dense, though the simulated-data figures make the core intuition accessible.
Authors’ abstract
The trade-off between interpretability and accuracy remains a core challenge in machine learning. Standard Generalized Additive Models (GAMs) offer clear feature attributions but are often constrained by their strictly additive nature, which can limit predictive performance. Introducing feature interactions can boost accuracy yet may obscure individual feature contributions. To address these issues, we propose Neural Additive Experts (NAEs), a novel framework that seamlessly balances interpretability and accuracy. NAEs employ a mixture of experts framework, learning multiple specialized networks per feature, while a dynamic gating mechanism integrates information across features, thereby relaxing rigid additive constraints. Furthermore, we propose targeted regularization techniques to mitigate variance among expert predictions, facilitating a smooth transition from an exclusively additive model to one that captures intricate feature interactions while maintaining clarity in feature attributions. Our theoretical analysis and experiments on synthetic data illustrate the model's flexibility, and extensive evaluations on real-world datasets confirm that NAEs achieve an optimal balance between predictive accuracy and transparent, feature-level explanations. The code is available at https://github.com/Teddy-XiongGZ/NAE.