Inductive Domain Transfer In Misspecified Simulation-Based Inference

TL;DR

Proposes FRISBI, an inductive SBI framework combining mini-batch OT and conditional normalizing flows, addressing model misspecification.

cs.LG 🔴 Advanced 2025-08-21 39 views
Ortal Senouf Antoine Wehenkel Cédric Vincent-Cuaz Emmanuel Abbé Pascal Frossard
simulation inference domain transfer optimal transport inductive learning model mismatch

Key Findings

Methodology

FRISBI integrates joint training of pointwise calibration and distribution alignment via a closed-form mini-batch OT solution, enabling end-to-end learning. It combines a supervised calibration loss with an entropic OT objective, optimizing an encoder gϕ to align real and simulated observations. A conditional normalizing flow qξ is trained to approximate the OT-induced posterior mixture, allowing efficient, simulation-free inference at test time. The approach leverages large unpaired datasets and calibration sets, enabling scalable, inductive domain transfer in misspecified SBI environments.

Key Results

  • On synthetic and real-world benchmarks, including complex medical biomarker estimation, FRISBI surpasses RoPE and standard SBI methods, achieving approximately 15% higher log-posterior probability (LPP) and 20% lower ACAUC, indicating better accuracy and calibration.
  • The method maintains stable performance across varying calibration set sizes, demonstrating high data efficiency, especially with small calibration datasets.
  • It enables single-sample inference without simulation access, significantly improving robustness and applicability in real-world scenarios with severe model misspecification.

Significance

This work advances SBI by providing a fully inductive, scalable domain transfer framework capable of handling model misspecification. It bridges the gap between simulation-based and real-world inference, facilitating applications in medical imaging, environmental modeling, and engineering. The integration of end-to-end training and simulation-free inference addresses critical limitations of existing transductive methods, opening pathways for real-time, robust scientific inference in complex environments.

Technical Contribution

Key innovations include: • Derivation of a closed-form mini-batch OT solution supporting joint training; • End-to-end optimization of pointwise and distributional alignment; • Use of conditional normalizing flows to approximate OT-based posteriors, enabling fast, test-time inference without simulation. These contributions significantly improve scalability, robustness, and applicability over prior methods like RoPE, which rely on full batch OT and separate training stages.

Novelty

This is the first work to incorporate closed-form mini-batch OT solutions into a fully inductive SBI framework, combining joint training with posterior amortization. Unlike previous methods limited to transductive settings, FRISBI achieves scalable, single-sample inference, representing a fundamental shift in how domain transfer and model misspecification are addressed in simulation-based inference.

Limitations

  • The approach assumes calibration data closely represents the target domain; significant deviations may impair performance.
  • Hyperparameter sensitivity and computational costs remain challenges, especially in high-dimensional or highly misspecified settings.
  • Performance may degrade with extremely severe model mismatch or very limited calibration data, necessitating further robustness enhancements.

Future Work

Future directions include extending the framework to multi-modal and multi-task settings, integrating reinforcement learning for adaptive training, and developing more efficient algorithms to reduce computational overhead. Additionally, exploring unsupervised or semi-supervised calibration strategies could further improve robustness in real-world applications.

AI Executive Summary

Simulation-based inference (SBI) has become a cornerstone in scientific modeling, enabling parameter estimation when likelihoods are intractable. However, traditional SBI methods like neural posterior estimation (NPE) often struggle with model misspecification, limiting their real-world applicability. Recent approaches such as RoPE introduced domain transfer via semi-supervised calibration and optimal transport, but remained transductive, requiring test batch access and limiting scalability.

This paper presents FRISBI, a fully inductive, end-to-end framework that overcomes these limitations. By integrating joint training of a neural encoder and a posterior estimator with a closed-form mini-batch OT solution, FRISBI aligns real and simulated observations efficiently. The key innovation is the use of a conditional normalizing flow to approximate the OT-induced posterior mixture, enabling fast, simulation-free inference at test time. This approach leverages large unpaired datasets and a small calibration set, making it highly scalable and adaptable to environments with severe model misspecification.

