Towards Control-Centric Representations in Reinforcement Learning from Images

Chen Liu, Hongyu Zang, Xin Li, Yong Heng, Yifei Wang, Zhen Fang, Yisen Wang, Mingzhong Wang · DOI

In the quest to build intelligent agents capable of navigating the real world, visual Reinforcement Learning (RL) serves as a cornerstone. However, teaching an agent to perform complex tasks based solely on high-dimensional pixel data is notoriously difficult. Images are often saturated with "exogenous noise"—information that is visually complex but irrelevant to the task, such as a flickering television in the background of a room where an agent must locate a key.

A new framework called ReBis (latent REconstruction with BISimulation measurement) addresses this challenge by combining the mathematical elegance of bisimulation with the predictive power of Transformers and masked reconstruction. ReBis effectively filters out visual distractions to focus on the "steering wheel" of the environment.

The ReBis Framework

ReBis is designed to extract only the information necessary for control while ignoring irrelevant visual details. The architecture consists of three primary components that work in tandem to create a robust representation space.

The ReBis architecture: Combining Siamese encoders, Transformer-based dynamics, and dual-objective learning for control-centric representations.
  1. Siamese Encoders with Block-wise Masking: The system utilizes an Online and a Momentum encoder. It applies random "cube masking" to input video sequences, forcing the model to learn the underlying structure of the scene to infer missing information.
  2. Transformer-based Dynamics: Unlike traditional methods that rely on simple Gaussian distributions, ReBis employs a Transformer architecture to model environment dynamics. Transformers are uniquely suited for capturing long-range dependencies and handling complex, non-linear transitions.
  3. Dual-Objective Learning: The model optimizes two losses simultaneously:
  4. Behavioral Loss: Based on the bisimulation principle, this ensures that states with similar control implications are mapped closely together in the latent space.
  5. Asymmetric Latent Reconstruction Loss: The Transformer predicts the unmasked latent features of the original image from the masked input. By performing this reconstruction in the latent space rather than the pixel space, the model avoids the trap of modeling unnecessary visual noise.

Addressing the Sparse Reward Trap

Standard bisimulation-based methods often suffer from "feature collapse" in environments with sparse rewards. If an agent receives no reward for a long sequence of actions, bisimulation objectives may conclude that all states are identical.

ReBis provides a mathematical safety net through its reconstruction task. The authors demonstrate that even when rewards are zero, the latent reconstruction objective ensures the agent continues to learn meaningful features about the world's structure. This prevents the representation from collapsing and allows the agent to maintain a useful model of the environment until rewards are eventually encountered.

Experimental Evaluation and Robustness

The researchers evaluated ReBis across several challenging benchmarks, including Atari-100k and the DeepMind Control Suite (DMControl). In the Atari-100k benchmark, which limits the agent to only 100,000 interaction steps, ReBis achieved a state-of-the-art Interquartile Mean (IQM) score of 0.501, outperforming top-tier baselines like SPR and MLR.

Example of DMControl with natural video distractions, used to test the robustness of ReBis against exogenous noise.

To test robustness against extreme visual noise, the team used a modified version of DMControl where backgrounds were replaced with high-energy natural videos from the Kinetics dataset. ReBis remained remarkably stable in these settings. Heatmap visualizations (Grad-CAM) confirmed that the model's attention stayed locked on the agent and the goal, whereas competing models were frequently distracted by the background video.

Conclusion

ReBis represents a significant step toward control-centric representation learning. By reconstructing features in the latent space and leveraging Transformer dynamics, it avoids the "pixel-perfect" trap of traditional autoencoders while solving the collapse issues of pure bisimulation. While the Transformer architecture introduces higher computational complexity, the resulting sample efficiency and robustness to noise make it a powerful tool for visual RL. Future work may explore the application of ReBis in Offline RL, where encoders can be pre-trained on large, reward-free datasets to provide a head-start for complex control tasks.

Summary updated

BibTeX
@misc{liu2023towards,
  author = {Chen Liu and Hongyu Zang and Xin Li and Yong Heng and Yifei Wang and Zhen Fang and Yisen Wang and Mingzhong Wang},
  title = {{Towards Control-Centric Representations in Reinforcement Learning from Images}},
  year = {2023},
  eprint = {2310.16655},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.16655},
}
Figure