Reinforcement Learning from Multiple Sensors via Joint Representations

Philipp Becker, Sebastian Markgraf, Fabian Otto, Gerhard Neumann · OpenReview

Abstract

Combining inputs from multiple sensor modalities effectively in reinforcement learning (RL) is an open problem. While many self-supervised representation learning approaches exist to improve performance and sample complexity for image-based RL, they usually neglect other available information, such as robot proprioception. However, using this proprioception for representation learning can help algorithms to focus on relevant aspects and guide them toward finding better representations. In this work, we systematically analyze representation learning for RL from multiple sensors by building on Recurrent State Space Models. We propose a combination of reconstruction-based and contrastive losses, which allows us to choose the most appropriate method for each sensor modality. We demonstrate the benefits of joint representations, particularly with distinct loss functions for each modality, for model-free and model-based RL on complex tasks. Those include tasks where the images contain distractions or occlusions and a new locomotion suite. We show that combining reconstruction-based and contrastive losses for joint representation learning improves performance significantly compared to a post hoc combination of image representations and proprioception and can also improve the quality of learned models for model-based RL.

Introduction

Modern robotic agents often rely on a variety of sensors, most notably egocentric vision and proprioception (internal sensing of joint positions and velocities). To effectively utilize this high-dimensional and heterogeneous data, Reinforcement Learning (RL) agents must learn a compressed "representation" of the environment. Historically, two main paradigms have dominated representation learning: reconstruction-based methods, which attempt to regenerate the input data, and contrastive methods, which learn to distinguish between different states.

However, treating all sensors with the same loss function is often suboptimal. Reconstruction provides a dense signal but is easily derailed by visual noise or irrelevant background details. Contrastive learning is robust to such distractions but can lose the fine-grained physical details necessary for precise control. This paper introduces CoRAL (Contrastive Reconstructive Aggregated representation Learning), a framework designed to leverage the strengths of both approaches by assigning specific losses to specific sensor modalities.

Methodology: The CoRAL Framework

CoRAL builds upon Recurrent State Space Models (RSSMs) to create a unified latent state from multiple sensor streams. The key innovation is the ability to "mix and match" self-supervised losses based on the characteristics of the sensor data.

The CoRAL architecture integrates egocentric vision and proprioception into a joint state space representation using a combination of reconstruction and contrastive losses.

The framework proposes two primary variants:

  • V-CoRAL (Variational): This variant focuses on the current state representation, making it highly effective at filtering out instantaneous visual distractions.
  • P-CoRAL (Predictive): This variant emphasizes predicting future states, which is crucial for tasks requiring temporal memory, such as when objects are temporarily occluded.

By applying contrastive losses to high-dimensional, noisy image data and reconstruction losses to low-dimensional, precise proprioceptive data, CoRAL learns a latent space that is both robust and physically grounded.

Key Insights and Results

A central finding of the study is that information density dictates the optimal loss function. Proprioceptive sensors, which are low-dimensional but highly relevant, benefit most from reconstruction. In contrast, image feeds in cluttered environments are better handled by contrastive methods that ignore irrelevant background pixels.

Visualizations showing how V-CoRAL filters out background distractions (left) and how P-CoRAL maintains accurate state estimation compared to image-only baselines (right).

Quantitatively, CoRAL significantly outperformed baselines that used the same loss for all sensors or simply concatenated features. In the ManiSkill2 manipulation suite, CoRAL achieved a success rate of approximately 68%, nearly doubling the performance of naive approaches. Furthermore, V-CoRAL demonstrated remarkable resilience to "natural video" backgrounds, maintaining performance in scenarios where standard reconstruction-based agents (like Dreamer-v2) failed.

Conclusion

CoRAL demonstrates that the path to effective multimodal RL lies in specialized representation learning. By acknowledging the different roles of vision and proprioception, the framework provides a robust foundation for agents operating in complex, noisy environments. Future work may explore automated methods for selecting the optimal loss for new sensor types and further bridging the performance gap between model-free and model-based agents in contrastive latent spaces.

Summary updated

BibTeX
@inproceedings{becker2024reinforcement,
  author = {Philipp Becker and Sebastian Markgraf and Fabian Otto and Gerhard Neumann},
  title = {{Reinforcement Learning from Multiple Sensors via Joint Representations}},
  booktitle = {ARLET @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=WU3fhJw4Jv},
}
Figure