Self-Supervised Deep Reinforcement Learning with Generalized Computation Graphs for Robot Navigation

Gregory Kahn, Adam Villaflor, Bosen Ding, Pieter Abbeel, Sergey Levine · DOI

Abstract

Autonomous robot navigation in complex, unstructured environments remains a significant challenge in robotics. Traditional geometric mapping often struggles with dynamic or sensor-confusing obstacles, while standard reinforcement learning (RL) typically requires prohibitive amounts of data. This paper introduces the Generalized Computation Graph (GCG), a unified framework that bridges the gap between model-free and model-based RL. By utilizing a self-supervised objective focused on predicting discrete collision events rather than abstract reward values, the proposed system enables a real-world RC car to learn complex indoor navigation from scratch in just four hours of autonomous driving. Our results demonstrate that GCG significantly outperforms standard RL baselines, achieving stable, high-performance navigation in challenging real-world settings.

Introduction

Developing robots that can navigate "messy" indoor environments—characterized by glass walls, varying lighting, and tight corridors—is a long-standing goal. Current approaches generally fall into two categories: classical geometric mapping and reinforcement learning. Classical methods build explicit maps and localize the robot within them, but these systems are computationally intensive and prone to failure when sensors encounter non-diffuse surfaces like glass.

Reinforcement learning offers an alternative by allowing robots to learn directly from experience. However, model-free RL (e.g., Q-learning) is notoriously sample-inefficient, often requiring millions of interactions. Conversely, model-based RL, which attempts to predict future states, struggles to scale when dealing with high-dimensional raw camera inputs. The challenge lies in creating a system that is sample-efficient, stable, and capable of operating using only a simple monocular camera.

Methodology

The Generalized Computation Graph (GCG)

The core contribution of this work is the Generalized Computation Graph (GCG). The GCG is a flexible framework that can be configured to act as a model-free system, a model-based system, or a hybrid of both. By adjusting the "model horizon" ($H$) and "label horizon" ($N$), the GCG interpolates between standard Q-learning (short horizon, high reliance on bootstrapping) and model-based planning (long horizon, predicting actual future outcomes).

Architecture and Policy Extraction

The implementation utilizes a Deep Recurrent Neural Network (RNN) architecture. The model processes the four most recent camera images through a series of convolutional layers to extract spatial features. These features are then fed into a Multiplicative Integration LSTM unit, which takes a sequence of future actions as input to predict a sequence of future outcomes—specifically, the probability of a collision.

The neural network architecture of the GCG, featuring convolutional layers for image processing and a Multiplicative Integration LSTM for action-conditioned outcome prediction.

To navigate, the robot employs a "random shooting" policy. It samples multiple potential action sequences and passes them through the GCG. The system evaluates these sequences to identify the one with the lowest predicted collision probability, executing the first action of that sequence before repeating the process.

Self-Supervised Learning

A key advantage of this approach is its reliance on self-supervision. Collision labels are generated automatically using the robot's onboard sensors, such as the IMU and wheel encoders. This removes the need for human labeling, allowing the robot to learn continuously and autonomously from its own failures.

Experimental Evaluation

Environments

The system was evaluated in both simulation and the real world. The simulation environment, built with Panda3D and Bullet physics, provided a controlled setting for initial testing. The real-world evaluation took place on the 5th floor of Cory Hall at UC Berkeley, an environment featuring tight turns and glass walls that are notoriously difficult for traditional LIDAR-based systems.

The experimental RC car platform navigating the challenging indoor environment of Cory Hall at UC Berkeley.

Performance and Stability

After only four hours of fully autonomous training, the RC car successfully learned to navigate the complex hallways. Quantitatively, the GCG approach traveled 17 times farther than a random policy and 7 times farther than a standard Double Q-learning baseline trained on the same dataset. The best-learned policy achieved a continuous trajectory of 197 meters—nearly two full loops of the floor—before a failure occurred.

Key Insights

  • Events over Values: Predicting discrete events (collisions) proved more stable and sample-efficient than predicting continuous reward values. Using a cross-entropy classification loss for collisions outperformed standard regression techniques.
  • Mitigating Bootstrap Bias: In RL, bootstrapping (using current estimates to update future ones) can introduce significant bias. The authors found that a longer model horizon ($H$) reduces this bias, leading to more stable learning trajectories.
  • Domain Knowledge: While the system is trained end-to-end, the decision to predict collision probabilities rather than raw pixels is a strategic use of domain knowledge that simplifies the learning task without sacrificing the benefits of deep learning.

Conclusion and Future Work

The GCG framework demonstrates that self-supervised, event-based prediction is a powerful tool for robot navigation. While the current system successfully manages steering at a fixed speed, future iterations could involve learning to modulate speed for more complex maneuvers. Additionally, incorporating high-level goals and more sophisticated exploration strategies remains a promising avenue for future research. Despite these limitations, the ability to learn robust navigation in just four hours marks a significant step toward truly autonomous, self-improving robotic systems.

Summary updated

BibTeX
@misc{kahn2017self,
  author = {Gregory Kahn and Adam Villaflor and Bosen Ding and Pieter Abbeel and Sergey Levine},
  title = {{Self-Supervised Deep Reinforcement Learning with Generalized Computation Graphs for Robot Navigation}},
  year = {2017},
  eprint = {1709.10489},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.10489},
}
Figure