Rethinking Mutual Information for Language Conditioned Skill Discovery on Imitation Learning

Zhaoxun Ju, Chao Yang, Fuchun Sun, Hongbo Wang, Yu Qiao

Introduction

For autonomous robots to operate effectively in human-centric environments, they must possess the ability to translate unconstrained natural language instructions—such as "open the drawer and move the black mug left"—into precise motor actions. This task is inherently challenging due to the long-horizon nature of such commands and the high-dimensional action space of robotic systems. Traditional imitation learning often struggles with sub-task differentiation and the semantic gap between high-level intent and low-level execution.

This paper introduces Language Conditioned Skill Discovery (LCSD), a hierarchical framework designed to bridge this gap. By leveraging mutual information (MI) to align discrete latent skills with linguistic semantics, LCSD enables robots to decompose complex instructions into interpretable, manageable sub-tasks.

Methodology

LCSD utilizes a two-stage architecture that separates high-level planning from low-level control. The framework is built upon four primary pillars:

1. Skill Discovery via VQ-VAE

The model employs a Vector Quantized Variational Autoencoder (VQ-VAE) to learn a discrete codebook of latent skills. Unlike continuous latent spaces, a discrete codebook allows the model to categorize specific behaviors into distinct "skills," which are more manageable for long-term planning.

2. Instruction Semantic Recovery

To ensure these learned skills are not merely arbitrary clusters of motion, the authors maximize the Mutual Information (MI) between the skills and the language instructions. This is achieved through a decoder that attempts to reconstruct the original language embedding (derived from a frozen CLIP model) from the sequence of skills. This "semantic recovery" forces the skill codes to capture the high-level meaning of the human command.

3. Addressing Index Collapse

A common failure mode in VQ-VAE training is "index collapse," where the model utilizes only a small subset of the available codebook, leading to poor generalization. LCSD introduces a Skill Reinitialization strategy that identifies and revives underperforming or unused skill codes during training, ensuring the robot utilizes its full repertoire of potential actions.

4. Diffusion-Based Execution

For low-level motor control, LCSD replaces standard deterministic or Gaussian policies with a Diffusion Policy. Diffusion models are uniquely suited for robotics because they can represent multi-modal distributions, allowing the robot to handle the various "correct" ways a task might be performed while maintaining smooth, adaptable trajectories.

Experimental Evaluation

The researchers evaluated LCSD across three distinct robotic benchmarks to test its versatility and robustness:

  • BabyAI: A 2D grid-world environment focused on sequential instruction following and navigation.
  • LORel (Sawyer Dataset): A manipulation environment where a Sawyer arm performs tasks like opening drawers and operating faucets.
  • CALVIN: A complex, long-horizon benchmark involving a Franka Panda arm and diverse, unstandardized language instructions.

Key Results

LCSD demonstrated significant performance gains over existing state-of-the-art methods, such as LISA:

  • Success Rates: In the LORel environment, LCSD achieved a 60.2% success rate, a dramatic improvement over the 6.7% achieved by the baseline LISA model.
  • Diffusion vs. Transformers: In the CALVIN benchmark, the combination of hierarchical skills and diffusion policies outperformed Decision Transformer (DT) models, yielding a 37.5% success rate compared to the DT's 8.3%.
  • Generalization: The model showed remarkable robustness when faced with "unseen" verbs and nouns, as well as instructions phrased by humans that were not present in the training data.

Discussion and Insights

The core innovation of LCSD lies in treating robotic skills as a linguistic bridge. By forcing the model to reconstruct language from its internal skill representations, the skills themselves become human-interpretable. For instance, specific indices in the codebook consistently align with identifiable actions like "turn faucet right."

Furthermore, the synergy between hierarchical skill discovery and diffusion policies addresses a major limitation in current robotics. While diffusion policies are powerful, they are typically "flat" and struggle with long-horizon reasoning. By adding a hierarchical layer, the diffusion model can focus on the mechanics of movement while the skill encoder manages the sequence of objectives.

Limitations and Future Work

Despite its success, LCSD has limitations. The current framework does not explicitly model the dependencies or pre-conditions between skills (e.g., a drawer must be open before an object can be placed inside). Future research could involve modeling these interconnections to solve even more complex, multi-step problems. Additionally, the reliance on high-quality offline demonstration data remains a bottleneck for scaling such systems to broader real-world applications.

Summary updated

BibTeX
@inproceedings{ju2024rethinking,
  author = {Zhaoxun Ju and Chao Yang and Fuchun Sun and Hongbo Wang and Yu Qiao},
  title = {{Rethinking Mutual Information for Language Conditioned Skill Discovery on Imitation Learning}},
  booktitle = {ICAPS},
  year = {2024},
  doi = {10.1609/icaps.v34i1.31488},
}
Figure