LR-GLM: High-Dimensional Bayesian Inference Using Low-Rank Data Approximations

Brian L. Trippe, Jonathan H. Huggins, Raj Agrawal, Tamara Broderick

Introduction

Generalized Linear Models (GLMs) are a cornerstone of interpretable statistical modeling. In modern data science, where the number of features ($D$) often rivals or exceeds the number of observations ($N$), Bayesian methods are highly valued for their ability to provide coherent uncertainty quantification. However, the computational cost of exact Bayesian inference scales poorly—typically $O(D^3)$—making it impractical for high-dimensional datasets. This paper presents LR-GLM, a novel approach that uses low-rank data approximations to deliver fast, accurate, and mathematically conservative posterior estimates.

The Challenge of High-Dimensional Inference

Standard inference techniques like the Laplace approximation or Markov chain Monte Carlo (MCMC) struggle with high-dimensional parameter spaces. The primary bottleneck is the computation and inversion of large Hessian matrices or the slow mixing of chains in complex geometries.

To bypass these hurdles, practitioners frequently turn to simplified methods such as Diagonal Laplace or mean-field Variational Bayes. While these methods are significantly faster, they often suffer from extreme overconfidence, severely underestimating the true posterior uncertainty. In real-world applications, this lack of calibration can lead to dangerous over-reliance on uncertain predictions.

Standard diagonal approximations (like Diagonal Laplace) often fail to capture correlations, leading to circular contours and overconfident uncertainty estimates.

The LR-GLM Approach

LR-GLM addresses the scaling problem by approximating the data itself. The method relies on the observation that high-dimensional features are often highly correlated, implying that the design matrix $X$ can be well-represented by a low-rank structure.

The process involves three main steps:

  1. Low-Rank Projection: Compute a truncated Singular Value Decomposition (SVD) of the design matrix $X$ to a rank $M$.
  2. Likelihood Modification: Substitute the original $X$ with its low-rank approximation in the GLM likelihood.
  3. Efficient Inference: Perform inference in the original $D$-dimensional space. The low-rank structure allows for matrix operations that scale as $O(NDM)$ for Laplace and $O(NM + DM)$ for MCMC steps, providing a speedup of roughly $D/M$.

Theoretical Guarantees: Conservative Uncertainty

A key contribution of this work is the "conservativeness" guarantee. The authors prove that the LR-GLM posterior will never report less uncertainty than the exact posterior. By discarding low-variance directions in the data, the model effectively admits its ignorance in those dimensions, resulting in wider credible intervals. This property ensures that the approximation remains a reliable tool for decision-making, as it avoids the pitfalls of overconfidence.

LR-GLM captures the posterior correlation structure while ensuring that uncertainty is not underestimated.

Empirical Results and Scalability

The authors demonstrated the effectiveness of LR-GLM on both synthetic data and large-scale real-world datasets, including the UCI Farm-Ads ($D \approx 55,000$) and Reuters RCV1 ($D \approx 47,000$) datasets.

  • Speed and Accuracy: LR-GLM achieved massive speedups while maintaining high accuracy. On synthetic benchmarks, LR-Laplace and LR-MCMC closely tracked the ground truth provided by the No-U-Turn Sampler (NUTS), far outperforming diagonal baselines in terms of predictive log-likelihood and calibration.
  • Flexibility: The method is compatible with complex, non-Gaussian priors, such as the regularized horseshoe prior, making it a versatile tool for sparse high-dimensional regression.
  • Tunability: The rank $M$ serves as a tunable parameter, allowing users to balance computational cost against the desired level of statistical precision.

Conclusion

LR-GLM provides a scalable framework for Bayesian inference in high-dimensional GLMs. By focusing on low-rank data approximations, it circumvents the $O(D^3)$ bottleneck while providing rigorous guarantees on the quality of uncertainty estimates. This makes it a powerful and safe alternative for modern large-scale statistical analysis.

Summary updated

BibTeX
@inproceedings{trippe2019lr,
  author = {Brian L. Trippe and Jonathan H. Huggins and Raj Agrawal and Tamara Broderick},
  title = {{LR-GLM: High-Dimensional Bayesian Inference Using Low-Rank Data Approximations}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=BybtHjbuWr},
}
Figure