MOSAIC: Modular Foundation Models for Assistive and Interactive Cooking

Huaxiaoyue Wang, Kushal Kedia, Juntao Ren, Rahma Abdullah, Atiksh Bhardwaj, Angela Chao, Kelly Y Chen, Nathaniel Chin, Prithwish Dan, Xinyi Fan, Gonzalo Gonzalez-Pumariega, Aditya Kompella, Maximus Adrian Pace, Yash Sharma, Xiangwan Sun, Neha Sunkara, Sanjiban Choudhury

TL;DR

This paper introduces MOSAIC, a modular foundation model architecture for enabling robots to collaboratively cook with humans using natural language. By breaking down complex tasks into specialized modules that leverage large pre-trained models, MOSAIC achieves more robust and scalable human-robot interaction for assistive cooking.

What Problem Does This Paper Address?

Collaborative cooking with robots presents a significant challenge. Existing systems often struggle with natural language interaction, open-vocabulary object manipulation, and fluid collaboration with humans. While end-to-end models work for some tasks, they are less effective in robotics where precise control and less available data are critical. The authors aim to overcome these limitations by creating a system that can fluidly collaborate with humans, perform a wide range of tasks, and be interpretable and scalable.

Methods

MOSAIC employs a modular architecture at multiple levels. It integrates several large-scale pre-trained foundation models for tasks requiring broad generalization, such as:

  • Interactive Task Planner: Uses a Large Language Model (LLM) embedded within a behavior tree to interpret user commands, plan tasks, and coordinate multiple agents (robots and humans). This approach aims to mitigate LLM constraint violations and improve interpretability.
  • Human Motion Forecasting: Leverages motion forecasting models to predict human movements, enabling robots to collaborate safely and efficiently while maintaining a margin of safety.
  • Visuomotor Skill Module: Combines perception (object detection using OwlViT and CLIP) and action generation (using reinforcement learning or engineered primitives) to enable robots to manipulate a diverse set of objects.

The system is designed to allow for error diagnosis at the module level, facilitating easier debugging and improvement.

Datasets

  • AMASS: A large dataset of human activity used for pre-training the motion forecasting model.
  • CoMaD (Collaborative Manipulation Dataset): A dataset of human-human interaction in a kitchen setting, used to fine-tune the motion forecasting model for more realistic collaborative scenarios.

The paper does not introduce new benchmarks but rather evaluates existing modules on their performance within the MOSAIC framework.

Key Insights and Ideas

  • Modularity for Scalability and Interpretability: Decomposing the complex cooking task into specialized modules allows for the integration of best-in-class foundation models while also enabling precise, low-level control. This modularity is crucial for debugging and improving system performance.
  • Behavior Trees for LLM Control: Embedding LLMs within behavior trees for task planning helps to structure the reasoning process, reduce constraint violations, and improve the interpretability and scalability of the LLM's decision-making.
  • Handling Noisy Inputs: The human motion forecasting module is trained to be robust to noisy inputs from RGB-D cameras by injecting random Gaussian noise during training, leading to smoother forecasts and improved downstream skill performance.
  • Triageable Failures: The modular design allows for easy identification and localization of failures to specific components, making it significantly easier to diagnose and fix issues.

Key Results

  • End-to-End Performance: MOSAIC successfully completed 41 out of 60 (68.3%) collaborative cooking trials across 6 different recipes, achieving an average subtask completion rate of 91.6%.
  • Task Planner Improvement: The behavior tree-based LLM approach for the task planner resulted in 62.8% fewer constraint violations compared to a monolithic LLM prompt.
  • Visuomotor Skill Enhancement: Using CLIP with OwlViT for object detection increased skill completion by 70% in medium-clutter and 60% in high-clutter regimes.
  • Human Motion Forecasting Benefits: Integrating forecasts improved safety margins by 74% and reduced reaction times, leading to smoother interactions and fewer collisions during tasks like reactive stirring.

Limitations and Future Work

  • Static Capabilities: The current system's capabilities remain static after deployment, and an exciting area for future research is continuous learning from real-time human feedback.
  • Task Planner Grounding: Improvements can be made to the task planner by grounding it with multi-modal input (e.g., cameras, sensors).
  • Environment Expansion: Expanding the system to new environments in a scalable and flexible manner is a future direction.
  • RL Policy Limitations: The RL agent for pick tasks has limitations in learning via hand-designed reward functions, particularly in out-of-distribution scenarios like occluded objects. Future work could explore more robust reward design or leveraging demonstrations.

Summary updated

BibTeX
@inproceedings{wang2024mosaic,
  author = {Huaxiaoyue Wang and Kushal Kedia and Juntao Ren and Rahma Abdullah and Atiksh Bhardwaj and Angela Chao and Kelly Y Chen and Nathaniel Chin and Prithwish Dan and Xinyi Fan and Gonzalo Gonzalez-Pumariega and Aditya Kompella and Maximus Adrian Pace and Yash Sharma and Xiangwan Sun and Neha Sunkara and Sanjiban Choudhury},
  title = {{MOSAIC: Modular Foundation Models for Assistive and Interactive Cooking}},
  booktitle = {CoRoboLearn @ CoRL},
  year = {2024},
  url = {https://openreview.net/forum?id=HZbuCgrzuT},
}
Figure