Rollout Total Correlation for Deep Reinforcement Learning

Bang You, Huaping Liu, Jan Peters, Oleg ArenzTMLR 2025

Abstract

Learning task-relevant representations is crucial for reinforcement learning. Recent approaches aim to learn such representations by improving the temporal consistency in the observed transitions. However, they only consider individual transitions and can fail to achieve long-term consistency. Instead, we argue that capturing aspects of the state that correlate with other states and actions of the trajectory—even more distant in the future—could further help in extracting task-relevant information. Hence, in this paper we investigate how to learn representations by maximizing the rollout total correlation, the correlation among all learned representations and actions within the trajectories produced by the agent. For improving rollout total correlation, we propose to combine two complementary lower bounds based on a generative and a discriminative model, combined with a simple and effective technique of chunk-wise mini-batching. Furthermore, we propose an intrinsic reward based on the learned representation for better exploration. Experimental evaluations on a set of challenging image-based simulated control tasks show that our method achieves better sample efficiency, and robustness to both white noise and natural video backgrounds compared to leading baselines.

Introduction

In Deep Reinforcement Learning (RL), agents often learn directly from high-dimensional images. A significant challenge is that these images contain substantial "junk" information—such as flickering lights, changing backgrounds, or sensor noise—that is irrelevant to the actual task.

Most current methods address this by enforcing "temporal consistency," where the representation of a current state helps predict the next. However, these methods are often "short-sighted," focusing only on individual transitions ($s_t \to s_{t+1}$). This makes them prone to failure in environments with long-term dependencies or heavy visual distractors. The authors propose Rollout Total Correlation (ROTOC) to bridge this gap by maximizing the dependencies across an entire sequence of actions and states, forcing the agent to extract features that remain consistent and predictable over the long term.

Methodology

The core of the proposed method is the Rollout Total Correlation (ROTOC) objective. Total Correlation is an information-theoretic measure of the total dependencies among a set of random variables. By maximizing this across a trajectory, the model naturally filters out distractors that do not correlate with the agent's actions over time.

Graphical model of the rollout total correlation objective.

To make this objective tractable, the authors introduce several key components:

  • Dual Lower Bounds: They combine a Generative Bound (using a KL-divergence loss) to train a latent transition model and a Discriminative Bound (using an InfoNCE loss) to help the model distinguish actual future states from "fake" ones sampled from other trajectories.
  • Chunk-wise Mini-batching: Instead of sampling individual transitions, they sample "chunks" of consecutive steps. This biases the optimization toward finding features that are consistent over time, effectively smoothing the gradient signals.
  • Intrinsic Reward: The error from the discriminative bound is used as an exploration bonus, encouraging the agent to explore areas where task-relevant features are difficult to predict.

Experimental Setup

The authors evaluated ROTOC on the DeepMind Control Suite (Mujoco), focusing on six challenging image-based tasks: Ball-in-cup Catch, Cartpole Swingup, Reacher Easy, Walker Walk, and Cheetah Run.

Evaluation environments across three settings: Standard (top), Noisy (middle), and Natural Video (bottom) backgrounds.

To test robustness, they utilized three distinct environmental settings:

  1. Standard: The default, clean simulated environment.
  2. Noisy: Backgrounds filled with pixel-wise Gaussian white noise.
  3. Natural Video: The most difficult setting, where the background is replaced with dynamic, real-world videos from the Kinetics dataset (e.g., cars driving, people dancing).

Key Results and Insights

ROTOC outperformed leading baselines like Proto-RL, Plan2Explore, and DB across several metrics:

  • Sample Efficiency: In standard tasks, ROTOC reached higher rewards faster than baselines in 5 out of 6 environments.
  • Robustness to Distractors: In the "Natural Video" setting, most baselines saw performance crater, while ROTOC maintained high performance. For example, in Walker Walk with natural backgrounds, ROTOC achieved a score of ~886 vs. ~714 for the next best baseline.
  • Long-term Predictability: The authors found that training on chunks ($L \ge 2$) significantly improved the model's ability to predict states multiple steps into the future, which strongly correlates with better RL performance.

Conclusion

ROTOC demonstrates that capturing long-term temporal dependencies is a powerful way to learn task-relevant representations in noisy environments. While the current implementation uses approximations for Total Correlation, it provides a robust framework for image-based RL. Future work may involve moving toward explicit multi-step prediction objectives and integrating these learned models into "imagination-based" planning frameworks to further increase efficiency.

Summary updated

BibTeX
@article{you2025rollout,
  author = {Bang You and Huaping Liu and Jan Peters and Oleg Arenz},
  title = {{Rollout Total Correlation for Deep Reinforcement Learning}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=qTdRJAL8Li},
}
Figure