Abstract
Simulation-Based Inference (SBI) is essential for analyzing complex systems where likelihood functions are intractable. We present ConDiSim, a conditional diffusion framework that leverages Denoising Diffusion Probabilistic Models (DDPMs) and a lightweight Feature-wise Linear Modulation (FiLM) architecture. ConDiSim accurately captures multi-modal posterior distributions while significantly reducing training overhead compared to state-of-the-art transformer-based models. Our results demonstrate high accuracy across standard benchmarks and real-world biological models, alongside robust performance in the presence of high-dimensional distractor noise.
Introduction
In fields such as systems biology and epidemiology, simulators are the primary tool for modeling complex phenomena. However, performing "inverse inference"—estimating simulator parameters $\theta$ from observed data $y$—is often hindered by intractable likelihoods. Traditional statistical methods struggle with limited simulation budgets, high-dimensional observations, and the inherent multi-modality of posterior distributions where multiple parameter sets yield identical observations.
Methodology
ConDiSim addresses these challenges by adapting Conditional Denoising Diffusion Probabilistic Models (DDPMs) to the SBI task. The framework operates through a two-stage process: a forward process that incrementally adds Gaussian noise to parameters $\theta$, and a reverse process where a neural network learns to denoise these samples, conditioned on observations $y$.
Architectural Innovation: FiLM Conditioning
A key contribution of ConDiSim is the use of Feature-wise Linear Modulation (FiLM) for conditioning. Unlike simple concatenation, FiLM uses embeddings of the observation and the current diffusion timestep to dynamically scale and shift features within the network's internal blocks. This ensures the model remains "observation-aware" throughout the denoising trajectory, enhancing stability and accuracy.
Experimental Evaluation
The model was evaluated on the sbibm benchmark suite, including tasks like Two Moons and SLCP, as well as real-world problems like the Hodgkin-Huxley neuronal model and a 15-parameter Genetic Oscillator.
Accuracy and Training Efficiency
ConDiSim achieved competitive Classifier Two-Sample Test (C2ST) scores, matching or exceeding specialized flow-based methods (NPE, APT). Notably, it offers a significant speed advantage; on the Two Moons task, ConDiSim trained in approximately 2 minutes, twice as fast as the transformer-based Simformer, while maintaining superior accuracy on complex tasks like Bernoulli GLM.
Calibration and Multi-modality
Diffusion models are naturally suited for capturing disconnected modes in a posterior distribution. Furthermore, ConDiSim exhibits excellent statistical calibration. Using Simulation-Based Calibration (SBC), the authors demonstrate that the generated distributions accurately represent uncertainty, a critical requirement for scientific inference.
Discussion and Limitations
While ConDiSim excels in training speed and handling high-dimensional "distractor" noise, it inherits the inference latency typical of diffusion models due to the iterative sampling process. Future work involves exploring consistency models to enable "one-shot" sampling. Additionally, while ConDiSim handles high-dimensional observations effectively, extremely high-dimensional parameter spaces with complex dependencies remain an open challenge for the field.
Conclusion
ConDiSim provides a robust, efficient, and well-calibrated solution for Simulation-Based Inference. By combining the expressive power of diffusion models with an efficient FiLM-based conditioning mechanism, it sets a new standard for practical inverse modeling in complex scientific domains.
Summary updated