High-Dimensional Simulation-Based Inference in Latent Spaces
Organizations: Department of Statistics, TU Dortmund University, Germany · Department of Cognitive Science, Rensselaer Polytechnic Institute
Abstract
Neural simulation-based inference (SBI) has been widely successful in inferring a relatively small number of interpretable parameters from potentially high-dimensional observations, such as images or time series. Accordingly, representation learning in SBI has focused almost exclusively on compressing the observations used to condition the posterior. More recently, however, SBI has begun to target increasingly high-dimensional parameter spaces, raising the complementary question of whether the inference target itself should be compressed. Our answer is a practical merger of SBI and latent generative modeling, which learns a low-dimensional representation of the simulator parameters, performs posterior inference directly in this latent space, and maps posterior samples back to the original parameter space. We characterize the conditions under which latent-space inference recovers the desired target posterior and systematically study its empirical trade-offs. Across four case studies and three generative families, we compare latent and standard estimators while controlling for network capacity, regularization, optimization, and training compute. At matched training compute, latent-space inference achieves accuracy and marginal calibration comparable to direct target-space inference while sampling up to more than an order of magnitude faster.
Figures & tables
| Accuracy | Calibration | Cost | |||||||
| NRMSE | CRPS | Cal. err. | Cov 50 | Cov 90 | C2ST | SSIM | Speedup | ||
| Correlated Gaussian | |||||||||
| FM | Standard | 4.1 0.0 | 23.58 0.01 | 39.6 0.0 | 0.99 0.00 | 1.00 0.00 | 0.58 0.00 | – | – |
| Latent | 2.9 0.0 | 2.27 0.01 | 6.8 3.6 | 0.45 0.05 | 0.83 0.05 | 0.51 0.00 | – | ||
| DM | Standard | 3.6 0.0 | 16.31 0.05 | 39.6 0.0 | 0.97 0.00 | 1.00 0.00 | 0.61 0.01 | – | – |
| Latent | 3.0 0.0 | 2.26 0.00 | 7.5 3.5 | 0.44 0.05 | 0.82 0.05 | 0.51 0.00 | – | ||
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Case study | Parameter dimension | Condition dimension | Simulation budget |
|---|---|---|---|
| Correlated Gaussian | |||
| Fashion-MNIST deblurring | |||
| Gaussian random fields | |||
| Map to satellite |
| Study | Space | Subnet widths | Autoencoder (enc. / dec. filters code) | Summary |
|---|---|---|---|---|
| Fashion-MNIST / | target | UNet [68, 140], 2 stages | — | Identity |
| random fields ( ) | latent | UNet [64], 1 stage | [32,64,128,128] / [128,128,64,32] (2:1, 64:1 spatial) | ResNet |
| Correlated Gaussian | target | MLP [186, 186] | — | Identity |
| ( , ) | latent | MLP [139, 139] | MLP [128,128] / [128,128] (130:1) | Identity |
| Map satellite | target | UNet [32,64,128,256,256], 5 stages | — | Identity |
| ( ) | latent | UNet [140,280], 2 stages | [32,64,128,256] / [256,128,64,32] (96:1, 256:1 spatial) | ResNet |
| Target-space | Latent | Budget | ||||
|---|---|---|---|---|---|---|
| Study | total | AE (frozen) | Summ. | Gen. | Latent total | (h) |
| Fashion-MNIST | 2,763,426 | 1,479,215 | 811,362 | 566,164 | 2,856,741 | 6 |
| Random fields | 2,764,038 | 1,479,215 | 811,684 | 566,164 | 2,857,063 | 6 |
| Corr. Gaussian | 944,635 | 840,458 | 0 | 105,566 | 946,024 | 0.25 |
| Map sat. | 15,424,368 | 3,242,856 | 959,598 | 11,157,865 | 15,360,319 | 36 |
| correlated Gaussian | deblurring | random fields | |
| (bound) | |||
| (bound) | |||
| per code dimension | |||
| held-out MSE, | – |
| Targets | NRMSE | CRPS | Cal. err. | Cov 50 | Cov 90 | ||
|---|---|---|---|---|---|---|---|
| FM | Standard | 0.052 0.000 | 0.0186 0.0001 | 0.061 0.020 | 0.58 0.05 | 0.92 0.01 | |
| Latent | 0.061 0.000 | 0.0243 0.0002 | 0.062 0.003 | 0.57 0.01 | 0.86 0.01 | ||
| DM | Standard | 0.055 0.000 | 0.0196 0.0002 | 0.056 0.005 | 0.54 0.04 | 0.89 0.01 | |
| Latent | 0.060 0.000 | 0.0240 0.0001 | 0.063 0.001 | 0.54 0.01 | 0.85 0.01 | ||
| FM | Standard | 0.044 0.000 | 0.0151 0.0001 | 0.090 0.012 | 0.43 0.06 | 0.84 0.02 | |
| Latent | 0.048 0.000 | 0.0178 0.0001 | 0.041 0.002 | 0.50 0.01 | 0.85 0.01 |