Inferensys

Glossary

Explainable Boosting Machine (EBM)

A glass-box, generalized additive model that combines the interpretability of linear models with the high performance of gradient boosting, learning feature functions that can be visualized and inspected individually.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.
GLASS-BOX MODELING

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.

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.

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.

GLASS-BOX ARCHITECTURE

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.

01

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.

02

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.

03

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.

04

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.

05

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.

06

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.

INTERPRETABILITY TAXONOMY

EBM vs. Other Interpretability Approaches

A structural comparison of Explainable Boosting Machines against common post-hoc and intrinsic interpretability methods across key operational dimensions.

CapabilityEBM (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

EXPLAINABLE BOOSTING MACHINE (EBM)

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.

Prasad Kumkar

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.