Composable Action-Conditioned Predictors: Flexible Off-Policy Learning for Robot Navigation

Gregory Kahn, Adam Villaflor, Pieter Abbeel, Sergey Levine

Abstract

A general-purpose intelligent robot must be able to learn autonomously and accomplish multiple tasks to be deployed in the real world. However, standard reinforcement learning (RL) typically requires predefined, scalar reward functions and learns task-specific policies, leading to inflexibility and significant reward engineering efforts. This paper introduces Composable Action-Conditioned Predictors (CAPs), a flexible framework for robot navigation. CAPs move away from the one-policy-per-task paradigm by learning various "event cues" from off-policy data. These cues can be composed at test time to solve novel tasks without retraining. We demonstrate that CAPs enables zero-shot task switching and superior generalization in both simulated and real-world environments.

Introduction

Standard Reinforcement Learning (RL) presents two major hurdles for real-world robotics: inflexibility and the difficulty of reward engineering. When a task changes—for instance, from high-speed driving to precise lane keeping—standard agents often require retraining from scratch. Furthermore, defining a scalar reward function that captures complex real-world behavior is notoriously difficult.

Presented at CoRL 2018, this work by Gregory Kahn and colleagues at UC Berkeley proposes a shift toward learning from any gathered data (off-policy) and "composing" that knowledge to handle user-specified objectives at runtime.

Methods: Composable Action-Conditioned Predictors

The core of this approach is the CAPs model, a multi-objective predictive engine. Unlike standard models that predict future states based solely on the current state, CAPs is conditioned on a sequence of planned future actions.

The CAPs network architecture, which processes image sequences and planned actions to predict a vector of future event cues.

Action-Conditioned Prediction

The model takes the current state and a sequence of planned future actions as input, predicting a vector of "event cues" (e.g., collisions, lane positions, or speed) over a future horizon.

"Backing Up" Cues

The system leverages automated detectors, such as computer vision models for segmentation, to label historical data. CAPs then learns to "back up" these labels in time. This allows the model to learn relationships like: "If I take these steering actions now, what is the probability of encountering a door in 10 frames?"

Control via MPC

At test time, the user defines a reward function as a linear combination of these predicted cues. The robot employs Model Predictive Control (MPC) with the Cross Entropy Method (CEM) to sample possible action sequences, predict their outcomes via CAPs, and select the sequence that maximizes the current reward.

Experimental Evaluation

The authors evaluated CAPs in three distinct environments:

  1. Simulated Forest: Used for path-following and collision avoidance testing.
  2. Simulated City (CARLA): A high-fidelity environment where the model was trained on 800,000 data points to predict collisions, speed, and lane positions.
  3. Real-World Indoor Navigation: An RC car navigating Cory Hall at UC Berkeley, trained on 11 hours of autonomous exploration data.

Key Results and Insights

CAPs demonstrates significant advantages in generalization and efficiency. In the simulated forest, CAPs achieved a 75% success rate on novel sinusoidal paths, whereas goal-conditioned Q-learning (GC-DQL) failed completely. Furthermore, tuning the weights of the CAPs reward function for a new task took only two hours, compared to over 12 hours required for retraining a standard RL baseline.

Comparison of navigation performance in the CARLA simulator between GC-DQL baselines and CAPs.

In the CARLA simulator, CAPs reached target goals 67% of the time. Baselines struggled with the multi-objective requirements of speed, lane keeping, and collision avoidance, often failing to reach the goal entirely. In real-world tests, the RC car successfully navigated a 75m loop. By simply adjusting reward weights at test time, the car could be made to "seek doors," increasing door visits by 17% without additional training.

Conclusion

CAPs provides a scalable way to turn static vision-based detectors into dynamic, action-oriented foresight tools. While currently limited by its predictive horizon and reliance on detector accuracy, it offers a path toward more flexible and efficient robot learning. Future work will explore extending the planning horizon and handling uncertainty in event cue labels.

Summary updated

BibTeX
@inproceedings{kahn2018composable,
  author = {Gregory Kahn and Adam Villaflor and Pieter Abbeel and Sergey Levine},
  title = {{Composable Action-Conditioned Predictors: Flexible Off-Policy Learning for Robot Navigation}},
  booktitle = {Conference on Robot Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=Cs32KFkbGfd},
}
Figure