Code-as-Symbolic-Planner: Foundation Model-Based Robot Planning via Symbolic Code Generation
Not on the map. Why?
Abstract (arXiv)
Recent works have shown great potentials of Large Language Models (LLMs) in robot task and motion planning (TAMP). Current LLM approaches generate text- or code-based reasoning chains with sub-goals and action plans. However, they do not fully leverage LLMs' symbolic computing and code generation capabilities. Many robot TAMP tasks involve complex optimization under multiple constraints, where pure textual reasoning is insufficient. While augmenting LLMs with predefined solvers and planners improves performance, it lacks generalization across tasks. Given LLMs' growing coding proficiency, we enhance their TAMP capabilities by steering them to generate code as symbolic planners for optimization and constraint verification. Unlike prior work that uses code to interface with robot action modules, we steer LLMs to generate code as solvers, planners, and checkers for TAMP tasks requiring symbolic computing, while still leveraging textual reasoning to incorporate common sense. With a multi-round guidance and answer evolution framework, the proposed Code-as-Symbolic-Planner improves success rates by average 24.1% over best baseline methods across seven typical TAMP tasks and three popular LLMs. Code-as-Symbolic-Planner shows strong effectiveness and generalizability across discrete and continuous environments, 2D/3D simulations and real-world settings, as well as single- and multi-robot tasks with diverse requirements. See our project website https://yongchao98.github.io/Code-Symbol-Planner/ for prompts, videos, and code.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 35 of its 45 references that are in the map. First posted on arXiv 3 Mar 2025.
Builds on
35 of 45 references.
References · 35
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
- 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
- 2021Open-vocabulary Object Detection via Vision and Language Knowledge Distillationcited by 903
- 2022ProgPrompt: Generating Situated Robot Task Plans using Large Language Modelscited by 598
23 more
- 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 542
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2022PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Changecited by 372
- 2020Integrated Task and Motion Planningcited by 281
- 2023Text2Motion: From Natural Language Instructions to Feasible Planscited by 223
- 2023TidyBot: Personalized Robot Assistance with Large Language Modelscited by 219
- 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planningcited by 204
- 2023MathCoder: Seamless Code Integration in LLMs for Enhanced Mathematical Reasoningcited by 155
- 2018PDDLStream: Integrating Symbolic Planners and Blackbox Samplers via Optimistic Adaptive Planningcited by 147
- 2023Task and Motion Planning with Large Language Models for Object Rearrangementcited by 140
- 2023GenSim: Generating Robotic Simulation Tasks via Large Language Modelscited by 120
- 2023AutoTAMP: Autoregressive Task and Motion Planning with LLMs as Translators and Checkerscited by 111
- 2023Scalable Multi-Robot Collaboration with Large Language Models: Centralized or Decentralized Systems?cited by 104
- 2023ChatGPT Empowered Long-Step Robot Control in Various Environments: A Case Applicationcited by 48
- 2024Guiding Long-Horizon Task and Motion Planning with Vision Language Modelscited by 46
- 2023Errors are Useful Prompts: Instruction Guided Task Programming with Verifier-Assisted Iterative Promptingcited by 45
- 2024PRompt Optimization in Multi-Step Tasks (PROMST): Integrating Human Feedback and Heuristic-based Samplingcited by 32
- 2024Steering Large Language Models between Code Execution and Textual Reasoningcited by 24
- 2022Multi-agent Motion Planning from Signal Temporal Logic Specificationscited by 21
- 2016Towards Blended Reactive Planning and Acting using Behavior Treescited by 20
- 2024Trust the PRoC3S: Solving Long-Horizon Robotics Problems with LLMs and Constraint Satisfactioncited by 19
- 2017Combined Task and Motion Planning as Classical AI Planningcited by 4
Built on by
Citing papers per year: 2025: 5; 2026: 5.
10 papers.
- 2026Show-Harness: Just a VLM Agent Can Play Robotscited by 17
- 2025Collision- and Reachability-Aware Multi-Robot Control with Grounded LLM Plannerscited by 4
- 2025Unifying Inference-Time Planning Language Generationcited by 3
- 2025HyCodePolicy: Hybrid Language Controllers for Multimodal Monitoring and Decision in Embodied Agentscited by 2
- 2026SAIL: Test-Time Scaling for In-Context Imitation Learning with VLMcited by 2
- 2025Understanding Physical Properties of Unseen Deformable Objects by Leveraging Large Language Models and Robot Actionscited by 1
- 2025Human Centric General Physical Intelligence for Agile Manufacturing Automationcited by 1
- 2026SYMDIREC: A Neuro-Symbolic Divide-Retrieve-Conquer Framework for Enhanced RTL Synthesis and Summarizationcited by 0
- 2026Cross-Domain Demo-to-Code via Neurosymbolic Counterfactual Reasoningcited by 0
- 2026Navigating the Clutter: Waypoint-Based Bi-Level Planning for Multi-Robot Systemscited by 0
- 2026Show-Harness: Just a VLM Agent Can Play Robots9 Sep 2026
- 2026Navigating the Clutter: Waypoint-Based Bi-Level Planning for Multi-Robot Systems22 Apr 2026
- 2026Cross-Domain Demo-to-Code via Neurosymbolic Counterfactual Reasoning19 Mar 2026
- 2026SYMDIREC: A Neuro-Symbolic Divide-Retrieve-Conquer Framework for Enhanced RTL Synthesis and Summarization17 Mar 2026
- 2026SAIL: Test-Time Scaling for In-Context Imitation Learning with VLM9 Mar 2026
- 2025Human Centric General Physical Intelligence for Agile Manufacturing Automation16 Aug 2025
- 2025HyCodePolicy: Hybrid Language Controllers for Multimodal Monitoring and Decision in Embodied Agents4 Aug 2025
- 2025Understanding Physical Properties of Unseen Deformable Objects by Leveraging Large Language Models and Robot Actions4 Jun 2025
- 2025Collision- and Reachability-Aware Multi-Robot Control with Grounded LLM Planners26 May 2025
- 2025Unifying Inference-Time Planning Language Generation20 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025A Systematic Study of Large Language Models for Task and Motion Planning With PDDLStream
- 2025Can LLM-Reasoning Models Replace Classical Planning? A Benchmark Study
- 2025Think Small, Plan Smart: Minimalist Symbolic Abstraction and Heuristic Subspace Search for LLM-Guided Task Planning
- 2025One Demo Is All It Takes: Planning Domain Derivation with LLMs from A Single Demonstration
- 2025Combining Large Language Models and Symbolic Reasoning for Multi-Robot Temporal Planning through Explainable Knowledge Bases
- 2025Lang2Manip: A Tool for LLM-Based Symbolic-to-Geometric Planning for Manipulation
- 2025Hierarchical Planning for Complex Tasks with Knowledge Graph-RAG and Symbolic Verification
- 2024Fast and Accurate Task Planning using Neuro-Symbolic Language Models and Multi-level Goal Decomposition