# LLMs as MDP Designers: A Dependency-Aware Agentic Framework for Automated Robot Policy Generation

Robotics.world

> Building a robot reinforcement learning policy requires someone to decide what the robot observes, what actions it can take, how success is rewarded, and when an episode ends — and mistakes in that…

**arXiv**: 2611.04974 · accepted · NEURIPS

**Published**: 2026-11-03

**Authors**: Hong Je-Gal, Jinwoo Kim, Chanbin Yi, Hyun-Suk Lee

## In plain words

Building a robot reinforcement learning policy requires someone to decide what the robot observes, what actions it can take, how success is rewarded, and when an episode ends — and mistakes in that formulation can make learning fail even when the code runs correctly. This design work is still done manually by domain experts and must be repeated whenever the task, robot, or environment changes.

## AI summary

## Overview

**Research area:** Robotics reinforcement learning, specifically automated Markov decision process (MDP) design and LLM-based multi-agent code generation for robot policy training.

**Technical level:** Advanced. The paper assumes familiarity with reinforcement learning formulations, MDP terminology (state, action, reward, termination), and simulator-based training pipelines. The prose is readable, but the formal content (dependency chains, success-probability model, Proposition 4.1) is aimed at researchers.

**Scope:** The paper proposes ARPG, a multi-agent LLM framework that converts a natural-language robot task description into a verified MDP formulation and an executable Isaac Lab training pipeline, and evaluates it on five Isaac Lab benchmarks plus additional demonstration domains.

## What This Paper Is About

Building a robot reinforcement learning policy requires someone to decide what the robot observes, what actions it can take, how success is rewarded, and when an episode ends — and mistakes in that formulation can make learning fail even when the code runs correctly. This design work is still done manually by domain experts and must be repeated whenever the task, robot, or environment changes.

The paper's goal is to automate that design step end to end: use LLMs as *designers* that build the RL pipeline before deployment (rather than as decision-makers at runtime), so that a free-form task description and a robot specification produce a standalone, task-valid trained policy. The central claim is that the formulation stage must be structured sequentially, because MDP artifacts depend on one another, while implementation can be parallelized once the formulation is fixed.

## Key Contributions

1. **A dependency-aware agentic framework (ARPG) for end-to-end robot RL policy generation** that performs sequential MDP modeling, localized verification and correction, and simulator-structured implementation, producing a policy that runs without any language model at deployment time.
2. **A phase-wise analysis of the policy-generation problem**, separating a sequential, dependency-structured *modeling* phase from a modular *implementation* phase, and a design rationale derived from how human experts formulate and debug robot RL problems.
3. **An explicitly expert-inspectable pipeline** in which all intermediate artifacts — task parameters, robot summaries, objectives, variables, constraints, SAR structure, LaTeX MDP formulations, configuration modules and code — are externalized in a shared "ARPG logbook" supporting inspection, partial re-execution, and targeted modification.
4. **Empirical validation in Isaac Sim/Isaac Lab** across CartPole, Ant, Humanoid, Reach and Lift, plus an ablation isolating the error-correction agent and sequential ordering, and a computational-cost comparison against off-the-shelf agentic systems.

## Main Findings

