Research
Meta-Ctrl: Guaranteed Plan Generation by Decoupling Syntactic and Semantic Constraints
Large language models can write plausible-looking robot plans, but the plans routinely fail to execute: they name objects that are not there, skip required steps like opening a container before…

- arXiv
- 2608.22149 · Preprint · not peer-reviewed
- Published
- 2026-08-23 · revised · 2026-08-28
- Authors
- Gwen Yidou-Weng, Edward Sun, Tianyi Ma, Metin Alp Dogan, Benjie Wang, Allen Peng, Guy Van den Broeck, Yuchen Cui
In plain words
Large language models can write plausible-looking robot plans, but the plans routinely fail to execute: they name objects that are not there, skip required steps like opening a container before placing something in it, or end before the goal is reached.
AI summary
Overview
Research area: Robotics / LLM-based task planning, with roots in constrained decoding and formal methods (finite automata, neuro-symbolic planning).
Technical level: Advanced. The paper assumes familiarity with autoregressive language modeling, deterministic finite automata, and hidden Markov models. The summary below explains the core ideas without the derivations.
Scope: A constrained-decoding framework that guarantees LLM-generated robot plans satisfy both token-level syntax and action-level semantics by enforcing each at its natural granularity.
What This Paper Is About
Large language models can write plausible-looking robot plans, but the plans routinely fail to execute: they name objects that are not there, skip required steps like opening a container before placing something in it, or end before the goal is reached. Existing fixes force a trade-off — soft guidance (affordance scores, grounded decoding) improves plans without guaranteeing anything, while symbolic planners (LLM+P) guarantee validity but discard the language model's commonsense. The goal is to get both at once: every generated plan provably satisfies the encoded constraints while still being a plan the language model would plausibly have written.
Key Contributions
-
Formally guaranteed constrained decoding for robot planning. The authors apply Ctrl-G — which reweights each token by the estimated probability that the full completion will satisfy a constraint — to plan generation, enforcing syntactic validity with a provable guarantee rather than a soft score.
-
Meta-tokens and an exact two-level factorization. They introduce a compact vocabulary of grounded actions ("meta-tokens") and a parser mapping syntactically valid token sequences to action sequences. Because this parser is a bijection on the syntactically valid set, the joint constraint over syntax and semantics decouples exactly into a token-level term and an action-level term, communicating only through a bridging term.
-
A tractability result. Enforcing syntax and semantics in a single token-level automaton requires a product state space — for a median VirtualHome task, 350M states, 1,720 T compute units, and 107 TB of decoding memory. Factoring reduces this to 57K states, 922 G compute, and 1.6 GB, roughly 1,900× less compute and 67,000× less memory. The meta-token HMM also fits the data far better: 2.01 versus 33.54 per-action negative log-likelihood, about 16.7× better.
-
Empirical validation across three benchmarks and a real robot. A 8B open-weight model lifted by Meta-Ctrl exceeds every model on the Embodied Agent Interface leaderboard on VirtualHome, and reaches the highest reported subgoal success rate on WAH-NL under the LoTa-Bench protocol. The framework is also deployed on a tabletop XArm7.
Main Findings
-
A small open model becomes a leaderboard-topping planner. On Llama 3 8B, VirtualHome Action Sequencing task success rises from 21.3 to 90.4 and execution success from 23.6 to 97.7; Subgoal Decomposition goes from 48.8 to 89.9. These exceed GPT-4o (71.5), Claude 3.5 Sonnet (76.1), Mistral Large (78.4), o1-preview (65.2), and the 8× larger Llama 3 70B (59.0) on that column. On gpt-oss-20B, VirtualHome AS rises from 74.4 to 86.6.
-
BEHAVIOR shows where the method's ceiling lies. Task success improves by less there (Llama 3 8B: 10 to 34 on AS, 22 to 36 on SD), but execution success jumps sharply (16 to 89 on AS, 29 to 66 on SD). The explanation is coverage: VirtualHome prompts let the automaton encode 82% of the task's preconditions from the prompt alone, whereas BEHAVIOR prompts supply only 24%; the rest must come from the benchmark's published object taxonomy plus five generic rules, still less than the full transition model the benchmark gives its own planners.
-
On WAH-NL, semantic control accounts for essentially all of the gain. Raw Llama 3.1 8B scores 0.000 task success and 0.010 execution. Adding syntax-only control raises subgoal success by just 1.5 points and leaves execution at 0.010. Full Meta-Ctrl reaches 0.470 task success, 0.705 subgoal success, and 1.000 execution — above LoTa-Bench's strongest reported configuration (LLaMA-1 65B at 0.433 subgoal success, GPT-4 at 0.342) and the closed-loop STEP baseline (0.620).
-
Guarantees remove the dominant error modes. On BEHAVIOR AS, 24% of raw Llama 3 8B outputs contain format or hallucination errors (15% hallucinated objects, 9% malformed parameters); under Meta-Ctrl this is 0% by construction. On VirtualHome AS, the model's 22.3% combined error rate becomes 0% LM-fault.
-
Guidance signal matters as much as the constraint. Under identical automata, syntax-only masking collapses to 1.4 task success at 97.3 execution — the greedy model picks the shortest well-formed continuation, which runs cleanly and achieves nothing. Masking alone (reachability only) reaches 81.7 on VirtualHome AS, no better than breadth-first search over the automaton with no LLM at all (83.8). A uniform lookahead reaches 90.7 and cuts hallucination from 6.2% to 1.6% and missing steps from 3.3% to 0.7%. The trained HMM gives the best execution success on three of four modules.
-
A classical planner with more information does worse. Fast Downward, given the benchmark's own complete PDDL domain, scores 47.2/84.6 on VirtualHome AS and 13/37 on BEHAVIOR AS, because encoding constraints rather than a world model degrades gracefully when knowledge is incomplete.
-
Porting to a new base LM needs no training. The language model contributes grounding and ordering commonsense worth +6.9 on VirtualHome AS and +16 on VirtualHome SD. Because the syntax automaton is compiled from the prompt over whatever tokenizer the model uses, and the meta level is defined over grounded actions rather than tokens, ports to Qwen3-8B (152K byte-level BPE vocabulary) and Gemma-3-12B-it (262K SentencePiece) took roughly 40 and 35 changed lines, reproducing 90.7/97.7 and 89.4/96.1. Replacing the trained token-level HMM with a uniform one left 273 of 342 VirtualHome AS programs byte-identical, moving task success by −0.7.
-
Real robot: planning failures vanish, downstream failures remain. On an XArm7 with 20 rollouts per task, Meta-Ctrl achieved 20/20 planning success on all three pick-and-place tasks versus 2/20, 1/20, and 0/20 for the unconstrained baseline. End-to-end success was 16/20, 18/20, and 17/20, with remaining failures attributable to perception and grasp execution rather than planning.
Methodology in Plain English
The researchers split the problem of "is this plan valid?" into two questions asked at two different levels of granularity.
Level 1 — syntax, one token at a time. A language model emits text one token at a time. The authors compile the rules for well-formed action blocks (valid action names, correct argument structure, proper JSON) into a finite automaton — a state machine that reads tokens left to right and rejects anything malformed. They then use Ctrl-G, which at each step multiplies the model's next-token probability by an estimate of how likely the rest of the sequence is to end in a valid completion. That estimate comes from a small hidden Markov model trained to mimic the language model. Unlike a hard mask, this reweighting still zeroes out dead ends (preserving the guarantee) but prefers tokens that lead somewhere natural rather than merely somewhere legal.
Level 2 — semantics, one action at a time. Physical validity depends on the evolving world state — whether an object has been grasped, whether a container is open — not on formatting. So the authors define a vocabulary of meta-tokens, each a single grounded action such as Open(dishwasher), and a parser that maps each completed action block of tokens to exactly one meta-token. A second automaton runs over this small vocabulary, tracking preconditions, goals, and ordering. Generation is reweighted by a second lookahead estimate computed entirely at the action level.
Why this is exact, not an approximation. Because the parser is one-to-one on syntactically valid sequences, the token-level prefix carries no information about the semantic future once the completed actions are known. The joint posterior therefore factors cleanly into three terms — a bridging term that maps the partial token sequence to a distribution over the action it is committing to, a token-level syntax term, and an action-level semantics term. The expensive part (carrying world state) is confined to the small action vocabulary, and the automata can be swapped per task in seconds while the trained surrogates are shared across tasks.
Evaluation. Three benchmarks — Embodied Agent Interface (VirtualHome and BEHAVIOR, across Action Sequencing and Subgoal Decomposition), WAH-NL under the LoTa-Bench protocol, and a real XArm7 tabletop with open-vocabulary perception (Molmo, SAM2) and grasp synthesis (GraspGen) behind a Code-as-Policies executor — plus ablations that swap the guidance signal while holding the constraints fixed.
Why This Matters
The paper argues that for robot planning, the choice between "guaranteed but brittle" and "flexible but unreliable" is a false one. By showing that the guarantee and the language model's commonsense are both load-bearing — the automaton alone reaches 83.8 on VirtualHome AS, the LM adds +6.9 there and +16 on Subgoal Decomposition — it reframes constrained decoding as a way of injecting structure rather than restricting output. The factorization result is the enabling technical step: it turns an intractable product construction into two cheap independent problems.
Real-world applications:
- Household service robots performing long-horizon tasks like loading a dishwasher or stacking dishes, where precondition ordering (open before place, grasp before move) is the dominant failure mode.
- Warehouse and logistics manipulation, where pick-and-place sequences must satisfy inventory and container-state invariants before execution.
- Assistive robotics for activities of daily living, where an invalid plan is not merely inefficient but potentially unsafe, and where formal guarantees support certification.
- Articulated-object manipulation — opening doors, drawers, and containers — which the authors demonstrate as tasks requiring specialized motion primitives beyond pick-and-place.
Industry relevance: the results suggest that a deployed system need not depend on a frontier closed-weight model. An 8B open-weight model with the right constraints outperforms models an order of magnitude larger on the structured planning benchmark, and the porting result (under 100 changed lines, no retraining) means the approach can follow whatever base model an organization standardizes on. The 107 TB to 1.6 GB memory reduction is the difference between a method that only works in a paper and one that fits on deployment hardware.
Future Directions
-
Learned constraint extractors. The automata are currently built from structured specifications; on BEHAVIOR this requires the benchmark's published object taxonomy. Domains without such a specification need either learned extractors (the authors point to active knowledge acquisition as a possible source) or deliberately more permissive constraints, in which case the guarantee holds only relative to what the extractor recovers.
-
Beliefs over automaton states. On a real robot the automaton is initialized from the perception-estimated symbolic state, so the guarantee is relative to the robot's believed state, not the true one. Carrying a distribution over automaton states rather than a single state is the natural extension.
-
Constraints beyond finite automata. The method assumes both constraints are DFA-expressible. Constraints requiring unbounded memory — arbitrary arithmetic over continuous quantities, for instance — fall outside this class.
-
One surrogate across modules and models. The HMM surrogates are shared across simulators but trained per module type. A single surrogate spanning module types and base models remains open work. Separately, the fixed affordance prior over-constrains on BEHAVIOR, rejecting 17% of gold plans, which points to a need for specifications that are complete without being restrictive.
Target Audience
Researchers and engineers working on LLM-based robot task planning, constrained or guided decoding, and neuro-symbolic methods. It is most useful to readers who already understand autoregressive decoding and finite-state methods, and who care about the gap between "a plan that parses" and "a plan that executes." Practitioners deploying manipulation systems will find the real-robot section and the porting results directly actionable; readers interested in formal guarantees will find the factorization argument and the explicit product-construction baseline in the appendix the most distinctive part.
Authors’ abstract
LLMs generate fluent plans for robots but routinely violate the syntactic and se8mantic constraints they must satisfy to execute, and existing remedies trade formal guarantees against plan quality: soft methods (affordance scoring, grounded decoding) give no guarantee, while symbolic planners (LLM+P) discard the LM's commonsense. We propose \textbf{Meta-Ctrl}, a constrained-decoding framework that guarantees the encoded constraints while preserving the base LM's plan…
The full abstract on arXivRelated papers
- Visible Touch: Rendering Contact for Visuomotor Policies 2026-09-12 · cs.RO · Also by Allen Peng, Edward Sun +2
- FetchMan: Learning Visual Humanoid Loco-Manipulation Policies from Simulated Experiences 2026-08-17 · cs.RO · Also by Yuchen Cui
- DexDirect: Direct Kinesthetic Arm Guidance for Efficient Dexterous Demonstration Collection 2026-07-30 · cs.RO · Also by Yuchen Cui
- Fast Coordinated Bimanual Motion Planning With Hard Constraints 2026-08-21 · cs.RO · Key terms of the title in common
- Geo-VLA: Geometry-Aware Vision-Language-Action Planning via Internalization of Map Semantics 2026-08-18 · cs.RO · Key terms of the title in common