AW-Opt: Learning Robotic Skills with Imitation andReinforcement at Scale

Yao Lu, Karol Hausman, Yevgen Chebotar, Mengyuan Yan, Eric Jang, Alexander Herzog, Ted Xiao, Alex Irpan, Mohi Khansari, Dmitry Kalashnikov, Sergey Levine

Abstract

Robotic skills can be learned via imitation learning (IL) using user-provided demonstrations, or via reinforcement learning (RL) using large amounts of autonomously collected experience. Both methods have complementary strengths and weaknesses: RL can reach a high level of performance, but requires exploration, which can be very time consuming and unsafe; IL does not require exploration, but only learns skills that are as good as the provided demonstrations. Can a single method combine the strengths of both approaches? A number of prior methods have aimed to address this question, proposing a variety of techniques that integrate elements of IL and RL. However, scaling up such methods to complex robotic skills that integrate diverse offline data and generalize meaningfully to real-world scenarios still presents a major challenge. In this paper, our aim is to test the scalability of prior IL + RL algorithms and devise a system based on detailed empirical experimentation that combines existing components in the most effective and scalable way. To that end, we present a series of experiments aimed at understanding the implications of each design decision, so as to develop a combined approach that can utilize demonstrations and heterogeneous prior data to attain the best performance on a range of real-world and realistic simulated robotic problems. Our complete method, which we call AW-Opt, combines elements of advantage-weighted regression and QT-Opt, providing a unified approach for integrating demonstrations and offline data for robotic manipulation.

Introduction

In the quest to build truly capable robots, researchers typically choose between two paradigms: Imitation Learning (IL), which is safe but limited by the teacher's skill, and Reinforcement Learning (RL), which can achieve superhuman performance but requires extensive, often dangerous, exploration. AW-Opt is a hybrid framework designed to bridge this gap, offering a scalable system that utilizes a small set of human demonstrations alongside massive volumes of autonomous experience to train robots for complex, real-world manipulation tasks.

Overview of AW-Opt tasks, robot setup, and performance comparison.

Methodology

AW-Opt (Advantage-Weighted Optimizer) is built on three technical pillars designed to handle high-dimensional visual tasks and massive, potentially suboptimal datasets:

  1. Positive Sample Filtering: To prevent successful demonstrations from being "drowned out" by millions of failed autonomous trials, the Actor learns exclusively from successful episodes. The Critic uses a prioritized replay buffer where 50% of every training batch consists of successful transitions.
  2. Hybrid Actor-Critic Exploration: During data collection, the robot uses a stochastic switching strategy. 80% of the time, it uses the Critic's "lookahead" (via a Cross-Entropy Method) to pick actions, and 20% of the time it follows the Actor. This allows the robot to explore promising areas identified by the Critic before the Actor has mastered them.
  3. Improved Bellman Updates (maxQ + ActorCandidate): When calculating future state values, the system runs an optimization (CEM) to find the best possible action, specifically including the Actor’s current choice as a candidate. This tethers aggressive RL optimization to the stable foundations of the imitation-trained Actor.

Experimental Setup

The authors evaluated AW-Opt across five tasks using two robot platforms (Kuka IIWA and "Pica"). These included simulated indiscriminate and instance grasping, as well as real-world grasping from cluttered bins and a difficult "Compostable Sorting" task. Models were pre-trained on 300–1,000 human demonstrations and fine-tuned on up to 200,000 episodes of autonomous data. For real-world tasks, RL-CycleGAN was used to bridge the simulation-to-reality visual gap.

Key Results

AW-Opt proved significantly more robust than its predecessors, particularly on difficult tasks where standard methods failed.

Quantitative comparison of AW-Opt against QT-Opt and AWAC baselines across offline training and online finetuning.
  • Performance Gains: On the most difficult tasks, AW-Opt achieved success rates nearly three times higher than standard AWAC or QT-Opt.
  • Real-World Success: In the "Compostable Sorting" task, AW-Opt achieved a 48.89% success rate, while baseline QT-Opt and AWAC methods failed completely (0% success) when learning from the same data.
  • Sample Efficiency: The system reached high success rates in simulation with significantly fewer samples than QT-Opt, demonstrating that demonstrations provide a powerful "head start" when managed correctly.

Conclusion and Future Work

AW-Opt demonstrates that prioritizing successful data and utilizing a hybrid exploration strategy allows robotic learning to scale effectively. While successful with binary rewards, future work will explore extending the framework to continuous reward structures and more complex, multi-stage manipulation tasks. Moving toward systems that can fine-tune entirely in the real world without a simulator remains a key objective for the next generation of robotic learning.

Summary updated

BibTeX
@inproceedings{lu2021aw,
  author = {Yao Lu and Karol Hausman and Yevgen Chebotar and Mengyuan Yan and Eric Jang and Alexander Herzog and Ted Xiao and Alex Irpan and Mohi Khansari and Dmitry Kalashnikov and Sergey Levine},
  title = {{AW-Opt: Learning Robotic Skills with Imitation andReinforcement at Scale}},
  booktitle = {CoRL},
  year = {2021},
  url = {https://openreview.net/forum?id=xwEaXgFa0MR},
}
Figure