Self-Supervised Representations for Multi-View Reinforcement Learning

Huanhuan Yang, Dianxi Shi, Guojun Xie, Yingxuan Peng, Yi Zhang, Yantai Yang, Shaowu YangUAI 2022

Abstract

Learning policies from raw, pixel images are quite important for the real-world application of deep reinforcement learning (RL). Standard model-free RL algorithms focus on single-view settings and unify the representation learning and policy learning into an end-to-end training process. However, such a learning paradigm is sample-inefficiency and sensitive to hyper-parameters when supervised merely by the reward signals. Based on this, we present Self-Supervised Representations (S2R) for multi-view reinforcement learning, a sample-efficient representation learning method for learning features from high-dimensional images. In S2R, we introduce a representation learning framework and define a novel multi-view auxiliary objective based on the multi-view image states and Conditional Entropy Bottleneck (CEB) principle. We integrate S2R with the deep RL agent to learn robust representations that preserve task-relevant information while discarding task-irrelevant information and find optimal policies that maximize the expected return. Empirically, we demonstrate the effectiveness of S2R in the visual DeepMind Control (DMControl) suite and show its better performance on the default DMControl tasks and their variants by replacing the tasks' default background with a random image or natural video.

Introduction

Standard model-free reinforcement learning (RL) algorithms often struggle to learn directly from high-dimensional image data. Typically, these methods attempt to learn visual representations and control policies simultaneously in an end-to-end fashion using only sparse reward signals. This approach is notoriously sample-inefficient and slow to converge.

Furthermore, real-world applications such as autonomous driving frequently rely on multi-view data from various sensors. Existing representation learning methods, such as autoencoders or contrastive learning, often capture task-irrelevant information like background scenery or lighting changes. This extraneous data distracts the agent and degrades its ability to generalize. This paper introduces Self-Supervised Representations (S2R), a framework designed to explicitly filter out visual noise and retain only the features necessary for task execution.

The S2R Framework

The core of the S2R framework is the Multi-view Conditional Entropy Bottleneck (MCEB) objective, which decouples representation learning from policy training. The system operates through several key stages:

  1. Multi-view Generation: Data augmentation (e.g., random cropping) is applied to an image state to simulate multiple views.
  2. Encoding and Fusion: Views are processed through an encoder to create marginal representations, which are then fused into a single joint representation.
  3. Predictive Bottleneck: Instead of image reconstruction, the network predicts latent transitions and rewards. The MCEB objective penalizes the retention of information that does not contribute to these predictions.
Architecture of the S2R framework showing multi-view encoding, feature fusion, and the predictive bottleneck.

By applying the Information Bottleneck principle, S2R actively "forgets" task-irrelevant visual data. This mathematically enforced compression is essential for robustness against visual distractors.

Experimental Setup

The method was evaluated using the DeepMind Control (DMControl) Suite. To test robustness, the authors utilized three distinct environmental settings:

  • Default Setting: Standard DMControl environments.
  • Image Distractor Setting: Simulation backgrounds are replaced with random static images.
  • Natural Video Setting: Backgrounds are replaced with complex, moving videos from the Kinetics dataset.
Visual settings in DMControl: Default, Image Distractor, and Natural Video.

Key Results

S2R demonstrates state-of-the-art sample efficiency across the DMControl benchmark. At 100k environment steps, S2R achieved a 1.59x higher median score than CURL and a 6.69x higher score than standard Pixel SAC. Notably, S2R's pixel-based performance matched "State SAC" baselines that utilize ground-truth physical coordinates.

In the challenging Natural Video setting, S2R maintained high performance and sample efficiency, substantially outperforming robust baselines like DBC and RAD, which struggled to ignore dynamic backgrounds. This confirms that predicting future states and rewards is a superior filter for representation learning compared to traditional reconstruction methods.

Conclusion and Future Work

S2R provides a robust framework for multi-view representation learning in RL. While highly effective, the authors note that providing rigorous theoretical guarantees for sample complexity remains a challenge. Future work may involve integrating S2R with model-based RL to further improve sample efficiency or developing dedicated exploration mechanisms to handle environments with extremely sparse rewards.

Summary updated

BibTeX
@inproceedings{yang2022self,
  author = {Huanhuan Yang and Dianxi Shi and Guojun Xie and Yingxuan Peng and Yi Zhang and Yantai Yang and Shaowu Yang},
  title = {{Self-Supervised Representations for Multi-View Reinforcement Learning}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=HO_Uc8Is5g5},
}
Figure