NeurIPS 2026Sejong University

LLMs as
MDP Designers.

A Dependency-Aware Agentic Framework for Automated Robot Policy Generation

Hong Je-Gal, Jinwoo Kim, Chan-Bin Yi, Hyun-Suk Lee

Simulated Ant robots in midair above the Isaac Sim grid
Isaac Sim rolloutJumping Ant

Policy rollouts

Isaac Lab / 0:52

ARPG vs. expert

Each task pairs a policy trained with Isaac Lab’s expert-designed pipeline with one trained using the ARPG-generated pipeline.

Open video file ↗

Isaac Sim / 0:20

New robot tasks

Changing the task description and robot configuration gives ARPG a new objective, from jumping in place to moving a cube between two tables.

Open video file ↗

Method

From a task description to a trained policy

ARPG first defines the objective, states, actions, rewards, and constraints of a Markov decision process. Agents check intermediate decisions and repair inconsistencies before separate coding agents build the simulator components used to train the policy.

Task inputs feed sequential modeling and error correction, followed by parallel configuration agents and policy validation in Isaac Sim
Fig. 2 Modeling and implementation phases of ARPG.

ARPG logbookSupplement A–B

Generated MDPs

Read the original task inputs and ARPG’s complete modeling records. Select a task, then a part of its formulation.

CartPole

Watch rollout · 0:00

Description

Supplement A · Task input

A robot with an attached pole is placed on a cart that can move left and right. There’s a joint between the cart and the pole, but it’s a structure that rotates freely. We can apply force only to the cart. The cart is initialized within ±0.5 meters from the center, and the pole angle is initialized within ±0.05 radians. Both the cart and the pole start with zero velocity. The cart can move up to 3 meters to the left or right, and the pole is considered fallen if it tilts more than 0.5 radians in either direction The goal is to determine how to move the cart so that the pole remains upright for as long as possible.

State

Supplement B.1 · ARPG logbook
  • Description: The minimal Markov state describing the cart–pole system at a given timestep, consisting of the cart position and velocity along the slider, and the pole angle (about upright) and angular velocity at the hinge.

  • Variables:

    • CartPosition

    • CartVelocity

    • PoleAngle

    • PoleAngularVelocity

  • Shape: [4][4]

Action

Supplement B.1 · ARPG logbook
  • Description: A continuous control input specifying the horizontal force applied to the cart actuator.

  • Variables:

    • CartForceCommand

  • Type: Continuous.

  • Shape: [1][1].

  • Bounds: −CartEffortLimit≤CartForceCommand≤CartEffortLimit.-\mathrm{CartEffortLimit} \;\le\; \mathrm{CartForceCommand} \;\le\; \mathrm{CartEffortLimit}.

Reward

Supplement B.1 · ARPG logbook
  • Description: Alive bonus that returns a reward of 1 at each timestep while both the cart position and pole angle remain within their allowed limits, and 0 otherwise.

  • Formula: Rt=𝕀{|CartPositiont|≤CartPositionLimitAbsMax∧|PoleAnglet|<FailureAngleAbsMax}.\begin{aligned} R_t &= \mathbb{I}\!\left\{ \begin{aligned} &\left|\mathrm{CartPosition}_t\right| \le \mathrm{CartPositionLimitAbsMax} \\ &{}\land \left|\mathrm{PoleAngle}_t\right| < \mathrm{FailureAngleAbsMax} \end{aligned} \right\}. \end{aligned}

  • Components:

    • RtR_t: Reward at time tt.

    • CartPositiont\mathrm{CartPosition}_t: Cart position along the track at time tt (meters).

    • CartPositionLimitAbsMax\mathrm{CartPositionLimitAbsMax}: Maximum allowed absolute cart position (meters).

    • PoleAnglet\mathrm{PoleAngle}_t: Pole angle from upright at time tt (radians).

    • FailureAngleAbsMax\mathrm{FailureAngleAbsMax}: Maximum allowed absolute pole angle from upright (radians).

    • 𝕀{⋅}\mathbb{I}\{\cdot\}: Indicator function equal to 1 if the condition holds, 0 otherwise.

Objective

Supplement B.1 · ARPG logbook
  • Objective: Maximize the expected cumulative survival time of the system by learning a policy π\pi that keeps the cart and pole within their valid operating limits: maxπ𝔼π[∑t=0∞𝕀{|CartPositiont|≤CartPositionLimitAbsMax∧|PoleAnglet|<FailureAngleAbsMax}].\begin{aligned} \max_{\pi} \quad &\mathbb{E}_{\pi}\!\left[ \sum_{t=0}^{\infty} \mathbb{I}\!\left\{ \begin{aligned} &\left|\mathrm{CartPosition}_t\right| \le \mathrm{CartPositionLimitAbsMax} \\ &{}\land \left|\mathrm{PoleAngle}_t\right| < \mathrm{FailureAngleAbsMax} \end{aligned} \right\} \right]. \end{aligned} The objective rewards each timestep in which both the cart position and pole angle remain within their respective safety thresholds.

Constraints

Supplement B.1 · ARPG logbook
  • Initial State Constraints:

    • |CartPosition(0)|≤CartInitPosAbsMax\lvert \mathrm{CartPosition}(0) \rvert \le \mathrm{CartInitPosAbsMax}.

    • |PoleAngle(0)|≤PoleInitAngleAbsMax\lvert \mathrm{PoleAngle}(0) \rvert \le \mathrm{PoleInitAngleAbsMax}.

    • CartVelocity(0)=CartInitVelocity\mathrm{CartVelocity}(0) = \mathrm{CartInitVelocity}.

    • PoleAngularVelocity(0)=PoleInitAngularVelocity\mathrm{PoleAngularVelocity}(0) = \mathrm{PoleInitAngularVelocity}.

  • State Safety Constraints:

    • ∀t∈ℕ,|CartPosition(t)|≤CartPositionLimitAbsMax\forall t \in \mathbb{N},\ \lvert \mathrm{CartPosition}(t) \rvert \le \mathrm{CartPositionLimitAbsMax}.

    • ∀t∈ℕ,|PoleAngle(t)|≤FailureAngleAbsMax\forall t \in \mathbb{N},\ \lvert \mathrm{PoleAngle}(t) \rvert \le \mathrm{FailureAngleAbsMax}.

  • Velocity Constraints:

    • ∀t∈ℕ,|CartVelocity(t)|≤CartVelocityLimit\forall t \in \mathbb{N},\ \lvert \mathrm{CartVelocity}(t) \rvert \le \mathrm{CartVelocityLimit}.

    • ∀t∈ℕ,|PoleAngularVelocity(t)|≤PoleVelocityLimit\forall t \in \mathbb{N},\ \lvert \mathrm{PoleAngularVelocity}(t) \rvert \le \mathrm{PoleVelocityLimit}.

    • ∀t∈ℕ,|CartVelocity(t)|≤MaxLinearVelocity\forall t \in \mathbb{N},\ \lvert \mathrm{CartVelocity}(t) \rvert \le \mathrm{MaxLinearVelocity}.

    • ∀t∈ℕ,|PoleAngularVelocity(t)|≤MaxAngularVelocity\forall t \in \mathbb{N},\ \lvert \mathrm{PoleAngularVelocity}(t) \rvert \le \mathrm{MaxAngularVelocity}.

  • Actuation Constraint:

    • ∀t∈ℕ,|CartForceCommand(t)|≤CartEffortLimit\forall t \in \mathbb{N},\ \lvert \mathrm{CartForceCommand}(t) \rvert \le \mathrm{CartEffortLimit}.

Parameters

Supplement B.1 · ARPG logbook
  • CartInitPosAbsMax: Maximum absolute initial cart displacement from the center (meters) (float).

  • PoleInitAngleAbsMax: Maximum absolute initial pole angle from upright (radians) (float).

  • CartInitVelocity: Initial linear velocity of the cart (m/s) (float).

  • PoleInitAngularVelocity: Initial angular velocity of the pole (rad/s) (float).

  • CartPositionLimitAbsMax: Maximum absolute allowed cart displacement before termination (meters) (float).

  • FailureAngleAbsMax: Maximum absolute allowed pole angle before termination (radians) (float).

  • RootInitPos: Initial world position of the articulation root (x,y,z)(x, y, z) in meters (array of size 3, float).

  • SliderToCartInitPos: Initial position of the prismatic joint slider_to_cart (meters) (float).

  • CartToPoleInitPos: Initial angle of the revolute joint cart_to_pole (radians) (float).

  • RigidBodyEnabled: Whether rigid body simulation is enabled (binary).

  • EnableGyroscopicForces: Whether gyroscopic forces are enabled (binary).

  • EnabledSelfCollisions: Whether self-collisions are enabled for the articulation (binary).

  • MaxLinearVelocity: Maximum linear velocity of rigid bodies (m/s) (float).

  • MaxAngularVelocity: Maximum angular velocity of rigid bodies (rad/s) (float).

  • MaxDepenetrationVelocity: Maximum depenetration velocity for contact resolution (m/s) (float).

  • SolverPositionIterationCount: Number of solver position iterations (int).

  • SolverVelocityIterationCount: Number of solver velocity iterations (int).

  • SleepThreshold: Linear/angular velocity threshold below which bodies can go to sleep (float).

  • StabilizationThreshold: Threshold for articulation stabilization (float).

  • CartEffortLimit: Effort limit of the cart prismatic joint actuator (N) (float).

  • CartVelocityLimit: Velocity limit of the cart prismatic joint (m/s) (float).

  • CartStiffness: Spring stiffness of the cart prismatic actuator (float).

  • CartDamping: Damping of the cart prismatic actuator (float).

  • PoleEffortLimit: Effort limit of the pole revolute joint actuator (N⋅\cdotm) (float).

  • PoleVelocityLimit: Velocity limit of the pole revolute joint (rad/s) (float).

  • PoleStiffness: Spring stiffness of the pole revolute actuator (float).

  • PoleDamping: Damping of the pole revolute actuator (float).

  • NumJoints: Total number of articulated joints in the robot (int).

  • NumActuators: Total number of actuators defined for the robot (int).

Variables

Supplement B.1 · ARPG logbook
  • CartPosition: Cart displacement along the track, corresponding to the prismatic joint slider_to_cart position (meters).

  • CartVelocity: Cart linear velocity along the track, corresponding to the prismatic joint slider_to_cart velocity (m/s).

  • PoleAngle: Pole angle relative to the upright configuration, corresponding to the revolute joint cart_to_pole position (radians), where 00 indicates the upright pose.

  • PoleAngularVelocity: Angular velocity of the pole about the hinge, corresponding to the revolute joint cart_to_pole velocity (rad/s).

  • CartForceCommand: Control variable representing the horizontal force applied by the cart actuator; the value is saturated by CartEffortLimit.

Ant

Watch rollout · 0:10

Description

Supplement A · Task input

The ant robot operates in a physics-based simulation with a fixed integration time step of 1/120 seconds. Control commands are applied through joint-level effort inputs at a lower effective frequency due to action decimation, resulting in a control interval of approximately 0.0167 seconds. Each episode spans a finite horizon of 16 seconds and terminates either when the time limit is reached or when the robot’s base height falls below a minimum threshold (0.31 m), which indicates a loss of stable contact with the ground.

At each time step, the ant selects continuous control commands that actuate its leg joints, causing the articulated body to evolve under gravity, contact forces, and actuation limits. The task is defined relative to a fixed global reference direction: forward motion corresponds to movement along the positive X-axis, which can equivalently be interpreted as making progress toward a distant reference point placed far ahead in the scene. Consistent advancement in this direction reflects effective coordination among the legs and successful locomotion behavior.

While moving forward is essential, it is not sufficient on its own. The ant is implicitly encouraged to maintain a stable body orientation and continuous ground contact, as excessive tilting, rolling, or erratic leg motions tend to disrupt forward progress and lead to premature termination. In practice, effective policies discover gaits that balance propulsion with stability, keeping the body reasonably level while generating smooth, rhythmic leg movements.

The robot interacts with a flat ground surface configured with unit static and dynamic friction and zero restitution, providing consistent contact conditions across episodes. At the beginning of each episode, the initial state is randomized: the base pose and velocity are perturbed within bounded ranges, and joint positions and velocities are offset from their nominal configuration. As a result, the ant must repeatedly recover coordinated locomotion from a variety of nearby initial configurations rather than relying on a single fixed starting posture.

Actuation is applied uniformly across all joints with a moderate scaling factor, requiring the policy to learn how to distribute effort efficiently across the legs. Overly aggressive or abrupt commands may lead to unnecessary energy expenditure or unstable motions, whereas smoother and more coordinated actuation tends to support sustained forward travel.

Overall, the objective is to learn a control policy that enables the ant to move forward steadily along the positive X-axis, maintain sufficient body stability to avoid collapse, and coordinate its legs in a way that supports continuous and efficient locomotion over the duration of each episode.

State

Supplement B.2 · ARPG logbook
  • Description: Proprioceptive and base state required to plan stable forward locomotion. The state additionally includes the previous action to preserve the Markov property when using action-smoothing penalties in the reward.

  • Variables:

    • JointPositions [8][8]

    • JointVelocities [8][8]

    • BaseOrientationQuat (w,x,y,z)(w, x, y, z)

    • BaseLinearVelocity (vx,vy,vz)(v_x, v_y, v_z)

    • BaseAngularVelocity (ωx,ωy,ωz)(\omega_x, \omega_y, \omega_z)

    • BaseHeight

    • ForwardVelocity

    • FootContactStates [front_left,front_right,left_back,right_back][\text{front\_left}, \text{front\_right}, \text{left\_back}, \text{right\_back}]

    • ElapsedTime

    • PrevJointEffortCommands [8][8]

  • Shape: [41][41]

