An Explainable Boosting Machine (EBM) is a glass-box, generalized additive model that learns a separate, intelligible shape function for each feature using a modern gradient boosting procedure. Unlike black-box ensembles, an EBM's final prediction is the simple sum of these individual feature contributions, making the model's logic fully transparent and auditable.
Glossary
Explainable Boosting Machine (EBM)

What is Explainable Boosting Machine (EBM)?
A high-performance, interpretable machine learning algorithm that combines the additive structure of generalized additive models with the predictive power of gradient boosting.
EBMs detect and include pairwise interaction terms automatically while maintaining interpretability, bridging the gap between simple linear models and complex tree ensembles. Each feature's learned function can be visualized and inspected in isolation, allowing domain experts and regulators to validate the model's reasoning against established knowledge without sacrificing state-of-the-art performance.
Key Features of EBMs
Explainable Boosting Machines (EBMs) are a high-performance, glass-box model that combines the interpretability of Generalized Additive Models (GAMs) with the predictive power of gradient boosting. Unlike black-box models, EBMs learn a distinct, intelligible shape function for each feature, enabling direct visualization and inspection.
Generalized Additive Model Foundation
EBMs are an implementation of a Generalized Additive Model (GAM) with modern machine learning enhancements. The core equation is g(E[y]) = Σ f_i(x_i), where each feature function f_i is a non-linear shape learned independently. This additive structure prevents complex feature interactions from obscuring the model's logic, ensuring that the contribution of a single feature can be isolated and plotted as a graph. This directly contrasts with deep neural networks, where features are entangled across multiple layers.
Automatic Pairwise Interaction Detection
While standard GAMs are purely additive, EBMs can optionally include pairwise interaction terms (f_ij(x_i, x_j)) to boost accuracy without sacrificing full interpretability. The model automatically detects and ranks important interactions using a smart, stage-wise selection process. These interactions are visualized as heatmaps, allowing analysts to inspect exactly how two features combine to influence a prediction. This bridges the gap between the simplicity of linear models and the complexity of gradient-boosted trees.
Per-Feature Shape Functions
The defining characteristic of an EBM is the ability to visualize every feature's learned shape function. Each graph shows the exact contribution of a feature value to the final prediction, making the model's logic transparent. For example, in a credit risk model, you can see the precise score penalty applied as an applicant's debt-to-income ratio increases. This allows domain experts to validate the model's reasoning against established business rules and regulatory requirements before deployment.
Bagging and Boosting Ensemble
EBMs train using a combination of bagging (bootstrap aggregation) and gradient boosting. The model builds a large ensemble of shallow trees for each feature in a round-robin fashion, using a very low learning rate. This technique dramatically reduces overfitting and variance, resulting in a model that is both highly accurate and robust to noise. The final shape function for a feature is the average of all the individual trees learned for that feature, providing a smooth, stable representation.
Native Classification and Regression
EBMs natively support both binary classification and regression tasks through different link functions (g). For classification, a logit link function is used, and the learned shape functions output values in log-odds space, which are then passed through a logistic function. For regression, an identity link is used, and the shape functions directly model the target value. This flexibility makes EBMs a drop-in replacement for black-box models like XGBoost or deep neural networks in a wide range of enterprise applications.
Intelligible Global and Local Explanations
EBMs are a glass-box model, meaning their structure is the explanation. A global understanding is gained by viewing the entire set of feature shape functions. A local explanation for a single prediction is generated by simply looking up the score contribution of each feature value on its respective graph and summing them. This eliminates the need for post-hoc approximation tools like LIME or SHAP, providing exact, faithful, and instantaneous explanations for every prediction without any additional computation.
EBM vs. Other Interpretability Approaches
A structural comparison of Explainable Boosting Machines against common post-hoc and intrinsic interpretability methods across key operational dimensions.
| Capability | EBM (Glass-box) | SHAP (Post-hoc) | LIME (Post-hoc) |
|---|---|---|---|
Model Type | Intrinsic (Glass-box) | Model-agnostic | Model-agnostic |
Explanation Fidelity | Perfect (is the model) | Approximate | Local approximation |
Global Explanations | |||
Local Explanations | |||
Feature Interaction Detection | Pairwise built-in | Shapley interaction values | Not supported |
Computational Cost at Inference | Low (additive) | High (sampling) | High (perturbation) |
Visualization Granularity | Per-feature shape functions | Summary/bar plots | Local linear weights |
Susceptibility to Out-of-Distribution Artifacts |
Frequently Asked Questions
Clear, technical answers to the most common questions about the glass-box architecture, training mechanics, and practical application of Explainable Boosting Machines.
An Explainable Boosting Machine (EBM) is a glass-box generalized additive model (GAM) that combines the high performance of gradient boosting with the complete interpretability of linear models. Unlike black-box models, an EBM learns a distinct, non-linear feature function (or shape function) for each input variable, which can be visualized and inspected individually. It works by training these feature functions iteratively using a cyclical gradient boosting procedure on one feature at a time, effectively fitting a boosted ensemble of shallow trees to each feature in a round-robin fashion. The final prediction is the sum of these individual feature contributions plus a bias term, making the exact contribution of every feature to any single prediction trivially computable and auditable.
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
Explainable Boosting Machines sit at the intersection of glass-box models and high-performance machine learning. These related concepts define the ecosystem of interpretable techniques that compete with or complement EBMs.
Generalized Additive Models (GAMs)
The statistical foundation upon which EBMs are built. A GAM represents the prediction as a sum of smooth functions of individual features: g(E[y]) = f₁(x₁) + f₂(x₂) + ... + fₚ(xₚ). Unlike linear models, each shape function can capture non-linear relationships while remaining fully separable and inspectable. Traditional GAMs use splines or local regression, whereas EBMs use gradient-boosted bagged trees to learn these functions, dramatically improving accuracy without sacrificing interpretability.
Neural Additive Models (NAM)
A deep learning counterpart to EBMs that learns shape functions using neural networks instead of boosted trees. Each feature gets its own small feedforward network, and predictions are summed linearly. Key properties:
- Visualizable: Each feature's network output can be plotted as a shape function
- Regularization: ExU (exp-centered) units help capture jagged, high-frequency patterns
- Trade-off: NAMs can model more complex per-feature patterns than EBMs but lose the automatic interaction detection that EBMs provide through pairwise terms
Glass-Box vs. Black-Box Models
EBMs belong to the glass-box category—models whose internal logic is fully transparent and auditable by design. This contrasts with black-box models like deep neural networks or XGBoost ensembles, which require post-hoc explanation tools (SHAP, LIME) to approximate their reasoning.
Glass-box properties:
- Direct inspection: Every feature contribution is visible without approximation
- Editability: Shape functions can be manually adjusted by domain experts
- No explanation fidelity gap: The explanation is the model, eliminating the risk of misleading post-hoc rationalizations
Pairwise Interaction Detection
A distinctive capability of EBMs that automatically identifies and models two-way feature interactions while maintaining interpretability. The algorithm:
- Trains main effects for all features independently
- Scans residual predictions to detect pairs of features with remaining signal
- Fits low-rank interaction terms fᵢⱼ(xᵢ, xⱼ) only for significant pairs
- Renders these interactions as heatmaps for visual inspection
This balances the additive structure's simplicity with the reality that some features genuinely interact, without resorting to opaque higher-order combinations.
GA²M (Generalized Additive Model with Interactions)
The formal name for EBMs that include pairwise interaction terms. GA²M extends the standard GAM formula to: g(E[y]) = Σ fᵢ(xᵢ) + Σ fᵢⱼ(xᵢ, xⱼ). This architecture was proven by Yin Lou et al. (2013) to achieve accuracy competitive with the best black-box models on structured data while remaining fully intelligible. The key insight: most real-world patterns can be captured by individual features and their first-order interactions, making higher-order terms unnecessary for strong performance.
Shape Function Visualization
The primary interpretability mechanism of EBMs. Each feature's learned function f(x) is plotted as a curve showing exactly how the model's prediction changes as that feature varies, holding others constant. Key characteristics:
- Non-linear patterns: Thresholds, saturation points, and U-shaped relationships are directly visible
- Per-feature scoring: The contribution of any feature value can be read directly from the plot
- Auditability: Regulators can verify that protected attributes (race, gender) have zero contribution
- Comparison: Unlike PDPs, these plots show the actual model logic, not an approximation

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