[Paper Review] Behavior Generation with Latent Actions
This paper introduces Vector-Quantized Behavior Transformer (VQ-BeT), a novel approach that uses hierarchical vector quantization to discretize continuous, multimodal action spaces, enabling efficient and accurate long-horizon behavior generation via transformers. VQ-BeT achieves state-of-the-art performance across seven environments, improving multimodal behavior capture and accelerating inference by 5× over diffusion-based methods.
Generative modeling of complex behaviors from labeled datasets has been a longstanding problem in decision making. Unlike language or image generation, decision making requires modeling actions - continuous-valued vectors that are multimodal in their distribution, potentially drawn from uncurated sources, where generation errors can compound in sequential prediction. A recent class of models called Behavior Transformers (BeT) addresses this by discretizing actions using k-means clustering to capture different modes. However, k-means struggles to scale for high-dimensional action spaces or long sequences, and lacks gradient information, and thus BeT suffers in modeling long-range actions. In this work, we present Vector-Quantized Behavior Transformer (VQ-BeT), a versatile model for behavior generation that handles multimodal action prediction, conditional generation, and partial observations. VQ-BeT augments BeT by tokenizing continuous actions with a hierarchical vector quantization module. Across seven environments including simulated manipulation, autonomous driving, and robotics, VQ-BeT improves on state-of-the-art models such as BeT and Diffusion Policies. Importantly, we demonstrate VQ-BeT's improved ability to capture behavior modes while accelerating inference speed 5x over Diffusion Policies. Videos and code can be found https://sjlee.cc/vq-bet
Motivation & Objective
- To address the challenge of modeling long-horizon, multimodal, and high-dimensional continuous actions in decision-making systems.
- To overcome the limitations of k-means-based action discretization in Behavior Transformers (BeT), such as poor scalability and lack of gradient information.
- To enable efficient, high-fidelity generation of diverse behaviors in both conditional and unconditional settings across diverse environments.
- To accelerate inference speed while maintaining or improving performance over diffusion-based and behavior cloning models.
- To enable robust, closed-loop deployment on real-world robots with noisy control by using a single-pass generation mechanism.
Proposed method
- VQ-BeT employs a hierarchical vector quantization (VQ) module to tokenize continuous action vectors into discrete latent codes, enabling discrete sequence modeling.
- The model uses a transformer-based decoder to predict action tokens conditioned on observations, allowing modeling of long-range temporal dependencies.
- The VQ module learns a shared, disentangled codebook for action representations, improving generalization and multimodal behavior capture.
- The framework supports both unconditional and conditional generation by conditioning the transformer on goal states or observations.
- The model is trained end-to-end using a cross-entropy loss on the discrete action tokens, enabling differentiable optimization.
- Inference is single-pass, avoiding iterative refinement used in diffusion models, which enables 5× faster inference on simulation and 25× on real robots.

Experimental results
Research questions
- RQ1Can vector quantization improve the scalability and expressiveness of action space modeling in behavior generation compared to k-means clustering?
- RQ2Does a discrete, VQ-based action representation enable better capture of multimodal behavior distributions in long-horizon tasks?
- RQ3Can a single-pass transformer-based model outperform multi-pass diffusion-based models in inference speed while maintaining or improving sample quality?
- RQ4How well does VQ-BeT generalize across diverse environments, including simulated manipulation, autonomous driving, and real-world robotics?
- RQ5Can VQ-BeT maintain performance under real-world control noise and enable robust closed-loop execution?
Key findings
- VQ-BeT achieves state-of-the-art performance on 5 out of 7 environments in unconditional behavior generation, outperforming BC, BeT, and Diffusion Policies.
- In conditional behavior generation, VQ-BeT improves upon GCBC, C-BeT, and BESO in 6 out of 7 environments, demonstrating strong generalization to goal-conditioned tasks.
- On the nuScenes autonomous driving benchmark, VQ-BeT matches and is comparable to task-specific SOTA methods, showing strong transferability.
- VQ-BeT achieves a 5× speedup in simulation and 25× speedup on real-world robots compared to diffusion-based models, due to its single-pass inference.
- On long-horizon robotic manipulation tasks, VQ-BeT improves success rates by 73% over prior work, indicating better robustness and generalization.
- Qualitative analysis shows VQ-BeT generates smooth, diverse trajectories covering multiple behavior modes, while diffusion models and BeT show mode collapse or less diversity.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.