Inferensys

Glossary

Explainable Boosting Machine (EBM)

A glass-box, tree-based, cyclic gradient boosting model that learns interpretable feature functions for each input, allowing for exact, modular, and human-readable explanations of its predictions.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.
GLASS-BOX MODELING

What is an Explainable Boosting Machine (EBM)?

An Explainable Boosting Machine (EBM) is a glass-box, tree-based, cyclic gradient boosting model that learns interpretable feature functions for each input, allowing for exact, modular, and human-readable explanations of its predictions.

An Explainable Boosting Machine (EBM) is a generalized additive model with interactions that uses gradient boosting to learn a distinct shape function for each input feature. Unlike black-box models, an EBM is intrinsically interpretable because its final prediction is the arithmetic sum of the contributions from each feature's learned function, plus any pairwise interaction terms. This additive structure allows a user to visualize and understand exactly how a specific feature value, such as transaction velocity, contributes to a fraud score.

In the context of financial fraud anomaly detection, EBMs provide a critical advantage for model governance. Because the contribution of each feature is modular and additive, an EBM can generate exact reason codes for every transaction it flags, detailing precisely why a specific payment was blocked. This satisfies regulatory requirements for adverse action reason codes and provides fraud analysts with an auditable, human-readable logic trail, bridging the gap between high-performance gradient boosting and the strict interpretability demands of compliance officers.

GLASS-BOX ARCHITECTURE

Key Characteristics of EBMs

Explainable Boosting Machines combine the performance of gradient boosting with the interpretability of generalized additive models. Each feature's contribution is learned as a distinct, modular function that can be inspected, plotted, and reasoned about independently.

01

Generalized Additive Model Structure

EBMs are modern implementations of Generalized Additive Models (GAMs) where the prediction is the sum of individual feature functions:

  • Each feature x_i learns a shape function f_i(x_i)
  • The final prediction is g(E[y]) = f_1(x_1) + f_2(x_2) + ... + f_n(x_n)
  • This additive structure means no complex feature interactions are hidden
  • Every feature's contribution is isolated and independently auditable

For fraud detection, this allows analysts to see exactly how much a transaction amount or time-of-day contributed to a risk score.

02

Pairwise Interaction Detection

While EBMs are additive by default, they can explicitly model specified pairwise interactions without sacrificing interpretability:

  • The model learns f_ij(x_i, x_j) for selected feature pairs
  • These interactions are rendered as heatmap visualizations
  • Analysts can inspect exactly how two features combine to influence predictions
  • Unlike black-box models, interactions are opt-in and transparent

Example: In financial fraud, an EBM can show how transaction_amount and merchant_category together affect risk, with the full interaction surface available for audit.

03

Cyclic Gradient Boosting with Bagging

EBMs use a specialized training procedure that ensures both accuracy and stability:

  • Features are trained in a round-robin, cyclic fashion
  • Each round updates one feature's shape function using gradient boosting
  • The algorithm incorporates bagging (bootstrap aggregation) to reduce variance
  • Training continues until convergence across all features

This cyclic approach prevents any single feature from dominating early training rounds, producing well-calibrated, stable shape functions that generalize reliably to new fraud patterns.

04

Per-Feature Score Graphs

Every feature in an EBM produces a fully inspectable score graph:

  • Each graph shows the exact contribution of a feature value to the prediction
  • Graphs reveal non-linear relationships that linear models would miss
  • Thresholds, step changes, and saturation points are immediately visible
  • Compliance teams can validate that features behave monotonically or as expected

For a fraud model, the account_age graph might show risk decreasing sharply in the first 30 days, then plateauing — a pattern directly visible to regulators without any approximation.

05

Native Classification and Regression Support

EBMs handle both binary classification and regression tasks natively:

  • Classification: Uses logit link function for fraud/no-fraud decisions
  • Regression: Uses identity or log link for continuous risk scoring
  • Supports multi-class classification for categorizing fraud types
  • Outputs are calibrated probabilities suitable for risk thresholds

This flexibility means the same glass-box architecture can power both a real-time fraud classifier and a continuous money laundering risk score, with identical interpretability guarantees across use cases.

06

Global and Local Explainability Unified

EBMs provide both global model understanding and local prediction explanations without separate tooling:

  • Global: Feature score graphs show overall model behavior across the entire dataset
  • Local: For any single transaction, the contribution of each feature is the exact value read from its graph
  • No approximations, sampling, or surrogate models are needed
  • Reason codes are simply the top contributing features for that prediction

This eliminates the fidelity gap between global explanations and local justifications that plagues post-hoc methods like LIME or SHAP when applied to black-box models.

EXPLAINABLE BOOSTING MACHINE

Frequently Asked Questions

Clear, technical answers to the most common questions about the Explainable Boosting Machine (EBM), a glass-box model that combines state-of-the-art performance with full intelligibility for high-stakes fraud detection.

An Explainable Boosting Machine (EBM) is a glass-box, tree-based, cyclic gradient boosting model that learns an interpretable feature function for each input variable. Unlike black-box ensemble methods, an EBM fits one feature at a time in a round-robin fashion using a very low learning rate, allowing it to detect and model pairwise interactions. The final prediction is the sum of these additive, modular components, making the contribution of every feature exactly decomposable and human-readable. This architecture provides accuracy comparable to state-of-the-art gradient boosted trees while maintaining intrinsic interpretability, meaning no post-hoc explanation tools are required to understand a decision.

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.