Learning to Learn Faster from Human Feedback with Language Model Predictive Control

Jacky Liang, Fei Xia, Wenhao Yu, Andy Zeng, Maria Attarian, Maria Bauzá Villalonga, Matthew Bennice, Alex Bewley, Adil Dostmohamed, Chuyuan Fu, Nimrod Gileadi, Marissa Giustina, Keerthana Gopalakrishnan, Leonard Hasenclever, Jan Humplik, Jasmine Hsu, Nikhil J. Joshi, Ben Jyenis, J. Chase Kew, Sean Kirmani, Tsang-Wei Edward Lee, Kuang-Huei Lee, Assaf Hurwitz Michaely, Joss Moore, Kenneth Oslund, Dushyant Rao, Allen Z. Ren, Baruch Tabanpour, Quan Vuong, Ayzaan Wahid, Ted Xiao, Ying Xu, Vincent Zhuang, Peng Xu, Erik Frey, Ken Caluwaerts, Tingnan Zhang, Brian Ichter, Jonathan Tompson, Leila Takayama, Vincent Vanhoucke, Izhak Shafran, Maja J. Mataric, Dorsa Sadigh, Nicolas Heess, Kanishka Rao, Nik Stewart, Jie Tan, Carolina Parada

Introduction

Large Language Models (LLMs) have demonstrated a remarkable ability to translate high-level natural language instructions into executable robot code. However, a significant gap remains in their "teachability." When a robot fails to perform a task correctly, a human must provide corrective feedback. Traditional LLMs often struggle to incorporate this feedback efficiently, requiring multiple rounds of interaction to correct simple errors.

Researchers from Google DeepMind have introduced Language Model Predictive Control (LMPC), a framework that treats human-robot interaction as a sequence-modeling problem. By fine-tuning LLMs to predict successful interaction trajectories, LMPC enables robots to learn from human feedback more rapidly, reducing the cognitive load on the user and improving performance across diverse robotic platforms.

The Problem: The Limits of In-Context Learning

Currently, most LLM-based robotic systems rely on In-Context Learning (ICL) to handle multi-turn conversations. When a user says, "No, lift it higher," the model appends this feedback to its prompt and attempts a new solution. This approach suffers from two primary limitations:

  1. Short-Term Memory: The model’s ability to adapt is confined to its immediate context window. It does not "learn" the underlying principles of the user's preferences over time.
  2. Reactive Inefficiency: Standard LLMs are reactive; they respond to the most recent prompt without considering the most efficient path to satisfy the user's ultimate goal.

The goal of LMPC is to move beyond reactive prompting toward a system that "learns how to learn," optimizing for the minimum number of human corrections required to achieve success.

LMPC: A Two-Speed Adaptation Framework

The core innovation of LMPC is framing the teaching process as a Partially Observable Markov Decision Process (POMDP). In this model, human language inputs are treated as observations, and the generated robot code (reward functions) represents actions. To optimize this process, the researchers implemented a "two-speed" adaptation strategy:

Fast Adaptation (In-Context Learning)

During active interaction, the robot uses its current LLM to generate reward code for a low-level controller (MuJoCo MPC). This allows for immediate, real-time responses to user feedback.

Slow Adaptation (Fine-Tuning)

In a process analogous to "dreaming" or offline consolidation, the model is fine-tuned on successful interaction traces. By training on the entire trajectory of a successful teaching session, the model learns to predict the sequence of corrections that lead to a goal.

Predictive Secret Sauce

At inference time, LMPC does not simply generate a single response. It samples multiple potential future versions of the conversation. It then selects the "action" (the specific robot code) that is predicted to lead to a successful outcome in the fewest possible chat turns. This look-ahead capability allows the model to proactively address likely user concerns.

Expert Conditioning: Learning from the Best

The researchers observed that the quality of teaching varies significantly between humans. By identifying the top 25% of users—those who provided the most clear and effective feedback—and tagging their data with a "top-user" identifier, the researchers could condition the model during inference. This allows the LLM to mimic the efficient interaction style of an expert teacher, even when interacting with a novice user.

Experimental Setup and Results

The framework was tested across a diverse array of 5 distinct robotic embodiments, including a Quadruped (robot dog), a Mobile Manipulator, and bimanual setups like Aloha and Kuka. The study involved 78 unique tasks, ranging from simple maneuvers to complex object handovers.

Key Findings:

  • Improved Success Rates: LMPC improved the success rate on unseen tasks by 26.9% compared to the base PaLM 2 model.
  • Reduced Interaction Effort: The average number of human corrections required dropped from 2.4 to 1.9.
  • Cross-Embodiment Generalization: Perhaps most impressively, LMPC demonstrated strong meta-learning capabilities. When tested on entirely new robots and APIs not seen during fine-tuning, it improved success rates by 31.5%.
  • Real-World Deployment: The system was successfully validated on physical hardware, proving that the high-level code generated by the LLM effectively bridges the gap to low-level physical control.

Insights and Limitations

The study revealed that the most effective human teachers were not necessarily the most technical, but rather those who were "kind" and patient, providing feedback structured similarly to how one might instruct a child. This suggests that the "social" aspect of language is a critical component of robotic training.

However, LMPC faces several challenges. The low-level MuJoCo MPC requires significant computational resources (the study utilized 128 cores), which may limit deployment on edge devices. Furthermore, the model currently relies solely on text feedback; it cannot "see" the robot's failure directly. Future work will likely focus on multimodal inputs, allowing the model to perceive physical errors through video or sensor data.

Conclusion

Language Model Predictive Control represents a shift in how we approach robot learning. By treating the conversation as a trajectory to be optimized, LMPC allows robots to become more efficient students. This meta-learning approach not only makes robots more capable in the short term but also ensures they become easier to teach over time, regardless of the specific hardware or task at hand.

Summary updated

BibTeX
@inproceedings{liang2024learning,
  author = {Jacky Liang and Fei Xia and Wenhao Yu and Andy Zeng and Maria Attarian and Maria Bauzá Villalonga and Matthew Bennice and Alex Bewley and Adil Dostmohamed and Chuyuan Fu and Nimrod Gileadi and Marissa Giustina and Keerthana Gopalakrishnan and Leonard Hasenclever and Jan Humplik and Jasmine Hsu and Nikhil J. Joshi and Ben Jyenis and J. Chase Kew and Sean Kirmani and Tsang-Wei Edward Lee and Kuang-Huei Lee and Assaf Hurwitz Michaely and Joss Moore and Kenneth Oslund and Dushyant Rao and Allen Z. Ren and Baruch Tabanpour and Quan Vuong and Ayzaan Wahid and Ted Xiao and Ying Xu and Vincent Zhuang and Peng Xu and Erik Frey and Ken Caluwaerts and Tingnan Zhang and Brian Ichter and Jonathan Tompson and Leila Takayama and Vincent Vanhoucke and Izhak Shafran and Maja J. Mataric and Dorsa Sadigh and Nicolas Heess and Kanishka Rao and Nik Stewart and Jie Tan and Carolina Parada},
  title = {{Learning to Learn Faster from Human Feedback with Language Model Predictive Control}},
  booktitle = {Robotics: Science and Systems},
  year = {2024},
  doi = {10.15607/rss.2024.xx.125},
}
Figure