Scalable Diffusion SBI for Compositional Inference under Simulator Misspecification
Organizations: University of California, Irvine
Abstract
Simulation-based inference is challenging when many heterogeneous observations must be composed, hierarchical latent structure must be preserved, and the simulator is misspecified relative to observed data. We develop sampling and fine-tuning methods for diffusion-based inference in design-conditional settings, where the same simulator is queried across different experimental conditions . We extend compositional score-based inference with a continuous-time diffusion coefficient that accounts for the number of observations, avoiding Jacobian and auxiliary-covariance corrections. We introduce Hierarchical Blockwise Diffusion Sampling (HBDS), which infers shared parameters and group-specific latent states using a single pretrained model, with the hierarchy specified only at sampling time. Together, these methods support variable observation sets and groupings without retraining. To address misspecification, we introduce path-regularized fine-tuning that adapts the learned likelihood to observations and transfers corrections to posterior inference. Using Girsanov's theorem, we quantify path divergence between pretrained and fine-tuned models across experimental designs and interpret it alongside predictive errors to distinguish candidate misspecification correction from unnecessary adaptation. We evaluate compositional sampling on exact-score Gaussian and Simple Likelihood, Complex Posterior benchmarks, HBDS with analytic and learned scores on a controlled hierarchical model, and fine-tuning and localization on a separate analytic model with known design-dependent discrepancy. Finally, we apply the framework to 940 measurements across four cell lines in a mechanistic Bone Morphogenetic Protein signaling model, where fine-tuning improves posterior-predictive accuracy relative to the pretrained model and shifts posterior marginals toward the least-squares reference while retaining spread.
Figures & tables
| Gaussian ( , ) | SLCP ( ) | |||
| Method | max-sW | sW | MMD | C2ST |
| GAUSS | ||||
| JAC | ||||
| Langevin | ||||
| F-NPSE | ||||
| F-NPSE-SDE ( ) | ||||
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| SBI symbol | BMP meaning | Dimension |
|---|---|---|
| Experimental design: ligand doses | ||
| Shared affinities and efficiencies | ||
| Cell-line receptor state | ||
| Observation: steady-state SMAD response |
| RMSE | Median | RMSE | Median | RMSE | Median | RMSE | Median | |
|---|---|---|---|---|---|---|---|---|
| 0.29 | 12.16 | 0.36 | 12.96 | 0.36 | 12.97 | 0.36 | 12.97 | |
| 0.30 | 28.15 | 0.32 | 89.55 | 0.32 | 90.63 | 0.32 | 90.87 | |
| 0.28 | 14.30 | 0.34 | 14.89 | 0.33 | 14.62 | 0.34 | 14.94 | |
| 0.34 | 29.97 | 0.36 | 41.20 | 0.36 | 41.36 | 0.36 | 41.86 | |
| 0.33 | 45.26 | 0.40 | 93.51 | 0.42 | 94.78 | 0.41 | 99.30 | |
| Method | Feedback | Update mechanism | Sampler gradients | Learned auxiliaries | Reference regularization |
|---|---|---|---|---|---|
| DPOK ( Fan et al., 2023 ) | Policy gradient | – | Optional value baseline | Discrete path KL | |
| DDPO ( Black et al., 2024 ) | Policy gradient | – | – | No explicit PT KL | |
| ReFL ( Xu et al., 2023 ) | Intermediate clean-prediction gradient | 1 selected step | – | Pretraining denoising loss | |
| AlignProp ( Prabhudesai et al., 2023 ) | Randomly truncated rollout backpropagation | Random trailing steps | – | No explicit PT KL | |
| DRaFT- ( Clark et al., 2024 ) | Truncated rollout backpropagation | Last steps | – | LoRA weight decay (implementation) | |
| ELEGANT ( Uehara et al., 2024b ) | SOC objective via rollout gradients | Full | Initial-time value function and initial-law sampler | Drift-control cost and initial-law KL |
| Method | Observations | LSR fits | RMSE | Median distance | -C2ST |
|---|---|---|---|---|---|
| FMCPE-LSR | 235 | 1,204 | |||
| FMCPE-LSR | 235 | 2,408 | |||
| FMCPE-LSR | 235 | 3,612 | |||
| FMCPE-LSR | 235 | 4,816 | |||
| FMCPE-LSR | 470 | 1,204 | |||
| FMCPE-LSR | 470 | 2,408 |
| Metric | PT | FT | Improvement (PT/FT) |
|---|---|---|---|
| Posterior | |||
| Posterior mean error | |||
| Correct-region likelihood RMSE | |||
| Misspecified-region likelihood RMSE |
| Error improves | Error does not improve | |
|---|---|---|
| Small | Adequate simulator or mild correction | Under-correction |
| Large | Corrected misspecification | Over-correction or forgetting |
Simulation-Based Inference
Simulation-based inference estimates parameters and uncertainty from simulators when evaluating a tractable likelihood is difficult or impossible.
See all 87 papers