Inferensys

Glossary

Explainable Boosting Machine

A glass-box, generalized additive model that learns feature functions using boosting, providing state-of-the-art accuracy while remaining fully intelligible through the inspection of individual feature graphs.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.
GLASS-BOX MODELING

What is Explainable Boosting Machine?

An Explainable Boosting Machine (EBM) is a glass-box, generalized additive model that learns feature functions using boosting, providing state-of-the-art accuracy while remaining fully intelligible through the inspection of individual feature graphs.

An Explainable Boosting Machine (EBM) is a glass-box learning algorithm that combines the predictive power of gradient boosting with the inherent intelligibility of Generalized Additive Models (GAMs). It learns a distinct, univariate shape function for each input feature, which can be visualized and inspected as a graph, making the model's reasoning fully transparent and auditable for high-stakes applications.

EBMs also automatically detect and include pairwise interaction terms, maintaining interpretability while capturing complex feature relationships. Because each feature's contribution is additive and independently viewable, an EBM provides exact, not approximate, explanations for every prediction, making it a cornerstone for regulatory compliance and mission-critical assurance in fields like defense and finance.

GLASS-BOX ARCHITECTURE

Key Features of Explainable Boosting Machines

Explainable Boosting Machines (EBMs) combine the accuracy of gradient boosting with the intelligibility of generalized additive models (GAMs). Each feature's contribution is learned as a distinct, visualizable function, making the model's logic fully auditable.

01

Generalized Additive Model Foundation

EBMs are built on the GAM framework, expressed as g(E[y]) = Σ fᵢ(xᵢ). Unlike black-box models, the final prediction is a simple sum of individual feature contributions. Each fᵢ(xᵢ) is a learned shape function for a single feature, allowing analysts to inspect exactly how a change in one variable affects the output while holding all others constant. This additive structure eliminates complex feature interactions from the core logic, ensuring full intelligibility.

02

Pairwise Interaction Detection

While the base model is purely additive, EBMs can optionally learn and include pairwise interaction terms of the form fᵢⱼ(xᵢ, xⱼ). The algorithm uses a smart, two-stage process: it first trains the additive model, then measures and ranks the remaining interaction strength between all feature pairs. Only the strongest, most important interactions are added back as heatmap-style functions. This preserves interpretability—every interaction can be visualized as a 2D contour plot—while capturing critical non-linear relationships that a purely additive model would miss.

03

Bagged Boosting with Small Trees

Each feature function fᵢ(xᵢ) is learned using a round-robin boosting procedure over very shallow decision trees, typically with a max depth of 1 or 2. The algorithm cycles through features one at a time, fitting tiny trees to the residuals. Crucially, EBMs incorporate bagging (bootstrap aggregation) into this process, training each tree on a random subset of data. This dual strategy of shallow trees and bagging acts as a powerful regularizer, preventing overfitting and producing smooth, stable shape functions that generalize well without the high variance of deep tree ensembles.

04

Per-Feature Visualization and Auditability

The defining operational advantage of an EBM is that every learned function is directly plottable. A risk model might show that age has a U-shaped risk curve, while income has a monotonically decreasing effect after a threshold. These graphs are the model's complete logic. For any single prediction, the score is computed by looking up the value of each feature on its respective graph and summing the results. This enables instance-level explanations: a compliance officer can see exactly which features pushed a specific decision up or down and by how much, satisfying regulatory requirements like the EU AI Act.

05

Native Classification and Regression Support

EBMs handle both binary classification and regression tasks natively through different link functions g(). For classification, the logit link function ensures the summed contributions produce a valid probability between 0 and 1. For regression, the identity link allows the model to predict continuous values directly. The underlying boosting engine adapts the loss function accordingly—log-loss for classification and mean squared error for regression—while maintaining the identical glass-box structure. This versatility makes EBMs a drop-in replacement for black-box models like XGBoost or deep neural networks in high-stakes, regulated domains.

06

Automatic Missing Value Handling

EBMs treat missingness as a first-class citizen rather than requiring imputation. During training, the algorithm learns a separate, dedicated score for the 'missing' state of each feature. This means the model captures the potentially informative nature of why a value is absent—for example, a missing lab test result might itself be a predictive signal in a medical context. At inference time, no preprocessing is needed; the model simply uses the learned missing-value score. This design eliminates a common source of data leakage and pipeline complexity found in traditional machine learning workflows.

GLASS-BOX MODELING

Frequently Asked Questions

Clear answers to common questions about Explainable Boosting Machines (EBMs), the state-of-the-art interpretable models that combine the accuracy of gradient boosting with the intelligibility of generalized additive models.

An Explainable Boosting Machine (EBM) is a glass-box generalized additive model (GAM) that uses gradient boosting to learn individual feature functions, providing state-of-the-art accuracy while remaining fully intelligible. Unlike black-box models, an EBM learns a separate, non-linear function for each input feature—called a shape function—and optionally captures pairwise interactions. The final prediction is simply the sum of these learned functions. The training process cycles through features one at a time in a round-robin fashion, using a low learning rate and bagging to prevent overfitting. This additive structure means you can inspect and plot the exact contribution of every feature to any prediction, making EBMs ideal for mission-critical RF applications where regulatory compliance demands full algorithmic transparency.

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.