Abstract
Learning abstract state representations and knowledge is crucial for long-horizon robot planning. We present InterPreT, an LLM-powered framework for robots to learn symbolic predicates from language feedback of human non-experts during embodied interaction. The learned predicates provide relational abstractions of the environment state, facilitating the learning of symbolic operators that capture action preconditions and effects. By compiling the learned predicates and operators into a PDDL domain on-the-fly, InterPreT allows effective planning toward arbitrary in-domain goals using a PDDL planner. In both simulated and real-world robot manipulation domains, we demonstrate that InterPreT reliably uncovers the key predicates and operators governing the environment dynamics. Although learned from simple training tasks, these predicates and operators exhibit strong generalization to novel tasks with significantly higher complexity. In the most challenging generalization setting, InterPreT attains success rates of 73% in simulation and 40% in the real world, substantially outperforming baseline methods.
Introduction
Long-horizon robot planning requires bridging the gap between high-level reasoning and low-level execution. Traditionally, this has been a trade-off: Large Language Models (LLMs) excel at high-level reasoning and understanding human intent but lack formal performance guarantees. Conversely, classical planners (e.g., PDDL) provide rigorous guarantees but require expert-defined symbolic predicates and operators, which are difficult to scale and maintain.
InterPreT addresses this gap by enabling robots to learn symbolic abstractions automatically through natural language feedback from non-expert humans. By translating human corrections into executable Python code and PDDL domains, the framework allows robots to solve complex tasks with the formal reliability of symbolic planning while maintaining the flexibility of a natural language interface.
Methodology: The InterPreT Framework
InterPreT (Interactive Predicate Learning for Task Planning) utilizes a multi-stage pipeline powered by GPT-4 to construct a planning domain dynamically through interaction.
The pipeline consists of several key modules:
- The Reasoner: When a human provides feedback (e.g., "the plate is too big to grasp"), the Reasoner identifies the underlying logical concept and extracts state labels.
- The Coder: Generates Python functions to ground these predicates using perception APIs (e.g., bounding box data) and numerical libraries like NumPy.
- The Corrector: An iterative loop that refines the generated code to align with human labels or fix execution errors.
- Operator Learner: Uses a cluster-and-search algorithm on interaction data to discover action preconditions and effects (e.g., determining that a gripper must be empty to pick an object).
- PDDL Planner: Compiles the learned predicates and operators into a formal PDDL domain, enabling off-the-shelf planners to generate optimal multi-step plans for arbitrary goals.
Experimental Evaluation and Results
The framework was evaluated in both simulated (Kitchen2D) and real-world robot manipulation domains. Tasks ranged from simple stacking to complex meal preparation involving pouring and filling. Evaluation focused on generalization across four levels: Canonical (seen tasks), More Objects (scaling up), Novel Goals (new combinations), and the highly challenging Combined setting.
Key results include:
- Efficiency: The robot acquired a complete set of predicates and operators in as few as 20 interaction steps, demonstrating rapid knowledge acquisition from sparse feedback.
- Superior Generalization: In the most difficult "Combined" simulation tasks, InterPreT achieved a 73% success rate, vastly outperforming baselines like Inner Monologue (0-34%) and Code-as-Policies (38%).
- Real-World Robustness: Despite physical sensor noise, InterPreT maintained a 40% success rate in the hardest real-world generalization settings, where baseline methods failed completely.
Discussion and Conclusion
InterPreT demonstrates that learning predicates as executable Python programs provides an interpretable and expressive bridge between language and planning. By leveraging the semantic richness of human feedback—the "why" behind a failure—the system bypasses the sample inefficiency of traditional reinforcement learning.
While the current framework assumes a symbolic environment and deterministic operators, future work will explore handling continuous or fluid tasks, probabilistic effects to manage real-world uncertainty, and tighter integration with Task and Motion Planning (TAMP) to better bridge the gap between high-level logic and low-level robot control.
Summary updated