CEDAR: Automata as Verifiable Interfaces for Language-Guided Embodied Action
Organizations: Department of Computer Science University of Colorado Boulder, USA
Abstract
Natural-language tasking of embodied agents is rarely just goal specification: users also impose constraints that must persist while the world changes. Code-generating LLM agents can produce plausible behaviors for such instructions, but their free-form programs provide no stable object to verify, compose with new constraints, or repair from a failing trace. We present CEDAR, a counterexample-guided framework that grounds instructions as regular languages over environment event traces. CEDAR uses a language model for semantic judgments and execution traces for correction, then represents both skills and specifications as deterministic finite automata. This turns constraints into executable finite-state objects: a learned skill can be intersected with a learned sleep at night or stay in this biome specification, yielding a controller that enforces the learned constraint by construction rather than by repeated prompting. In Minecraft, with the same simulator/API observations available to a program-generating baseline, CEDAR maintains temporal and spatial constraints that the baseline fails to preserve and amortizes reuse of learned skills, reducing cumulative LLM queries. These results suggest that regular languages offer a practical verification layer between natural-language instructions and embodied-agent policies.
Figures & tables
| Term | Meaning in CEDAR |
| Alphabet | Task-specific set of actions, objects, and event-predicate symbols used to write traces. |
| Word | Sequence of symbols in extracted from environment logs. |
| Skill DFA | Automaton whose accepted words correspond to successful execution of a task skill. |
| Specification DFA | Automaton whose accepted words satisfy a persistent natural-language constraint. |
| MQ | Query asking whether a word is consistent with an instruction; answered by the LLM. |
| EQ/CE | Test of a hypothesis DFA; a mismatch yields a counterexample trace. |
| Method | Found diamond | Constraint compliant | Joint success | Mean health |
| Voyager without assertions | 4/5 | 0/5 | 0/5 | |
| Voyager with assertions | 4/5 | 2/5 | 0/5 | |
| CodeAct without assertions | 3/5 | 1/5 | 0/5 | |
| CodeAct with assertions | 0/5 | 3/5 | 0/5 | |
| CEDAR | 5/5 | 5/5 | 5/5 |
| Method | Actions | Underground | Overground | Items | Objects |
| Voyager | |||||
| CEDAR |
| Method | Wooden Pickaxe | Iron Pickaxe | Diamond Pickaxe | Lava Bucket | Compass |
| Voyager w/o S.L. | (25/25) | (25/25) | (11/25) | (19/25) | (17/25) |
| Voyager | (25/25) | (25/25) | (17/25) | (25/25) | (25/25) |
| CEDAR w/o S.L. | (25/25) | (25/25) | (18/25) | (25/25) | (9/25) |
| CEDAR | (25/25) | (25/25) | (23/25) | (25/25) | (25/25) |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Logs | Table | Cobble | Furnace | Iron | Diamond |
| Voyager | 4 | 13 | 25 | 34 | 41 | 75 |
| CEDAR | 18 | 20 | 23 | 28 | 30 | 37 |
| Stage | Voyager | CEDAR |
| Task decomposition | ||
| Code/sample generation | ||
| Program description | N/A | |
| Skill addition | ||
| DFA construction | N/A | |
| Skill retrieval |
| Metric | Absolute Acc. | Overlap Coef. | Cosine Sim. |
| RAG |
| Task | LLM calls | Outcome |
| Make Toast | 2 | success |
| Make Coffee | 2 | success |
| Cook Potato | 2 | success after CE fix |
| Make Salad | 2 | success |
| Store Plate in Fridge | 2 | success |
| Item | Accuracy | Standard deviation |
| Dirt | 0.9727 | 0.1629 |
| Birch Log | 0.8636 | 0.3432 |
| Grass Block | 1.0000 | 0.0000 |
| Birch Leaves | 0.9909 | 0.0949 |
| Stone | 0.9727 | 0.1629 |
| Coal Ore | 1.0000 | 0.0000 |
| Specification | Human CEs | Final DFA states |
| Sleep at night | 8 | 9 |
| Mining only at night | 5 | 5 |
| Stay in windswept forest | 4 | 2 |
| Method | Found diamond | Constraint compliant | Joint success |
| Voyager w/o A. | 4/5 | 0/5 | 0/5 |
| Voyager w/ A. | 4/5 | 2/5 | 0/5 |
| CodeAct w/o A. | 3/5 | 1/5 | 0/5 |
| CodeAct w A. | 0/5 | 3/5 | 0/5 |
| CEDAR | 5/5 | 5/5 | 5/5 |
| Task | Voyager w/o S.L. | Voyager | CEDAR w/o S.L. | CEDAR |
| Wooden | 25/25 | 25/25 | 25/25 | 25/25 |
| Iron | 25/25 | 25/25 | 25/25 | 25/25 |
| Diamond | 11/25 | 17/25 | 18/25 | 23/25 |
| Lava | 19/25 | 25/25 | 25/25 | 25/25 |
| Compass | 17/25 | 25/25 | 9/25 | 25/25 |
| Metric | Diamond Sleep | Mine Night | Explore Biome |
| Skill DFA states | 7 | N/A | N/A |
| Specification DFA states | 9 | 3 | 2 |
| Reachable product states | 17 | 3 | 2 |
Language-Conditioned Robot Control
Language-conditioned robot control connects natural-language instructions to grounded, safe actions across tasks and robot embodiments.
See all 74 papers