Introduction
Robot task planning faces a persistent trade-off between the rigorous safety of symbolic logic and the intuitive flexibility of natural language interfaces. Traditional symbolic planners using Linear Temporal Logic (LTL) provide formal guarantees but require expert-defined states. Conversely, neural planners leveraging Large Language Models (LLMs) offer ease of use but are prone to hallucinations and lack formal safety bounds. This paper introduces HERACLEs (HiERArchical ConformaL natural languagE planner), a neuro-symbolic framework that bridges this gap by combining LTL, LLMs, and Conformal Prediction.
The HERACLEs Framework
HERACLEs employs a hierarchical architecture designed to provide mathematical guarantees on mission success while maintaining a natural language interface. The framework consists of four primary layers:
- LTL-NL Specification: Missions are defined using LTL formulas composed of Natural Language (NL) predicates (e.g., "deliver a bottle to the kitchen").
- Symbolic Planner: This layer manages the high-level mission logic, treating it as a Deterministic Finite Automaton (DFA). It identifies the next NL sub-task required to satisfy the overall LTL objective.
- Neural Planner: A pre-trained LLM translates the current sub-task into specific robot actions.
- Conformal Prediction Interface: This statistical layer acts as a safety valve. It generates a prediction set of possible actions. If the LLM's uncertainty results in a set with multiple valid actions, the system triggers a "Help Mode," prompting human intervention or symbolic re-evaluation.
Experimental Evaluation
The authors evaluated HERACLEs across a variety of simulated and hardware-based scenarios, using 111 unique mission scenarios ranging from "Easy" to "Hard" based on logical complexity.
Methodology and Datasets
- Calibration: Small sets of 15–20 sequences were used to calibrate the Conformal Prediction model for various LLMs, including GPT-3.5 and the Llama series.
- Hardware Experiments: Real-world testing was conducted on a TurtleBot3 Waffle Pi in a "Mini-City" environment to test the system's ability to handle physical obstacles and environmental uncertainty.
Key Results
HERACLEs demonstrated significant improvements over existing LLM-based planners:
- Reliability: The system consistently met user-defined success targets (e.g., achieving ~93% success for a 90% target).
- Efficiency: Compared to the KnowNo baseline, HERACLEs required substantially fewer human interventions. For instance, using Llama 2-13b at a 95% confidence level, the help rate dropped from 78% to 12%.
- Logical Robustness: On complex tasks where traditional LLM planners often fail completely, HERACLEs maintained high accuracy by offloading logical sequencing to the symbolic layer.
Discussion and Future Work
The core innovation of HERACLEs lies in its ability to formalize uncertainty. By using Conformal Prediction, the robot can mathematically bound the probability that the correct action is within its current set. This allows the system to "know what it doesn't know," preventing the confident hallucinations typical of standard LLMs. Furthermore, the hierarchical decomposition reduces the LLM's cognitive load, as it only needs to plan for short-horizon sub-tasks rather than the entire mission.
Limitations
While robust, the current framework assumes perfect execution of low-level skills (e.g., successful grasping). Future research aims to integrate "skill uncertainty" into the conformal framework, allowing the robot to request assistance if it predicts a high likelihood of physical failure. Additionally, extending the system to dynamic environments with moving agents remains a key objective.
Summary updated