Abstract
State space models (SSMs) are essential tools for analyzing time-series data, involving both time-indexed latent states and static parameters. However, performing simultaneous inference on both is computationally challenging, especially when the model's likelihood function is intractable. This paper introduces a novel Sequential Monte Carlo (SMC²) algorithm designed for likelihood-free approximation using Approximate Bayesian Computation (ABC). The key innovation is an automated threshold tuning mechanism that eliminates the need for manual calibration. We prove the consistency of this algorithm and demonstrate its effectiveness across three complex examples: a skew-normal SSM, a stochastic volatility model with an $\alpha$-stable distribution, and an inhomogeneous Hawkes process.
Introduction: The Challenge of Intractable Likelihoods
In statistical modeling, State Space Models (SSMs) are the workhorses for time-series data, used in fields ranging from aerospace tracking to financial volatility modeling. These models distinguish between "states" (dynamic values that change over time) and "parameters" (fixed values governing the system's behavior).
Standard Bayesian inference for SSMs typically requires a likelihood function—a mathematical expression of the probability of observed data given the model. However, many modern biological, ecological, and financial models are so complex that their likelihood functions cannot be computed. While Approximate Bayesian Computation (ABC) offers a "likelihood-free" alternative by comparing simulated data to real data via a distance threshold ($\epsilon$), applying ABC to time-series models is notoriously difficult. Traditionally, it requires manually setting a different threshold for every time step, a process that is slow, error-prone, and requires extensive pilot runs.
Methodology: Self-Calibrating ABC-SMC²
To address these limitations, we propose a Self-calibrated ABC-SMC² algorithm. This approach builds upon the SMC² framework, which utilizes a nested simulation structure:
- Outer Layer: A Sequential Monte Carlo (SMC) sampler that tracks the fixed static parameters.
- Inner Layer: A Particle Filter that tracks the time-varying states for each parameter candidate.
Automated Threshold Tuning
The core innovation of our algorithm is the dynamic calculation of thresholds ($\epsilon_1, \epsilon_2, ... \epsilon_T$) on the fly. At each time step, the algorithm evaluates the distances between simulated and observed data across all particles (candidate models) and sets the threshold based on a specific quantile (the acceptance probability, $P_{acc}$).
We provide a mathematical proof that this automated tuning remains "consistent," ensuring that as the number of simulations increases, the algorithm converges toward the true (albeit approximate) posterior distribution. Furthermore, we implement "threshold recycling" during rejuvenation steps; when the algorithm moves parameter candidates to maintain diversity, it reuses previously calibrated thresholds to ensure the move step preserves the precision levels established in earlier time steps.
Experimental Validation
The algorithm was evaluated on three distinct models to test varying levels of complexity:
- Skew-Normal SSM: A validation case where the true posterior could be calculated using standard tools like Stan. The ABC-SMC² posterior was found to be nearly identical to the "gold standard" Hamiltonian Monte Carlo results.
- Stochastic Volatility Model: This model involved an $\alpha$-stable distribution, which lacks a closed-form density function. This provided a rigorous test for the algorithm's likelihood-free capabilities.
- Inhomogeneous Hawkes Process: A highly complex self-exciting point process involving non-parametric priors. This represented the most challenging test of the algorithm's ability to handle complex dependencies.
Across all examples, the algorithm successfully tracked latent states with high precision, even in the presence of parameter uncertainty. For the Skew-Normal example, the algorithm completed its run in approximately 37 minutes using 16 processors, demonstrating practical efficiency for complex problems.
Discussion and Future Directions
While the self-calibrating ABC-SMC² algorithm significantly lowers the barrier to entry for likelihood-free time-series modeling, some challenges remain. The computational cost scales super-linearly with time, as rejuvenation steps require re-simulating the entire state history. Additionally, the algorithm is memory-intensive, requiring significant RAM to store particle paths over long durations.
Finally, while we have automated the threshold selection, the user must still choose appropriate "summary statistics" to simplify the data. Future research will focus on automating the selection of these statistics to further streamline the likelihood-free inference pipeline.
Summary updated