[Paper Review] Coresets for Scalable Bayesian Logistic Regression
This paper proposes a coreset-based approach for scalable Bayesian logistic regression that constructs a small, weighted subset of data to approximate the full dataset's likelihood. By leveraging data redundancy and providing theoretical guarantees on coreset size and approximation quality, the method enables efficient MCMC inference with minimal computational overhead, achieving coreset sizes independent of dataset size in practice.
The use of Bayesian methods in large-scale data settings is attractive because of the rich hierarchical models, uncertainty quantification, and prior specification they provide. Standard Bayesian inference algorithms are computationally expensive, however, making their direct application to large datasets difficult or infeasible. Recent work on scaling Bayesian inference has focused on modifying the underlying algorithms to, for example, use only a random data subsample at each iteration. We leverage the insight that data is often redundant to instead obtain a weighted subset of the data (called a coreset) that is much smaller than the original dataset. We can then use this small coreset in any number of existing posterior inference algorithms without modification. In this paper, we develop an efficient coreset construction algorithm for Bayesian logistic regression models. We provide theoretical guarantees on the size and approximation quality of the coreset -- both for fixed, known datasets, and in expectation for a wide class of data generative models. Crucially, the proposed approach also permits efficient construction of the coreset in both streaming and parallel settings, with minimal additional effort. We demonstrate the efficacy of our approach on a number of synthetic and real-world datasets, and find that, in practice, the size of the coreset is independent of the original dataset size. Furthermore, constructing the coreset takes a negligible amount of time compared to that required to run MCMC on it.
Motivation & Objective
- To address the computational infeasibility of standard Bayesian inference on large-scale datasets by reducing data size before inference.
- To develop a coreset construction method that maintains posterior approximation quality for Bayesian logistic regression.
- To ensure theoretical guarantees on coreset size and approximation error, both for fixed datasets and in expectation under generative models.
- To enable efficient coreset construction in streaming and parallel settings without modifying existing inference algorithms.
Proposed method
- The method constructs a coreset by identifying representative data points through k-means clustering on a subsampled dataset to accelerate center computation.
- It computes sensitivity scores for each data point to prioritize influential points, using adjusted cluster centers for accuracy.
- The coreset is formed by resampling data points with probabilities proportional to their sensitivity scores, ensuring uniform approximation of the full-data log-likelihood.
- Theoretical analysis bounds the coreset size and approximation error using concentration inequalities and asymptotic analysis under general data models.
- The approach supports streaming and parallel coreset construction with minimal overhead, enabling scalable preprocessing.
- The final coreset is used as input to any standard posterior inference algorithm, such as MCMC, without algorithmic modification.
Experimental results
Research questions
- RQ1Can a small, weighted subset of data (a coreset) be constructed to uniformly approximate the full-data log-likelihood in Bayesian logistic regression?
- RQ2What theoretical guarantees can be provided on the size and approximation quality of the coreset for both fixed datasets and in expectation over data-generating models?
- RQ3Can the coreset construction be efficiently scaled to streaming and distributed data settings?
- RQ4Does the coreset size remain independent of the original dataset size in practice?
- RQ5How does the posterior inference quality using the coreset compare to full-data inference in terms of accuracy and computational cost?
Key findings
- The coreset size is empirically independent of the original dataset size, remaining small even for datasets with up to 1 million observations.
- Coreset construction time is negligible compared to the time required for MCMC inference on the coreset, enabling significant computational savings.
- Theoretical analysis shows that the coreset uniformly approximates the full-data log-likelihood with high probability, ensuring posterior approximation quality.
- The method achieves accurate posterior inference using standard MCMC on the coreset, with results comparable to full-data inference.
- The approach supports efficient streaming and parallel coreset construction, making it suitable for large-scale and distributed data workloads.
- Sensitivity-based sampling captures rare but influential data points, ensuring robustness to outliers and minority classes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.