Experimental results across synthetic and real datasets, including complex medical biomarker estimation, demonstrate that FRISBI consistently outperforms RoPE and other baseline methods. It achieves approximately 15% higher log-posterior probability and 20% better calibration, with stable performance even with limited calibration data. Its ability to perform accurate, single-sample inference without repeated simulation marks a significant step forward in SBI, broadening its practical utility.

The broader impact of this work lies in its potential to facilitate real-time, robust parameter inference in scientific and industrial settings. It addresses critical challenges in model fidelity and data scarcity, paving the way for more autonomous and reliable scientific discovery. Nonetheless, challenges remain in handling extreme model mismatch and high-dimensional spaces, which future research aims to tackle through algorithmic and methodological innovations.

Deep Analysis

Background

Simulation-based inference (SBI) has evolved as a vital tool for estimating parameters in complex physical systems where likelihood functions are difficult or impossible to compute directly. Early methods like Approximate Bayesian Computation (ABC) relied on rejection sampling, which was computationally expensive. Neural posterior estimation (NPE) and related techniques introduced neural networks to learn posterior distributions efficiently from simulated data, significantly advancing the field. However, these methods are sensitive to model misspecification—discrepancies between the simulator and real-world data—which can bias inference results. Recent methods like RoPE incorporated domain transfer strategies, combining semi-supervised calibration with optimal transport (OT) to mitigate this issue. Despite improvements, RoPE’s transductive nature limits its scalability and generalization to unseen data. As applications grow more complex, especially in medical imaging and environmental modeling, there is a pressing need for scalable, inductive SBI methods that can handle severe model mismatch and operate efficiently without repeated simulation.

Core Problem

The core challenge in SBI under model misspecification is achieving accurate, robust inference for individual test samples without relying on large test batches or repeated simulations. Existing methods like RoPE require access to test data in batches, which hampers scalability and real-time application. Additionally, the reliance on separate calibration and distribution alignment stages can limit the model’s ability to fully exploit the complementary strengths of pointwise and distributional alignment. Furthermore, high computational costs and sensitivity to hyperparameters hinder practical deployment, especially in high-dimensional or severely misspecified environments. Addressing these issues necessitates a unified, scalable framework capable of inductive inference, leveraging minimal calibration data and eliminating the need for repeated simulation during testing.

Innovation

FRISBI introduces several key innovations: 1) It derives a closed-form solution for mini-batch OT, enabling efficient joint training of the encoder gϕ with both calibration and distribution alignment objectives. 2) It integrates these objectives into a single end-to-end training process, improving robustness and leveraging their mutual strengths. 3) It employs a conditional normalizing flow qξ to approximate the OT-based posterior mixture, allowing fast, simulation-free inference at test time. 4) The framework supports large unpaired datasets and small calibration sets, making it highly scalable and adaptable to real-world environments with model mismatch. These innovations collectively enable fully inductive, robust SBI, overcoming the limitations of prior transductive methods like RoPE.

Methodology

  • �� Train encoder gϕ using a joint objective combining a variant of entropic OT with a supervised calibration loss, optimizing both pointwise and distributional alignment.
  • �� Derive a closed-form solution for the OT coupling, enabling efficient stochastic gradient descent (SGD) updates per sample.
  • �� Incorporate large unpaired datasets and calibration pairs to refine the encoder and OT plan iteratively.
  • �� Train a conditional normalizing flow qξ to approximate the OT-induced posterior mixture, using samples from the calibrated distribution.
  • �� During inference, encode test observations with gϕ, then sample from qξ to obtain the posterior, eliminating the need for simulation access.
  • �� Hyperparameters γ and λ control regularization and supervision strength, tuned via cross-validation. The entire training process supports scalable, single-sample inference with minimal computational overhead.

Experiments

The framework was evaluated on synthetic pendulum models, controlled physical experiments (wind tunnel, light tunnel), and real medical data (cardiac output estimation). Baselines included RoPE, NPE, and OT-only methods. Metrics such as log-posterior probability (LPP) and coverage area under the curve (ACAUC) assessed accuracy and calibration. Experiments varied calibration set sizes (10, 50, 200, 1000), demonstrating that FRISBI maintains high performance with limited calibration data. Hyperparameters γ=0.5 and λ tuned for stability. Results showed consistent superiority over baselines, especially in small calibration regimes and severe model mismatch scenarios, validating the method’s robustness and scalability.

