All models

bcz_multitask_policy

A ResNet18 imitation policy, FiLM-conditioned on language or video, that tries tasks it was never shown.

Reinforcement learning and control · 161 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 (26 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
13.8M
Operations
161
Framework
PyTorch
Recurrent
No
Published
CoRL 2021
Cited by
167 (as of 17 October 2026)
Authors
Eric Jang, Alex Irpan, Mohi Khansari 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
m3622
Graph hash
6500b2af6d4a480dd35ed04d44e59c4941bb992987af1ba3093f4081fc2c850f
Skeleton hash
9e8a6d528d2486533e5e10a50f0a8fbf0b06333255e3f1e28cc0671af14fecf0
Architecture hash
ca9b1d36f6442fa396edc50697c3128d31661ea0dd506ffc0571feef4204964a
Diagram SHA-256
a5a70fb53d40a43211d2823bde8afa1166d496dfbc1b2edaab963b84b910454f
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

BC-Z is an imitation-learning policy for a real robot arm, built to find out whether scaling and broadening the demonstration data lets a vision-based manipulation system handle tasks it was never shown. The system learns from both demonstrations and human interventions, and the task can be specified either by a pre-trained language embedding or by a video of a person doing it. With data from more than 100 distinct tasks, the policy performed 24 unseen manipulation tasks at an average success rate of 44 percent with no robot demonstrations for them.

The network is simple to read on the graph: a monocular RGB image passes through a ResNet18 torso, which branches after the last mean-pool layer into several action heads. Each head is a two-hidden-layer MLP of width 256 with ReLU, predicting one part of the end-effector action: delta XYZ, delta axis-angle or the normalized gripper angle. Task conditioning enters through FiLM layers: a 512-dimensional task embedding is projected to channel-wise scales and shifts for each of the 4 ResNet blocks. The policy also predicts an open-loop trajectory of the next 10 actions as an auxiliary objective, though at inference only the first action is executed, closed-loop, from the current image.

Two further details matter: actions are defined as state differences to a target pose several steps ahead, because cloning raw 10 Hz actions produced tiny motions and dithering. And the video encoder is trained with an auxiliary cosine loss to predict the language embedding of the task command, which the authors call critical to an organized embedding space. The reference code lives in Tensor2Robot, the TensorFlow library used internally at Alphabet and open-sourced to make research at Robotics @ Google more reproducible.

Key idea. A FiLM-conditioned ResNet18 imitation policy, trained on more than 100 tasks with interventions, that generalizes zero-shot to unseen manipulation tasks from language or human video.

  • BC-Z
  • BC-Z multitask policy
  • zero-shot task generalization
  • robotic imitation learning
  • behavior cloning
  • language-conditioned manipulation
  • FiLM
  • ResNet18
  • HG-DAgger
  • Tensor2Robot

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

Cite the paper

@misc{jang2022bczzeroshottaskgeneralization,
      title={BC-Z: Zero-Shot Task Generalization with Robotic Imitation Learning}, 
      author={Eric Jang and Alex Irpan and Mohi Khansari and Daniel Kappler and Frederik Ebert and Corey Lynch and Sergey Levine and Chelsea Finn},
      year={2022},
      eprint={2202.02005},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2202.02005}, 
}