calvin_mcil
CALVIN's MCIL baseline: a latent-plan policy that follows image or language goals from a static RGB camera.
Reinforcement learning and control · 190 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
- 73.2M
- Operations
- 190
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- RSS 2021
- Cited by
- 18 (as of 17 October 2026)
- Authors
- Corey Lynch, Pierre Sermanet
- Source
- GitHub: mees/calvin
- License
- MIT
- 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
- m3743
- Graph hash
- 6021832a0efbfd38fa3b4f0a03cb49236bc53729da2030ad069554aa7e04d199
- Skeleton hash
- 71fdba06ae4c881222c9202a7ab5833a2cba99f558fff93fbf5bc02afd37a116
- Architecture hash
- 4f052e84a7ba39328e6aa258dd3c09137dc1ff1bfff8480b76e8f5da47a592d1
- Diagram SHA-256
- 0197fc37c526207666afba3af6291f45481dc75826107968e9113caf1d3921d7
- 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
Multicontext Imitation Learning, or MCIL, is a simple generalization of contextual imitation learning to multiple heterogeneous contexts such as a goal image, a task id or natural language. The problem it answers is that prior work in imitation learning typically requires each task be specified with a task id or goal image, something that is often impractical in open-world environments. MCIL trains a single latent goal conditioned policy over all datasets simultaneously, as well as one encoder per dataset, each mapping to a shared latent goal space. Unlike prior work in imitation learning, the method is able to incorporate unlabeled and unstructured demonstration data with no task or language labels. The authors show this dramatically improves language conditioned performance, while reducing the cost of language annotation to less than 1% of total data.
The network underneath is Latent Motor Plans, a sequence-to-sequence conditional variational autoencoder that autoencodes contextual demonstrations through a latent plan space. Its decoder is a goal and latent plan conditioned policy, and the posterior, conditional prior and decoder consist of a RNN, MLP, and RNN respectively. The multicontext version is LMP adapted to be able to take either image or language goals.
The member traced here is the re-implementation of MCIL that ships as the baseline agent of the CALVIN benchmark, an open-source simulated benchmark to learn long-horizon language-conditioned tasks. The checkpoint CALVIN offers is the MCIL model trained on the static camera rgb images on environment D. The CALVIN authors report that a baseline model based on multi-context imitation learning performs poorly on CALVIN, suggesting that there is significant room for developing innovative agents on this benchmark.
Key idea. MCIL trains one latent goal conditioned policy over demonstrations with heterogeneous context labels, with one encoder per context type mapping into a shared latent goal space, so language-conditioned control can learn from mostly unlabeled play data.
- MCIL
- multicontext imitation learning
- multi-context imitation learning
- CALVIN
- CALVIN baseline
- LangLfP
- Latent Motor Plans
- LMP
- language conditioned imitation learning
- robot manipulation
- play data
- Lynch
- Sermanet
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{lynch2021languageconditionedimitationlearning,
title={Language Conditioned Imitation Learning over Unstructured Data},
author={Corey Lynch and Pierre Sermanet},
year={2021},
eprint={2005.07648},
archivePrefix={arXiv},
primaryClass={cs.RO},
url={https://arxiv.org/abs/2005.07648},
}