Abstract
Simplicity is a critical inductive bias for designing data-driven controllers, especially when robustness is important. Despite the impressive results of deep reinforcement learning in complex control tasks, it is prone to capturing intricate and spurious correlations between observations and actions, leading to failure under slight perturbations to the environment. To tackle this problem, in this work we introduce a novel inductive bias towards simple policies in reinforcement learning. The simplicity inductive bias is introduced by minimizing the entropy of entire action trajectories, corresponding to the number of bits required to describe information in action trajectories after the agent observes state trajectories. Our reinforcement learning agent, Trajectory Entropy Reinforcement Learning, is optimized to minimize the trajectory entropy while maximizing rewards. We show that the trajectory entropy can be effectively estimated by learning a variational parameterized action prediction model, and use the prediction model to construct an information-regularized reward function. Furthermore, we construct a practical algorithm that enables the joint optimization of models, including the policy and the prediction model. Experimental evaluations on several high-dimensional locomotion tasks show that our learned policies produce more cyclical and consistent action trajectories, and achieve superior performance, and robustness to noise and dynamic changes than the state-of-the-art.
Introduction
Deep Reinforcement Learning (RL) has demonstrated remarkable success in solving complex control tasks within simulated environments. However, a significant hurdle remains for real-world deployment: the brittleness of learned policies. Standard RL algorithms often overfit to their training environments, learning "jittery" or overly complex policies that rely on spurious correlations. These policies frequently fail when faced with minor perturbations, such as sensor noise or changes in physical dynamics like robot mass.
To address this, we propose that simplicity is a key inductive bias for robustness. A simple policy—one that exhibits consistent, predictable behaviors like a rhythmic walking gait—is inherently more resilient than one requiring erratic, high-frequency adjustments.
Trajectory Entropy Reinforcement Learning (TERL)
The core contribution of this work is Trajectory Entropy Reinforcement Learning (TERL). TERL introduces a simplicity bias by explicitly minimizing trajectory entropy. This metric represents the information content (in bits) required to describe a sequence of actions given the observed state sequence.
Since direct calculation of trajectory entropy is intractable, we employ variational inference to derive a computable upper bound. This involves training an auxiliary action prediction model that attempts to predict the agent's current action based on the previous action and current/next state representations. By augmenting the reward function with an information-regularization term, the agent is incentivized to take actions that are easily predictable by this model. This joint optimization of the policy and the prediction model naturally leads to the discovery of cyclical, temporally consistent behaviors.
Experimental Results
We evaluated TERL across six high-dimensional locomotion tasks from the DeepMind Control (DMC) Suite and the complex HumanoidBench.
Performance and Consistency
TERL consistently outperformed state-of-the-art baselines, including Soft Actor-Critic (SAC) and information-regularized methods like LZ-SAC and RPC. Notably, on the Unitree H1 humanoid walk task, TERL achieved an average score of 137, while baselines struggled to exceed 30.
Quantitatively, we verified the simplicity of TERL's policies by measuring the compressibility of their action trajectories. Using the bzip2 algorithm, we found that TERL's trajectories were significantly more compressible than those of baselines, confirming their periodic and predictable structure.
Robustness to Environmental Changes
A key strength of TERL is its resilience to environmental shifts. When the mass of simulated robots was halved, TERL maintained a high average reward (0.74), whereas baselines like RPC and LZ-SAC saw performance drop significantly (to 0.45 and 0.35, respectively). TERL also demonstrated superior robustness to both action and observation noise, maintaining stable performance where other methods degraded rapidly.
Conclusion
By incorporating a simplicity inductive bias through trajectory entropy minimization, TERL produces RL agents that are not only more performant but also significantly more robust and predictable. This predictability is particularly valuable for real-world applications like human-robot interaction. Future work will focus on automating hyperparameter tuning and exploring applications in collaborative robotics.
Summary updated