TL;DR
This paper introduces a two-stage framework for high-dimensional simulation-based inference (SBI) by performing posterior estimation in a compressed latent space rather than the original parameter space. By merging SBI with latent generative modeling, the authors achieve comparable or superior accuracy and calibration to standard methods while accelerating sampling by up to 60x.
What Problem Does This Paper Address?
Simulation-based inference (SBI) is a powerful tool for estimating parameters of complex mathematical models when the likelihood is intractable. Traditionally, researchers have focused on compressing high-dimensional observations (like images or time series) into low-dimensional summaries to condition the posterior.
However, as SBI is increasingly applied to "inverse problems"—such as Bayesian denoising or inferring physical fields—the parameters themselves ($\theta$) are becoming high-dimensional. Standard SBI methods struggle to scale to these spaces, often resulting in slow sampling, poor calibration, or excessive computational costs. The authors ask a simple but critical question: if we compress the observations, why not compress the inference target itself?
Methods
The authors propose a two-stage "Latent SBI" approach:
- Representation Learning: They train an information-maximizing autoencoder (specifically an InfoVAE) on samples from the parameter prior $p(\theta)$. This learns a low-dimensional latent representation $\vartheta$ of the high-dimensional parameters. Once trained, the autoencoder is frozen.
- Latent Inference: They train an amortized posterior network (using architectures like Flow Matching, Diffusion, or Normalizing Flows) to approximate the posterior over the latent codes given the observations, $q(\vartheta | x)$.
To generate a posterior sample in the original space, they sample from the latent posterior and pass the result through the frozen decoder.
Crucially, the authors provide a theoretical error decomposition, showing that the total error is bounded by the sum of the posterior approximation error, the information lost during compression ("code error"), and the reconstruction error of the decoder.
Datasets
The framework was evaluated across four case studies of increasing complexity:
- Correlated Gaussian: A synthetic task with 2,080 parameters but only 8 degrees of freedom, allowing for comparison against an analytical ground truth.
- Gaussian Random Fields (GRF): Inferring a $32 \times 32$ spatial field with a power-law spectrum.
- Fashion-MNIST Deblurring: A Bayesian denoising task recovering $32 \times 32$ images from noisy, blurred versions.
- Map to Satellite Inference: A high-resolution image-to-image translation task inferring $256 \times 256$ RGB satellite images from map layouts.
Key Insights and Ideas
- Effective vs. Ambient Dimension: High-dimensional parameters often live on much lower-dimensional manifolds due to correlations or physical constraints. Latent SBI exploits this "effective dimension" to simplify the inference problem.
- The "Frozen" Advantage: Through ablation studies, the authors found that freezing the autoencoder before training the inference network leads to more stable and accurate results than joint training. Joint training allowed the posterior network to "cheat" by shrinking the latent space to lower its objective without actually improving inference.
- Generative Agnostic: The latent approach "unrestricts" the choice of the posterior network. Even Normalizing Flows, which often struggle in high dimensions, became highly competitive when operating in the compressed latent space.
- Speedup Mechanics: The sampling speedup doesn't just come from the compression ratio itself, but from the fact that convolutional networks in the latent space operate on much smaller spatial grids, drastically reducing FLOPs.
Key Results
The authors compared Latent SBI against standard SBI while strictly matching the total training compute and model size.
- Sampling Speed: Latent SBI achieved massive speedups, ranging from 1.8x in the Gaussian case to 62x in the Fashion-MNIST task.
- Accuracy and Calibration: In all cases, Latent SBI maintained accuracy (NRMSE, CRPS) comparable to standard methods. Notably, in the Correlated Gaussian and Map-to-Satellite tasks, the latent variant actually improved marginal calibration and accuracy.
- Visual Quality: In the high-resolution Map-to-Satellite task, latent draws followed the street layout of the maps much more faithfully than standard target-space draws, which often produced generic vegetation.
Limitations and Future Work
- Prior-Only Compression: The autoencoder is trained only on the parameter prior. This means it might discard fine details that the observation $x$ actually constrains. The authors suggest that observation-conditioned encoders could be a promising future direction.
- High-Frequency Loss: Because the autoencoder uses a pixel-wise reconstruction loss, the resulting samples can lose some high-frequency detail (sharp edges/textures). Incorporating perceptual or adversarial losses could mitigate this.
- Structural Inductive Biases: This work focused on dense vectors and images. Extending this to sequences (time-varying parameters) or graphs (causal structures) would require different autoencoder architectures.
Summary updated