Coarse-to-Fine Q-attention: Efficient Learning for Visual Robotic Manipulation via Discretisation

Stephen James, Kentaro Wada, Tristan Laidlow, Andrew DavisonOpenReview 2021

Introduction

Training robots for complex 6D manipulation tasks, such as folding towels or extracting objects from cluttered environments, typically presents a trade-off between massive data requirements for Reinforcement Learning (RL) and the need for high-quality expert demonstrations in Imitation Learning. Standard RL in continuous action spaces often employs actor-critic methods, which are notoriously unstable and data-hungry, particularly when rewards are sparse.

While discretizing the action space can improve stability, high-resolution 3D workspace discretization leads to a "curse of dimensionality." Coarse-to-Fine Attention-driven Robotic Manipulation (C2F-ARM) addresses this by replacing unstable continuous methods with a stable, recursive discrete Q-learning approach. By "zooming" into a 3D voxelized scene, the system achieves state-of-the-art sample efficiency, learning complex tasks from scratch in minutes.

Methodology: Coarse-to-Fine Q-attention

The core innovation of C2F-ARM is the discretization of the translation space without the associated memory explosion. The process follows these steps:

  1. Voxelization: RGB-D images from multiple cameras are converted into a unified 3D voxel grid.
  2. Recursive Zooming: Instead of evaluating a single high-resolution grid, the system uses a sequence of grids. A 3D Q-attention network identifies the most relevant voxel in a coarse grid. The system then "zooms in" to create a higher-resolution grid centered on that voxel.
  3. Discrete Q-Learning: By treating the task as a series of discrete voxel selections, the authors utilize standard Deep Q-Learning, which offers significantly greater stability than continuous actor-critic methods.
  4. Action Prediction: Rotation and gripper states are predicted via a separate MLP branch at the final resolution level. A motion planner then calculates the joint trajectories to reach the determined 6D pose.
The C2F-ARM architecture: Observations from multiple cameras are voxelized, and a Q-attention network recursively zooms into the scene to identify precise 3D coordinates.

Experimental Evaluation

The system was evaluated on two primary fronts:

  • RLBench: A large-scale benchmark where the authors tested 8 standard tasks (e.g., stack_wine) and 4 multi-camera fusion tasks (e.g., unplug_charger).
  • Real-World Deployment: Using a Franka Emika Panda robot, the system learned five tasks from scratch, including taking a lid off a saucepan and folding a towel.

Key Results and Discussion

C2F-ARM demonstrates remarkable sample efficiency. It successfully learned tasks using only 10 demonstrations, whereas baselines like SAC+AE and DrQ failed to match this performance even with 100 demonstrations. In real-world settings, the robot learned to remove a saucepan lid in just 6 minutes and fold a towel in 24 minutes, training "tabula rasa."

Performance comparison on RLBench tasks. C2F-ARM (blue) significantly outperforms standard reinforcement learning baselines in both sample efficiency and final success rate.

The move from continuous to discrete actions is the primary driver of this stability, preventing the "collapse" often seen in image-based actor-critic training. Furthermore, the voxel representation allows for seamless integration of multi-camera data, which is traditionally difficult with 2D image-based architectures.

Limitations and Future Directions

Despite its success, C2F-ARM has areas for improvement. The current model relies on raw RGB and point cloud data; voxelizing features from a pre-trained 2D CNN might enhance performance at coarse resolutions. Additionally, the system's initial resolution is currently constrained to a fixed workspace (like a tabletop), which limits its immediate application to mobile manipulation in larger environments. Future work may also explore adding a residual continuous layer for sub-voxel precision and improving reactivity in dynamic environments where motion planning may be too slow.

Summary updated

BibTeX
@misc{james2021coarse,
  author = {Stephen James and Kentaro Wada and Tristan Laidlow and Andrew Davison},
  title = {{Coarse-to-Fine Q-attention: Efficient Learning for Visual Robotic Manipulation via Discretisation}},
  year = {2021},
  eprint = {2106.12534},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.12534},
}
Figure