Bayesian inference on massive datasets is often too slow to be practical. To speed things up, researchers frequently turn to data summarization techniques. This paper introduces Bayesian Pseudocoresets, a novel method that replaces a giant dataset with a tiny collection of synthetic "pseudodata" points. Unlike traditional methods that rely on subsets of real data, these synthetic points handle high-dimensional data much better and can be generated with strong differential privacy guarantees.
The Challenge of Big Data in Bayesian Inference
In Bayesian statistics, the goal is to calculate a "posterior"—our updated belief about a model after observing data. However, standard algorithms are $O(N)$, meaning their computational cost grows linearly with the number of data points. When $N$ is in the millions, inference becomes painfully slow.
A popular solution is using a coreset: a small, weighted subset of the actual data that acts as a proxy for the whole. While effective for low-dimensional data, the authors identify two major deal-breakers for modern applications:
- The Curse of Dimensionality: As data dimensions ($d$) increase, individual points become more "unique." The authors mathematically prove that for traditional coresets, the error (KL divergence) scales with the dimension of the data. Essentially, real data points are too sparse in high-dimensional space to accurately represent each other.
- Privacy: Because traditional coresets are made of original data points, they cannot be shared or queried without risking the privacy of the individuals in the underlying dataset.
Enter Bayesian Pseudocoresets
To overcome these limitations, the authors propose Bayesian Pseudocoresets (PSVI). Instead of picking points from the original dataset, they learn synthetic points (pseudodata) and their associated weights.
- Variational Optimization: The problem is framed as a variational inference task. The algorithm optimizes the locations and weights of the pseudodata to minimize the Kullback-Leibler (KL) divergence between the coreset-based posterior and the true posterior.
- Black-Box Stochastic Optimization: The authors provide a stochastic gradient descent (SGD) algorithm that doesn't require the model to have a closed-form solution. It uses minibatches of the full dataset and Monte Carlo samples to estimate the necessary gradients.
- Differential Privacy (DP): By applying a "subsampled Gaussian mechanism" (clipping gradients and adding noise) during the optimization of the synthetic points, they create a version of the algorithm that satisfies $(\epsilon, \delta)$-differential privacy. Because the final output is entirely synthetic, it can be shared and queried indefinitely without further privacy loss.
Key Insights: Geometry and Sufficient Statistics
The success of pseudocoresets relies on a few core conceptual shifts:
- Pseudodata as "Approximate Sufficient Statistics": In a simple Gaussian model, the mean of the data is a "sufficient statistic"—it contains all the information needed for inference. A single pseudodata point placed at that mean can perfectly represent the entire dataset. Pseudocoresets generalize this idea to complex models where exact sufficient statistics don't exist.
- Geometry Matters: Traditional coresets are "stuck" with the locations of the original data. Pseudodata can be moved anywhere in the feature space, allowing the optimization to find the mathematically "perfect" summary points that traditional coresets simply cannot reach in high dimensions.
- Privacy-Utility Trade-off: Surprisingly, the private pseudocoresets often achieved better accuracy than other state-of-the-art non-private coreset methods. This suggests that the geometric flexibility of synthetic data outweighs the "noise" added to ensure privacy.
Empirical Results
The researchers evaluated their method on both synthetic benchmarks (Gaussian mean inference, Bayesian linear regression) and real-world logistic regression datasets (e.g., CHEMREACT100, MUSIC).
- High-D Performance: In 500-dimensional Gaussian experiments, PSVI achieved near-zero error with just one pseudodata point. In contrast, traditional coresets (like SparseVI) showed significant error that remained stubbornly high.
- Superior Scaling: On the
MUSICdataset ($d=237$), PSVI consistently outperformed Hilbert coresets and SparseVI, maintaining a much lower KL divergence as the coreset size increased. - Privacy Wins: The differentially private version (DP-PSVI) outperformed general-purpose private variational inference (DP-VI) in high-privacy regimes (low $\epsilon$), providing a more flexible and accurate posterior approximation.
Limitations and Future Directions
While powerful, Bayesian Pseudocoresets come with a few caveats. First, a pseudocoreset is optimized for a specific model; changing your model or prior later likely requires re-running the expensive optimization to generate a new summary. Second, because the points are synthetic, they lack the interpretability of a standard coreset—an analyst cannot look at a pseudodata point as a "representative example" of a real user or event. Finally, the authors note that the optimization might favor majority groups in the data, potentially "erasing" minority-group outliers. Future work will need to explore incorporating fairness constraints directly into the initialization and optimization steps.
Summary updated