Action

Supplement B.2 · ARPG logbook
  • Description: Continuous joint-level effort commands applied to the eight actuated joints. Actions are issued every ControlInterval and held constant between updates due to action decimation.

  • Variables:

    • JointEffortCommands: [front_left_leg,front_left_foot,front_right_leg,front_right_foot,left_back_leg,left_back_foot,right_back_leg,right_back_foot]\begin{array}{l} [\text{front\_left\_leg},\ \text{front\_left\_foot},\\ \ \text{front\_right\_leg},\ \text{front\_right\_foot},\\ \ \text{left\_back\_leg},\ \text{left\_back\_foot},\\ \ \text{right\_back\_leg},\ \text{right\_back\_foot}] \end{array}

  • Type: Continuous.

  • Shape: [8][8].

  • Range: uimin≤actioni≤uimax,u_i^{\min} \le \text{action}_i \le u_i^{\max}, typically implemented by scaling normalized policy outputs in [−1,1][-1,1] to the actuator effort limits.

Reward

Supplement B.2 · ARPG logbook
  • Description: Per-step forward progress along +X+X with penalties for tilt, angular motion, effort magnitude, effort changes (smoothness), and lateral drift. Reward is masked to zero after termination.

  • Reward (compact form): rt=𝕀{ht≥hmin}(rtprog−λtiltrttilt−λωrtω−λurtu−λΔrtΔ−λ⊥rt⊥).r_t = \mathbb{I}\!\left\{ h_t \ge h_{\min} \right\} \Big( r^{\text{prog}}_t - \lambda_{\text{tilt}} \, r^{\text{tilt}}_t - \lambda_{\omega} \, r^{\omega}_t - \lambda_{u} \, r^{u}_t - \lambda_{\Delta} \, r^{\Delta}_t - \lambda_{\perp} \, r^{\perp}_t \Big).

  • Reward Components:

    • rtprog=vtx⋅Δtr^{\text{prog}}_t = v^{x}_t \cdot \Delta t (forward progress).

    • rttilt=(BaseOrientationQuatt,x)2+(BaseOrientationQuatt,y)2r^{\text{tilt}}_t = (\mathrm{BaseOrientationQuat}_{t,x})^2 + (\mathrm{BaseOrientationQuat}_{t,y})^2 (body tilt penalty).

    • rtω=∥BaseAngularVelocityt∥22r^{\omega}_t = \|\mathrm{BaseAngularVelocity}_t\|_2^2 (angular motion penalty).

    • rtu=∥JointEffortCommandst∥22r^{u}_t = \|\mathrm{JointEffortCommands}_t\|_2^2 (control effort penalty).

    • rtΔ=𝕀{t>0}∥JointEffortCommandst−JointEffortCommandst−1∥22r^{\Delta}_t = \mathbb{I}\{t>0\} \|\mathrm{JointEffortCommands}_t - \mathrm{JointEffortCommands}_{t-1}\|_2^2 (action smoothness penalty).

    • rt⊥=(BaseLinearVelocityt,y)2r^{\perp}_t = (\mathrm{BaseLinearVelocity}_{t,y})^2 (lateral drift penalty).

  • Symbol Definitions:

    • Δt=PhysicsTimeStep\Delta t = \mathrm{PhysicsTimeStep}.

    • vtx=ForwardVelocityt=(BaseLinearVelocityt)xv^{x}_t = \mathrm{ForwardVelocity}_t = (\mathrm{BaseLinearVelocity}_t)_x.

    • ht=BaseHeightth_t = \mathrm{BaseHeight}_t, hmin=TerminationMinBaseHeighth_{\min} = \mathrm{TerminationMinBaseHeight}.

    • λtilt,λω,λu,λΔ,λ⊥>0\lambda_{\text{tilt}}, \lambda_{\omega}, \lambda_u, \lambda_{\Delta}, \lambda_{\perp} > 0 are scalar weights.

    • 𝕀{⋅}\mathbb{I}\{\cdot\} is the indicator function (equals 1 if the condition holds, 0 otherwise).

Objective

Supplement B.2 · ARPG logbook
  • Objective: Learn a locomotion policy π\pi that maximizes the expected cumulative reward over a finite horizon: maxπ𝔼π[∑t=0T−1𝕀{ht≥hmin}(rtprog−λtiltrttilt−λωrtω−λurtu−λΔrtΔ−λ⊥rt⊥)],\max_{\pi} \; \mathbb{E}_{\pi} \Bigg[ \sum_{t=0}^{T-1} \mathbb{I}\!\left\{ h_t \ge h_{\min} \right\} \Big( r^{\text{prog}}_t - \lambda_{\text{tilt}} \, r^{\text{tilt}}_t - \lambda_{\omega} \, r^{\omega}_t - \lambda_{u} \, r^{u}_t - \lambda_{\Delta} \, r^{\Delta}_t - \lambda_{\perp} \, r^{\perp}_t \Big) \Bigg], where T=EpisodeHorizonStepsT = \mathrm{EpisodeHorizonSteps}.

  • Reward Components:

    • rtprog=ForwardVelocityt⋅PhysicsTimeStepr^{\text{prog}}_t = \mathrm{ForwardVelocity}_t \cdot \mathrm{PhysicsTimeStep} (forward progress).

    • rttilt=(BaseOrientationQuatt,x)2+(BaseOrientationQuatt,y)2r^{\text{tilt}}_t = (\mathrm{BaseOrientationQuat}_{t,x})^2 + (\mathrm{BaseOrientationQuat}_{t,y})^2 (penalty for body tilt).

    • rtω=∥BaseAngularVelocityt∥22r^{\omega}_t = \|\mathrm{BaseAngularVelocity}_t\|_2^2 (penalty for angular motion).

    • rtu=∥JointEffortCommandst∥22r^{u}_t = \|\mathrm{JointEffortCommands}_t\|_2^2 (control effort penalty).

    • rtΔ=𝕀{t>0}∥JointEffortCommandst−JointEffortCommandst−1∥22r^{\Delta}_t = \mathbb{I}\{t>0\} \|\mathrm{JointEffortCommands}_t - \mathrm{JointEffortCommands}_{t-1}\|_2^2 (action smoothness penalty).

    • rt⊥=(BaseLinearVelocityt,y)2r^{\perp}_t = (\mathrm{BaseLinearVelocity}_{t,y})^2 (lateral drift penalty).

  • Survival Condition:

    • ht=BaseHeightth_t = \mathrm{BaseHeight}_t is the base height at time tt.

    • hmin=TerminationMinBaseHeighth_{\min} = \mathrm{TerminationMinBaseHeight} is the minimum allowed base height.

Constraints