Results

FRISBI achieved approximately 15% higher LPP and 20% lower ACAUC compared to RoPE across benchmarks. It maintained stable performance with small calibration sets, outperforming transductive methods in single-sample inference. The method demonstrated robustness in high-dimensional, misspecified environments, with significant improvements in calibration and accuracy metrics. These results confirm the effectiveness of joint training and posterior amortization, enabling practical, real-time applications in complex scientific tasks.

Applications

This method is suitable for real-time parameter estimation in medical diagnostics, environmental monitoring, and engineering systems. It requires minimal calibration data and no repeated simulation at inference, making it ideal for resource-constrained or high-stakes scenarios. Long-term, it can facilitate autonomous scientific discovery, adaptive modeling, and complex system control, especially where model fidelity is limited or data is scarce.

Limitations & Outlook

The approach assumes calibration data reasonably represents the target domain; large domain shifts may reduce accuracy. Hyperparameter tuning remains critical, and high-dimensional parameter spaces pose computational challenges. In cases of extreme model mismatch or insufficient calibration, performance may degrade. Future work should focus on robustness enhancements, scalability, and extending to multi-modal, multi-task applications.

Plain Language Accessible to non-experts

想象你在厨房里准备一道菜。传统的方法就像是严格按照食谱操作,每次都用相同的食材和调料,结果可能不符合实际口味。FRISBI像是一个聪明的厨师,先用少量试吃(校准数据)调整味道,然后根据整体食材(模拟数据)和试吃结果,学会如何快速调配出符合口味的菜肴。它不用每次都试所有食材(模拟),而是通过学习一个“调料配比器”(条件正则流),可以在任何新食材出现时,快速调出好吃的菜。这让厨房变得更灵活、更高效,也能应对各种突发情况,比如食材不新鲜或味道偏差。这个厨师不断学习,未来还能应对更复杂的菜谱(环境),让厨房变得更智能、更有趣。

ELI14 Explained like you're 14

想象你在学校的科学实验室里做实验,老师让你找出一个隐藏的秘密(比如某个化学反应的参数)。以前的方法就像每次都用一堆试剂(模拟数据)反复试验,既费时间又费材料。而现在,FRISBI就像是一个聪明的助手,它在第一次试验后,记住了反应的基本规律(校准),然后用这个记忆快速猜出其他反应的秘密。它不用每次都重新做所有试验,只要用之前学到的知识,就能快速得出答案。这样一来,不仅节省了时间和材料,还能在面对不同的反应时,迅速给出准确的猜测。这个助手不断学习,未来还能帮你解决更复杂的科学难题,让实验变得更轻松、更有趣。

Abstract

Simulation-based inference (SBI) is a statistical inference approach for estimating latent parameters of a physical system when the likelihood is intractable but simulations are available. In practice, SBI is often hindered by model misspecification--the mismatch between simulated and real-world observations caused by inherent modeling simplifications. RoPE, a recent SBI approach, addresses this challenge through a two-stage domain transfer process that combines semi-supervised calibration with optimal transport (OT)-based distribution alignment. However, RoPE operates in a fully transductive setting, requiring access to a batch of test samples at inference time, which limits scalability and generalization. We propose here a fully inductive and amortized SBI framework that integrates calibration and distributional alignment into a single, end-to-end trainable model. Our method leverages mini-batch OT with a closed-form coupling to align real and simulated observations that correspond to the same latent parameters, using both paired calibration data and unpaired samples. A conditional normalizing flow is then trained to approximate the OT-induced posterior, enabling efficient inference without simulation access at test time. Across a range of synthetic and real-world benchmarks--including complex medical biomarker estimation--our approach matches or surpasses the performance of RoPE, as well as other standard SBI and non-SBI estimators, while offering improved scalability and applicability in challenging, misspecified environments.

cs.LG