Abstract
This paper introduces an approximate slice sampler that scales Bayesian inference to massive datasets by using mini-batches instead of the full dataset. By replacing exact likelihood evaluations with sequential hypothesis tests, the algorithm accepts a small amount of asymptotic bias in exchange for a massive reduction in sampling variance, ultimately producing more accurate posterior estimates within a fixed time budget.
Introduction: The Big Data Challenge in Bayesian Inference
Bayesian posterior inference is a gold standard for uncertainty quantification, but it struggles with "Big Data." The workhorse of the field, Markov Chain Monte Carlo (MCMC), typically requires an $O(N)$ calculation—evaluating the likelihood of every single data point—to decide whether to accept or reject a new parameter sample.
When $N$ is in the millions or billions, a single MCMC step becomes prohibitively expensive. While frequentist methods have long used "stochastic gradients" (mini-batches) to speed up optimization, doing the same for MCMC is tricky because using mini-batches introduces bias: the sampler no longer converges to the exact true posterior. The authors argue that this bias is a price worth paying if it allows the sampler to move much faster, reducing the error caused by having too few samples (variance).
Methodology: The Austerity Slice Sampler
The authors build upon Slice Sampling, a popular MCMC method known for being easier to tune than Metropolis-Hastings. The standard bottleneck is the OnSlice procedure, which checks if a proposed point is above a certain density threshold, requiring the full likelihood.
The proposed "Austerity" check rephrases this as a statistical hypothesis test. Instead of calculating the full log-likelihood, the algorithm draws a small mini-batch and estimates the mean log-likelihood. Using a Student-t test, it determines if the mini-batch provides enough evidence to decide if the point is "on the slice" with a confidence level controlled by a parameter $\epsilon$. If the test is inconclusive, the algorithm adaptively adds more data until a confident decision can be made, ensuring termination even in the worst case.
Experimental Evaluation
The researchers evaluated their algorithm on four distinct problems: a synthetic 2D Banana Distribution, the Million Song Dataset ($L_1$-regularized linear regression), MNIST (multinomial regression), and Covertype (logistic regression).
As shown in the Banana dataset visualization, even with a relatively high error threshold ($\epsilon = 0.1$), the marginal distributions produced by the approximate sampler were nearly indistinguishable from the ground truth. This demonstrates the high fidelity of the approximation in capturing complex, non-linear correlations.
Key Results and Performance
The primary advantage of the approximate sampler is the Bias-Variance Trade-off. For a fixed wall-clock time, an imperfect sampler that draws many samples is often more useful than a perfect sampler that draws very few.
Key findings include:
- Speed vs. Accuracy: On the MNIST task, the approximate sampler achieved a 7x performance gain in terms of risk reduction within one hour compared to the exact sampler.
- Efficiency: As illustrated above, the number of data points required to make a decision decreases significantly as the tolerance for bias ($\epsilon$) increases.
- Faster Burn-in: In the Covertype experiment, the approximate samplers reached high-probability regions of the posterior significantly faster than the exact version.
Discussion and Limitations
The algorithm's success relies on Information Redundancy in large datasets; one doesn't need to see every point to make a confident move in parameter space. However, there are limitations:
- CLT Reliance: The hypothesis test assumes log-likelihoods are roughly normally distributed. It may struggle with extremely sparse datasets or extreme outliers.
- Asymptotic Bias: The bias never disappears, making the exact sampler superior given infinite time. This tool is specifically optimized for the "fixed time budget" regime.
Future work includes integrating mini-batch updates into Hamiltonian Monte Carlo (HMC) and exploring likelihood caching to further reduce computational overhead.
Summary updated