All models

VQ_BeT

VQ-BeT predicts robot actions as residual vector-quantized codes with a GPT-like transformer.

Reinforcement learning and control · 305 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (4 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
4.2M
Operations
305
Framework
PyTorch
Recurrent
No
Published
ICML 2024 (PMLR 235)
Cited by
7 (as of 23 October 2026)
Authors
Seungjae Lee, Yibin Wang, Haritheja Etukuru and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3313
Graph hash
ef1373b0af9538b868c2e36664434617ffaa0eb8e08976b2b87a98737e6c6d6e
Skeleton hash
b517efb816f3ac7517b69063b270982bf49fae4f3acec557ba6954496f5e4aef
Architecture hash
175b41e4a624fb648eaec1f5899f16dab02606614c419a8a0f43a19b5c5e82a7
Diagram SHA-256
a4dab3c4a26753d506d4bfdf253aa18ebb5a9497a61972636e9cd2cffe457288
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

VQ-BeT, the Vector-Quantized Behavior Transformer, is a model for behavior generation that handles multimodal action prediction, conditional generation and partial observations. It follows Behavior Transformers (BeT), which discretize actions with k-means clustering to capture different modes. The paper argues that k-means struggles to scale to high-dimensional action spaces or long sequences and lacks gradient information.

VQ-BeT instead learns its action discretizer with a Residual VQ-VAE. The primary codes perform coarse clustering over a large range of the data set, while the secondary codes handle fine-grained actions. Once the quantizer is trained, a GPT-like transformer models the probability distribution of actions or action chunks from the sequence of observations. An additional offset head adjusts the centers of the discretized actions to maintain full fidelity.

The model generates an action or action chunk in a single forward pass. The paper reports improvements over BeT and Diffusion Policies across seven environments, including simulated manipulation, autonomous driving and robotics. It also reports inference 5x faster than Diffusion Policies. In the official code, the total possible number of modes is calculated as vqvae_n_embed raised to the power vqvae_groups.

Key idea. VQ-BeT augments the Behavior Transformer by tokenizing continuous actions with a hierarchical vector quantization module in place of k-means clustering.

  • VQ-BeT
  • Vector-Quantized Behavior Transformer
  • behavior generation
  • behavior cloning
  • latent actions
  • residual vector quantization
  • action tokenization
  • multimodal action prediction
  • robot policy learning

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{lee2024behaviorgenerationlatentactions,
      title={Behavior Generation with Latent Actions}, 
      author={Seungjae Lee and Yibin Wang and Haritheja Etukuru and H. Jin Kim and Nur Muhammad Mahi Shafiullah and Lerrel Pinto},
      year={2024},
      eprint={2403.03181},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2403.03181}, 
}