TL;DR
Large Language Models are great at understanding what you want when you say "clean up the house for a party," while classical symbolic planners are great at figuring out how to execute tasks without violating physical rules. This paper bridges the two by training an LLM via a new reinforcement learning method—Trace-Guided Policy Optimization (TGPO)—to translate vague human instructions into bite-sized, verifiable symbolic subgoals. By actively fixing the model's intermediate "thought process" during training, TGPO enables robots to reliably plan complex, multi-step household chores in seconds.
What Problem Does This Paper Address?
Imagine asking a home robot to "clean up for a festival gathering." To pull this off, the robot faces two massive hurdles: understanding high-level human intent and executing a long sequence of physical actions without breaking rules (like trying to grab a saucepan from inside a closed cabinet).
Currently, roboticists are caught in a catch-22:
- LLMs have great commonsense reasoning to infer what "cleaning up" entails, but when generating long action plans directly, they hallucinate, forget environment constraints, and suffer from compounding errors.
- Classical symbolic planners—which operate on formal logic languages like PDDL (Planning Domain Definition Language)—guarantee feasible, mathematically sound action sequences. However, they are literal-minded engines that require explicit, rigid goal definitions and cannot interpret vague human requests.
Recent work tried prompting LLMs to translate natural language into a single PDDL goal for a solver. That works for "bring me a towel," but breaks down on complex, 20-step tasks. Decomposing the task into smaller subgoals helps, but training an LLM to do this via Reinforcement Learning (RL) is notoriously hard: rewards are sparse (one syntax error ruins the whole plan), delayed, and noisy (how do you mathematically score "ready for a party"?).
Methods
Instead of relying on clever prompting, the authors train a dedicated 7B-parameter model (initialized via supervised fine-tuning on Qwen2.5-7B) to output two things given an instruction and a text-based scene graph: a natural-language reasoning trace ($T$, the step-by-step decomposition) and a sequence of grounded PDDL subgoals ($G$), which an off-the-shelf symbolic solver then turns into actions.
To train this policy, they build upon GRPO (Group-Relative Policy Optimization, a standard RL algorithm for LLMs) and introduce Trace-Guided Policy Optimization (TGPO). Here is the novel twist:
- Free Rollouts & Verifier Rewards: The policy generates a group of candidate plans $(T, G)$. Each gets a reward multiplying feasibility (0 or 1, checked by the PDDL solver) and task completion (0 to 1, scored by an LLM-as-a-judge rubric or simulator).
- External Trace Correction: When a rollout scores poorly, TGPO doesn't just slap the whole sequence with a negative scalar penalty. Instead, an auxiliary model steps in as a "Trace Improver" to edit only the natural-language reasoning trace ($T \rightarrow \tilde{T}$), fixing missing steps or bad ordering.
- Constrained Rollouts & Joint Update: The policy runs a second pass where decoding is forced to start with the corrected trace $\tilde{T}$, leaving the model to autoregressively generate the new PDDL subgoals $\tilde{G}$ on its own. Both the original and corrected trajectories are pooled together for the RL gradient update.
Datasets
- Synthetic Household Dataset (New): Built atop 3D indoor layouts from the Habitat Synthetic Scene Dataset (HSSD), augmented with objects and user personas to generate diverse tasks. Used for training, plus an unfiltered in-distribution test set split into Easy, Complex (explicit, ~15.6 steps), and Abstract (vague, ~6.4 words, ~20 steps).
- Human Tasks (New): 50 concise (~5.7 words) real-world instructions written by humans looking at visualized scene graphs.
- PARTNR & BEHAVIOR-1K (Existing): Public household planning benchmarks used to test out-of-distribution generalization, plus 10 novel "recombined" 3D simulation tasks in BEHAVIOR-1K for end-to-end execution.
Key Insights and Ideas
- Fix the thought, let the policy write the code: By restricting external corrections strictly to the natural-language trace and forcing the policy to generate the PDDL subgoals itself during the second pass, TGPO turns sparse outcome rewards into dense process guidance—while keeping the tricky symbolic generation step "on-policy."
- Separation of concerns beats end-to-end: An ablated version of TGPO trained to output actions directly (skipping PDDL subgoals) saw its success rate drop from 77.3% to 55.4% on complex tasks. Letting the LLM handle intent and the symbolic solver handle constraints drastically lightens the learning burden.
- Free adaptability to messy reality: Because the policy outputs standard PDDL subgoals rather than hardcoded actions, you can swap the deterministic solver at test time for a probabilistic one (like Monte Carlo Tree Search) to handle real-world execution failures without retraining the LLM.
Key Results
TGPO (7B) handily beats both frontier prompting baselines (using GPT-5 and Gemini-3.0-pro) and standard RL methods (GRPO, Reinforce++):
- Massive gains on ambiguity: On In-Distribution Abstract tasks, TGPO hits 70.2% success, compared to 22.4% for SayPlan (a reflection-based prompting planner), 9.1% for GPT-5, and 51.1% for standard GRPO.
- Fast inference: TGPO plans in 3.1 seconds on average, compared to 8.0s for GPT-5 and 63.7s for SayPlan.
- Out-of-distribution generalization: Achieves 73.6% on Human tasks (vs. 26.5% strongest prompting baseline), 82.6% on PARTNR, and 70.3% on BEHAVIOR-1K (a 61% relative jump over SayPlan's 43.8%).
- Real-world robustness: Under a 10% per-action failure rate in stochastic environments, TGPO still maintains 62.3%–80.5% success. When wired to low-level motor skills in a 3D simulator, it achieves 36% end-to-end completion on novel recombined tasks (vs. 23% for a holistic imitation-learning policy).
Limitations and Future Work
- Scene graphs over pixels: TGPO relies on structured text scene graphs, which can miss subtle visual details. Operating directly on raw visual observations is a key next step.
- Predefined rulebooks: It assumes a comprehensive, human-written PDDL domain already exists. Future work needs to explore learning or adapting symbolic domains on the fly.
- Omniscience assumed: The framework assumes full observability of the house; handling perception uncertainty and active exploration (e.g., opening cupboards just to find the saucepan) remains an open problem.
Summary updated