Abstract
Bayesian coresets have emerged as a promising approach for implementing scalable Bayesian inference. The Bayesian coreset problem involves selecting a (weighted) subset of the data samples, such that the posterior inference using the selected subset closely approximates the posterior inference using the full dataset. This manuscript revisits Bayesian coresets through the lens of sparsity constrained optimization. Leveraging recent advances in accelerated optimization methods, we propose and analyze a novel algorithm for coreset selection. We provide explicit convergence rate guarantees and present an empirical evaluation on a variety of benchmark datasets to highlight our proposed algorithm's superior performance compared to state-of-the-art on speed and accuracy.
Introduction
Exact Bayesian inference scales poorly as dataset size $n$ grows, making it computationally prohibitive for massive datasets. Bayesian coresets offer a solution by summarizing the full dataset into a small, weighted subset of $k$ points ($k \ll n$) that approximates the log-likelihood of the entire dataset. Historically, constructing these coresets involved either convex relaxation (sacrificing accuracy) or greedy selection (sacrificing speed). This work reframes coreset construction as a direct sparsity-constrained optimization problem, bridging the gap between accuracy and efficiency.
Methods: Automated Accelerated Iterative Hard Thresholding
The core innovation lies in treating coreset selection as a finite-dimensional sparse regression problem. Unlike greedy methods that build the set incrementally, we employ Iterative Hard Thresholding (IHT) to optimize the non-convex sparsity constraint directly.
We introduce Automated Accelerated IHT (A-IHT), which incorporates:
- Exact Line Search: Automatically determines the optimal step size, eliminating manual hyperparameter tuning.
- Momentum: Accelerates convergence by utilizing information from previous iterations.
- A-IHT II (De-biasing): An enhanced version that performs an additional gradient step within the selected sparse subspace to further reduce error.
This approach allows the algorithm to update the entire support set simultaneously, enabling it to "correct" previous selection errors—a capability lacking in greedy algorithms like GIGA or SparseVI.
Empirical Results
Our evaluation across synthetic and real-world datasets (e.g., UK housing prices, Phishing, Biketrips) demonstrates significant improvements in both accuracy and computational overhead.
Accuracy and the KL Divergence Trap
A key finding is the robustness of A-IHT compared to methods like SparseVI. While SparseVI aggressively minimizes reverse KL divergence, it can lead to a degradation in forward KL divergence as the coreset size increases. A-IHT minimizes an $L^2$ distance in function space, which effectively bounds both forward and reverse KL, providing a more stable posterior approximation.
Computational Efficiency
A-IHT achieves an exponential speedup relative to coreset size $k$. While greedy methods scale at $O(nk)$, A-IHT scales at $O(n \log k)$. In practice, this translates to orders of magnitude faster execution on large datasets.
Conclusion
By revisiting Bayesian coresets from a non-convex optimization perspective, we demonstrate that direct sparsity constraints, when paired with modern acceleration techniques, outperform traditional greedy and convexified approaches. A-IHT provides a scalable, accurate, and robust framework for Bayesian inference on large-scale data. Future work will explore the application of these methods to stochastic gradient settings and more complex structured sparsity constraints.
Summary updated