Abstract
Pre-trained and frozen large language models (LLMs) can effectively map simple scene rearrangement instructions to programs over a robot's visuomotor functions through appropriate few-shot example prompting. To parse open-domain natural language and adapt to a user's idiosyncratic procedures, not known during prompt engineering time, fixed prompts fall short. In this paper, we introduce HELPER, an embodied agent equipped with an external memory of language-program pairs that parses free-form human-robot dialogue into action programs through retrieval-augmented LLM prompting: relevant memories are retrieved based on the current dialogue, instruction, correction, or VLM description, and used as in-context prompt examples for LLM querying. The memory is expanded during deployment to include pairs of user's language and action plans, to assist future inferences and personalize them to the user's language and routines. HELPER sets a new state-of-the-art in the TEACh benchmark in both Execution from Dialog History (EDH) and Trajectory from Dialogue (TfD), with a 1.7x improvement over the previous state-of-the-art for TfD.
1. Introduction
Recent advances in Large Language Models (LLMs) have enabled "code-as-policies," where high-level natural language instructions are translated directly into executable robot API calls. However, these systems often struggle with the "long tail" of human interaction. Real-world instructions are frequently ambiguous, contain errors, or rely on idiosyncratic user routines (e.g., "Prepare the kitchen the way I like it").
Existing approaches typically rely on fixed prompts with hand-crafted examples. This methodology faces two primary bottlenecks:
- Context Window Constraints: As the diversity of tasks increases, the number of examples required to cover all edge cases exceeds the LLM's token limit.
- Static Knowledge: Fixed prompts cannot adapt to a specific user's unique vocabulary or personal household preferences without manual re-engineering.
To address these challenges, we present HELPER (Human-instructable Embodied Language Parsing via Evolving Routines), an agent that utilizes a memory-augmented LLM to bridge the gap between open-ended dialogue and robotic execution.
2. The HELPER Framework
HELPER is a modular system designed for open-domain instruction following. Its architecture centers on the use of an external memory to dynamically inform the LLM's reasoning process.
2.1 Retrieval-Augmented Situated Prompting (RASP)
Instead of using a static set of examples, HELPER maintains a "language-program memory." When an instruction is received, the system encodes the dialogue into a vector space and retrieves the $K$ most relevant successful language-program pairs. These retrieved examples are then injected into the LLM's prompt, providing the model with contextually relevant demonstrations for the specific task at hand.
2.2 Memory Expansion and Personalization
A key innovation of HELPER is its ability to "evolve." When the agent successfully completes a new task or a personalized routine, the resulting instruction-program pair is stored in its memory. This allows the agent to learn user-specific definitions—such as the specific steps involved in a "Dax sandwich"—and recall them for future requests without requiring gradient-based retraining.
2.3 Visually-Grounded Plan Correction
To handle execution failures, HELPER integrates a Vision-Language Model (VLM). If an action fails (e.g., an object is missing or occluded), the VLM (ALIGN) matches the visual scene against a library of failure descriptions. This text-based feedback is returned to the LLM, which performs "self-reflection" to generate a corrective program, such as moving to an alternate viewpoint.
2.4 Common Sense Search and Modular Execution
When objects are not present in the robot's 3D occupancy map, HELPER queries the LLM for common-sense locations (e.g., searching for a "knife" near a "sink"). The system's modular executor then handles low-level tasks, including 3D mapping, object tracking, and precondition verification.
3. Experimental Evaluation
3.1 Dataset and Tasks
We evaluated HELPER on the TEACh (Task-driven Embodied Agents that Chat) benchmark within the AI2-THOR simulator. We focused on two primary tasks:
- Trajectory from Dialogue (TfD): Inferring action sequences from initial dialogue.
- Execution from Dialog History (EDH): Predicting subsequent actions based on past interactions and observations.
3.2 Key Results
HELPER achieved a new state-of-the-art (SOTA) on the TEACh benchmark:
- TfD Performance: HELPER reached a 13.73% success rate, a 1.7x improvement over the previous SOTA (DANLI, 7.98%).
- Goal-Condition Success: The model outperformed prior work by over 2.1x in completing specific sub-goals.
- Human Feedback: Incorporating a single round of human feedback after execution resulted in an additional 1.3x boost in success rates.
- Personalization: In a targeted evaluation of 40 user-specific routine modifications, HELPER generated the correct plan in 37 cases (92.5%).
4. Discussion and Insights
4.1 Memory as a Dynamic Context
By treating the prompt as a retrieval task, HELPER bypasses the physical limitations of LLM context windows. The model only processes information relevant to the current instruction, increasing both efficiency and accuracy.
4.2 Learning Without Gradients
HELPER demonstrates that embodied agents can adapt to user idiosyncrasies through in-context learning and memory storage. This allows for immediate personalization that is often impossible with traditional fine-tuning methods.
4.3 Current Limitations
Despite its success, HELPER faces several hurdles:
- Perception Bottleneck: Experiments with ground-truth perception suggest that success rates could double if 3D vision and object detection were perfect.
- Inference Costs: Reliance on high-end LLM APIs (like GPT-4) introduces latency and financial costs that may limit real-time deployment.
- Modality Gaps: The current memory is primarily text-based. Future work should explore multi-modal memory that encodes visual scene context alongside language-program pairs.
5. Conclusion
HELPER represents a significant step toward truly instructable household robots. By augmenting LLMs with an evolving external memory and VLM-based error recovery, we provide a framework that can handle the complexity of human dialogue and adapt to the unique needs of individual users in open-ended environments.
Summary updated