TL;DR
Large language models are fluent dreamers, which is a dangerous trait when they are put in charge of physical robots—their multi-step plans often read well on paper while quietly violating the laws of physics. This paper introduces MAPS, a framework that teaches LLMs the difference between a minor typo and flying a drone into a wall during training, and pairs them with a lightning-fast rule-checker during inference to prune impossible actions on the fly. The result is embodied robot planning that is both safer and faster than simply asking the LLM to "try again."
What Problem Does This Paper Address?
When you ask an open-source LLM to coordinate robots over a dozen steps—say, making coffee and handing it off across a building—it tends to suffer from "execution hallucinations." It generates plans that sound completely logical in English, yet command a robot to exceed its payload limit or walk through a locked door.
Existing fixes generally fall into two camps, and both hit a wall in real-world robotics:
- Standard Preference Fine-Tuning (DPO): Direct Preference Optimization teaches models by contrasting "good" plans against "bad" ones. However, standard DPO is binary—it treats a trivial JSON formatting hiccup and a catastrophic physical violation as equally "bad." Consequently, the model never learns to prioritize hard physical safety constraints.
- Inference-Time Tree Search: Letting an LLM explore multiple future branches (like Tree-of-Thoughts) improves accuracy, but without built-in physical rules, the model wastes massive compute exploring physically impossible branches. The resulting latency makes real-time robotic deployment impractical.
Methods
The authors propose MAPS (Margin-Aware Priors and Verifier-Guided Search), a two-stage architecture anchored by a single symbolic verifier—an explicit, rule-based engine that checks state transitions, physical capabilities, and goal completion.
- Training with Margin-Aware DPO (mDPO): Instead of treating all failures equally, the symbolic verifier scores negative training plans based on how badly they fail. mDPO maps these severity scores into dynamic optimization margins and sample weights. If a rejected plan violates a hard physical constraint, mDPO pushes the model's probability distribution much harder away from it than if it merely forgot an
<answer>tag. This yields a much stronger "planner prior" (the model's initial instinct before any search happens). - Inference with Verifier-Guided Search (VGS): Even a well-trained LLM can slip up over a 12-step horizon. When the LLM proposes an initial plan, the symbolic verifier checks it step-by-step. If it's valid, it executes immediately. If a step fails, VGS kicks in using Monte Carlo Tree Search (MCTS)—a classic lookahead search algorithm—to repair the trajectory. Crucially, the verifier hard-prunes invalid physical transitions before they even enter the search tree, guiding the repair with fast, explicit heuristics rather than expensive new rounds of LLM token generation.
Datasets
To train and test their system, the authors introduce a new benchmark alongside three established public environments:
- App-200 (New): A multi-robot delivery benchmark featuring 200 execution-verified tasks averaging ~12 steps each (varying pickup sources, robot morphologies, and handovers). Built via an automated 4-stage pipeline that intentionally injects targeted errors into valid plans, it is the first benchmark of its kind to include step-level error severity labels rather than just pass/fail grades.
- Public Benchmarks: RWARE (constrained multi-agent warehouse routing), ProcTHOR (embodied planning across diverse 3D indoor scenes), and ALFWorld (interactive household tasks from text instructions).
Key Insights and Ideas
- Not all mistakes deserve the same slap on the wrist: Gradient analysis of mDPO shows that scaling the preference margin by error severity directly amplifies gradient updates for catastrophic mistakes. This shows up clearly in out-of-distribution (unseen building) tests, where mDPO retains a 31.0% direct success rate compared to just 14.0% for vanilla DPO.
- Symbolic search is practically free compared to LLM decoding: A common fear with search-based planning is latency. Here, almost 99.5% of runtime is spent just waiting for the LLM to generate its initial tokens. Running VGS to check rules and repair broken plans in symbolic space takes just 45 milliseconds per task—making symbolic tree repair faster and more accurate than asking the LLM to self-reflect and rewrite its answer.
- Training and search are complementary: VGS does the heavy lifting to get plans across the finish line, while mDPO ensures the initial plan isn't so broken that search can't save it.
Key Results
Using a Qwen2.5-7B backbone (with ablations on Llama-3.1-8B), MAPS achieves an average exact execution success rate of 86.84% across all four benchmarks, beating the strongest baseline by 2.98 percentage points:
- Benchmark Accuracy: MAPS hits 96.50% on App-200 (vs. 91.83% for ToT-style search and 80.33% for Vanilla DPO), 93.67% on ProcTHOR, and 93.67% on ALFWorld, while essentially tying ToT on RWARE (63.50% vs. 63.92%).
- Speedup over Retry: In matched latency tests on App-200 and ProcTHOR, VGS boosts average final success from 97.5% to 99.0% compared to Reflexion-style LLM retries, while cutting average end-to-end runtime from 12.814s down to 10.969s.
Limitations and Future Work
- Simulation vs. Reality: Evaluations rely on symbolic execution rather than physical robot hardware, meaning real-world headaches like sensor noise, wheel slip, and actuation uncertainty aren't captured yet.
- Verifier Dependence: MAPS is only as safe as its symbolic verifier. If human engineers forget to code an important physical rule—or write a buggy one—the system can still approve unsafe plans.
- Cross-Environment Transfer: While mDPO beats baselines on unseen buildings, absolute performance still drops sharply out-of-distribution (from 68.4% ID to 31.0% OOD without search). Future work aims to deploy MAPS on physical robots and tackle harder multi-agent coordination settings.
Summary updated