arXiv:2610.05692cs.ROOct 2026

Manuscript Offprint

arXiv:2610.05692

Benchmarking Generative Trajectory Models for Active-Inference Control

Yulin Li, Mohsen A. Jafari, Andrea Matta

Yulin Li 1^{1}[0009-0001-0135-4332], Mohsen A. Jafari 1^{1}[0000-0003-4776-0632], and Andrea Matta 2^{2}[0000-0003-3902-2007]

1^{1} Rutgers University–New Brunswick, Piscataway NJ 08854, USA

2^{2} Politecnico di Milano, Via La Masa 1, 20156 Milano, Italy

Abstract. Learning from trajectory demonstrations offers a route to active-inference control of complex systems whose dynamics are difficult to model explicitly. We introduce generative active-inference control (GenAIF), in which one generative trajectory model learns from demonstrations and measured action interventions to supply a goal-conditioned policy distribution and a state-to-observation likelihood mapping. From this control design, we derive three model requirements: (i) useful action proposals, (ii) accurate prediction under imposed actions, and (iii) probabilistic observation evidence for belief updating and expected information gain. We benchmark diffusion, autoregressive Transformers, conditional variational autoencoders (CVAEs), and flow matching in a MuJoCo manipulation task with multiple physical conditions. Diffusion delivers the strongest control across the tested dynamics, while CVAE combines comparable short-horizon prediction with much faster inference. Correct conditioning is decisive, and trajectory reuse offers further computational savings. With the same frozen models, a hidden-dynamics experiment demonstrates prompt belief adaptation after an unannounced tilt change; subsequent instability identifies sustained inference as a remaining challenge. These findings support the use of shared generative trajectory models to connect action proposal, controlled prediction, and observation evidence within GenAIF.

Keywords: Active inference · Generative trajectory models · Capability benchmark · Belief adaptation

1 Introduction

People learn how to act by trying, observing, and adjusting. Watching someone learn a movement can help us adapt to the same unfamiliar physical dynamics [1]. Active Inference (AIF) offers an elegant account of how organisms bring perception and action together: an internal generative model connects hidden causes to sensory observations, and perception updates beliefs by minimizing variational free energy (VFE), an upper bound on sensory surprise [2,3]. Action selection looks ahead through expected free energy (EFE), combining preferences

Code: https://github.com/lyeeonardo/generative-trajectory-benchmark

Y. Li et al.

for useful, safe outcomes with the information that an action is expected to reveal [5,6].

Our goal is a general framework that learns how a complex system behaves and how to control it from trajectory demonstrations. It should accommodate prior knowledge of system structure and hidden dynamics when available, and eventually learn their structure, form, and range when such knowledge is limited or absent.

Realizing this goal is computationally demanding: the controller must predict uncertain consequences while searching continuous action sequences [7,8]. Learned proposals can concentrate a finite EFE-evaluation budget on useful futures. We first explored this route in autonomous parking, combining diffusion-generated strategies with AIF evaluation and observation-driven adjustment [21]. Although the approach generalized to new parking settings, its design was tailored to that task. This experience led us to ask how much of the active-inference loop a single learned trajectory model could support.

Can a single learned generative trajectory model provide both a proposal distribution over policies and action-conditioned predictions of future observations sufficient for belief updating and expected-free-energy evaluation in active inference?

We propose generative active-inference control (GenAIF) around this shared model of action-observation trajectories. The same learned parameters support candidate generation and prediction under supplied actions; predictive evidence then supports belief updates about hidden operating conditions. The controller uses these operations to alternate between observing, updating its belief, and selecting actions according to task preferences and expected information gain. We learn the model offline from demonstrations supplemented with measured action interventions. At this stage, the hidden variables and their possible values are specified.

This design leaves a concrete model-selection problem. Which capabilities must a trajectory generator provide, and which generative families can provide them together at a useful computational cost? We identify three requirements: actionable trajectory proposals, accurate prediction of observations under externally imposed actions, and predictive evidence that can distinguish hidden conditions using actual observations. A plausible generated trajectory does not by itself establish the latter two capabilities. These requirements give us a way to test our framework's learned component and offer other researchers practical criteria for combining AIF with generative trajectory models.

We design two groups of experiments in a custom MuJoCo ball-pushing environment to evaluate diffusion, autoregressive Transformers, conditional VAEs, and flow matching. The first benchmarks the required model capabilities and computational cost across different physical conditions. The second uses the same trained models to track a hidden dynamics change from replayed actions and observations, testing whether their predictive evidence remains reliable over time. At the tested settings, diffusion gives the strongest direct control, while CVAE provides similar short-horizon position prediction at lower cost. Reuse reduces computation with model-dependent effects on control. All four models initially identify the dynamics change but fail to sustain confidence; belief-guided action selection remains open.

The contributions of this paper are as follows: (1) we propose GenAIF, in which a single model learned from trajectory demonstrations supplies a goal-conditioned policy distribution and a state-to-observation likelihood mapping; (2) we develop a MuJoCo environment and benchmark to evaluate the capabilities required of this shared model; and (3) we compare four generative model families in performance and computational cost, and demonstrate belief updating under changing hidden dynamics through a replay-based experiment.