VPT_foundation
A causal video policy that maps Minecraft frames to keyboard and mouse actions, trained by behavioral cloning.
Reinforcement learning and control · 180 operations Checked
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
- 95.5M
- Operations
- 180
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS (arXiv 2022)
- Cited by
- 73 (as of 27 October 2026)
- Authors
- Bowen Baker, Ilge Akkaya, Peter Zhokhov and others
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3309
- Graph hash
- d3405fb4133ab1a70e0ddd8a5e5dcc9bf67d8fdf2fbf07a7d54da8b6abdfc1c1
- Skeleton hash
- ad1a5b3124ee492145065285b6fbcf53adffdf4b29dbd2755ed77eac24a050e0
- Architecture hash
- 8f86cc1a673a54e401e8b6fed94d78dc0522c14516a98e625f2f2bcad5a1a5a9
- Diagram SHA-256
- 13b881807aa8ce23e2cffce1f90462e27b33b637dcbee5a4b117bf5a0f666bea
- TorchLens version
- 2.35.3
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.vpt_foundation:build: build({}) What it is
Video PreTraining (VPT) trains an agent to act in Minecraft by watching unlabeled online videos of people playing the game. It extends internet-scale pretraining to sequential decision domains, where the paper notes that publicly available data lacks the labels needed to train behavioral priors.
The method first uses a small amount of labeled data to train an inverse dynamics model (IDM) that predicts the action taken at each timestep of a video. The IDM is non-causal, so it can look at both past and future frames to infer an action. The paper filtered its collected Minecraft videos down to an unlabeled dataset of about 70k hours. The IDM generates pseudo-labels for that dataset, and the VPT foundation model is trained on them with behavioral cloning.
The IDM consists mainly of a temporal convolution layer, a ResNet image processing stack and residual unmasked attention layers. The foundation model uses the same architecture made causal, without the initial non-causal convolution and with causally masked transformer layers. The paper reports that a 0.5 billion parameter model was required for its 30 epochs of training. After fine-tuning with imitation learning and reinforcement learning, the paper reports agents that can craft diamond tools, a task that can take proficient humans upwards of 20 minutes of gameplay.
Key idea. The paper showed that an inverse dynamics model trained on little labeled data can label online Minecraft videos accurately enough to train a general behavioral prior.
- VPT
- Video PreTraining
- VPT foundation model
- Minecraft agent
- behavioral cloning
- inverse dynamics model
- imitation learning from video
- embodied video policy
- game-playing agent
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{baker2022videopretrainingvptlearning,
title={Video PreTraining (VPT): Learning to Act by Watching Unlabeled Online Videos},
author={Bowen Baker and Ilge Akkaya and Peter Zhokhov and Joost Huizinga and Jie Tang and Adrien Ecoffet and Brandon Houghton and Raul Sampedro and Jeff Clune},
year={2022},
eprint={2206.11795},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2206.11795},
}