- **ARPG leads on every benchmark metric.** Reported as MSR/EISR/PGSR triplets over 10 independent runs: CartPole 1.0/1.0/1.0, Ant 1.0/0.9/0.9, Humanoid 0.9/0.7/0.4, Reach 0.9/0.9/0.9, Lift 1.0/0.9/0.4. ARPG has the highest PGSR on all five tasks and consistently high MSR.
- **One-shot monolithic LLM baselines collapse at the implementation stage.** Both GPT-5.2 and Gemini-3 one-shot baselines produce zero EISR and therefore zero PGSR across all tasks, including CartPole, although they sometimes partially satisfy the modeling criteria (for example, MSR of 0.4 on CartPole).
- **Execution feedback alone does not fix formulation.** Iterative GPT-5.2 reaches full success on all three metrics for CartPole and raises EISR across tasks, but on the other four tasks its MSR stays at the one-shot level and PGSR remains low.
- **Off-the-shelf agentic systems produce executable but non-learnable environments.** Claude Code (Claude Sonnet 4.6) and Codex (GPT-5.2) improve component-wise implementation, and some baseline configurations reach EISR of 0.9 on Ant and Humanoid while PGSR stays at 0.0. The paper attributes these failures to misaligned reward and termination logic, over-specified reward functions, and poorly scaled auxiliary terms that suppress the main task signal.
- **Sequential ordering matters more than error correction.** Removing the error-correction agent (ARPG w/o EC) drops MSR/PGSR to 0.3/0.3 on Humanoid, 0.5/0.1 on Reach and 0.2/0.2 on Lift while EISR rises to 1.0 on Humanoid and Lift. Generating artifacts in parallel with error correction retained (ARPG w/o sequential) is worse still: 0.0/0.0 on both Reach and Lift, with Ant at 0.3/0.1 and Humanoid at 0.1/0.1. Both ablated variants stay near ARPG on CartPole (1.0/1.0/1.0 and 0.9/0.9/0.9).
- **Lower cost than the off-the-shelf agents.** On Humanoid, ARPG uses 0.248 M tokens and 4.5 minutes, versus 7.882 M tokens / 24.1 minutes for Claude and 4.201 M tokens / 11.8 minutes for Codex. ARPG has both the fewest total tokens and the shortest wall-clock runtime on every task (ranging from 2.9 minutes on CartPole to 6.2 minutes on Lift).
- **Beyond the main suite, the pipeline transfers.** Demonstrations include Jumping Ant, Jumping Humanoid and pick-and-place in Isaac Sim; MountainCar and a drone-delivery task in Gymnasium/grid environments; and wireless and energy MDPs in custom environments. The paper states these are not treated as success-rate benchmarks.

## Methodology in Plain English

The framework takes two inputs: a free-form task description written by a person, and a Python or USD file describing a robot already set up in the simulator.

These go to two separate agents. A **parameter agent** pulls out task-specific values such as object properties and workspace settings. A **robotics agent** reads the robot file and rewrites it as a plain-language summary of which joints are actuated, what motions are possible, and what the physical limits are — so later agents never have to parse simulator-specific formats, and only the robot description needs to change to support a different robot.

The MDP is then built in a fixed order, one agent per step, because each decision restricts the ones after it: an **objective agent** states what to optimize, a **variable agent** identifies decision and state variables, a **constraint agent** defines feasibility conditions, a **modeling agent** writes the mathematics in LaTeX, and a **state-action-reward (SAR) agent** assembles the complete MDP. For the Humanoid "walk forward without falling" example, this chain produces parameters (control interval, 16 s horizon, +X forward direction, base-height fall threshold, actuator limits), an objective combining forward locomotion with upright posture and heading alignment, and a reward combining forward progress, stability, lateral-drift and fall-penalty terms.

Each agent also reports a confidence score between 0 and 1. If a score falls below a threshold, an **error correction agent** checks the artifact against an agent-specific checklist and returns a targeted diagnosis; the responsible agent is re-invoked with that diagnosis while the accepted upstream artifacts stay fixed. This "localized correction" is designed to prevent *error reintroduction*, where fixing one component silently breaks another.

With the MDP fixed, implementation switches to parallel, modular generation. Using Isaac Lab's manager-based design, ARPG generates configuration modules in three dependency stages: global scene and policy specs; scene-dependent action, observation, event and termination configs; and reward configs. A **coding agent** assembles these into runnable environment and training code, and compile or runtime errors are traced back to the responsible module for selective re-invocation.

Evaluation uses three metrics: modeling success rate (MSR, correct and task-aligned MDP), environment implementation success rate (EISR, code runs without errors), and policy generation success rate (PGSR, training converges and the policy meets task success criteria). All experiments use Isaac Lab v2.1.0 on Isaac Sim v4.5.0, with a maximum of five code-revision rounds.

## Why This Matters

**Impact on research.** The paper reframes LLM use in robotics: instead of acting at execution time in open-ended settings where errors are risky, the LLM designs the learning problem offline and its output is inspectable. It also isolates a failure mode the field tends to overlook — an environment can run perfectly and still encode an unlearnable problem — and shows that environment executability metrics alone are misleading, since ablated variants sometimes score *higher* EISR while producing far worse policies.

