Decoupling feature extraction from policy learning: assessing benefits of state representation learning in goal based robotics

Antonin Raffin, Ashley Hill, Kalifou René Traoré, Timothée Lesort, Natalia Díaz Rodríguez, David FilliatarXiv 2019

Introduction

Reinforcement learning (RL) has shown great promise in robotics, yet training agents directly from high-dimensional visual inputs remains a significant challenge. This paper, presented at the ICLR 2019 workshop on "Structure & Priors in Reinforcement Learning," investigates the benefits of decoupling feature extraction from policy learning. By employing State Representation Learning (SRL) to extract low-dimensional, task-relevant states before policy training, researchers can achieve higher sample efficiency and greater stability compared to traditional end-to-end approaches.

The Challenge of End-to-End Learning

Training robots using end-to-end RL—where a neural network maps raw camera pixels directly to motor commands—is often inefficient and unstable. These "black box" models require millions of trials, are highly sensitive to hyperparameter tuning, and lack interpretability. In robotics, however, the critical information is often known: the relative positions of the robot and its target. SRL aims to bridge this gap by learning to extract these essential features from raw observations without manual engineering.

Methodology: SRL Objectives and Splits

The authors evaluate several standard SRL objectives designed to capture different aspects of the environment:

  • Auto-encoders: Focus on visual saliency by learning to reconstruct the input image.
  • Inverse Dynamics: Capture controllable elements by predicting the action taken between consecutive frames.
  • Reward Prediction: Focus on task-specific goals by predicting the reward associated with a state.
Architecture of SRL objectives, illustrating how states are derived from images to predict actions, rewards, and reconstructions.

A key contribution of this work is the "SRL Splits" architecture. Unlike standard approaches that mix multiple losses into a single shared embedding, SRL Splits "stack" different representations. By partitioning the state vector and optimizing each part for a specific objective (e.g., one for reconstruction and another for inverse dynamics), the model avoids "conflicting gradients." This leads to more stable, disentangled representations where robot and target positions are naturally separated.

Experimental Setup

The study utilizes the S-RL Toolbox, featuring five environments of increasing complexity to test the robustness of the learned representations.

The S-RL Toolbox environments, including mobile navigation (1D and 2D), a multi-jointed robotic arm, and simulated/real-world Omnibot tasks.

These environments range from simple 1D navigation to 3D robotic arm manipulation and real-world hardware tests with the Omnibot. This variety allows for a comprehensive assessment of how well SRL methods generalize across different physical constraints and visual complexities.

Key Results and Insights

The experiments yielded several significant findings:

  • Sample Efficiency: In 2D navigation, SRL Splits reached peak performance much faster than end-to-end learning from pixels.
  • Performance Gains: In the "Pseudo-Real Omnibot" task, SRL Splits achieved a mean reward of 237.8, significantly outperforming the 185.2 achieved by raw pixel learning.
  • Sim-to-Real Stability: Policies trained with SRL (particularly SRL Splits and Auto-encoders) generalized better to real-world hardware, maintaining stability despite visual noise that caused raw-pixel policies to fail.
  • Interpretability: Using Ground Truth Correlation (GTC), the authors confirmed that learned features correlate strongly with real-world coordinates, providing a window into the model's internal state.

Conclusion

Decoupling state representation from policy learning offers a practical path forward for robotic RL. While SRL requires an initial data collection phase, the resulting policies are more robust to hyperparameter changes and generalize better to the real world. The "SRL Splits" method, in particular, demonstrates that structured, stacked representations can effectively disentangle complex environmental features, making them highly suitable for real-world engineering applications.

Summary updated

BibTeX
@misc{raffin2019decoupling,
  author = {Antonin Raffin and Ashley Hill and Kalifou René Traoré and Timothée Lesort and Natalia Díaz Rodríguez and David Filliat},
  title = {{Decoupling feature extraction from policy learning: assessing benefits of state representation learning in goal based robotics}},
  year = {2019},
  eprint = {1901.08651},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.08651},
}
Figure