NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Predictable Reinforcement Learning Dynamics through Entropy Rate Minimization

Daniel Jarne Ornia, Giannis Delimpaltadakis, Jens Kober, Javier Alonso-Mora

Abstract

In Reinforcement Learning (RL), agents have no incentive to exhibit predictable trajectories, and are often pushed (through e.g. policy entropy regularisation) to randomise their actions in favor of exploration. This lack of predictability awareness often makes it challenging for other agents and humans to predict an agent's trajectories, possibly triggering unsafe scenarios (e.g. in human-robot interaction). We propose a novel method to induce predictable trajectories in RL agents, termed Predictability-Aware RL (PARL), employing the agent's trajectory entropy rate to quantify predictability. Our method maximizes a linear combination of a standard discounted reward and the negative entropy rate, thus trading off optimality with predictability. We show how the entropy rate can be formally cast as an average reward, how entropy-rate value functions can be estimated from a learned model and incorporate this in policy-gradient algorithms, and demonstrate how this approach produces predictable (near-optimal) policies in tasks inspired by human-robot use-cases.

Introduction

Standard Reinforcement Learning (RL) algorithms focus primarily on maximizing cumulative rewards. To encourage exploration, many modern frameworks—such as Soft Actor-Critic (SAC)—incorporate "Maximum Entropy" objectives that explicitly push agents toward stochasticity. While effective in simulation, this inherent randomness creates a significant hurdle for real-world deployment, particularly in shared spaces. If a robot’s path through a crowded room or an autonomous car’s lane-changing behavior is erratic, humans and other agents cannot coordinate effectively. This lack of "predictability awareness" can lead to unsafe scenarios or the "frozen robot" problem, where observers hesitate because they cannot anticipate the agent's next move. This research introduces a formal mathematical framework to make RL agents "legible" to observers by minimizing trajectory entropy.

Methodology: Predictability-Aware RL (PARL)

The core of the proposed method is the use of the Entropy Rate—the infinite-horizon time-average entropy of an agent's trajectories—as a metric for predictability. A lower entropy rate implies that the agent's future states are easier to guess given its past states.

Conceptual overview of PARL: The method shifts the agent from a high-variance, unpredictable policy ($\pi^*$) to a more consistent, predictable policy ($\pi_*$) by minimizing trajectory entropy.

Key Technical Contributions

  • The PARL Objective: The framework maximizes a linear combination of standard rewards and the negative entropy rate. This allows for a tunable trade-off between task performance and behavioral consistency.
  • Surrogate Entropy: Optimizing the true entropy rate is computationally difficult because it depends on the policy's own randomness. The authors introduce a policy-independent "surrogate entropy" $s(x, u)$ based on the environment's transition dynamics. They prove that a deterministic policy minimizing this surrogate also minimizes the true entropy rate.
  • Algorithmic Integration: The method is implemented via two variants: PAPPO (Predictability-Aware Proximal Policy Optimization) for on-policy learning and PASAC (Predictability-Aware Soft Actor-Critic) for off-policy learning.
  • Model-Based Estimation: Since environment transition probabilities are typically unknown, the agent learns a world model ($P_\phi$) to estimate the local entropy of its actions.

Experimental Evaluation

The authors evaluated PARL across several simulated environments to test its ability to produce consistent behaviors:

  1. MuJoCo Benchmarks: In continuous control tasks like Walker2d and Ant, PARL agents produced tightly clustered, nearly identical paths across different episodes, whereas standard PPO agents exhibited a wide "cloud" of scattered trajectories.
  2. Highway-env: In autonomous driving scenarios, PARL agents converged to constant, high speeds. While standard agents might fluctuate speed to optimize for time, the PARL agent recognized that a constant velocity is significantly easier for other drivers to predict.
  3. Custom Minigrid Tasks: In a "Slippery Navigation" grid-world, the agent learned to avoid regions that caused stochastic movement. In a "Turning Off Obstacles" task, the agent proactively hit a switch to disable moving obstacles, sacrificing a small reward to make its own path more deterministic.

Key Results and Insights

  • Predictability as a Cost: By treating unpredictability as a cost (local entropy), the agent perceives "noisy" parts of the environment as undesirable, even if they offer high rewards.
  • Quantitative Gains: In the Highway environment, PARL achieved an entropy rate of -1.51, compared to -0.88 for standard PPO. This increased predictability often came with only a marginal decay in total reward.
  • Graceful Trade-offs: Increasing the trade-off parameter $k$ (prioritizing predictability) typically led to a controlled reduction in reward while significantly slashing the entropy rate, demonstrating that robots can be made safer without becoming ineffective.

Conclusion and Future Work

PARL provides a robust framework for inducing legible behavior in RL agents. However, the method currently relies on learning an accurate transition model, which can be challenging in high-dimensional spaces. Future work will explore extending this framework to Partially Observable Markov Decision Processes (POMDPs), where agents must maintain predictability despite having limited information about their environment.

Summary updated

BibTeX
@article{ornia2025predictable,
  author = {Daniel Jarne Ornia and Giannis Delimpaltadakis and Jens Kober and Javier Alonso-Mora},
  title = {{Predictable Reinforcement Learning Dynamics through Entropy Rate Minimization}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=DDUsc1lD27},
}
Figure