LEGENT: Open Platform for Embodied Agents

Zhili Cheng, Jinyi Hu, Zhitong Wang, Yuge Tu, Shengding Hu, An Liu, Pengkai Li, Lei Shi, Zhiyuan Liu, Maosong Sun

Abstract

LEGENT is an open-source platform designed to bridge the gap between Large Multimodal Models (LMMs) and physical reality. It provides a high-fidelity 3D environment and an automated pipeline to generate massive, language-grounded datasets for training embodied agents. By integrating Large Language Models (LLMs) for task planning and scene generation with continuous control for agent movement, LEGENT enables the creation of agents that can perceive, reason, and act within a physically grounded space.

Introduction

While Large Language Models (LLMs) and Large Multimodal Models (LMMs) demonstrate significant cognitive capabilities, they often lack "grounding"—the ability to relate linguistic concepts to physical laws and spatial realities. To develop agents capable of executing complex commands like "retrieve the blue mug from the kitchen," training must occur in environments where language is intrinsically linked to perception and action. LEGENT addresses the limitations of existing platforms—which are often closed-source or difficult to scale—by offering an integrated ecosystem for scene generation, task creation, and trajectory recording.

Platform Architecture and Methodology

LEGENT is built upon three core pillars designed for scalability and realism:

  1. 3D Environment: Utilizing a modern game engine, the platform supports realistic physics (gravity, friction, and collisions). It employs the open glTF format, facilitating the easy import of assets from diverse sources, including generative AI models.
  2. Continuous Control Agents: Moving beyond discrete grid-world movements, LEGENT agents utilize continuous control (e.g., precise rotations and meter-based movement). This approach is more representative of real-world robotics and improves the efficiency of training LMMs by mimicking video keyframe structures.
  3. Data Generation Pipeline: The platform uses a Task and Motion Planning (TAMP) approach. An LLM functions as a high-level planner, converting natural language tasks into executable code, which a low-level motion planner then follows to generate ground-truth trajectories.
An interaction sequence demonstrating the agent's ability to locate and retrieve an object based on a multi-step natural language dialogue.

Datasets and Evaluation

The researchers utilized LEGENT to produce several key datasets for training and benchmarking:

  • Navigation: Trajectories of agents moving to specified locations in one-room and two-room setups.
  • Embodied Question Answering (EQA): Tasks requiring the agent to locate an object and describe its position.
  • Generalization Benchmark: A 100-trajectory set across four tasks, including "two-room" scenarios designed to test the model's ability to generalize beyond its training data.

Key Insights and Physical Grounding

A significant innovation in LEGENT is the use of LLMs as "world builders," procedurally generating logically structured scenes. Furthermore, the platform utilizes Inverse Kinematics (IK) to ensure that physical interactions, such as picking up objects, appear plausible. This is critical for minimizing the "sim-to-real" gap for future robotic applications.

A close-up of the agent completing a retrieval task, highlighting the physical grounding of the interaction and the use of Inverse Kinematics.

Experimental Results

Training a prototype Vision-Language-Action (VLA) model (VILA-7B) on LEGENT-generated data yielded significant performance gains:

  • Superiority over GPT-4V: While GPT-4V achieved only a 21% success rate on zero-shot navigation, the LEGENT-trained model reached 96%.
  • Scaling and Generalization: Increasing data from 1k to 10k trajectories significantly improved performance in complex environments. Models trained jointly on navigation and QA tasks showed the strongest generalization, achieving a 65% success rate on unseen two-room tasks.

Conclusion

LEGENT represents a major advancement in Embodied AI by providing a scalable, open-source pipeline for grounding large models in physical reality. Future work will focus on increasing asset diversity through text-to-3D integration and refining robotic control logic to further unify humanoid animation with real-world hardware requirements.

Summary updated

BibTeX
@inproceedings{cheng2024legent,
  author = {Zhili Cheng and Jinyi Hu and Zhitong Wang and Yuge Tu and Shengding Hu and An Liu and Pengkai Li and Lei Shi and Zhiyuan Liu and Maosong Sun},
  title = {{LEGENT: Open Platform for Embodied Agents}},
  booktitle = {MFM-EAI @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=KKN4OFyzvN},
}
Figure