atlas

Research map / Large language models / Agents, code and math

Towards Reliable Code-as-Policies: A Neuro-Symbolic Framework for Embodied Task Planning

NeurIPS 2025 · Large language models › Agents, code and math · approach: Long-horizon LLM agents · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes NeSyRo, a recursive neuro-symbolic framework that pairs SMT-based code verification with LLM and PDDL-planner-based validation (NeSyConf) and safe exploratory probe code to ground LLM-generated robot code under partial observability.

Problem

LLM code-as-policies for robot task planning become unreliable in dynamic, partially observable settings because generated code is ungrounded and lacks missing observations, leading to incorrect or incomplete code and irreversible actions.

Approach

Combines symbolic verification (Z3 SMT checks of generated code against a task spec) with interactive validation: each skill gets a neuro-symbolic confidence (LLM perplexity-based common-sense confidence times PDDL-planner logic confidence); low-confidence skills trigger recursively verified exploratory probe code that gathers missing observations before the main policy is refined.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add recursive symbolic verification and interactive validation with safe probingCaP w/ CodeSift · Real-world total, partial observabilitySR: 10.6{ \textcolor{gray}{$\pm$4.4}} -> 57.5{ \textcolor{gray}{$\pm$3.5}}Helped
add recursive symbolic verification and interactive validation with safe probingCaP w/ CodeSift · Real-world total, partial observabilityIA: 29 -> 7Helped
add recursive symbolic verification and interactive validation with safe probingCaP w/ CodeSift · RLBench, all task types and observability levelsSR: +26.3%Helped
add logic confidence (LC) (ablation)NeSyRo · RLBench long-horizon, High/Low incompletenessSR: 44.3{ \textcolor{gray}{$\pm$2.0}} -> 61.9{ \textcolor{gray}{$\pm$6.2}}Helped
add common sense confidence (CSC) (ablation)NeSyRo · RLBench long-horizon, High/Low incompletenessSR: 37.1{ \textcolor{gray}{$\pm$4.0}} -> 61.9{ \textcolor{gray}{$\pm$6.2}}Helped
add logic confidence (LC) (ablation)NeSyRo · RLBench long-horizon, High/Low incompletenessGC: 54.2{ \textcolor{gray}{$\pm$0.1}} -> 72.0{ \textcolor{gray}{$\pm$3.9}}Helped
add common sense confidence (CSC) (ablation)NeSyRo · RLBench long-horizon, High/Low incompletenessGC: 49.9{ \textcolor{gray}{$\pm$4.4}} -> 72.0{ \textcolor{gray}{$\pm$3.9}}Helped
increase CSC model from Llama-3.2-1B to Llama-3.2-3B (ablation)NeSyRo · RLBench long-horizon, High/Low incompletenessSR: 32.5{ \textcolor{gray}{$\pm$3.5}} -> 45.0{ \textcolor{gray}{$\pm$0.0}}Helped
use CSC models with 3B or more parameters instead of Llama-3.2-1B (ablation)NeSyRo · RLBench long-horizon, High/Low incompletenessSR: 45.0{ \textcolor{gray}{$\pm$0.0}}; 45.0{ \textcolor{gray}{$\pm$7.1}}; 45.0{ \textcolor{gray}{$\pm$0.0}}No clear effect
use GPT-4.1 instead of GPT-4o-mini for code generationNeSyRo · RLBench long-horizon, High/Low incompletenessSR: 45.0{ \textcolor{gray}{$\pm$0.0}} -> 50.0{ \textcolor{gray}{$\pm$7.1}}Helped

Surprising findings

Limitations

Experimental setup

Datasets: RLBench tasks (self-defined task types) real-world Franka tabletop tasks

Benchmarks: RLBench real-world Franka Research 3 tabletop tasks

Metrics: success rate goal condition irreversible actions compile error rate

Baselines: Code as Policies CaP w/ Lemur CaP w/ CodeSift LLM-Planner AutoGen

Builds on: Code as Policies SayCan Chain-of-thought prompting Fast Downward

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy