Combining Reconstruction and Contrastive Methods for Multimodal Representations in RL
Philipp Becker, Sebastian Mossburger, Fabian Otto, Gerhard Neumann
TL;DR
CoRAL addresses the challenge of learning robust multimodal state representations for reinforcement learning by combining reconstruction-based and contrastive losses across sensor modalities within a recurrent state-space model. It introduces two instantiations, Variational CoRAL and Predictive CoRAL, that swap reconstruction terms for mutual-information terms using the InfoNCE bound, enabling modality-specific loss selection (e.g., reconstruction for proprioception and contrastive for images). The framework is validated on diverse suites with distractions and occlusions (Video Backgrounds, Occlusions), a Locomotion suite, and a ManiSkill2-based Manipulation suite, showing significant improvements over single-loss or naive fusion baselines, especially for model-based RL under challenging visual conditions. Overall, CoRAL demonstrates that careful modality-aware loss design in state-space representations can markedly improve both sample efficiency and task performance in multimodal RL, with practical implications for sensor fusion in real-world robotics and vision-based control.
Abstract
Learning self-supervised representations using reconstruction or contrastive losses improves performance and sample complexity of image-based and multimodal reinforcement learning (RL). Here, different self-supervised loss functions have distinct advantages and limitations depending on the information density of the underlying sensor modality. Reconstruction provides strong learning signals but is susceptible to distractions and spurious information. While contrastive approaches can ignore those, they may fail to capture all relevant details and can lead to representation collapse. For multimodal RL, this suggests that different modalities should be treated differently based on the amount of distractions in the signal. We propose Contrastive Reconstructive Aggregated representation Learning (CoRAL), a unified framework enabling us to choose the most appropriate self-supervised loss for each sensor modality and allowing the representation to better focus on relevant aspects. We evaluate CoRAL's benefits on a wide range of tasks with images containing distractions or occlusions, a new locomotion suite, and a challenging manipulation suite with visually realistic distractions. Our results show that learning a multimodal representation by combining contrastive and reconstruction-based losses can significantly improve performance and solve tasks that are out of reach for more naive representation learning approaches and other recent baselines.
