arXiv:2610.28203cs.LGOct 2026

Manuscript Offprint

arXiv:2610.28203

JAXbounce: A Continuous-Control Pong-Like Benchmark for Active Inference Beyond Low Dimensional Environments

Chaitanya Kaul, Markus Klar, Sebastian Stein, Fraser C. Paterson, John H. Williamson, Roderick Murray-Smith

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Chaitanya Kaul 1^{1}(✉) [0000−0003−4893−6222][0000-0003-4893-6222], Markus Klar 1^{1}[0000-0003-2445-152X], Sebastian Stein 1^{1}[0000-0003-1828-4008], Fraser C. Paterson 1^{1}[0009-0003-4392-7092], John H. Williamson 1^{1}[0000-0001-8085-7853], and Roderick Murray-Smith 1^{1}(✉) [0000−0003−4228−7962][0000-0003-4228-7962]

University of Glasgow, Glasgow, Scotland, UK

Chaitanya.Kaul@glasgow.ac.uk

Abstract. We introduce JAXbounce, a continuous control pong-like benchmark designed to evaluate active inference beyond discrete, low dimensional environments. JAXbounce combines continuous states and stochastic dynamics in discrete time with flexible and composable observation models that allow representing the environment as a state vector or a pixel grid, corruptible through the rich family of noise models we provide. It is fully differentiable and parallelisable in JAX. We run over 10,000 agent simulations on our environment comparing a baseline deterministic solution, to a state-based active inference agent with Unscented Kalman Filter perception and expected free energy planning, and a pixel based agent whose measurement model is a pretrained neural network encoder. All agents are evaluated across three scenarios of increasing difficulty with eight different noise conditions. Our experiments characterise how performance of continuous state agents scales with planning, planning horizons, observation modalities and knowledge of the noise process, exhibiting preference-oriented behaviour even in the presence of increasing uncertainty. We release JAXbounce as a reproducible benchmark for continuous control active inference research.

Keywords: Benchmark Environment · Flexible Observations · Continuous Control · Expected Free Energy · Active Inference.

1 Introduction

Active inference combines perception, planning and action into a single unified objective of minimising the expected free energy of candidate sequences of future actions over a finite planning horizon [13]. The promise of active inference is a single normative objective from which perception, planning, and action follow jointly, and in which exploration is not explicitly added, but is a structural consequence of minimising the expected free energy. An agent's preferences enter the framework as priors over observations rather than an externally specified reward, and information-seeking behaviour arises directly from

C. Kaul et al.

the epistemic component of the planning objective [3]. Empirically, these agents are implemented as partially observable Markov Decision Processes (POMDP) acting on low dimensional discrete environments with discrete observation and action spaces [2][16][5]. Continuous space formulations exist but are run on very low dimensional proof of concept environments [17][19]. With recent interest in continuous control research [11][10], there is a need for a robust, fully differentiable environment which provides a flexible benchmark to evaluate these agents.

We introduce JAXbounce, a pong-like benchmark environment, to address this gap. Previous research has demonstrated that cultural neurons grown in a dish learn intentional behaviour in the absence of rewards through playing pong [8]. Learning to play (Atari) pong has also previously been demonstrated by neural networks and deep reinforcement learning [12][15]. In the context of active inference, playing pong-like games by minimising the expected free energy has been recently studied by simulating in vitro cell cultures [4][9][14]. The environments the agents were tested on however were discrete state and primarily low dimensional 5×65 \times 6 and 8×48 \times 4 grids that do not truly demonstrate their true performance. Existing continuous-control benchmarks [18] are well suited for evaluating reinforcement learning algorithms, but do not directly test several properties central to active inference, including uncertainty-aware planning, preference-based behaviour, epistemic exploration, flexible observation models, and scalable belief-state inference. There is currently a research gap in continuous state active inference primarily due to the lack of a unifying benchmark to assess its performance. Towards this, JAXbounce provides continuous states, stochastic dynamics and is fully differentiable and parallelisable in JAX. It contains a rich family of noise models to test continuous state agents while providing the flexibility of tuning the underlying dynamics of the system to evaluate an agent's planning under increasing uncertainty. We evaluate JAXbounce on a series of benchmarks of increasing difficulty. Our contributions are summarised below,

– JAXbounce. We provide a continuous control benchmark for active inference which includes a pong-like environment, as well as a continuous active inference formulation of the game capable of probabilistically inferring an agent's actions from a falling ball's trajectory.

– Evaluation. We evaluate our benchmark on various noise conditions, plans, planning horizons and across different scenarios simulating different ball trajectories. We also analyse the ability of the agent to cope with known system dynamics through minimising its epistemic uncertainty of the environment. In total, we evaluate over 10,000 agents providing a truly robust baseline.

– Open Source. We release JAXbounce along with our benchmarks to the community. Code available at https://github.com/drckaul/JAXBounce.