Supplement B.2 · ARPG logbook
  • Time Discretization and Horizon: Δt=PhysicsTimeStep,d=ActionDecimation,T=EpisodeHorizonSteps.\Delta t = \mathrm{PhysicsTimeStep}, \quad d = \mathrm{ActionDecimation}, \quad T = \mathrm{EpisodeHorizonSteps}. ControlInterval=dΔt,T=EpisodeHorizonSecondsΔt,d,T∈ℤ≥1.\mathrm{ControlInterval} = d\,\Delta t, \qquad T = \frac{\mathrm{EpisodeHorizonSeconds}}{\Delta t}, \qquad d, T \in \mathbb{Z}_{\ge 1}.

  • Time Evolution: t0=0,tk+1=tk+Δt,tk≥0.t_0 = 0, \qquad t_{k+1} = t_k + \Delta t, \qquad t_k \ge 0.

  • Termination Time: τ=inf{k≥0|tk≥TΔt∨hk<hmin}.\tau = \inf \big\{ k \ge 0 \;\big|\; t_k \ge T\Delta t \;\vee\; h_k < h_{\min} \big\}.

  • State Definitions and Invariants: hk=(BasePositionk)z≥0,∥BaseOrientationQuatk∥2=1.h_k = (\mathrm{BasePosition}_k)_z \ge 0, \qquad \|\mathrm{BaseOrientationQuat}_k\|_2 = 1. vkx=(BaseLinearVelocityk)x.v^{x}_k = (\mathrm{BaseLinearVelocity}_k)_x.

  • Forward Displacement: s0=0,sk+1=sk+vkxΔt.s_0 = 0, \qquad s_{k+1} = s_k + v^{x}_k\,\Delta t.

  • Action Holding (Decimation): uk=umd∀k∈{md,…,(m+1)d−1},m∈ℤ≥0.u_k = u_{md} \quad \forall k \in \{md,\dots,(m+1)d-1\},\; m \in \mathbb{Z}_{\ge 0}.

  • Joint and Actuation Limits: uimin≤(uk)i≤uimax,qimin≤(qk)i≤qimax,q̇imin≤(q̇k)i≤q̇imax.u^{\min}_i \le (u_k)_i \le u^{\max}_i, \quad q^{\min}_i \le (q_k)_i \le q^{\max}_i, \quad \dot q^{\min}_i \le (\dot q_k)_i \le \dot q^{\max}_i.

  • Contact Constraints: ck,i∈{0,1},ck,i=0⇒fk,i=0.c_{k,i} \in \{0,1\}, \qquad c_{k,i}=0 \Rightarrow f_{k,i}=0. ck,i=1⇒{(fk,i)z≥0,(fk,i)x2+(fk,i)y2≤μk,i(fk,i)z,c_{k,i}=1 \Rightarrow \begin{cases} (f_{k,i})_z \ge 0,\\ \sqrt{(f_{k,i})_x^2+(f_{k,i})_y^2} \le \mu_{k,i}(f_{k,i})_z, \end{cases}

  • Initial Conditions: BasePosition0=InitBasePos+Δp,∥Δp∥∞≤Δ‾base.\mathrm{BasePosition}_0 = \mathrm{InitBasePos} + \Delta p, \qquad \|\Delta p\|_\infty \le \bar{\Delta}_{\text{base}}. q0=q‾+δ,∥δ∥∞≤δ‾.q_0 = \bar q + \delta, \qquad \|\delta\|_\infty \le \bar{\delta}. ∥BaseLinearVelocity0∥2≤v‾base,∥BaseAngularVelocity0∥2≤ω‾base,∥q̇0∥∞≤v‾q.\begin{aligned} \|\mathrm{BaseLinearVelocity}_0\|_2 &\le \bar v_{\text{base}},\\ \|\mathrm{BaseAngularVelocity}_0\|_2 &\le \bar\omega_{\text{base}},\\ \|\dot q_0\|_\infty &\le \bar v_q. \end{aligned}

Parameters

Supplement B.2 · ARPG logbook
  • PhysicsTimeStep: Fixed physics integration time step in seconds (e.g., 1/1201/120 s) (float).

  • ControlInterval: Effective control interval in seconds due to action decimation (approximately 1/601/60 s) (float).

  • ActionDecimation: Number of physics steps per action application (int).

  • EpisodeHorizonSeconds: Maximum episode duration in seconds (float).

  • EpisodeHorizonSteps: Maximum episode duration in simulation steps (int).

  • TerminationMinBaseHeight: Minimum allowed base height before early termination (meters) (float).

  • GroundStaticFriction: Static friction coefficient of the ground plane (float).

  • GroundDynamicFriction: Dynamic friction coefficient of the ground plane (float).

  • GroundRestitution: Coefficient of restitution of the ground plane (float).

  • GravityDisabled: Whether gravity is disabled for the robot rigid bodies (binary).

  • MaxDepenetrationVelocity: Maximum depenetration velocity for contact resolution (float).

  • EnableGyroscopicForces: Whether gyroscopic forces are enabled (binary).

  • EnabledSelfCollisions: Whether self-collisions are enabled for the articulation (binary).

  • SolverPositionIterationCount: Number of solver position iterations for the articulation (int).

  • SolverVelocityIterationCount: Number of solver velocity iterations for the articulation (int).

  • SleepThreshold: Linear/angular velocity threshold below which bodies may go to sleep (float).

  • StabilizationThreshold: Threshold for solver stabilization (float).

  • CopyFromSource: Whether simulation properties are copied from the USD source (binary).

  • InitBasePos: Initial base position (x,y,z)(x, y, z) in meters (array of size 3, float).

  • InitLegJointsDefaultPos: Default initial joint position (radians) for all joints matching .*_leg (float).

  • InitFrontLeftFootPos: Initial joint position for front_left_foot (radians) (float).

  • InitFrontRightFootPos: Initial joint position for front_right_foot (radians) (float).

  • InitLeftBackFootPos: Initial joint position for left_back_foot (radians) (float).

  • InitRightBackFootPos: Initial joint position for right_back_foot (radians) (float).

  • ActuatorStiffness: Implicit actuator spring stiffness applied to all joints (float).

  • ActuatorDamping: Implicit actuator damping applied to all joints (float).

Variables

Supplement B.2 · ARPG logbook
  • JointEffortCommands: Agent-selected continuous torque/effort commands applied to the eight actuated joints (front_left_leg, front_left_foot, front_right_leg, front_right_foot, left_back_leg, left_back_foot, right_back_leg, right_back_foot) at each control interval; commands are held constant between updates due to action decimation (shape [8][8]).

  • JointPositions: Current joint angles of the eight actuated joints (radians) (shape [8][8]).

  • JointVelocities: Current joint angular velocities of the eight actuated joints (rad/s) (shape [8][8]).

  • BasePosition: World-frame position of the free-floating base (x,y,z)(x, y, z) in meters (shape [3][3]).

  • BaseOrientationQuat: World-frame orientation of the base represented as a unit quaternion (w,x,y,z)(w, x, y, z) (shape [4][4]).

  • BaseLinearVelocity: World-frame linear velocity of the base (m/s) (shape [3][3]).

  • BaseAngularVelocity: World-frame angular velocity of the base (rad/s) (shape [3][3]).

  • FootContactStates: Binary indicators denoting ground contact for each foot link (front_left, front_right, left_back, right_back) (shape [4][4]).

  • FootContactForces: World-frame ground reaction forces applied at each foot link; forces are zero when the corresponding foot is not in contact (shape [4×3][4 \times 3]).

  • BaseHeight: Current base height above the ground plane, corresponding to the zz-component of BasePosition (meters).

  • ForwardVelocity: Instantaneous base linear velocity along the +X+X axis in the world frame (m/s).

  • ForwardDisplacement: Cumulative displacement of the base along the +X+X axis measured from the start of the episode (meters).

  • ElapsedTime: Elapsed time since the beginning of the current episode (seconds).

Humanoid

Watch rollout · 0:21

Description

Supplement A · Task input

The humanoid operates in a physics-based simulation with a fixed integration time step of 1/120 seconds. Control commands are applied at a lower frequency through action decimation, resulting in an effective control interval of approximately 0.0167 seconds. Each episode runs for a finite horizon of 16 seconds and terminates either upon reaching the time limit or when the humanoid’s base height drops below a minimum threshold (0.6 m), which corresponds to a loss of balance in the simulated environment.

Within each episode, the humanoid repeatedly selects joint-level control commands that determine how its articulated body evolves under gravity, contact forces, and actuation limits. The task is defined with respect to a fixed global reference direction: forward motion corresponds to movement along the positive X-axis, which can equivalently be interpreted as progression toward a distant reference location placed far ahead in the scene. In addition to advancing forward, the humanoid is expected to maintain an upright posture and a forward-facing orientation, avoiding excessive leaning, twisting, or lateral deviation while walking. Sustained advancement along the positive X-axis while remaining upright and aligned with the forward direction constitutes successful locomotion behavior.

As the simulation unfolds, the humanoid’s base position and orientation continuously change as a consequence of its chosen actions. Effective policies therefore require not only generating forward motion, but also actively stabilizing the torso and coordinating limb movements to keep the body facing forward and vertically aligned under gravity.

The robot interacts with a flat ground surface configured with unit static and dynamic friction and zero restitution, defining consistent contact conditions throughout training. Initial conditions are randomized at the beginning of each episode: the root pose and velocity are perturbed within bounded ranges, and joint positions and velocities are offset from their nominal configuration, introducing variability into the starting state distribution. As a result, the humanoid encounters a range of nearby initial configurations and must repeatedly recover stable, upright walking motion under slightly different conditions.

Actuation properties are non-uniform across the humanoid’s joints. Joints associated with the torso and pelvis operate with higher effective transmission ratios (on the order of 60–70), reflecting their role in supporting body weight and maintaining balance. Major leg joints exhibit a broader range of actuation strength, with certain thigh components configured at higher ratios (around 130) and others at moderate levels (around 45), while shin joints are assigned intermediate values (around 90). In contrast, foot joints operate under comparatively lower actuation scaling (around 20–25), allowing more compliant interaction with the ground. This heterogeneous actuation profile reflects the differing mechanical demands placed on various joints during forward, upright locomotion and shapes how balance and stability emerge over time.

Underspecified Humanoid input (Appendix D experiment)

So, yeah… this is just a humanoid in simulation and we want it to walk forward without falling over. When I say “forward,” I don’t mean it in a super strict, mathematical sense. Most of the time it’s along the world +X direction, but depending on how the scene is set up, it could also just mean “the direction the robot is generally moving or facing.” So I wouldn’t lock that down too hard.

An episode runs for some fixed amount of time — usually something like ten-ish seconds, maybe a bit more — but honestly the exact duration isn’t that important here and it has changed across different runs. Episodes also end when the robot is basically falling, but that’s not always decided by one clean number. Sometimes it’s about the base getting too low, other times it’s more of a general “this posture is clearly unstable now” kind of check. I don’t think there’s a single termination rule that applies everywhere.

What we care about is that the motion looks like reasonable walking. But what “reasonable” means isn’t fully pinned down yet. In some experiments we cared more about moving faster, in others we mostly cared about not wobbling or collapsing, and sometimes energy use or how smooth the motion looks mattered more. There’s definitely a trade-off there, and we haven’t fixed the priorities in advance. The idea was to adjust that later once we saw how training behaved.

The policy sends joint-level commands, but the exact interpretation of those commands depends on the actuator setup. In some cases it behaves more like sending target joint positions, in other cases it’s closer to effort or drive-style commands. So I wouldn’t assume a single, fixed action type or scale here — that really depends on how the actuators are configured for a given run.

As for observations, the policy gets the robot’s pose and joint-related information, but not necessarily everything you might want. Sometimes velocities are given directly, sometimes they’re inferred indirectly, and things like foot contact or heading information may or may not be present. There could also be some noise or delay in the signals, but the exact details weren’t always consistent across experiments.

The ground is flat, but physical properties like friction or damping weren’t always locked to one exact value. They were usually around the standard settings, but small variations or randomization may have been applied. Initial conditions are randomized too, though exactly which variables are randomized and by how much is something that changed between runs.

Overall, the goal is just to get the humanoid to keep moving forward in a way that doesn’t obviously fall apart. The precise definition of the objective, the termination conditions, and even the exact observation and action structure were intentionally left flexible and refined later during training.

State

Supplement B.3 · ARPG logbook
  • Description: Proprioceptive and base-centric kinematic state required to generate and stabilize forward, upright locomotion at each 60 Hz control step.

  • State Vector: st=(qt,q̇t,vt,ωt,θt,ut,vtx,yt,vty,ht,ctL,ctR).s_t = \big( q_t,\ \dot q_t,\ v_t,\ \omega_t,\ \theta_t,\ u_t,\ v^x_t,\ y_t,\ v^y_t,\ h_t,\ c^L_t,\ c^R_t \big).

  • Shape: [2ndof+14][2n_{\text{dof}} + 14].

  • Symbol Definitions:

    • qt∈ℝndofq_t \in \mathbb{R}^{n_{\text{dof}}}: Joint positions.

    • q̇t∈ℝndof\dot q_t \in \mathbb{R}^{n_{\text{dof}}}: Joint velocities.

    • vt∈ℝ3v_t \in \mathbb{R}^3: Base linear velocity (world frame).

    • ωt∈ℝ3\omega_t \in \mathbb{R}^3: Base angular velocity (world frame).

    • θt∈ℝ\theta_t \in \mathbb{R}: Heading error relative to the global +X+X axis.

    • ut∈[−1,1]u_t \in [-1,1]: Upright cosine (alignment with the world +Z+Z axis).

    • vtx∈ℝv^x_t \in \mathbb{R}: Forward velocity along global +X+X.

    • yt∈ℝy_t \in \mathbb{R}: Lateral position along global YY.

    • vty∈ℝv^y_t \in \mathbb{R}: Lateral velocity along global YY.

    • ht∈ℝh_t \in \mathbb{R}: Base height above the ground.

    • ctL,ctR∈{0,1}c^L_t, c^R_t \in \{0,1\}: Left and right foot contact indicators.

Action

Supplement B.3 · ARPG logbook
  • Description: Continuous joint-level command targets applied at 60 Hz via action decimation. Actions are held constant over two physics steps and mapped to torques through an implicit spring–damper actuator model.

  • Action Vector: at∈[−1,1]ndof.a_t \in [-1,1]^{n_{\text{dof}}}.

  • Shape: [ndof][n_{\text{dof}}].

  • Bounds: Each dimension is clipped to [−1,1][-1,1] and scaled to joint-specific target ranges prior to application.

  • Symbol Definitions:

    • ata_t: Normalized actuator command targets.

    • ndofn_{\text{dof}}: Number of actuated degrees of freedom.

    • Action decimation: Each ata_t is held constant for two physics steps.

Reward

Supplement B.3 · ARPG logbook
  • Description: At each control step, the reward encourages forward velocity while penalizing heading misalignment, non-upright posture, lateral deviation, and falling.

  • Reward (compact form): rt=rtfwd−rthead−rtupr−rtlat-pos−rtlat-vel−rtfall.r_t = r^{\text{fwd}}_t - r^{\text{head}}_t - r^{\text{upr}}_t - r^{\text{lat-pos}}_t - r^{\text{lat-vel}}_t - r^{\text{fall}}_t.

  • Reward Components:

    • rtfwd=ForwardVelocityXtr^{\text{fwd}}_t = \mathrm{ForwardVelocityX}_t.

    • rthead=|HeadingErrorRadt|r^{\text{head}}_t = |\mathrm{HeadingErrorRad}_t|.

    • rtupr=1−UprightCosinetr^{\text{upr}}_t = 1 - \mathrm{UprightCosine}_t.

    • rtlat-pos=|LateralPositionYt|r^{\text{lat-pos}}_t = |\mathrm{LateralPositionY}_t|.

    • rtlat-vel=|LateralVelocityYt|r^{\text{lat-vel}}_t = |\mathrm{LateralVelocityY}_t|.

    • rtfall=𝕀{BaseHeightZt<TerminationBaseHeightMin}r^{\text{fall}}_t = \mathbb{I}\!\left\{ \mathrm{BaseHeightZ}_t < \mathrm{TerminationBaseHeightMin} \right\}.

  • Symbol Definitions:

    • ForwardVelocityXt\mathrm{ForwardVelocityX}_t: Forward velocity along global +X+X.

    • HeadingErrorRadt\mathrm{HeadingErrorRad}_t: Yaw-angle error relative to global forward direction.

    • UprightCosinet\mathrm{UprightCosine}_t: Cosine of angle between torso up axis and world +Z+Z.

    • LateralPositionYt\mathrm{LateralPositionY}_t: Lateral displacement along global YY.

    • LateralVelocityYt\mathrm{LateralVelocityY}_t: Lateral velocity along global YY.

    • BaseHeightZt\mathrm{BaseHeightZ}_t: Torso height above the ground.

    • TerminationBaseHeightMin\mathrm{TerminationBaseHeightMin}: Minimum base height threshold (e.g., 0.60.6 m).

    • 𝕀{⋅}\mathbb{I}\{\cdot\}: Indicator function (1 if condition holds, 0 otherwise).

Objective

Supplement B.3 · ARPG logbook
  • Objective: Learn a locomotion policy π\pi that maximizes forward progress while maintaining heading alignment, upright posture, lateral stability, and avoiding falls over a finite control horizon: maxπ𝔼π[∑t=0Tc−1(rtfwd−rthead−rtupr−rtlat-pos−rtlat-vel−rtfall)],\max_{\pi}\; \mathbb{E}_{\pi} \Bigg[ \sum_{t=0}^{T_c-1} \Big( r^{\text{fwd}}_t - r^{\text{head}}_t - r^{\text{upr}}_t - r^{\text{lat-pos}}_t - r^{\text{lat-vel}}_t - r^{\text{fall}}_t \Big) \Bigg], where Tc=EpisodeControlStepsT_c = \mathrm{EpisodeControlSteps}.

  • Reward Components:

    • rtfwd=ForwardVelocityXtr^{\text{fwd}}_t = \mathrm{ForwardVelocityX}_t (forward progress reward).

    • rthead=|HeadingErrorRadt|r^{\text{head}}_t = \left|\mathrm{HeadingErrorRad}_t\right| (heading misalignment penalty).

    • rtupr=1−UprightCosinetr^{\text{upr}}_t = 1 - \mathrm{UprightCosine}_t (uprightness penalty).

    • rtlat-pos=|LateralPositionYt|r^{\text{lat-pos}}_t = \left|\mathrm{LateralPositionY}_t\right| (lateral position deviation penalty).

    • rtlat-vel=|LateralVelocityYt|r^{\text{lat-vel}}_t = \left|\mathrm{LateralVelocityY}_t\right| (lateral velocity penalty).

    • rtfall=𝕀{BaseHeightZt<TerminationBaseHeightMin}r^{\text{fall}}_t = \mathbb{I}\!\left\{ \mathrm{BaseHeightZ}_t < \mathrm{TerminationBaseHeightMin} \right\} (fall penalty).

  • Symbol Definitions:

    • ForwardVelocityXt\mathrm{ForwardVelocityX}_t: Forward velocity along the global +X+X axis.

    • HeadingErrorRadt\mathrm{HeadingErrorRad}_t: Signed yaw-angle error relative to the global forward direction.

    • UprightCosinet\mathrm{UprightCosine}_t: Cosine of the angle between the torso up axis and the world +Z+Z axis.

    • LateralPositionYt\mathrm{LateralPositionY}_t: Lateral displacement along the global YY axis.

    • LateralVelocityYt\mathrm{LateralVelocityY}_t: Lateral velocity along the global YY axis.

    • BaseHeightZt\mathrm{BaseHeightZ}_t: Torso height above the ground.

    • TerminationBaseHeightMin\mathrm{TerminationBaseHeightMin}: Minimum base height threshold triggering termination.

    • 𝕀{⋅}\mathbb{I}\{\cdot\}: Indicator function equal to 1 if the condition holds, and 0 otherwise.

Constraints

Supplement B.3 · ARPG logbook
  • Timing and Horizon: Δt=SimDt,fsim=SimFrequencyHz,d=ActionDecimation.\Delta t = \mathrm{SimDt}, \quad f_{\text{sim}} = \mathrm{SimFrequencyHz}, \quad d = \mathrm{ActionDecimation}. Δt=1120,fsim=1Δt,d=2.\Delta t = \tfrac{1}{120}, \quad f_{\text{sim}} = \tfrac{1}{\Delta t}, \quad d = 2. Tp=EpisodePhysicsSteps,Tc=EpisodeControlSteps.T_p = \mathrm{EpisodePhysicsSteps}, \quad T_c = \mathrm{EpisodeControlSteps}. Tp=EpisodeDurationSecΔt,Tc=Tpd.T_p = \tfrac{\mathrm{EpisodeDurationSec}}{\Delta t}, \quad T_c = \tfrac{T_p}{d}.

  • Episode Time and Termination: 0≤t≤TpΔt,0 \le t \le T_p \Delta t, t≥EpisodeDurationSec∨ht<hmin⇒episode terminates.t \ge \mathrm{EpisodeDurationSec} \;\vee\; h_t < h_{\min} \;\Rightarrow\; \text{episode terminates}.

  • Base State and Orientation: ht=(BasePositionWorldt)z≥0,∥𝐪t∥2=1.h_t = (\mathrm{BasePositionWorld}_t)_z \ge 0, \qquad \|\mathbf{q}_t\|_2 = 1. 𝐞x=[1,0,0],∥𝐞x∥2=1.\mathbf{e}_x = [1,0,0], \qquad \|\mathbf{e}_x\|_2 = 1. 𝐟t=R(𝐪t)𝐞x,∥𝐟t∥2=1.\mathbf{f}_t = R(\mathbf{q}_t)\,\mathbf{e}_x, \qquad \|\mathbf{f}_t\|_2 = 1.

  • Heading and Uprightness: θt=atan2(ft,y,ft,x),−π<θt≤π.\theta_t = \operatorname{atan2}(f_{t,y}, f_{t,x}), \qquad -\pi < \theta_t \le \pi. ut=(R(𝐪t)[0,0,1])⋅[0,0,1],−1≤ut≤1.u_t = \big(R(\mathbf{q}_t)[0,0,1]\big)\cdot[0,0,1], \qquad -1 \le u_t \le 1.

  • Derived Velocities: vtx=(BaseLinearVelocityWorldt)x,yt=(BasePositionWorldt)y,vty=(BaseLinearVelocityWorldt)y.\begin{aligned} v^x_t &= (\mathrm{BaseLinearVelocityWorld}_t)_x,\\ y_t &= (\mathrm{BasePositionWorld}_t)_y,\\ v^y_t &= (\mathrm{BaseLinearVelocityWorld}_t)_y. \end{aligned}

  • Action Decimation: 𝐮k=𝐮⌊k/d⌋d,∀k∈{0,…,Tp−1}.\mathbf{u}_k = \mathbf{u}_{\lfloor k/d \rfloor d}, \qquad \forall k \in \{0,\dots,T_p-1\}.

  • Joint Actuation (PD Law): 𝛕i(k)=Ki(ui(k)−qi(k))−Diq̇i(k).\boldsymbol{\tau}_i(k) = K_i\big(u_i(k) - q_i(k)\big) - D_i \dot q_i(k).

  • Actuator Parameter Assignment: (Ki,Di)∈{(StiffnessWaist,DampingWaist)i∈waist,(StiffnessPelvis,DampingPelvis)i∈pelvis,(StiffnessUpperArm,DampingUpperArm)i∈upper arm,(StiffnessLowerArm,DampingLowerArm)i∈lower arm,(StiffnessThigh0,DampingThigh0)i∈thigh axis 0,(StiffnessThigh1,DampingThigh1)i∈thigh axis 1,(StiffnessThigh2,DampingThigh2)i∈thigh axis 2,(StiffnessShin,DampingShin)i∈shin,(StiffnessFoot,DampingFoot)i∈foot.(K_i, D_i) \in \begin{cases} (\text{StiffnessWaist}, \text{DampingWaist}) & i \in \text{waist},\\ (\text{StiffnessPelvis}, \text{DampingPelvis}) & i \in \text{pelvis},\\ (\text{StiffnessUpperArm}, \text{DampingUpperArm}) & i \in \text{upper arm},\\ (\text{StiffnessLowerArm}, \text{DampingLowerArm}) & i \in \text{lower arm},\\ (\text{StiffnessThigh0}, \text{DampingThigh0}) & i \in \text{thigh axis 0},\\ (\text{StiffnessThigh1}, \text{DampingThigh1}) & i \in \text{thigh axis 1},\\ (\text{StiffnessThigh2}, \text{DampingThigh2}) & i \in \text{thigh axis 2},\\ (\text{StiffnessShin}, \text{DampingShin}) & i \in \text{shin},\\ (\text{StiffnessFoot}, \text{DampingFoot}) & i \in \text{foot}. \end{cases}

  • Contact and Friction: ctL,ctR∈{0,1}.c^L_t, c^R_t \in \{0,1\}. ctL=0⇒𝐟tL=0,ctR=0⇒𝐟tR=0.c^L_t = 0 \Rightarrow \mathbf{f}^L_t = \mathbf{0}, \qquad c^R_t = 0 \Rightarrow \mathbf{f}^R_t = \mathbf{0}. ct=1⇒{(ft)z≥0,(ft)x2+(ft)y2≤μ(ft)z.c_t = 1 \Rightarrow \begin{cases} (f_t)_z \ge 0,\\ \sqrt{(f_t)_x^2 + (f_t)_y^2} \le \mu\, (f_t)_z. \end{cases}

Parameters

Supplement B.3 · ARPG logbook
  • Simulation and Control Timing:

    • SimDt: Physics integration time step (seconds, e.g., 1/1201/120 s) (float).

    • SimFrequencyHz: Physics simulation frequency (Hz) (int).

    • ControlInterval: Time between applied control commands due to action decimation (seconds) (float).

    • ControlFrequencyHz: Effective control command frequency (Hz) (int).

    • ActionDecimation: Number of physics steps per control action (int).

  • Episode Horizon and Termination:

    • EpisodeDurationSec: Maximum episode duration (seconds) (float).

    • EpisodePhysicsSteps: Maximum number of physics steps per episode (int).

    • EpisodeControlSteps: Maximum number of control steps per episode (int).

    • TerminationBaseHeightMin: Minimum humanoid base height before termination (meters) (float).

  • Environment and Ground Properties:

    • ForwardAxisVector: Global forward motion direction unit vector (shape [3][3], float).

    • GroundStaticFriction: Static friction coefficient of the ground (float).

    • GroundDynamicFriction: Dynamic friction coefficient of the ground (float).

    • GroundRestitution: Coefficient of restitution for the ground (float).

  • Initialization Parameters:

    • InitBasePosition: Initial base position (x,y,z)(x, y, z) in meters (shape [3][3], float).

    • InitAllJointPosValue: Initial joint position applied uniformly to all joints (radians) (float).

  • Physics Engine Settings:

    • MaxDepenetrationVelocity: Maximum depenetration velocity for rigid bodies (float).

    • GyroscopicForcesEnabled: Whether gyroscopic forces are enabled (binary).

    • SelfCollisionsEnabled: Whether self-collisions are enabled for the articulation (binary).

    • SolverPositionIterationCount: Number of position solver iterations (int).

    • SolverVelocityIterationCount: Number of velocity solver iterations (int).

    • SleepThreshold: Linear/angular velocity threshold below which bodies may go to sleep (float).

    • StabilizationThreshold: Stabilization threshold for the articulation root (float).

    • CopyFromSource: Whether simulation settings are copied from the USD source (binary).

  • Humanoid Structure:

    • NumberOfLinks: Total number of links in the humanoid (int).

  • Actuator Stiffness and Damping:

    • StiffnessWaist, DampingWaist: Waist joint stiffness and damping (float).

    • StiffnessPelvis, DampingPelvis: Pelvis joint stiffness and damping (float).

    • StiffnessUpperArm, DampingUpperArm: Upper arm joint stiffness and damping (float).

    • StiffnessLowerArm, DampingLowerArm: Lower arm joint stiffness and damping (float).

    • StiffnessThigh0, DampingThigh0: Thigh joint axis 0 stiffness and damping (float).

    • StiffnessThigh1, DampingThigh1: Thigh joint axis 1 stiffness and damping (float).

    • StiffnessThigh2, DampingThigh2: Thigh joint axis 2 stiffness and damping (float).

    • StiffnessShin, DampingShin: Shin joint stiffness and damping (float).

    • StiffnessFoot, DampingFoot: Foot joint stiffness and damping (float).

  • Transmission Parameters:

    • TorsoPelvisTransmissionRange: Effective transmission ratio range for torso and pelvis joints (shape [2][2], float).

    • ThighHighTransmissionNominal: Nominal transmission ratio for high-strength thigh components (float).

    • ThighModerateTransmissionNominal: Nominal transmission ratio for moderate thigh components (float).

    • ShinTransmissionNominal: Nominal transmission ratio for shin joints (float).

    • FootTransmissionRange: Transmission ratio range for foot joints (shape [2][2], float).

Variables

Supplement B.3 · ARPG logbook
  • JointPositions: Current joint angles/positions for all actuated degrees of freedom of the humanoid (shape [ndof][n_{\text{dof}}]).

  • JointVelocities: Current joint angular velocities for all actuated degrees of freedom (shape [ndof][n_{\text{dof}}]).

  • ActuatorCommandTargets: Agent-selected joint-level command targets (e.g., PD target positions or equivalent setpoints) issued at approximately 60 Hz and held constant over ActionDecimation physics steps (shape [ndof][n_{\text{dof}}]).

  • AppliedJointTorques: Resulting joint torques applied by the spring–damper actuators based on deviations from the command targets (shape [ndof][n_{\text{dof}}]).

  • BasePositionWorld: World-frame position of the torso (root) link; forward progress corresponds to the +X+X component (shape [3][3]).

  • BaseOrientationQuatWorld: World-frame orientation of the torso (root) represented as a unit quaternion (shape [4][4]).

  • BaseLinearVelocityWorld: World-frame linear velocity of the torso (root); forward speed corresponds to the +X+X component (shape [3][3]).

  • BaseAngularVelocityWorld: World-frame angular velocity of the torso (root) (shape [3][3]).

  • BaseHeightZ: Torso height above the ground, defined as the ZZ component of BasePositionWorld; falling occurs if this value drops below a predefined threshold (shape [][\,], scalar).

  • BaseForwardDirWorld: Unit vector representing the torso’s forward axis expressed in world coordinates, used to assess alignment with the global +X+X direction (shape [3][3]).

  • HeadingErrorRad: Signed yaw-angle error between the torso’s projected forward direction and the global +X+X axis; zero indicates perfect forward alignment (shape [][\,], scalar).

  • UprightCosine: Cosine of the angle between the torso’s up axis and the world +Z+Z axis; a value of 1 indicates a perfectly upright posture (shape [][\,], scalar).

  • ForwardVelocityX: Scalar forward velocity along the global +X+X axis, i.e., (𝙱𝚊𝚜𝚎𝙻𝚒𝚗𝚎𝚊𝚛𝚅𝚎𝚕𝚘𝚌𝚒𝚝𝚢𝚆𝚘𝚛𝚕𝚍)x(\texttt{BaseLinearVelocityWorld})_x (shape [][\,], scalar).

  • LateralPositionY: Torso lateral displacement along the global YY axis, used to penalize lateral deviation (shape [][\,], scalar).

  • LateralVelocityY: Torso lateral velocity along the global YY axis, used to discourage side-to-side motion (shape [][\,], scalar).

  • LeftFootInContact: Binary indicator denoting whether the left foot is in contact with the ground at the current timestep (shape [][\,], scalar).

  • RightFootInContact: Binary indicator denoting whether the right foot is in contact with the ground at the current timestep (shape [][\,], scalar).

  • LeftFootContactForce: Resultant ground contact force acting on the left foot expressed in world coordinates (shape [3][3]).

  • RightFootContactForce: Resultant ground contact force acting on the right foot expressed in world coordinates (shape [3][3]).

  • EpisodeTimeSec: Elapsed simulation time since the beginning of the current episode, useful for time-based scheduling or curricula (shape [][\,], scalar).

Franka Reach

Watch rollout · 0:31

Description

Supplement A · Task input

This is a reach-style end-effector pose tracking task in a manager-based Isaac Lab environment.

The simulator runs with a physics timestep of 1/60 s and control decimation = 2 (effective control period ≈\approx 0.033 s). Each episode lasts exactly 12 seconds and terminates only by timeout.

At each control step, the policy outputs continuous commands for the 7 arm joints (the gripper remains fixed). The task is defined by a time-varying end-effector pose command (position + orientation) expressed in the robot base frame. The target pose is resampled every 4 seconds and held constant between resampling events.

Target positions are sampled within a bounded, reachable workspace above the table, roughly x∈[0.35,0.65]x \in [0.35, 0.65], y∈[−0.20,0.20]y \in [-0.20, 0.20], z∈[0.15,0.50]z \in [0.15, 0.50] in the base frame. To avoid degenerate behaviors such as reaching under the table or colliding with the tabletop, the commanded targets are restricted to remain above the tabletop by a safety margin; the target z is always strictly above the table surface height (in the same base frame) by at least a small clearance, and targets are sampled such that they are feasible without requiring self-collision or contact with the table.

The commanded orientation is constrained to match a typical reaching convention: roll is fixed, pitch is kept within a limited range, and yaw is allowed to rotate freely. The goal is to minimize both position and orientation tracking error between the commanded end-effector pose and the actual end-effector pose over time, including immediately after each target change.

In addition to tracking accuracy, smooth and stable motion is preferred: large joint velocities and abrupt changes in control commands are undesirable because they tend to destabilize tracking near the target. At the start of each episode, joint positions are randomized within reasonable bounds (consistent with joint limits) so the policy must generalize across different initial configurations while still tracking targets safely above the table.

State

Supplement B.4 · ARPG logbook
  • Description: Proprioceptive and task-related observation at each control step, combining robot joint states, commanded end-effector pose, pose-tracking errors, the previously applied action for smoothness reasoning, and elapsed episode time. All errors are computed in the robot base frame.

  • Variables:

    • JointPositions (∈ℝ9\in \mathbb{R}^{9}): Joint positions of the robot (panda_joint1..7, panda_leftfinger, panda_rightfinger).

    • JointVelocities (∈ℝ9\in \mathbb{R}^{9}): Joint velocities corresponding to all actuated joints.

    • CommandedEndEffectorPosition (∈ℝ3\in \mathbb{R}^3): Target end-effector position in the robot base frame.

    • CommandedEndEffectorOrientationQuat (∈ℝ4\in \mathbb{R}^4): Target end-effector orientation as a unit quaternion.

    • EndEffectorPositionError (∈ℝ3\in \mathbb{R}^3): etpos=CommandedEndEffectorPositiont−ActualEndEffectorPositionte^{\text{pos}}_t = \text{CommandedEndEffectorPosition}_t - \text{ActualEndEffectorPosition}_t.

    • EndEffectorOrientationErrorAxisAngle (∈ℝ3\in \mathbb{R}^3): Orientation tracking error expressed in axis–angle form.

    • PrevActionJointTargets (∈ℝ9\in \mathbb{R}^{9}): ActionJointTargets applied at time t−1t-1 (0\mathbf{0} at t=0t=0).

    • EpisodeTimeSeconds (∈ℝ\in \mathbb{R}): Elapsed time since episode start.

  • Shape: [41][41].

Action

Supplement B.4 · ARPG logbook
  • Description: Continuous joint target setpoints applied to the robot’s implicit PD actuators at each control step. Targets are clamped to the USD joint position limits.

  • Variables: ActionJointTargets=[𝚙𝚊𝚗𝚍𝚊_𝚓𝚘𝚒𝚗𝚝𝟷_𝚝𝚊𝚛𝚐𝚎𝚝,𝚙𝚊𝚗𝚍𝚊_𝚓𝚘𝚒𝚗𝚝𝟸_𝚝𝚊𝚛𝚐𝚎𝚝,𝚙𝚊𝚗𝚍𝚊_𝚓𝚘𝚒𝚗𝚝𝟹_𝚝𝚊𝚛𝚐𝚎𝚝,𝚙𝚊𝚗𝚍𝚊_𝚓𝚘𝚒𝚗𝚝𝟺_𝚝𝚊𝚛𝚐𝚎𝚝,𝚙𝚊𝚗𝚍𝚊_𝚓𝚘𝚒𝚗𝚝𝟻_𝚝𝚊𝚛𝚐𝚎𝚝,𝚙𝚊𝚗𝚍𝚊_𝚓𝚘𝚒𝚗𝚝𝟼_𝚝𝚊𝚛𝚐𝚎𝚝,𝚙𝚊𝚗𝚍𝚊_𝚓𝚘𝚒𝚗𝚝𝟽_𝚝𝚊𝚛𝚐𝚎𝚝,𝚙𝚊𝚗𝚍𝚊_𝚕𝚎𝚏𝚝𝚏𝚒𝚗𝚐𝚎𝚛_𝚝𝚊𝚛𝚐𝚎𝚝,𝚙𝚊𝚗𝚍𝚊_𝚛𝚒𝚐𝚑𝚝𝚏𝚒𝚗𝚐𝚎𝚛_𝚝𝚊𝚛𝚐𝚎𝚝]\begin{aligned} \text{ActionJointTargets} &= \left[ \begin{array}{l} \texttt{panda\_joint1\_target},\; \texttt{panda\_joint2\_target},\\ \texttt{panda\_joint3\_target},\; \texttt{panda\_joint4\_target},\\ \texttt{panda\_joint5\_target},\; \texttt{panda\_joint6\_target},\\ \texttt{panda\_joint7\_target},\; \texttt{panda\_leftfinger\_}\\ \texttt{target},\; \texttt{panda\_rightfinger\_}\\ \texttt{target} \end{array} \right] \end{aligned}

  • Type: Continuous.

  • Shape: [9][9].

Reward

Supplement B.4 · ARPG logbook
  • Description: Per-step negative quadratic tracking cost with velocity and action-smoothness regularization. The reward is scaled such that summing over the episode corresponds to the stated time-normalized objective.

  • Reward Formula: Rt=−ΔtT(∥etpos∥22+∥etori∥22+rtvel+∥Δat∥22),R_t = -\frac{\Delta t}{T} \Bigg( \| e^{\text{pos}}_t \|_2^2 + \| e^{\text{ori}}_t \|_2^2 + r^{\text{vel}}_t + \| \Delta a_t \|_2^2 \Bigg), where Δt=ControlIntervalSeconds\Delta t = \text{ControlIntervalSeconds} and T=EpisodeHorizonSecondsT = \text{EpisodeHorizonSeconds}.

  • Velocity Regularization: rtvel=∑j=14(q̇j,tvshouldermax)2+∑j=57(q̇j,tvforearmmax)2+∑j=89(q̇j,tvhandmax)2.r^{\text{vel}}_t = \sum_{j=1}^{4} \Big( \tfrac{\dot q_{j,t}}{v^{\max}_{\text{shoulder}}} \Big)^2 + \sum_{j=5}^{7} \Big( \tfrac{\dot q_{j,t}}{v^{\max}_{\text{forearm}}} \Big)^2 + \sum_{j=8}^{9} \Big( \tfrac{\dot q_{j,t}}{v^{\max}_{\text{hand}}} \Big)^2.

  • Symbol Definitions:

    • RtR_t: reward at control step tt.

    • etpose^{\text{pos}}_t: end-effector position error.

    • etorie^{\text{ori}}_t: end-effector orientation error (axis–angle).

    • q̇j,t\dot q_{j,t}: joint velocity of joint jj at time tt.

    • vshouldermaxv^{\max}_{\text{shoulder}}: shoulder velocity limit (j=1..4j=1..4).

    • vforearmmaxv^{\max}_{\text{forearm}}: forearm velocity limit (j=5..7j=5..7).

    • vhandmaxv^{\max}_{\text{hand}}: hand velocity limit (j=8,9j=8,9).

    • Δat=ActionJointTargets(t)−ActionJointTargets(t−1)\Delta a_t = \text{ActionJointTargets}(t) - \text{ActionJointTargets}(t-1), with Δa0=0\Delta a_0 = \mathbf{0}.

Objective

Supplement B.4 · ARPG logbook
  • Objective: Learn a reaching policy π\pi that minimizes the time-averaged tracking error and control-induced motion over a finite horizon: maxπ𝔼π[−1T∑t=0Nctrl−1Δtc(rtpos+rtori+rtvel+rtΔu)],\max_{\pi}\; \mathbb{E}_{\pi} \Bigg[ -\frac{1}{T} \sum_{t=0}^{N_{\text{ctrl}}-1} \Delta t_c \, \Big( r^{\text{pos}}_t + r^{\text{ori}}_t + r^{\text{vel}}_t + r^{\Delta u}_t \Big) \Bigg], where T=EpisodeHorizonSecondsT=\text{EpisodeHorizonSeconds}, Nctrl=ControlStepsPerEpisodeN_{\text{ctrl}}=\text{ControlStepsPerEpisode}, and Δtc=ControlIntervalSeconds\Delta t_c=\text{ControlIntervalSeconds}.

  • Reward Components:

    • End-effector position error: rtpos=∥EndEffectorPositionErrort∥22.r^{\text{pos}}_t = \left\| \text{EndEffectorPositionError}_t \right\|_2^2.

    • End-effector orientation error: rtori=∥EndEffectorOrientationErrorAxisAnglet∥22.r^{\text{ori}}_t = \left\| \text{EndEffectorOrientationErrorAxisAngle}_t \right\|_2^2.

    • Joint velocity regularization: rtvel=∑j∈𝒮JointVelocitiest,j2ShoulderVelocityLimit2+∑j∈ℱJointVelocitiest,j2ForearmVelocityLimit2+∑j∈ℋJointVelocitiest,j2HandVelocityLimit2,\begin{aligned} r^{\text{vel}}_t &= \sum_{j \in \mathcal{S}} \frac{\text{JointVelocities}_{t,j}^2}{\text{ShoulderVelocityLimit}^2}\\ &\quad+ \sum_{j \in \mathcal{F}} \frac{\text{JointVelocities}_{t,j}^2}{\text{ForearmVelocityLimit}^2}\\ &\quad+ \sum_{j \in \mathcal{H}} \frac{\text{JointVelocities}_{t,j}^2}{\text{HandVelocityLimit}^2}, \end{aligned} where 𝒮={1,…,4}\mathcal{S}=\{1,\dots,4\}, ℱ={5,…,7}\mathcal{F}=\{5,\dots,7\}, and ℋ={8,9}\mathcal{H}=\{8,9\} denote shoulder, forearm, and hand joints, respectively.

    • Action smoothness penalty: rtΔu=∥ActionChanget∥22.r^{\Delta u}_t = \left\| \text{ActionChange}_t \right\|_2^2.

  • Normalization: The factor Δtc/T\Delta t_c / T ensures that the objective approximates a time-normalized integral cost and is invariant to the control frequency.

Constraints

Supplement B.4 · ARPG logbook
  • Time and Indexing

    Δt=PhysicsDtSeconds>0,Δtc=ControlIntervalSeconds>0\Delta t = \text{PhysicsDtSeconds} > 0, \qquad \Delta t_c = \text{ControlIntervalSeconds} > 0

    Δtc=ControlActionDecimation⋅Δt,fc=ControlFrequencyHz=1Δtc,fphys=StepsPerSecond=1Δt\begin{aligned} \Delta t_c &= \text{ControlActionDecimation}\cdot \Delta t,\\ f_c &= \text{ControlFrequencyHz} = \frac{1}{\Delta t_c},\\ f_{\text{phys}} &= \text{StepsPerSecond} = \frac{1}{\Delta t} \end{aligned}

    T=EpisodeHorizonSeconds>0T = \text{EpisodeHorizonSeconds} > 0

    Nphys=TΔt∈ℕ,Nctrl=TΔtc∈ℕN_{\text{phys}} = \frac{T}{\Delta t} \in \mathbb{N}, \qquad N_{\text{ctrl}} = \frac{T}{\Delta t_c} \in \mathbb{N}

    ∀t∈{0,…,Nctrl−1}:EpisodeTimeSeconds(t)=tΔtc,ControlStepIndex(t)=t\begin{aligned} \forall t \in \{0,\dots,N_{\text{ctrl}}-1\}:\quad &\text{EpisodeTimeSeconds}(t) = t\,\Delta t_c,\\ &\text{ControlStepIndex}(t) = t \end{aligned}

  • Forward Kinematics and Tracking Errors

    ActualEndEffectorPosition(t)=fFK,pos(JointPositions(t))\text{ActualEndEffectorPosition}(t) = f_{\text{FK,pos}}(\text{JointPositions}(t))

    ActualEndEffectorOrientationQuat(t)=fFK,quat(JointPositions(t))\begin{aligned} \begin{gathered} \text{ActualEndEffector}\\ \text{OrientationQuat}(t) \end{gathered} &= f_{\text{FK,quat}}(\text{JointPositions}(t)) \end{aligned}

    EndEffectorPositionError(t)=CommandedEndEffectorPosition(t)−ActualEndEffectorPosition(t)\begin{aligned} \begin{gathered} \text{EndEffector}\\ \text{PositionError}(t) \end{gathered} &= \begin{gathered} \text{CommandedEndEffector}\\ \text{Position}(t) \end{gathered}\\ &\quad- \begin{gathered} \text{ActualEndEffector}\\ \text{Position}(t) \end{gathered} \end{aligned}

    ∥ActualEndEffectorOrientationQuat(t)∥2=∥CommandedEndEffectorOrientationQuat(t)∥2=1\begin{aligned} \left\| \begin{gathered} \text{ActualEndEffector}\\ \text{OrientationQuat}(t) \end{gathered} \right\|_2 &= \left\| \begin{gathered} \text{CommandedEndEffector}\\ \text{OrientationQuat}(t) \end{gathered} \right\|_2\\ &= 1 \end{aligned}

    Let qerr(t)=CommandedEndEffectorOrientationQuat(t)⊗inverse(ActualEndEffectorOrientationQuat(t)),q_{\text{err}}(t) = \begin{gathered} \text{CommandedEndEffector}\\ \text{OrientationQuat}(t) \end{gathered} \otimes \text{inverse}\!\left( \begin{gathered} \text{ActualEndEffector}\\ \text{OrientationQuat}(t) \end{gathered} \right), then EndEffectorOrientationErrorAxisAngle(t)=log(qerr(t)),0≤∥⋅∥2≤π.\begin{aligned} \begin{gathered} \text{EndEffectorOrientation}\\ \text{ErrorAxisAngle}(t) \end{gathered} &= \log\!\big(q_{\text{err}}(t)\big),\\ 0 &\le \|\cdot\|_2 \le \pi. \end{aligned}

  • Joint Limits and Velocity Constraints

    SoftJointPosLimitFactor=1.0\text{SoftJointPosLimitFactor} = 1.0

    ∀t,∀j:JointPosLowerUSD[j]≤JointPositionsj(t)≤JointPosUpperUSD[j]\forall t,\ \forall j:\quad \text{JointPosLowerUSD}[j] \le \text{JointPositions}_j(t) \le \text{JointPosUpperUSD}[j]

    ∀t,j∈{1,…,4}:|JointVelocitiesj(t)|≤ShoulderVelocityLimit\begin{aligned} \forall t,\ j \in \{1,\dots,4\}:\quad |\text{JointVelocities}_j(t)| &\le \text{ShoulderVelocityLimit} \end{aligned}

    ∀t,j∈{5,…,7}:|JointVelocitiesj(t)|≤ForearmVelocityLimit\begin{aligned} \forall t,\ j \in \{5,\dots,7\}:\quad |\text{JointVelocities}_j(t)| &\le \text{ForearmVelocityLimit} \end{aligned}

    ∀t,j∈{8,9}:|JointVelocitiesj(t)|≤HandVelocityLimit\begin{aligned} \forall t,\ j \in \{8,9\}:\quad |\text{JointVelocities}_j(t)| &\le \text{HandVelocityLimit} \end{aligned}

  • Action Constraints and Zero-Order Hold

    ∀t,∀j:JointPosLowerUSD[j]≤ActionJointTargetsj(t)≤JointPosUpperUSD[j]\forall t,\ \forall j:\quad \text{JointPosLowerUSD}[j] \le \text{ActionJointTargets}_j(t) \le \text{JointPosUpperUSD}[j]

    ActionChange(t)=ActionJointTargets(t)−ActionJointTargets(t−1),ActionChange(0)=0\begin{aligned} \text{ActionChange}(t) &= \text{ActionJointTargets}(t) - \text{ActionJointTargets}(t-1),\\ \text{ActionChange}(0)&=\mathbf{0} \end{aligned}

    ∀t,∀τ∈[tΔtc,(t+1)Δtc):AppliedAction(τ)=ActionJointTargets(t)\begin{aligned} \forall t,\ \forall \tau \in [t\Delta t_c,(t+1)\Delta t_c):\quad \text{AppliedAction}(\tau) &= \text{ActionJointTargets}(t) \end{aligned}

  • Workspace and Collision Constraints

    ∀t:CommandedEndEffectorPosition(t)∈𝒲workspace,∥CommandedEndEffectorOrientationQuat(t)∥2=1\begin{aligned} \forall t:\quad \text{CommandedEndEffectorPosition}(t) &\in \mathcal{W}_{\text{workspace}},\\ \|\text{CommandedEndEffectorOrientationQuat}(t)\|_2 &= 1 \end{aligned}

    ∀t,∀1≤a<b≤NumLinks:signed_distance(linka,linkb;JointPositions(t))≥0\begin{aligned} \forall t,\ \forall 1 \le a < b \le \text{NumLinks}:\quad &\text{signed\_distance}\big( \text{link}_a,\text{link}_b;\\ &\hspace{5em}\text{JointPositions}(t) \big) \ge 0 \end{aligned}

  • Initial Conditions

    ∀j:JointInitLower[j]≤JointPositionsj(0)≤JointInitUpper[j]\forall j:\quad \text{JointInitLower}[j] \le \text{JointPositions}_j(0) \le \text{JointInitUpper}[j]

Parameters

Supplement B.4 · ARPG logbook
  • Simulation Timing

    • PhysicsDtSeconds: Fixed physics integration timestep (seconds).

    • StepsPerSecond: Number of physics steps per second (=1/PhysicsDtSeconds= 1 / \text{PhysicsDtSeconds}).

    • ControlActionDecimation: Number of physics steps between successive control actions.

    • ControlIntervalSeconds: Time interval between control updates (=ControlActionDecimation⋅PhysicsDtSeconds= \text{ControlActionDecimation} \cdot \text{PhysicsDtSeconds}).

    • ControlFrequencyHz: Control update frequency (=1/ControlIntervalSeconds= 1 / \text{ControlIntervalSeconds}).

  • Episode Horizon

    • EpisodeHorizonSeconds: Maximum episode duration before time-limit termination.

    • EpisodePhysicsSteps: Total number of physics steps per episode ( / ).

    • ControlStepsPerEpisode: Total number of control steps per episode ( / ).

  • Physics and Solver Settings

    • GravityEnabled: Whether gravity is enabled in rigid body dynamics.

    • SelfCollisionsEnabled: Whether self-collisions are enabled for the articulation.

    • ContactSensorsActivated: Whether contact sensors are enabled on the robot.

    • MaxDepenetrationVelocity: Maximum depenetration velocity used by the physics solver.

    • SolverPositionIterationCount: Number of solver position iterations.

    • SolverVelocityIterationCount: Number of solver velocity iterations.

    • SoftJointPosLimitFactor: Scaling factor applied to soft joint position limits.

  • Robot Structure

    • NumLinks: Number of links in the robot kinematic chain.

    • NumArmJoints: Number of revolute joints in the 7-DoF arm.

    • NumFingerJoints: Number of prismatic joints in the gripper.

    • NumTotalJoints: Total number of actuated joints (arm + gripper).

    • ActionDimension: Dimension of the continuous joint-level action vector.

  • Initial Joint Configuration

    • JointInitPosArm: Initial joint positions for the 7-DoF arm (panda_joint1–panda_joint7).

    • JointInitPosFingers: Initial joint positions for the gripper fingers (panda_leftfinger, panda_rightfinger).

  • Actuator Groups and Limits

    Shoulder actuator group (panda_joint1–panda_joint4):

    • ShoulderJointCount

    • ShoulderEffortLimit

    • ShoulderVelocityLimit

    • ShoulderStiffness

    • ShoulderDamping

    Forearm actuator group (panda_joint5–panda_joint7):

    • ForearmJointCount

    • ForearmEffortLimit

    • ForearmVelocityLimit

    • ForearmStiffness

    • ForearmDamping

    Hand actuator group (gripper fingers):

    • HandJointCount

    • HandEffortLimit

    • HandVelocityLimit

    • HandStiffness

    • HandDamping

Variables

Supplement B.4 · ARPG logbook
  • Action Variables

    • ActionJointTargets (∈ℝActionDimension\in \mathbb{R}^{\text{ActionDimension}}): Continuous joint-level command targets applied at each control step, including 7 revolute arm joints and 2 prismatic finger joints.

  • Proprioceptive State

    • JointPositions (∈ℝNumTotalJoints\in \mathbb{R}^{\text{NumTotalJoints}}): Current joint positions (radians for arm joints, meters for finger joints).

    • JointVelocities (∈ℝNumTotalJoints\in \mathbb{R}^{\text{NumTotalJoints}}): Current joint angular or linear velocities for all actuated joints.

  • End-Effector State

    • ActualEndEffectorPosition (∈ℝ3\in \mathbb{R}^3): Cartesian position of the end effector (panda_hand) expressed in the robot base frame.

    • ActualEndEffectorOrientationQuat (∈ℝ4\in \mathbb{R}^4): Unit quaternion representing the current end-effector orientation in the robot base frame.

  • Commanded Targets

    • CommandedEndEffectorPosition (∈ℝ3\in \mathbb{R}^3): Target Cartesian position for the end effector in the robot base frame, resampled within workspace bounds above the table.

    • CommandedEndEffectorOrientationQuat (∈ℝ4\in \mathbb{R}^4): Target end-effector orientation represented as a unit quaternion in the robot base frame.

  • Tracking Errors

    • EndEffectorPositionError (∈ℝ3\in \mathbb{R}^3): Position tracking error defined as CommandedEndEffectorPosition−ActualEndEffectorPosition\text{CommandedEndEffectorPosition} - \text{ActualEndEffectorPosition}.

    • EndEffectorOrientationErrorAxisAngle (∈ℝ3\in \mathbb{R}^3): Orientation tracking error between commanded and actual end-effector orientations, expressed in axis–angle form (rotation axis scaled by rotation angle).

  • Temporal and Smoothness Signals

    • ActionChange (∈ℝActionDimension\in \mathbb{R}^{\text{ActionDimension}}): Difference between the current and previous action vectors, used to penalize rapid changes in control inputs and encourage smooth control.

    • EpisodeTimeSeconds (∈ℝ\in \mathbb{R}): Elapsed simulation time since episode start, capped at the episode horizon (e.g., 12 s).

    • ControlStepIndex (∈ℕ\in \mathbb{N}): Index of the current control step within the episode, [0,…,ControlStepsPerEpisode−1][0, \dots, \text{ControlStepsPerEpisode}-1].

Franka Lift

Watch rollout · 0:42

Description

Supplement A · Task input

The task is set in a fixed-base manipulation environment built with Isaac Lab (v2.1) on top of Isaac Sim (v4.5). A Franka Emika Panda robotic arm with a parallel gripper is loaded from the standard USD asset and operates on a tabletop scene.

The simulation evolves at a physics integration rate of 100 Hz, with control commands applied every other physics step, resulting in an effective control frequency of 50 Hz. Each episode lasts for approximately five seconds of simulated time and terminates either when this time limit is reached or when the manipulated object falls below a height of about −0.05-0.05 m, which is treated as a loss of control.

At the beginning of each episode, a small rigid object is placed on the table roughly half a meter in front of the robot. Its initial horizontal position is randomized within a limited range, introducing variation in the relative geometry, while its initial vertical position is fixed at the table height.

Throughout an episode, pose commands are sampled within a bounded workspace above the table, with target positions typically lying between about 0.4 and 0.6 meters in front of the robot, within ±0.25 meters laterally, and between roughly 0.25 and 0.5 meters in height. These commands are expressed relative to the robot base and remain constant over the duration of an episode, serving as soft references for guiding motion rather than hard success constraints.

As the arm moves, the distance between the gripper and the object gradually decreases, eventually allowing contact to occur. Meaningful interaction emerges when the gripper approaches the object, establishes control through grasping, and lifts it above approximately 0.04 m. Once lifted, the object can be transported within the workspace while remaining stably coupled to the arm.

The robot itself consists of a seven-degree-of-freedom arm and a two-finger parallel gripper. Successful behavior involves positioning the object between the gripper fingers, closing the gripper to achieve a stable grasp, maintaining that grasp without excessive motion, and lifting the object in a smooth and controlled manner.

At each control step, the agent observes the robot’s joint positions and velocities, the object’s position relative to the robot, the currently commanded target pose, and the most recent action. These signals are combined into a single observation vector used for decision making.

Because interaction unfolds continuously over time, effective strategies rely on sequences of moderate, coordinated actions rather than abrupt corrections. The learning process therefore favors smooth progress accumulated across successive steps, while discouraging excessive joint motion and rapid changes in control inputs.

The overall goal is to learn robust object manipulation behaviors under these physical, temporal, and geometric constraints using reinforcement learning, without explicitly hard-coding task stages or success conditions.

State

Supplement B.5 · ARPG logbook
  • Description: Concatenated proprioceptive and task-relevant exteroceptive observations at each control step. The state includes all joint positions and velocities (arm and gripper), the object position relative to the robot base, the per-episode constant target position, and the most recent action. This representation provides sufficient information for smooth closed-loop manipulation and grasp stabilization.

  • Variables: st=[qt,q̇t,𝐨t,𝐩*,at−1]s_t = \big[ q_t,\; \dot q_t,\; \mathbf{o}_t,\; \mathbf{p}^\ast,\; a_{t-1} \big]

  • Shape: [33][33].

  • Symbol Definitions:

    • qt∈ℝ9q_t \in \mathbb{R}^{9}: Joint positions (7 arm joints + 2 gripper fingers).

    • q̇t∈ℝ9\dot q_t \in \mathbb{R}^{9}: Joint velocities.

    • 𝐨t∈ℝ3\mathbf{o}_t \in \mathbb{R}^3: Object position relative to the robot base.

    • 𝐩*∈ℝ3\mathbf{p}^\ast \in \mathbb{R}^3: Per-episode constant target position.

    • at−1∈ℝ9a_{t-1} \in \mathbb{R}^{9}: Action applied at the previous control step.

Action

Supplement B.5 · ARPG logbook
  • Description: Continuous joint-space target deltas applied at 5050 Hz via PD-controlled joints. Each action specifies a per-step change in joint targets (radians for arm joints and meters for the prismatic gripper fingers). The two gripper finger commands are constrained to be identical, enforcing symmetric gripper motion.

  • Variables: at=[Δqt,1:7arm,Δqtgrip,Δqtgrip]a_t = \big[ \Delta q^{\text{arm}}_{t,1:7},\; \Delta q^{\text{grip}}_t,\; \Delta q^{\text{grip}}_t \big]

  • Shape: [9][9].

  • Type: Continuous.

  • Symbol Definitions:

    • Δqt,iarm\Delta q^{\text{arm}}_{t,i}: Target increment for arm joint ii.

    • Δqtgrip\Delta q^{\text{grip}}_t: Target increment for each gripper finger.

    • Action magnitudes are implicitly bounded by joint velocity limits and the control interval.

Reward

Supplement B.5 · ARPG logbook
  • Description: A dense per-step reward that encourages moving the object toward the commanded target, lifting it above a height threshold, and executing smooth, low-velocity joint motions. Object drops are penalized, and once lifting is achieved, positive gripper openings are discouraged to promote stable grasping.

  • Objective: maxπ𝔼π[∑t=0Tc−1(rtpos+rtlift−rtΔ−rtvel−rtdrop−rtgrip)].\max_{\pi} \; \mathbb{E}_{\pi} \Bigg[ \sum_{t=0}^{T_c-1} \Big( r^{\text{pos}}_t + r^{\text{lift}}_t - r^{\Delta}_t - r^{\text{vel}}_t - r^{\text{drop}}_t - r^{\text{grip}}_t \Big) \Bigg].

  • Reward Components:

    • Position tracking: rtpos=−∥𝐨t−𝐩*∥22.r^{\text{pos}}_t = -\|\mathbf{o}_t - \mathbf{p}^\ast\|_2^2.

    • Lift bonus: rtlift=max(0,ot,z−hlift).r^{\text{lift}}_t = \max\big(0,\ o_{t,z} - h_{\text{lift}}\big).

    • Action smoothness: rtΔ=∥at−at−1∥22.r^{\Delta}_t = \|a_t - a_{t-1}\|_2^2.

    • Joint velocity penalty: rtvel=∑j∈𝒥sh(q̇t,jq̇shmax)2+∑j∈𝒥fa(q̇t,jq̇famax)2+∑j∈𝒥gr(q̇t,jq̇grmax)2.r^{\text{vel}}_t = \sum_{j \in \mathcal{J}_{\text{sh}}} \Big(\tfrac{\dot q_{t,j}}{\dot q^{\max}_{\text{sh}}}\Big)^2 + \sum_{j \in \mathcal{J}_{\text{fa}}} \Big(\tfrac{\dot q_{t,j}}{\dot q^{\max}_{\text{fa}}}\Big)^2 + \sum_{j \in \mathcal{J}_{\text{gr}}} \Big(\tfrac{\dot q_{t,j}}{\dot q^{\max}_{\text{gr}}}\Big)^2.

    • Drop penalty: rtdrop=𝕀{ot,z<hdrop}.r^{\text{drop}}_t = \mathbb{I}\{o_{t,z} < h_{\text{drop}}\}.

    • Gripper closure encouragement: rtgrip=𝕀{ot,z≥hlift}∑j∈𝒥grqt,j.r^{\text{grip}}_t = \mathbb{I}\{o_{t,z} \ge h_{\text{lift}}\} \sum_{j \in \mathcal{J}_{\text{gr}}} q_{t,j}.

  • Symbol Definitions:

    • TcT_c: Number of control steps per episode.

    • ot,zo_{t,z}: Object height at time tt.

    • hlifth_{\text{lift}}: Lift success height threshold.

    • hdroph_{\text{drop}}: Drop (failure) height threshold.

    • 𝒥sh={1,…,4}\mathcal{J}_{\text{sh}}=\{1,\dots,4\} (shoulder), 𝒥fa={5,6,7}\mathcal{J}_{\text{fa}}=\{5,6,7\} (forearm), 𝒥gr={8,9}\mathcal{J}_{\text{gr}}=\{8,9\} (gripper).

    • 𝕀{⋅}\mathbb{I}\{\cdot\}: Indicator function.

Objective

Supplement B.5 · ARPG logbook
  • Objective: Learn a lifting policy π\pi that brings the object close to the commanded target, lifts it above a threshold height, maintains smooth control, respects joint velocity limits, and avoids dropping the object: maxπ𝔼π[∑t=0Tc−1(rtreach+rtlift−rtΔa−rtq̇−rtdrop−rtgrip)],\max_{\pi}\; \mathbb{E}_{\pi} \Bigg[ \sum_{t=0}^{T_c-1} \Big( r^{\text{reach}}_t + r^{\text{lift}}_t - r^{\Delta a}_t - r^{\dot q}_t - r^{\text{drop}}_t - r^{\text{grip}}_t \Big) \Bigg], where Tc=ControlStepsPerEpisodeT_c = \mathrm{ControlStepsPerEpisode}.

  • Reward Components:

    • Reaching term: rtreach=−∥𝐩t−𝐩*∥22.r^{\text{reach}}_t = -\big\| \mathbf{p}_t - \mathbf{p}^\ast \big\|_2^2.

    • Lifting term: rtlift=max(0,zt−zlift).r^{\text{lift}}_t = \max\!\big(0,\ z_t - z_{\text{lift}}\big).

    • Action smoothness penalty: rtΔa=∥𝐚t−𝐚t−1∥22.r^{\Delta a}_t = \big\| \mathbf{a}_t - \mathbf{a}_{t-1} \big\|_2^2.

    • Joint velocity penalty: rtq̇=∑j∈𝒮(q̇t,jq̇shmax)2+∑j∈ℱ(q̇t,jq̇famax)2+∑j∈𝒢(q̇t,jq̇grmax)2.r^{\dot q}_t = \sum_{j \in \mathcal{S}} \Big( \tfrac{\dot q_{t,j}}{\dot q^{\max}_{\text{sh}}} \Big)^2 + \sum_{j \in \mathcal{F}} \Big( \tfrac{\dot q_{t,j}}{\dot q^{\max}_{\text{fa}}} \Big)^2 + \sum_{j \in \mathcal{G}} \Big( \tfrac{\dot q_{t,j}}{\dot q^{\max}_{\text{gr}}} \Big)^2.

    • Drop penalty: rtdrop=𝕀{zt<zdrop}.r^{\text{drop}}_t = \mathbb{I}\!\left\{ z_t < z_{\text{drop}} \right\}.

    • Post-lift gripper closure penalty: rtgrip=𝕀{zt≥zlift}∑j∈𝒢qt,j.r^{\text{grip}}_t = \mathbb{I}\!\left\{ z_t \ge z_{\text{lift}} \right\} \sum_{j \in \mathcal{G}} q_{t,j}.

  • Symbol Definitions:

    • 𝐩t=ObjectPositionRelToBaset∈ℝ3\mathbf{p}_t = \mathrm{ObjectPositionRelToBase}_t \in \mathbb{R}^3: Object position relative to the robot base.

    • 𝐩*=TargetPosition\mathbf{p}^\ast = \mathrm{TargetPosition}: Commanded target position.

    • zt=(𝐩t)zz_t = (\mathbf{p}_t)_z: Object height above the base frame.

    • zlift=LiftHeightThresholdMz_{\text{lift}} = \mathrm{LiftHeightThresholdM}: Height threshold indicating successful lift.

    • zdrop=ObjectDropHeightThresholdMz_{\text{drop}} = \mathrm{ObjectDropHeightThresholdM}: Height threshold triggering drop penalty.

    • 𝐚t=Actiont\mathbf{a}_t = \mathrm{Action}_t, 𝐚t−1=PreviousActiont\mathbf{a}_{t-1} = \mathrm{PreviousAction}_t: Current and previous control actions.

    • q̇t,j=JointVelocitiest,j\dot q_{t,j} = \mathrm{JointVelocities}_{t,j}: Joint velocity of joint jj at time tt.

    • 𝒮={1,…,4}\mathcal{S} = \{1,\dots,4\}: Shoulder joint indices.

    • ℱ={5,…,7}\mathcal{F} = \{5,\dots,7\}: Forearm joint indices.

    • 𝒢={NumArmJoints+1,…,NumJointsTotal}\mathcal{G} = \{\mathrm{NumArmJoints}+1,\dots,\mathrm{NumJointsTotal}\}: Gripper joint indices.

    • q̇shmax=ShoulderVelocityLimitRadPerSec\dot q^{\max}_{\text{sh}} = \mathrm{ShoulderVelocityLimitRadPerSec}, q̇famax=ForearmVelocityLimitRadPerSec\dot q^{\max}_{\text{fa}} = \mathrm{ForearmVelocityLimitRadPerSec}, q̇grmax=GripperVelocityLimit\dot q^{\max}_{\text{gr}} = \mathrm{GripperVelocityLimit}: Joint velocity limits for shoulder, forearm, and gripper joints.

    • 𝕀{⋅}\mathbb{I}\{\cdot\}: Indicator function equal to 1 if the condition holds, and 0 otherwise.

Constraints

Supplement B.5 · ARPG logbook
  • Target Pose Constraints: 𝐩*=(x*,y*,z*),\mathbf{p}^\ast = (x^\ast,y^\ast,z^\ast), xmin≤x*≤xmax,ymin≤y*≤ymax,zmin≤z*≤zmax.\begin{aligned} x_{\min} &\le x^\ast \le x_{\max},\\ y_{\min} &\le y^\ast \le y_{\max},\\ z_{\min} &\le z^\ast \le z_{\max}. \end{aligned} 𝐩t*=𝐩0*,∀t∈{0,…,Tc−1}.\mathbf{p}^\ast_t = \mathbf{p}^\ast_0, \qquad \forall t \in \{0,\dots,T_c-1\}.

  • Initial Configuration: q0,i=qiarm,i∈{1,…,narm}.q_{0,i} = q^{\text{arm}}_i, \qquad i \in \{1,\dots,n_{\text{arm}}\}. q0,narm+j=qjgrip,j∈{1,2}.q_{0,n_{\text{arm}}+j} = q^{\text{grip}}_j, \qquad j \in \{1,2\}.

  • Gripper Symmetry: qt,narm+1=qt,narm+2,at,narm+1=at,narm+2,∀t.\begin{aligned} q_{t,n_{\text{arm}}+1} &= q_{t,n_{\text{arm}}+2},\\ a_{t,n_{\text{arm}}+1} &= a_{t,n_{\text{arm}}+2}, \qquad \forall t. \end{aligned}

  • Joint Position Limits: qt∈𝒬USD(α),α=SoftJointPositionLimitFactor.q_t \in \mathcal{Q}_{\text{USD}}(\alpha), \qquad \alpha = \mathrm{SoftJointPositionLimitFactor}. qt,narm+j≥0,j∈{1,2}.q_{t,n_{\text{arm}}+j} \ge 0, \qquad j \in \{1,2\}.

  • Joint Velocity Limits: |q̇t,i|≤q̇shmax,i∈{1,…,4}.|\dot q_{t,i}| \le \dot q^{\max}_{\text{sh}}, \qquad i \in \{1,\dots,4\}. |q̇t,i|≤q̇famax,i∈{5,6,7}.|\dot q_{t,i}| \le \dot q^{\max}_{\text{fa}}, \qquad i \in \{5,6,7\}. |q̇t,narm+j|≤q̇grmax,j∈{1,2}.|\dot q_{t,n_{\text{arm}}+j}| \le \dot q^{\max}_{\text{gr}}, \qquad j \in \{1,2\}.

  • Action Decimation and Timing: at⋅d+m=at,m∈{0,…,d−1}.a_{t\cdot d + m} = a_t, \qquad m \in \{0,\dots,d-1\}. Δtc=dΔtp,fc=1Δtc.\Delta t_c = d\,\Delta t_p, \qquad f_c = \tfrac{1}{\Delta t_c}. at−1=PreviousActiont,t≥1.a_{t-1} = \mathrm{PreviousAction}_t, \qquad t \ge 1.

  • Termination Conditions: tΔtc≥Tmax∨zt<zdrop⇒episode terminates.t\,\Delta t_c \ge T_{\max} \;\;\vee\;\; z_t < z_{\text{drop}} \;\Rightarrow\; \text{episode terminates}.

  • Index Sets: k∈{0,…,Tp−1},t∈{0,…,Tc−1}.k \in \{0,\dots,T_p-1\}, \qquad t \in \{0,\dots,T_c-1\}.

  • Self-Collision Constraint: SelfCollisionsEnabled=1⇒qt is free of self-penetration,∀t.\mathrm{SelfCollisionsEnabled}=1 \;\Rightarrow\; q_t \text{ is free of self-penetration}, \qquad \forall t.

  • Object Initialization: z0=ztable,x0≈xinit.z_0 = z_{\text{table}}, \qquad x_0 \approx x_{\text{init}}.

  • Symbol Definitions:

    • 𝐩*\mathbf{p}^\ast: Commanded target position.

    • (xmin,xmax,ymin,ymax,zmin,zmax)(x_{\min},x_{\max},y_{\min},y_{\max},z_{\min},z_{\max}): Target workspace bounds.

    • qt,q̇tq_t,\dot q_t: Joint positions and velocities.

    • ata_t: Action at control step tt.

    • narm=NumArmJointsn_{\text{arm}}=\mathrm{NumArmJoints}, ntot=NumJointsTotaln_{\text{tot}}=\mathrm{NumJointsTotal}.

    • q̇shmax\dot q^{\max}_{\text{sh}}, q̇famax\dot q^{\max}_{\text{fa}}, q̇grmax\dot q^{\max}_{\text{gr}}: Velocity limits for shoulder, forearm, and gripper joints.

    • d=ControlEveryNStepsd=\mathrm{ControlEveryNSteps}: Action decimation factor.

    • Δtp=PhysicsDtSec\Delta t_p=\mathrm{PhysicsDtSec}, Δtc=ControlIntervalSec\Delta t_c=\mathrm{ControlIntervalSec}.

    • Tmax=EpisodeTimeLimitSecT_{\max}=\mathrm{EpisodeTimeLimitSec}.

    • zdrop=ObjectDropHeightThresholdMz_{\text{drop}}=\mathrm{ObjectDropHeightThresholdM}.

    • ztablez_{\text{table}}: Table height.

    • xinit=ObjectInitXApproxMx_{\text{init}}=\mathrm{ObjectInitXApproxM}.

Parameters

Supplement B.5 · ARPG logbook
  • Simulation and Control Timing:

    • PhysicsHz: Physics integration frequency (Hz) (float).

    • PhysicsDtSec: Physics integration timestep (seconds) (float).

    • ControlHz: Control command application frequency (Hz) (float).

    • ControlIntervalSec: Time between control steps (seconds) (float).

    • ControlEveryNSteps: Number of physics steps between control updates (int).

  • Episode Horizon and Thresholds:

    • EpisodeTimeLimitSec: Episode time limit (seconds) (float).

    • PhysicsStepsPerEpisode: Physics steps per episode (int).

    • ControlStepsPerEpisode: Control steps per episode (int).

    • ObjectDropHeightThresholdM: Termination threshold on object height (meters) (float).

    • LiftHeightThresholdM: Approx. success threshold for lift height above table (meters) (float).

  • Commanded Target Pose Range (relative to robot base):

    • TargetXMinM, TargetXMaxM: Forward target range (meters) (float).

    • TargetYMinM, TargetYMaxM: Lateral target range (meters) (float).

    • TargetZMinM, TargetZMaxM: Vertical target range (meters) (float).

    • ObjectInitXApproxM: Approx. initial forward object distance (meters) (float).

  • Robot Kinematic Sizes:

    • NumArmJoints: Number of arm DOF (int).

    • NumFingerJoints: Number of gripper finger joints (int).

    • NumJointsTotal: Total controlled joints (arm + gripper) (int).

    • NumLinks: Total number of links (int).

    • ShoulderJointsCount: Shoulder group joint count (panda_joint1–4) (int).

    • ForearmJointsCount: Forearm group joint count (panda_joint5–7) (int).

    • FingerJointsCount: Gripper finger joint count (int).

  • Initialization:

    • ArmInitPosRad: Initial arm joint positions (radians) (shape [NumArmJoints][\mathrm{NumArmJoints}], float).

    • FingerInitPosM: Initial finger joint positions (meters) (shape [NumFingerJoints][\mathrm{NumFingerJoints}], float).

  • Actuation (PD) and Limits:

    • ShoulderStiffness, ShoulderDamping: PD gains for shoulder joints (float).

    • ShoulderEffortLimitNm, ShoulderVelocityLimitRadPerSec: Effort/velocity limits for shoulder joints (float).

    • ForearmStiffness, ForearmDamping: PD gains for forearm joints (float).

    • ForearmEffortLimitNm, ForearmVelocityLimitRadPerSec: Effort/velocity limits for forearm joints (float).

    • GripperStiffness, GripperDamping: PD gains for gripper finger joints (float).

    • GripperEffortLimit, GripperVelocityLimit: Effort/velocity limits for gripper fingers (float).

  • Simulation Options:

    • ActivateContactSensors: Whether contact sensors are activated (binary).

    • DisableGravity: Whether gravity is disabled for the robot (binary).

    • SelfCollisionsEnabled: Whether self-collisions are enabled (binary).

  • Physics Solver and Limits:

    • MaxDepenetrationVelocity: Maximum depenetration velocity (float).

    • SolverPositionIterationCount: Number of solver position iterations (int).

    • SolverVelocityIterationCount: Number of solver velocity iterations (int).

    • SoftJointPositionLimitFactor: Scaling factor for soft joint position limits (float).

  • Observation/Command Toggles:

    • ObservesJointPositions: Observation includes joint positions (binary).

    • ObservesJointVelocities: Observation includes joint velocities (binary).

    • ObservesObjectPoseRelToBase: Observation includes object pose relative to base (binary).

    • ObservesTargetPose: Observation includes commanded target pose (binary).

    • ObservesPreviousAction: Observation includes previous action (binary).

    • CommandPoseConstantPerEpisode: Commanded target pose constant within episode (binary).

  • Assigned Values (_values):

    • Timing: PhysicsHz=100.0,PhysicsDtSec=0.01,ControlHz=50.0,ControlIntervalSec=0.02,ControlEveryNSteps=2.\begin{aligned} &\mathrm{PhysicsHz}=100.0, \\ &\mathrm{PhysicsDtSec}=0.01, \\ &\mathrm{ControlHz}=50.0, \\ &\mathrm{ControlIntervalSec}=0.02, \\ &\mathrm{ControlEveryNSteps}=2. \end{aligned}

    • Episode: EpisodeTimeLimitSec=5.0,PhysicsStepsPerEpisode=500,ControlStepsPerEpisode=250.\begin{aligned} &\mathrm{EpisodeTimeLimitSec}=5.0, \\ &\mathrm{PhysicsStepsPerEpisode}=500, \\ &\mathrm{ControlStepsPerEpisode}=250. \end{aligned}

    • Thresholds: ObjectDropHeightThresholdM=−0.05,LiftHeightThresholdM=0.04.\begin{aligned} &\mathrm{ObjectDropHeightThresholdM}=-0.05, \\ &\mathrm{LiftHeightThresholdM}=0.04. \end{aligned}

    • Target Ranges: TargetXMinM=0.4,TargetXMaxM=0.6,TargetYMinM=−0.25,TargetYMaxM=0.25,TargetZMinM=0.25,TargetZMaxM=0.5,ObjectInitXApproxM=0.5.\begin{aligned} &\mathrm{TargetXMinM}=0.4,\quad \mathrm{TargetXMaxM}=0.6, \\ &\mathrm{TargetYMinM}=-0.25,\quad \mathrm{TargetYMaxM}=0.25, \\ &\mathrm{TargetZMinM}=0.25,\quad \mathrm{TargetZMaxM}=0.5, \\ &\mathrm{ObjectInitXApproxM}=0.5. \end{aligned}

    • Sizes: NumArmJoints=7,NumFingerJoints=2,NumJointsTotal=9,NumLinks=11,ShoulderJointsCount=4,ForearmJointsCount=3,FingerJointsCount=2.\begin{aligned} &\mathrm{NumArmJoints}=7,\quad \mathrm{NumFingerJoints}=2, \\ &\mathrm{NumJointsTotal}=9,\quad \mathrm{NumLinks}=11, \\ &\mathrm{ShoulderJointsCount}=4,\quad \mathrm{ForearmJointsCount}=3, \\ &\mathrm{FingerJointsCount}=2. \end{aligned}

    • Initialization: ArmInitPosRad=[0.0,−0.569,0.0,−2.81,0.0,3.037,0.741],FingerInitPosM=[0.04,0.04].\begin{aligned} &\mathrm{ArmInitPosRad}= [0.0,-0.569,0.0,-2.81,0.0,3.037,0.741], \\ &\mathrm{FingerInitPosM}=[0.04,0.04]. \end{aligned}

    • PD Gains and Limits: ShoulderStiffness=80.0,ShoulderDamping=4.0,ShoulderEffortLimitNm=87.0,ShoulderVelocityLimitRadPerSec=2.175,ForearmStiffness=80.0,ForearmDamping=4.0,ForearmEffortLimitNm=12.0,ForearmVelocityLimitRadPerSec=2.61,GripperStiffness=2000.0,GripperDamping=100.0,GripperEffortLimit=200.0,GripperVelocityLimit=0.2.\begin{aligned} &\mathrm{ShoulderStiffness}=80.0,\\ &\mathrm{ShoulderDamping}=4.0, \\ &\mathrm{ShoulderEffortLimitNm}=87.0,\\ &\mathrm{ShoulderVelocityLimitRadPerSec}=2.175, \\ &\mathrm{ForearmStiffness}=80.0,\\ &\mathrm{ForearmDamping}=4.0, \\ &\mathrm{ForearmEffortLimitNm}=12.0,\\ &\mathrm{ForearmVelocityLimitRadPerSec}=2.61, \\ &\mathrm{GripperStiffness}=2000.0,\\ &\mathrm{GripperDamping}=100.0, \\ &\mathrm{GripperEffortLimit}=200.0,\\ &\mathrm{GripperVelocityLimit}=0.2. \end{aligned}

    • Options: ActivateContactSensors=0,DisableGravity=0,SelfCollisionsEnabled=1.\begin{aligned} &\mathrm{ActivateContactSensors}=0, \\ &\mathrm{DisableGravity}=0, \\ &\mathrm{SelfCollisionsEnabled}=1. \end{aligned}

    • Solver: MaxDepenetrationVelocity=5.0,SolverPositionIterationCount=8,SolverVelocityIterationCount=0,SoftJointPositionLimitFactor=1.0.\begin{aligned} &\mathrm{MaxDepenetrationVelocity}=5.0, \\ &\mathrm{SolverPositionIterationCount}=8, \\ &\mathrm{SolverVelocityIterationCount}=0, \\ &\mathrm{SoftJointPositionLimitFactor}=1.0. \end{aligned}

    • Command: CommandPoseConstantPerEpisode=1.\mathrm{CommandPoseConstantPerEpisode}=1.

Variables

Supplement B.5 · ARPG logbook
  • JointPositions: Current positions of all controllable robot joints, consisting of 7 revolute arm joints and 2 prismatic gripper finger joints (shape [NumJointsTotal][\mathrm{NumJointsTotal}]).

  • JointVelocities: Current velocities of all controllable robot joints, including the 7 arm revolute joints and 2 prismatic gripper finger joints (shape [NumJointsTotal][\mathrm{NumJointsTotal}]).

  • ObjectPositionRelToBase: Three-dimensional position of the object’s reference frame expressed relative to the robot base frame (x,y,z)(x,y,z) (shape [3][3]).

  • TargetPosition: Commanded end-effector target position expressed relative to the robot base frame (x,y,z)(x,y,z). The target remains constant within an episode but is observable by the agent (shape [3][3]).

  • Action: Control signal selected by the agent at the current control step for all controllable joints (arm + gripper). Depending on the controller, this corresponds to joint-space position targets or target deltas (shape [NumJointsTotal][\mathrm{NumJointsTotal}]).

  • PreviousAction: Action applied at the previous control step for all controllable joints (arm + gripper), included to preserve the Markov property when action-smoothing or implicit actuator dynamics are used (shape [NumJointsTotal][\mathrm{NumJointsTotal}]).

Appendix G

Beyond robotics

These experiments reuse the MDP modeling pipeline with a single coding agent for lightweight environments. Select a figure to inspect the original plots.

Four evaluation plots comparing DQN, optimal, and random performance on CartPole, MountainCar, drone delivery, and inventory management

Fig. 5 / Appendix G.3

Control, delivery & inventory

CartPole and MountainCar test classic control. Drone delivery introduces an energy budget, and inventory management introduces demand uncertainty. The plots compare each learned policy with optimal and random baselines.

Wireless scheduling reward and quality-of-service comparisons for the generated policy, expert policy, and baselines

Fig. 6 / Appendix G.4.1

Wireless scheduling

The policy selects a user and transmit power at each time slot. It achieves rewards close to the expert DQN while meeting the required average data rate.

Daily energy demand, generation, grid purchases, and battery level for the expert and ARPG policies

Fig. 7 / Appendix G.4.2

Energy management

The policy shifts grid purchases and battery use as electricity prices change. Its annual cost was 148.72, within 0.90% of the expert policy’s 147.40 (Table 15).

Paper appendix

Inside the experiments

Appendix D.1 · Table 6

What if “walk forward” is underspecified?

The Humanoid input leaves the heading convention, action scaling, and fall threshold open. Each system had ten trials to produce a successful MDP.

Successful MDP formulations out of 10 trials
SystemSuccesses
ARPG (GPT-5.0)8 / 10
Codex7 / 10
Gemini-33 / 10
GPT-5.20 / 10
Claude0 / 10
How was success judged?

A trial counted if its trained policy met the task’s policy-success criteria. Otherwise, a robotics and RL researcher, blinded to method and model identity, checked the realized state, action, reward, and overall formulation. Every applicable criterion had to pass. Appendix F.1

Appendix D.2 · Table 7

What changed after a correction?

Across 50 Humanoid trials, the checker intervened at 60 of 350 modeling stages. The authors audited seven checklist decisions per intervention.

Before correction51.4%216 of 420 items satisfied
After correction75.2%316 of 420 items satisfied

Of the 420 paired decisions, 130 violations were fixed, 74 persisted, 186 satisfied items stayed satisfied, and 30 new violations appeared. The audit covers stages where correction was triggered.

Read the state–action–reward checklist
  • Are State, Action, and Reward definitions consistently integrated into a complete MDP?
  • Is the reward definition consistent with the previously defined objective model?
  • Are modeled constraints properly reflected in the MDP formulation?
  • Are termination and success conditions explicitly specified?
  • Are all previously defined parameters, variables, and constraints accounted for, with no orphan or unused components?

The logbook flags missing termination or success conditions and inconsistencies with earlier modeling stages. Supplement C.2 · SAR Agent Checklist

Appendix E · Figure 4b

Where did the coding agents need another pass?

Observation construction drew 13 debugging calls for Reach and 9 for Lift. Ant’s largest count was in the custom reward, with 11 calls. The heatmap shows which simulator components were revisited for each task.

See an example of a frame mismatch

In one inspected Codex Ant formulation, the observation expressed base velocity in the robot’s frame, while the reward used forward speed along the world X-axis. Once the robot turned, the two could disagree. The formulation left the coordinate conversion unspecified. Appendix C.1

Heatmap of coding-agent debug calls across five tasks and six simulator components. Observation construction dominates Reach and Lift, while Ant concentrates on custom reward code.
Fig. 4b Debug locations by task. Select the original figure to enlarge it.

CitationNeurIPS 2026

Cite ARPG

If ARPG or its generated MDPs help your work, please cite the paper.

BibTeX
@inproceedings{jegal2026arpg,
  title     = {LLMs as MDP Designers: A Dependency-Aware Agentic Framework
               for Automated Robot Policy Generation},
  author    = {Je-Gal, Hong and Kim, Jinwoo and Yi, Chan-Bin and Lee, Hyun-Suk},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026},
  eprint    = {2611.04974},
  archivePrefix = {arXiv}
}
Paper figure