Language Control Diffusion: Efficiently Scaling through Space, Time, and Tasks

Edwin Zhang, Yujie Lu, Shinda Huang, William Yang Wang, Amy ZhangICLR 2024

TL;DR

Language Control Diffusion (LCD) is a hierarchical framework that uses diffusion models to generate long-horizon plans in a low-dimensional latent space. By separating high-level "strategic" planning from low-level "tactical" control, LCD achieves state-of-the-art performance on robotics benchmarks while running up to 15x faster than previous diffusion-based planners.

What Problem Does This Paper Address?

Creating a "generalist agent"—a robot that can follow natural language instructions like "clean the kitchen"—requires solving three massive challenges simultaneously:

  1. Space: Dealing with high-dimensional inputs (like raw video/pixels).
  2. Time: Planning over long horizons (tasks that take hundreds of steps).
  3. Tasks: Generalizing to new instructions it hasn't seen exactly during training.

Recent "Diffusion" models (the tech behind DALL-E) are great at long-horizon planning because they consider the entire trajectory at once. However, they are notoriously slow and struggle with fine-grained control. If you try to diffuse raw pixels, the model often "hallucinates" physics or gets bogged down in irrelevant background details, making it computationally prohibitive and physically unreliable for real-world robotics.

Methods

The authors propose Language Control Diffusion (LCD), which uses a hierarchical "divide and conquer" strategy:

Language Control Diffusion Architecture
  • The Low-Level Policy (LLP): This is a frozen, goal-conditioned policy (based on the HULC architecture). Its job is simple: "Given where I am and a target latent state, how do I move the joints?" It operates in a compressed, task-aware latent space.
  • The High-Level Policy (HLP): This is the "brain." It uses a Temporal U-Net diffusion model conditioned on language embeddings from a massive pre-trained model (T5-XXL). Instead of dreaming up pixels, it generates a "latent plan"—a sequence of future goal states in the LLP’s compressed space.
  • Efficiency Gains: To make it fast, the authors use DDIM sampling (a faster way to run diffusion) and temporal abstraction. Instead of predicting every single frame, the model predicts states at a "stride" (e.g., every 10th frame), letting the low-level policy fill in the gaps.

Datasets

The researchers evaluated LCD on two major benchmarks:

  1. CALVIN: A challenging multi-task robotics benchmark involving 34 disparate tasks (like opening drawers or turning on lights) in a simulated environment.
  2. CLEVR-Robot: A benchmark focused on task compositionality and object manipulation based on language instructions.

Key Insights and Ideas

  • Diffusion as a Global Thinker: The "aha moment" here is that diffusion models are excellent at maintaining global coherence (the "big picture" of a task) but terrible at low-level precision. By offloading the precision to a dedicated low-level controller, the diffusion model can focus on what it does best: planning the sequence of events.
  • The Latent Space Advantage: Planning in the latent space of a pre-trained robot controller is much more effective than planning in the latent space of a generic VAE (like Stable Diffusion). The robot's latent space is already "task-aware," meaning it ignores the color of the wallpaper and focuses on the position of the gripper and the blocks.
  • Caching for Speed: By caching the encoded latent representations of the training data, the authors reduced memory usage by 100-200x during training, allowing for much faster iteration and larger batch sizes.

Key Results

  • New SOTA: LCD achieved an average success rate of 88.7% on the CALVIN benchmark for single-horizon tasks, outperforming previous state-of-the-art models like SPIL and HULC.
  • Speedup: LCD is significantly more efficient than prior diffusion planners, showing an inference speedup of 3.3x to 15x.
  • Long-Horizon Mastery: On tasks requiring up to five consecutive instructions, LCD maintained a much higher success rate than competitors, proving its ability to stay "on track" over long periods.
Performance across different horizons on CALVIN
  • Zero-Shot Generalization: In CLEVR-Robot tests, LCD successfully generalized to novel language instructions by composing concepts it learned during training (e.g., combining "Lift" and "Pink Block").

Limitations and Future Work

While LCD is a major step forward, the authors note a few hurdles:

  • Data Quality: The framework assumes the training data is "optimal" (expert-level). In reality, many robotics datasets are noisy or suboptimal, which can degrade the diffusion model's performance.
  • Theoretical Gaps: There is still a gap between the mathematical proofs of "near-optimality" provided in the paper and the practical implementation of the neural networks.
  • Scaling Further: Future work could involve adding even more levels to the hierarchy or testing the system on real-world hardware where physical noise is even more unpredictable than in simulations.

Summary updated

BibTeX
@inproceedings{zhang2024language,
  author = {Edwin Zhang and Yujie Lu and Shinda Huang and William Yang Wang and Amy Zhang},
  title = {{Language Control Diffusion: Efficiently Scaling through Space, Time, and Tasks}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=0H6DFoZZXZ},
}
Figure