Introduction
Teaching robots to perform complex tasks through imitation learning, specifically Behavior Cloning, remains a significant challenge due to the inherent multi-modality of human demonstrations. Existing approaches often face a trade-off between expressivity and computational efficiency. For instance, models like the Behavior Transformer (BeT) rely on k-means clustering for action discretization, which scales poorly and lacks gradient information. Conversely, Diffusion Policies offer high expressivity but suffer from slow inference speeds due to iterative denoising, making them less suitable for real-time, dynamic robotics applications.
Methodology: VQ-BeT
To address these limitations, the authors propose VQ-BeT (Vector-Quantized Behavior Transformer). This model leverages Residual Vector Quantization (RVQ) to tokenize continuous actions into a hierarchical latent space.
The architecture consists of several key components:
- Hierarchical Tokenization: Instead of a flat codebook, RVQ uses a hierarchy where a primary codebook captures high-level movement and secondary codebooks capture fine-grained residuals.
- Transformer Backbone: A GPT-style transformer (MinGPT) predicts these discrete tokens based on past observations. This allows the model to represent multi-modal behaviors as distinct branches in a probability distribution.
- Continuous Offsets: To maintain precision, the model predicts a continuous offset alongside the discrete tokens, ensuring smooth movements.
- Single-Pass Inference: VQ-BeT generates actions in a single forward pass, significantly reducing latency compared to diffusion-based methods.
- Focal Loss: The training process employs Focal Loss to emphasize infrequent but critical action tokens, preventing mode collapse.
Evaluation and Datasets
VQ-BeT was evaluated across a massive suite of benchmarks to test its robustness and versatility:
- Simulated Environments: PushT (2D manipulation), Franka Kitchen (7D robotics), Multimodal Ant (locomotion), and various BlockPush tasks.
- Autonomous Driving: Trajectory prediction on the nuScenes dataset.
- Real-World Robotics: Multi-step kitchen tasks using a Hello Robot Stretch, including long-horizon sequences like "Open Drawer → Pick and Place Box → Close Drawer."
Key Results
VQ-BeT demonstrates a superior balance of performance and efficiency. It matches or exceeds state-of-the-art models in most simulated environments while being substantially faster.
Quantitatively, VQ-BeT is 5x faster than Diffusion Policies in simulation and up to 25x faster on real-world hardware (18ms vs 573ms per action). In long-horizon real-world tasks, it achieved a success rate 3x higher than Diffusion Policies, which tended to drift over time. Qualitatively, the model successfully captures multi-modality, as seen in the PushT rollouts and varied task completion orders in the kitchen environment.
Conclusion and Future Work
VQ-BeT establishes a new frontier for real-time robot behavior generation by combining the expressivity of generative models with the efficiency of discrete tokenization. While action chunking and certain autoregressive code prediction schemes showed mixed results in simulation, the overall framework proves highly robust. Future research will explore cross-embodiment learning, utilizing the learned latent action space to transfer behaviors across different robotic platforms.
Summary updated