Introduction
Most reinforcement learning (RL) models operate under the assumption that the world moves in discrete "ticks." Standard model-based RL (MBRL) relies on discrete-time transitions, taking a state $s_t$ and an action $a_t$ to predict the next state $s_{t+1}$. While this paradigm is highly effective for environments like video games, it struggles to accurately model physical systems—such as robotics or biological processes—which are inherently continuous.
The authors identify three major limitations in current discrete-time methods:
- Discretization Errors: Approximating continuous physics with fixed time steps (e.g., using the Euler method) leads to cumulative errors. Achieving high accuracy requires infinitesimally small steps, which exponentially increases computational costs.
- Irregular Sampling: Real-world sensors rarely provide data at perfect, uniform intervals. Discrete models struggle to reconcile varying time gaps using a single transition function.
- The Vanishing Q-Function: In continuous time, the standard Q-function (which evaluates state-action pairs) becomes mathematically ill-defined and "vanishes," making traditional actor-critic methods like DDPG or SAC difficult to apply directly.
Methodology
To address these challenges, the researchers propose a novel MBRL framework that leverages Bayesian Neural Ordinary Differential Equations (ODEs) to learn system dynamics, paired with a new continuous-time actor-critic algorithm.
Dynamics Learning with Bayesian Neural ODEs
Instead of learning a discrete step mapping $s_{t+1} = f(s_t, a_t)$, the proposed model learns the derivative: $\dot{s}(t) = f(s(t), a(t))$. The authors employ Ensemble Neural ODEs (ENODE) to handle epistemic uncertainty. By utilizing an ensemble of models, the system captures a distribution of possible trajectories, which is crucial for stable control. Learning the rate of change makes the model "time-agnostic," allowing it to seamlessly handle data arriving at any frequency.
Continuous-Time Actor-Critic
Because traditional Q-functions are problematic in continuous settings, the authors developed an algorithm that operates entirely in continuous time:
- The Critic: Learns a state-value function $V(s)$ by regressing on a recursive integral. It evaluates the reward over a horizon $H$, plus the discounted value of the state at the end of that horizon. To stabilize learning and reduce gradient variance, the authors "marginalize" (average) over various horizon lengths $H$.
- The Actor: Maximizes this value function by backpropagating directly through the ODE solver.
- Action Interpolation: To provide the ODE solver with a continuous control signal, the system uses kernel interpolation between discrete action points.
Experimental Setup and Key Results
The researchers evaluated their method on three classic control benchmarks: Pendulum, CartPole, and Acrobot. Crucially, because standard versions of these environments (like those in OpenAI Gym) use hidden discrete-time solvers, the authors implemented a new ODE-RL suite. This suite uses high-precision, numerically stable solvers to simulate "true" continuous physics, testing the models under regular sampling, irregular sampling (uniform/exponential distributions), and noisy observations.
Key Findings
- Robustness to Sampling and Noise: When the time between observations ($\Delta t$) becomes very small or irregular, traditional discrete models (like PETS) often break down. The ENODE model remained stable and maintained high accuracy. Furthermore, while noise in discrete MBRL directly corrupts transition inputs, the continuous framework treats noise as an observation error, allowing the underlying ODE to remain smooth.
- Sample Efficiency: The proposed continuous-time method solved the CartPole and Acrobot tasks in significantly fewer rounds of real-world interaction compared to Deep PILCO, a well-known sample-efficient baseline.
- Trajectory Accuracy: Continuous-time trajectories generated by the model almost perfectly matched the "true" physics of the environment, whereas discrete trajectories diverged significantly as the simulations progressed.
Limitations and Future Work
While the continuous-time MBRL framework offers significant advantages for physical systems, it comes with certain limitations. First, the current framework assumes the reward function is differentiable, which is common but not universal in RL tasks. Second, backpropagating through an ODE solver (even when using efficient "adjoint methods") is more computationally intensive than a standard neural network forward pass, requiring more wall-clock time per iteration. Finally, while the method is highly successful on classic control tasks, scaling it to high-dimensional state spaces—such as humanoid robotics or pixel-based inputs—remains an open challenge for future research.
Summary updated