**Real-world applications:**

- Rapid prototyping of new manipulation or locomotion skills when a robot, gripper, or object changes, replacing a formulation cycle that currently needs a domain expert.
- Industrial and service robot deployment, where tasks change frequently under safety constraints and development cycles are a bottleneck.
- Lowering the barrier for labs and small teams without dedicated RL formulation specialists to train policies for their own hardware.
- Reuse across domains: the paper's demonstrations extend the same modeling pipeline to Gymnasium classics, grid decision problems, and engineering MDPs such as wireless and energy systems.

**Industry relevance.** The cost comparison matters commercially: ARPG reports fewer tokens and shorter runtimes than general-purpose coding agents while producing better policies, and its human-readable logbook gives engineers an audit trail for reviewing and hand-editing reward and termination logic before committing to expensive training runs.

## Future Directions

- **Numerical calibration beyond semantic validity.** The authors note that even with a valid MDP and a running environment, training can still fail from improperly balanced reward weights or coordinate-frame inconsistencies — problems the current formulation-level checks do not address.
- **Extending the pipeline to post-formulation tuning.** A natural next step is automating the calibration of reward scales and frame conventions, since these are identified as a remaining class of failures after modeling and implementation succeed.
- **Broader benchmark coverage.** The additional demonstrations (Jumping Ant, Jumping Humanoid, pick-and-place, MountainCar, drone delivery, wireless, energy) are explicitly not scored as success-rate benchmarks, leaving open how ARPG performs statistically outside the five Isaac Lab tasks and outside Isaac Sim.
- **Human-in-the-loop use of the logbook.** The paper states that expert inspection and modification were not used in the automated evaluation, so how much human editing of intermediate artifacts improves outcomes in practice remains unmeasured.

## Target Audience

Robotics and RL researchers working on automated reward or MDP design, LLM-agent framework builders interested in structured multi-agent decomposition, and simulator engineers working with Isaac Lab or similar manager-based stacks. It is also relevant to industrial automation teams evaluating whether LLM tooling can shorten robot policy development cycles, though those readers should expect to engage with MDP formalism and the success-probability analysis in Section 4.5.

## Authors’ abstract

We investigate the automated generation of executable robot reinforcement learning (RL) policies from natural-language task descriptions. Rather than using large language models (LLMs) as execution-time decision makers, we use them as designers that construct RL pipelines before deployment, including Markov decision process (MDP) formulation and simulator implementation. We identify a phase-wise structure in this problem: MDP formulation is dependency-structured and…

[The full abstract on arXiv](https://arxiv.org/abs/2611.04974)

[Read the original paper](https://arxiv.org/abs/2611.04974)

## Related papers

- [Ludi${}_{\scriptscriptstyle 0.1}$: An Agentic System for Socially Intelligent Robots](https://robotics.world/paper/ludi-scriptscriptstyle-0-1-an-agentic-system-for-socially-intelligent-2608.22035) 2026-08-22 · cs.RO · Also by Jinwoo Kim
- [VABAR: A Variational Automation Benchmark for Agentic Robotics](https://robotics.world/paper/vabar-a-variational-automation-benchmark-for-agentic-robotics-2611.06881) 2026-11-04 · cs.RO · Key terms of the title in common
- [AtomTree: A Hierarchical Framework for State-Aware Embodied Instruction Following with LLMs](https://robotics.world/paper/atomtree-a-hierarchical-framework-for-state-aware-embodied-instruction-2610.38744) 2026-10-28 · cs.RO · Key terms of the title in common
- [PneuGen: Task-Driven Agentic Co-Design of Soft Pneumatic Robots](https://robotics.world/paper/pneugen-task-driven-agentic-co-design-of-soft-pneumatic-robots-2611.13344) 2026-11-09 · cs.RO · Key terms of the title in common
- [Context-dependent Runtime Construction of Safe Regions of Attraction from Design-Time Identification for Multi-Candidate Simplex Architectures](https://robotics.world/paper/context-dependent-runtime-construction-of-safe-regions-of-attraction-2610.35040) 2026-10-26 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/llms-as-mdp-designers-a-dependency-aware-agentic-framework-for-2611.04974
