TL;DR
This paper introduces a significantly faster and more scalable version of Expectation Propagation (EP) for Bayesian generalized linear models (GLMs). By reducing the computational cost from quadratic to linear in the number of covariates, it makes accurate Bayesian inference with EP feasible for high-dimensional datasets, a task previously considered impractical.
What Problem Does This Paper Address?
Bayesian inference for Generalized Linear Models (GLMs) is powerful but often computationally challenging. The posterior distribution is usually intractable, requiring approximations. While methods like Variational Bayes (VB) are fast, they can sacrifice accuracy. Expectation Propagation (EP) offers high accuracy but has historically been too computationally expensive for high-dimensional problems (where the number of predictors, p, is large). This paper tackles the problem of making accurate EP accessible for these large-p settings, which are common in modern data analysis.
Methods
The core contribution is a novel, efficient formulation of EP for GLMs. The authors achieve a dramatic speedup by:
- Linearizing the Cost: They derive an EP update that scales linearly with the number of covariates (p), reducing the per-iteration cost from O(p²n) to O(pn min(p, n)). This is achieved through clever algebraic manipulations and exploiting the structure of GLMs, particularly the inner product form of the linear predictor.
- Efficient Moment Matching: For count data (like Poisson regression), they introduce a method to avoid costly numerical integration for moment matching by using approximations of the log-normal Laplace transform.
- Closed-Form Predictive Means: For binary (probit/logit) and log-linear GLMs, they show that approximate predictive means can be computed at no additional computational cost.
- Algorithm 1 & 2: They present two algorithms that implement these efficiencies, with Algorithm 2 specifically designed for large-p scenarios.
Datasets
The paper evaluates its methods on:
- Simulated Datasets: Used to demonstrate the performance of EP-EFF across various dimensions (p) and sample sizes (n).
- Alzheimer's Disease Dataset: A real-world dataset for probit regression with a high number of predictors (p = 9036) and moderate sample size (n = 300).
- Football (Serie A) Match Data: A real-world dataset for Poisson regression with a very high number of predictors (p = 1762) and a moderate sample size (n = 700).
Key Insights and Ideas
- EP's Accuracy is Now Scalable: The biggest takeaway is that EP's superior accuracy is no longer a barrier to its use in high-dimensional settings. This paper bridges a critical gap.
- GLM Structure is Key: The specific structure of GLMs (linear predictor involving xβ) is heavily leveraged to derive the computational efficiencies. This suggests that similar techniques might be applicable to other model classes with similar structures.
- Avoiding Numerical Integration is Crucial: For count data, replacing numerical integration with analytical approximations for the log-normal Laplace transform significantly boosts efficiency and stability.
- Predictive Inference is Cheap: Obtaining approximate predictive means as a byproduct of the posterior approximation is a valuable bonus, especially for model comparison and forecasting.
Key Results
- Massive Speedup: The proposed EP-EFF implementation reduces running times by orders of magnitude compared to previous EP methods (e.g., EPprobit). For p = 2000, the speedup is more than three orders of magnitude.
- Competitive with VB: While slightly slower than some VB methods for p < n, EP-EFF is faster than PFM-VB for p > n and offers superior accuracy.
- High-Dimensional Feasibility: The method is shown to be practical for p up to 9036 (Alzheimer's data) and 1762 (football data), where traditional MCMC methods (NUTS, bpr) struggled with mixing issues or became prohibitively slow.
- Accurate Approximations: The EP-EFF method consistently provides accurate posterior moments and predictive probabilities, often indistinguishable from MCMC benchmarks.
Limitations and Future Work
- Computational Cost: While significantly improved, the O(pn min(p, n)) per-iteration cost can still be computationally demanding for extremely large p and n. The authors mention that optimized C++ implementations could further improve performance.
- Convergence Issues: EP can still be prone to convergence issues in some settings, though damping techniques can be applied.
- Theoretical Guarantees: While empirical results are strong, further theoretical research on the goodness of EP's approximation, particularly its asymptotic behavior, is suggested.
- Broader Model Classes: Extending these efficient EP formulations to a wider range of GLMs and other hierarchical models is a natural next step.
Summary updated