All models

RT1_rohan138

Images and an instruction become tokens; a decoder-only Transformer emits binned arm and base actions at 3 Hz.

Reinforcement learning and control · 1,181 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 (11 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
32.8M
Operations
1,181
Framework
PyTorch
Recurrent
No
Published
Robotics: Science and Systems (arXiv 2022)
Cited by
913 (as of 5 November 2026)
Authors
Anthony Brohan, Noah Brown, Justice Carbajal and others
License
Apache-2.0
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
m2431
Graph hash
4feaa1ee82472ca874938472916a4a34f21924f266dc3d4b9b6b936ba7d829b0
Skeleton hash
3d2edf98c217be24661618a2df72c6428cb9b5ae2f57848a6ab30a91efe4db26
Architecture hash
d970ce0807610c2dea2814d168684bd1d8066f63369a5ee3209dd523ca8a0cda
Diagram SHA-256
801ee97a1a38870de6b635acbc6e4da04303a7dfab25615fd65eda9f96baf231
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

A PyTorch re-implementation of RT-1 from the Rohan138 rt1-pytorch repository, using an EfficientNet-B3 image tokenizer, TokenLearner and a Transformer that emits action bins.

RT-1 (Robotics Transformer 1) is a policy that takes a short history of camera images and a natural language instruction and outputs a discretized action for the robot at each time step. It is trained by behavioral cloning on human demonstrations, minimizing the negative log-likelihood of the recorded actions given the images and the instruction. The model runs closed-loop control at 3 Hz until it emits a terminate action or hits a time step limit.

A history of 6 images at 300 × 300 resolution passes through an ImageNet pretrained EfficientNet-B3. The instruction is embedded with the Universal Sentence Encoder and injected into the EfficientNet through identity-initialized FiLM layers. A TokenLearner compresses the 81 visual tokens per image to 8, so the six frames give 48 tokens for the Transformer. The Transformer is a decoder-only sequence model with 8 self-attention layers that outputs action tokens. Each action dimension is discretized into 256 bins; the dimensions cover arm movement, base movement and a mode switch between arm, base and terminating the episode. The loss is a categorical cross-entropy with causal masking.

The captured member is the Rohan138 rt1-pytorch implementation, whose initial code was borrowed from lucidrains/robotic-transformer-pytorch.

Key idea. Encoding camera images, the language instruction and motor commands as compact tokens so a Transformer policy can absorb large, diverse robot demonstration data while running in real time.

  • RT-1
  • Robotics Transformer
  • FiLM EfficientNet
  • TokenLearner
  • discretized actions
  • behavioral cloning

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

Cite the paper

@misc{brohan2023rt1roboticstransformerrealworld,
      title={RT-1: Robotics Transformer for Real-World Control at Scale}, 
      author={Anthony Brohan and Noah Brown and Justice Carbajal and Yevgen Chebotar and Joseph Dabis and Chelsea Finn and Keerthana Gopalakrishnan and Karol Hausman and Alex Herzog and Jasmine Hsu and Julian Ibarz and Brian Ichter and Alex Irpan and Tomas Jackson and Sally Jesmonth and Nikhil J Joshi and Ryan Julian and Dmitry Kalashnikov and Yuheng Kuang and Isabel Leal and Kuang-Huei Lee and Sergey Levine and Yao Lu and Utsav Malla and Deeksha Manjunath and Igor Mordatch and Ofir Nachum and Carolina Parada and Jodilyn Peralta and Emily Perez and Karl Pertsch and Jornell Quiambao and Kanishka Rao and Michael Ryoo and Grecia Salazar and Pannag Sanketi and Kevin Sayed and Jaspiar Singh and Sumedh Sontakke and Austin Stone and Clayton Tan and Huong Tran and Vincent Vanhoucke and Steve Vega and Quan Vuong and Fei Xia and Ted Xiao and Peng Xu and Sichun Xu and Tianhe Yu and Brianna Zitkovich},
      year={2023},
      eprint={2212.06817},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2212.06817}, 
}