A Neural Additive Model (NAM) is a deep learning architecture that learns a separate neural network for each input feature and sums their outputs to make a prediction. This additive structure ensures the model's decision is the linear combination of independent, univariate shape functions, making the contribution of each feature to the final output exactly identifiable and auditable.
Glossary
Neural Additive Models (NAM)

What is Neural Additive Models (NAM)?
Neural Additive Models represent a class of deep learning architectures that constrain the network to learn a linear combination of independent shape functions, making predictions fully interpretable as a sum of feature effects.
Unlike black-box deep networks, NAMs provide intrinsic interpretability by design, allowing analysts to visualize each feature's learned function as a graph. This makes them particularly valuable for regulated domains like financial fraud detection, where compliance officers must understand and justify every anomaly score to regulators and customers.
Key Characteristics of NAMs
Neural Additive Models (NAMs) constrain deep learning to learn a linear combination of independent shape functions, one per feature. This design yields inherently interpretable predictions while maintaining the representational power of neural networks.
Additive Structure
The model's prediction is the sum of univariate shape functions applied to each input feature, plus a bias term. This enforces the form:
g(E[y]) = f₁(x₁) + f₂(x₂) + ... + fₙ(xₙ) + β
- Each fᵢ is a neural network trained on a single feature
- No feature interactions are learned, making the contribution of each input completely independent
- The final prediction is a simple summation, enabling exact decomposition of the output
Shape Function Networks
Each feature is processed by its own dedicated feedforward neural network that learns a non-linear transformation of that single input.
- A shape function fᵢ(xᵢ) can capture complex, jagged relationships that linear models miss
- The architecture typically uses ExU (Exp-centered) units in the first layer to better model sharp jumps common in tabular data
- Each network outputs a scalar contribution, which is added to the total prediction
- The learned function can be plotted directly as a graph of feature value vs. contribution
Native Interpretability
NAMs are intrinsically interpretable glass-box models, not black-boxes requiring post-hoc explanation.
- The contribution of any feature to a specific prediction is simply fᵢ(xᵢ) — a single, exact value
- No approximation methods like SHAP or LIME are needed; the explanation is the model itself
- Auditors can inspect every shape function to understand the model's global behavior across the entire feature range
- This satisfies regulatory requirements for adverse action reason codes and model documentation
Pairwise Interactions (NA²M)
The standard NAM can be extended to include learned pairwise feature interactions, creating a Neural Additive Model plus Interactions (NA²M).
- Adds terms of the form fᵢⱼ(xᵢ, xⱼ) for selected feature pairs
- Each interaction is a small neural network trained on two features
- The model remains interpretable because each interaction can be visualized as a heatmap
- Balances the accuracy gains of modeling interactions against the cost of added complexity
Accuracy vs. Interpretability Trade-off
NAMs achieve a favorable position on the Pareto frontier between predictive performance and explainability.
- On tabular benchmarks, NAMs often match or approach the accuracy of gradient-boosted trees like XGBoost
- They consistently outperform logistic regression and other linear models on complex, non-linear problems
- The accuracy gap to fully-connected deep networks is typically small, while the interpretability gain is massive
- For fraud detection, this means catching sophisticated patterns while still providing auditable reason codes
Regularization and Smoothness
Shape functions can be constrained to enforce desirable real-world properties that align with domain knowledge.
- Feature dropout randomly drops entire features during training, preventing over-reliance on any single input
- Smoothness penalties on the output of shape networks prevent erratic, high-frequency learned functions
- Monotonicity constraints can be imposed to ensure that, for example, a higher transaction amount never decreases risk
- These constraints produce shape functions that are not only accurate but also intuitively reasonable to human reviewers
NAM vs. Explainable Boosting Machine (EBM) vs. Generalized Additive Models (GAM)
A structural and functional comparison of three intrinsically interpretable model architectures that learn additive feature effects for transparent, auditable predictions.
| Feature | Neural Additive Model (NAM) | Explainable Boosting Machine (EBM) | Generalized Additive Model (GAM) |
|---|---|---|---|
Core Architecture | Deep neural network constrained to learn independent shape functions per feature | Gradient-boosted tree ensemble learning bagged shape functions with pairwise interactions | Statistical model fitting smooth spline or polynomial functions per feature via backfitting |
Base Learner | Multi-layer perceptron (MLP) subnetworks | Boosted bagged trees (cyclic gradient boosting) | Smoothing splines, local regression, or polynomial basis functions |
Interpretability Type | Intrinsic (glass-box by architectural constraint) | Intrinsic (glass-box by design) | Intrinsic (glass-box by statistical formulation) |
Pairwise Interaction Detection | |||
Automatic Feature Shape Discovery | |||
Handles Non-Linear Feature Effects | |||
Training Algorithm | Stochastic gradient descent (SGD) with mini-batches | Cyclic gradient boosting with bagging | Iterative backfitting or restricted maximum likelihood (REML) |
Native GPU Acceleration | |||
Typical Accuracy vs. Black-Box | Comparable to deep networks on tabular data | Comparable to XGBoost/LightGBM | Often lower than modern boosting methods |
Output Format | Sum of learned neural shape functions + bias | Sum of learned tree-based shape functions + bias | Sum of smooth functions + link function |
Frequently Asked Questions
Clear, technically precise answers to the most common questions about Neural Additive Models and their role in interpretable fraud detection.
A Neural Additive Model (NAM) is a deep learning architecture that constrains the network to learn a linear combination of independent shape functions, one for each input feature. The model's final prediction is the sum of these individual feature effects: f(x) = f1(x1) + f2(x2) + ... + fn(xn). Each shape function fi is a small, independent neural network trained on a single feature, learning a non-linear transformation of that feature's values. This additive structure eliminates feature interactions by design, making the model's decision-making process fully transparent. For a fraud analyst reviewing a flagged transaction, a NAM can output a scorecard showing exactly how much each feature—such as transaction amount, time since last login, or device age—contributed to the final risk score, enabling precise adverse action reason codes and regulatory compliance.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the core techniques that make Neural Additive Models interpretable and the related frameworks used to audit and explain fraud detection decisions.
Shape Functions
The fundamental building block of a NAM. Each input feature is passed through its own independent neural network, called a shape function, which learns a non-linear transformation. The final prediction is the sum of these shape function outputs.
- Interpretability: Each shape function can be plotted as a graph showing the feature's effect on the prediction.
- Additivity: The model assumes no interactions between features, making the contribution of each feature completely modular and auditable.
Explainable Boosting Machine (EBM)
A glass-box model that is a direct predecessor and close relative of NAMs. EBM uses cyclic gradient boosting to learn a set of interpretable feature functions, one per input.
- Key Difference: EBM also learns pairwise interaction terms between features, which NAMs typically omit for pure additivity.
- Use Case: Provides exact, modular explanations and is often used as a high-performance, interpretable benchmark for fraud models.
Partial Dependence Plots (PDP)
A global, model-agnostic visualization tool that shows the marginal effect of one or two features on a model's predicted outcome.
- How it works: Averages the model's predictions over the distribution of all other features to isolate the effect of the target feature.
- NAM Connection: The shape function plot of a NAM is essentially a perfect, exact PDP for that feature, free from the averaging bias that plagues PDPs on correlated features in black-box models.
Accumulated Local Effects (ALE)
An unbiased alternative to PDPs that correctly handles correlated features. ALE calculates the local differences in prediction when a feature value changes within a small interval, then accumulates these effects.
- Advantage over PDP: Avoids extrapolating into unrealistic regions of the feature space where data doesn't exist.
- Relevance: While NAMs provide exact feature effects, ALE is the go-to method for interpreting black-box models where features are correlated, such as transaction velocity and amount.
Reason Codes
Concise, human-readable statements that provide the primary reasons for a model's specific decision, such as flagging a transaction as fraudulent.
- NAM Advantage: Because a NAM's prediction is a sum of independent feature effects, the top contributing features for any single prediction can be instantly identified and ranked to generate a reason code.
- Regulatory Need: These are often mandated as Adverse Action Reason Codes to explain automated decisions to customers and auditors.
Intrinsic Interpretability
A property of models that are inherently simple and understandable due to their structure, providing direct insight without needing post-hoc analysis.
- Examples: Linear regression, a single decision tree, Explainable Boosting Machines, and Neural Additive Models.
- Contrast: This is the opposite of post-hoc explainability, where complex methods like SHAP or LIME are applied to a black-box model after training to approximate its behavior.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us