Sparse Variational Bayesian GAMs
- The paper introduces a scalable framework that uses sparse variational inference with inducing points to efficiently model nonparametric additive functions via GP priors.
- Sparse Variational Bayesian GAMs are defined as a method for independently modeling each additive component, ensuring tractable inference while preserving interpretability.
- The approach achieves competitive predictive performance with well-calibrated uncertainty by leveraging a structured low-rank variational precision and additive decompositions.
Sparse Variational Bayesian Generalized Additive Models (GAMs) are a scalable and interpretable Bayesian framework for modeling nonparametric additive functions, leveraging Gaussian process (GP) priors and sparse variational inference. Each additive component is modeled independently with a GP, enabling rich, flexible modeling while preserving interpretability. Sparse variational approximations ensure tractable inference even in high dimensions or with large datasets by exploiting the structure of the GAM and the efficiency of inducing-point methods. This framework—detailed by Adam et al. (2018)—retains full posterior coupling among additive components, delivering well-calibrated uncertainty, interpretable function decompositions, and favorable scaling properties (Adam et al., 2018).
1. Model Formulation
The generative model considers inputs and outputs for , with an additive predictor: where each represents an unknown smooth function. The conditional likelihood factorizes: Each additive component is assigned an independent zero-mean GP prior: with denoting kernel hyperparameters.
2. Sparse Gaussian Process Representation
To facilitate scalable inference, each is represented via inducing points 0. The associated inducing variables are
1
and the collection 2. The joint prior over function values and inducing variables factorizes: 3 where 4 and
5
Here, 6 is the 7 kernel matrix over inducing locations; 8 is a row vector of cross-covariances for test input 9.
3. Variational Posterior Structure
Posterior inference is addressed by variational approximation. The true posterior 0 is approximated with
1
so that only the inducing variables 2 have free variational parameters. The variational distribution is taken as
3
Direct fully-coupled posteriors 4 are computationally infeasible. Instead, Adam et al. parameterize the inverse covariance (precision) in an additive low-rank form: 5 with 6. This structure ensures tractable 7 storage while capturing cross-component posterior dependencies.
4. Objective and Predictive Quantities
Variational parameters are optimized by maximizing the evidence lower bound (ELBO): 8 For Gaussian likelihoods, the expectation can be computed exactly; for non-Gaussian cases, one uses quadrature or stochastic sampling.
The predictive mean and variance for input 9 are
0
1
The KL divergence term is
2
With the structured precision, this is evaluated in 3 time.
5. Optimization and Computational Complexity
All variational parameters 4 and kernel hyperparameters 5 are learned via (stochastic) gradient ascent on the ELBO, typically using automatic differentiation. If 6 factorizes over datapoints, mini-batches of size 7 facilitate efficient stochastic optimization.
Computational cost per iteration (full batch) is:
- Storage: 8 for 9.
- KL evaluation: 0, dominated by Cholesky factorization.
- ELBO expectation: 1 (for predictive variances across all 2 and cross-component terms).
With mini-batching (3 data points per step, 4), the likelihood expectation costs 5 per stochastic gradient update.
6. Calibration, Uncertainty, and Interpretability
Given variational parameters 6, the posterior for each 7 is Gaussian: 8
9
Summing the component posteriors gives the marginal over 0. Calibration and uncertainty quantification are conducted via posterior credible-interval coverage, CRPS, and empirical residual analysis. The additive decomposition preserves interpretable component-wise contributions to predictions.
7. Empirical Evaluation and Comparative Summary
Adam et al. demonstrate the methodology on a synthetic six-dimensional regression task: 1 for 2 and 3 samples with 4. The kernel is constructed in ANOVA fashion: 5 with 6 being centered SE kernels. Univariate kernels use 7 inducing points; the interaction term uses a 8 grid.
Empirical findings indicate the proposed method matches or betters predictive log-likelihood and RMSE versus mean-field sparse GPs (Saul et al. 2016) and fully-coupled precision-parameter GPs (Adam et al. 2017), yields well-calibrated credible intervals, and scales linearly with 9 and quadratically with 0 in the expectation step. The additive structure retains full interpretability.
By leveraging additive model structure, per-component inducing variables, and a structured low-rank variational precision (1), the approach achieves effective and interpretable Bayesian sparse GP GAM inference, with the ELBO and associated gradients computable in 2 time and 3 space, while preserving calibrated uncertainty and interpretable component-wise posterior estimates (Adam et al., 2018).