Abstract
Sequential Monte Carlo (SMC) is a general-purpose methodology for recursive Bayesian inference, and is widely used in state space modeling and probabilistic programming. Its resample-move variant requires evaluating the likelihood of all past data, leading to computational and memory costs that scale poorly over time. This paper introduces Sequential Core-Set Monte Carlo (SCMC), which maintains a small, smartly weighted subset of past data (a "core-set") online to keep costs bounded while preserving accuracy.
Introduction
Sequential Monte Carlo (SMC) is a cornerstone of streaming Bayesian inference, allowing for the update of posterior distributions as new data arrives. By maintaining a population of "particles" that represent the posterior, SMC provides a flexible framework for complex models. However, a significant bottleneck exists: to prevent particle degeneracy, SMC employs rejuvenation steps via Markov Chain Monte Carlo (MCMC). Standard rejuvenation requires evaluating the likelihood against all historical data, resulting in $O(t^2)$ time complexity and $O(t)$ memory requirements as time $t$ progresses.
While naive subsampling methods like reservoir sampling have been proposed to mitigate this, they often fail to capture the nuances of the data distribution, leading to inaccurate posterior approximations. This paper presents Sequential Core-Set Monte Carlo (SCMC), an approach that intelligently compresses historical data into a "core-set" to maintain high fidelity with strictly bounded resources.
Methodology: The Core-Set Projection Filter
The core innovation of SCMC is the Core-Set Projection Filter (CPF), which manages a sparse, weighted subset of past observations. This core-set is designed to mathematically approximate the log-likelihood of the full dataset.
The algorithm utilizes a "dual belief representation" feedback loop:
- Expansion: New data batches are temporarily appended to the existing core-set.
- Distributionally-Aware Compression: When the core-set exceeds a predefined memory budget $M$, it is recompressed. SCMC solves a Sparse Non-Negative Least Squares (SNNLS) problem to select and weight data points. Crucially, it uses the current SMC particles to evaluate log-likelihood errors, ensuring the compression is tailored to the current posterior landscape.
- Rejuvenation: MCMC transitions are performed using the core-set for likelihood evaluations. This reduces the per-step cost from $O(t)$ to $O(M)$, effectively capping the computational burden.
Experimental Evaluation
The authors evaluated SCMC across several benchmarks, including synthetic AR(1) processes, Normal-Inverse-Wishart models, and real-world datasets like ChemReact (binary classification) and the Keeling Curve ($CO_2$ time series).
Key Results
SCMC consistently outperformed reservoir sampling and closely matched the performance of "oracle" SMC (which uses the full dataset).
In the ChemReact task, SCMC's approximation error converged to that of full-data SMC, while reservoir sampling remained inaccurate. In the Keeling Curve MLP task, SCMC achieved a posterior marginal likelihood nearly identical to full-data NUTS, demonstrating its robustness in high-dimensional, real-world scenarios. Furthermore, SCMC maintains a "jigsaw" pattern of computational cost, where evaluations spike upon batch arrival but are immediately reduced through recompression, never exceeding a fixed ceiling.
Discussion and Conclusion
SCMC demonstrates that bounded memory does not necessitate a loss in inference quality for streaming data. By leveraging the synergy between particle populations and core-sets, the method identifies critical data points that define posterior boundaries while discarding redundancies.
Limitations and Future Work: The effectiveness of SCMC depends on the intrinsic compressibility of the model's potential functions and an appropriate choice of memory budget $M$. Future research aims to extend this framework to non-stationary models, develop adaptive techniques for dynamic memory allocation, and explore applications in distributed streaming inference.
Summary updated