cs.LGNov 16, 2026

Conditional Diffusion Models for Amortized Bayesian System Identification

Authors: Mike Hänseroth, Niklas Wahlström, Thomas B. Schön, Thomas Seel, Jan-Hendrik Ewering

Organizations: Institute of Mechatronic Systems, Leibniz University Hannover, Germany · Dep. of Information Technology, Uppsala University, Sweden · L3S Research Center, Leibniz University Hannover, Germany

Abstract

Generative diffusion models rapidly solve Bayesian inverse problems, such as image restoration and inpainting, with a single trained model and without retraining for each new observation or task. Bayesian system identification, which typically involves inferring the hidden states and parameters of a dynamical system from measurements, poses a closely related inverse problem. Yet it is often addressed with computationally heavy Monte Carlo methods that must be rerun for every new measurement record. Moreover, these methods are restricted to a single inference task, and their cost grows with the state dimension and the record length. To alleviate these restrictions, we interpret Bayesian system identification in hiddem Markov models (HMMs) as a general Bayesian inverse problem, taking advantage of conditional diffusion models. Specifically, a transformer-based diffusion model is trained once on short segments of simulated trajectories to approximate the joint posterior of states and parameters. Through an attention mask induced by the Markov property and a relative time encoding, it can then be deployed on any new measurement record of custom length. At inference time, the same model can flexibly and rapidly be conditioned for joint state and parameter inference, state smoothing, parameter inference, or reconstructing missing measurements, without retraining. We demonstrate these capabilities on four benchmark systems and examine how the length of the training segments affects state and parameter inference. On records five times longer than the training segments, the model maintains its state accuracy, whereas comparison methods either show a more than tenfold error increase or require ten times as much sampling time.

Figures & tables

Explore similar work

CardsList
  1. Diffusion-Driven State Space Models

    Jun 19, 2026Jack Ruder, Michael WojnowiczLatent Dynamics ModelingLatent Diffusion Models

  2. Target Parameterization in Diffusion Models for Nonlinear Spatiotemporal System Identification

    Apr 19, 2026Achraf El Messaoudi, Noureddine Khaous, Karim CherifiNonlinear System IdentificationSpatiotemporal Forecasting

  3. Deep Bayesian Filtering for Nonlinear Structural System Identification: A Tutorial on Structural and Physical Inductive Biases

    Oct 27, 2026Wei Liu, Konstantinos Vlachas, Eleni ChatziSystem IdentificationNonlinear System Identification