All models

iVideoGPT

An autoregressive transformer world model that predicts video tokens and rewards from frames and actions.

Video · 1,119 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 (20 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

Task
Video
Parameters
252.6M
Operations
1,119
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2024
Cited by
10 (as of 28 October 2026)
Authors
Jialong Wu, Shaofeng Yin, Ningya Feng 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
m21641
Graph hash
1a23c675632990631086adc402a0baa38d53b300e2a6a13b8fa5ba991711317d
Skeleton hash
6f9f97fed77fd993c379a00bb3d92d98e9abdfdb05c859c213c5630009162881
Architecture hash
dce80bbbec3fffe1b2d2b5b06c5fd0cae71579e712eac082e715e4d4a98f7d83
Diagram SHA-256
341856356a1ada30cf87fb6306c9a8cff10b76eeac9b42644cf756f93768930f
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

iVideoGPT (Interactive VideoGPT) is a world model: an autoregressive transformer that puts visual observations, actions and rewards into one sequence of tokens and predicts the next token. It has two parts, a compressive tokenizer that discretizes video frames and an autoregressive transformer that predicts subsequent tokens.

The tokenizer is a conditional VQGAN that discretizes future frames conditioned on the context frames, which reduces the number of video tokens. Context frames take 16 × 16 tokens each and later frames 4 × 4, which the paper describes as an asymptotic reduction of 16×. The transformer takes the model size of GPT-2 but uses the LLaMA architecture, with RMSNorm pre-normalization, the SwiGLU activation function and rotary positional embeddings. Actions enter by linear projection added to the slot token embeddings, and a linear head on the last token's hidden state of each observation predicts the reward.

The paper pre-trains iVideoGPT on a mixture of 35 datasets from Open X-Embodiment and the SSv2 dataset, 1.4 million trajectories in total. Its main experiments use a transformer with 12 layers and 768-dimensional hidden states, which the paper counts at 138M parameters. The downstream uses the paper covers are action-conditioned video prediction, visual planning and model-based reinforcement learning. The paper was accepted by NeurIPS 2024.

Key idea. iVideoGPT combines a compressive tokenizer, which encodes future frames conditioned on context frames, with a GPT-like transformer that models observations, actions and rewards as one token sequence.

  • iVideoGPT
  • Interactive VideoGPT
  • world model
  • video prediction
  • action-conditioned video prediction
  • compressive tokenization
  • model-based reinforcement learning
  • visual planning
  • robotic manipulation
  • autoregressive video transformer

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

Cite the paper

@misc{wu2024ivideogptinteractivevideogptsscalable,
      title={iVideoGPT: Interactive VideoGPTs are Scalable World Models}, 
      author={Jialong Wu and Shaofeng Yin and Ningya Feng and Xu He and Dong Li and Jianye Hao and Mingsheng Long},
      year={2024},
      eprint={2405.15223},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2405.15223}, 
}