M3IL: Multi-Modal Meta-Imitation Learning

Xin Zhang, Tatsuya Matsushima, Yutaka Matsuo, Yusuke IwasawaTransactions 2023

Abstract

Imitation Learning (IL) is anticipated to achieve intelligent robots since it allows the user to teach the various robot tasks easily. In particular, Few-Shot Imitation Learning (FSIL) aims to infer and adapt fast to unseen tasks with a small amount of data. Though FSIL requires few-shot of data, the high cost of demonstrations in IL is still a critical problem. Especially when we want to teach the robot a new task, we need to execute the task for the assignment every time. Inspired by the fact that humans specify tasks using language instructions without executing them, we propose a multi-modal FSIL setting in this work. The model leverages image and language information in the training phase and utilizes both image and language or only language information in the testing phase. We also propose a Multi-Modal Meta-Imitation Learning or M3IL, which can infer with only image or language information. The result of M3IL outperforms the baseline in the standard and proposed settings. Our result shows the effectiveness of M3IL and the importance of language instructions in the FSIL setting.

Introduction

Imitation Learning (IL) provides a natural interface for teaching robots new skills. However, a significant "data bottleneck" remains: even in Few-Shot Imitation Learning (FSIL), a human must physically demonstrate every new task. This process is time-consuming and labor-intensive. In contrast, humans often communicate goals through language (e.g., "push the red cup to the center") without needing a visual demonstration.

Overview of the Meta-Imitation Learning framework, showing the transition from meta-training on known tasks to meta-evaluation on unknown tasks using context information and demo trajectories.

This paper introduces M3IL, a framework that integrates language instructions into the FSIL pipeline. By allowing robots to learn from a single visual demonstration, a natural language instruction, or a combination of both, M3IL significantly reduces the effort required to specify new tasks.

Methods: Multi-Modal Task Alignment

The M3IL architecture consists of two primary components: a Task Embedding Network ($f^{emb}_\phi$) and a Controller Network ($f^{ctl}_\psi$).

Task Embedding Network

The core innovation lies in how the model handles multi-modal context information. The embedding network maps images ($c_i$), language instructions ($c_l$), or both into a shared latent "task variable" ($z$). To ensure the model can function when a modality is missing (e.g., language-only at test time), the authors employ a loss function inspired by Joint Multi-Modal VAE (JMVAE).

The Task Embedding Network ($f^{emb}_\phi$) aligns image and language task representations in a shared latent space using KL-divergence to ensure consistency across modalities.

As shown in the figure above, KL-divergence is used to force the unimodal distributions (image-only or text-only) to match the joint multimodal distribution. This alignment allows the latent variable $z$ to capture the essence of the task regardless of the input source.

Controller and Meta-Learning

The Controller Network serves as the robot's policy, taking the current observation and the task variable $z$ to predict the next action. The entire system is trained using a meta-learning strategy across hundreds of tasks, enabling rapid adaptation to unseen objects and instructions at test time without further gradient updates.

Experimental Results

The researchers evaluated M3IL on a modified version of the MIL benchmark, which includes robot pushing tasks. They augmented the dataset with 31 different language instruction templates per task, processed via BERT.

  • Performance: M3IL achieved a 70.5% success rate in standard visual-context settings, surpassing the previous state-of-the-art PETNet (67.7%).
  • Zero-Shot Language Adaptation: Remarkably, M3IL successfully executed tasks using only language instructions, a setting where traditional behavior cloning baselines failed to generalize.
  • Linguistic Diversity: Training with a variety of paraphrased instructions proved superior to using single-word labels, suggesting that linguistic diversity acts as a form of data augmentation for task representation.

Conclusion

M3IL demonstrates that language is not just a convenient alternative to visual demonstrations but a powerful booster for robot learning performance. By aligning visual and linguistic representations, robots can "imagine" a task's visual goal from a simple text command. Future work will focus on moving beyond simulated environments and exploring more complex, multi-step hierarchical tasks.

Summary updated

BibTeX
@article{zhang2023m,
  author = {Xin Zhang and Tatsuya Matsushima and Yutaka Matsuo and Yusuke Iwasawa},
  title = {{M3IL: Multi-Modal Meta-Imitation Learning}},
  journal = {Transactions},
  year = {2023},
  doi = {10.1527/tjsai.38-2\_a-lb3},
}
Figure