Research
ROOT: Discovering Rewards for User-Specified Embodied Behaviors
Reinforcement learning needs a reward function, and writing one by hand is difficult when the desired behavior involves qualitative properties like gait, posture, or limb coordination.

- arXiv
- 2610.04250 · Preprint · not peer-reviewed
- Published
- 2026-10-03
- Authors
- Eren Sadikoglu, Aditya Taparia, Xinyuan Liu, Ransalu Senanayake
In plain words
Reinforcement learning needs a reward function, and writing one by hand is difficult when the desired behavior involves qualitative properties like gait, posture, or limb coordination.
Key results
- Better perceived alignment, comparable task performance. The VLM panel gives ROOT the highest or joint-highest alignment score on six of seven tasks, averaging 4.14/5 versus 3.56/5 for the strongest baseline — a 16.5% improvement.
- Human preferences favor ROOT. In pairwise comparisons on crab-crawl, spider-creep, and canter, ROOT was preferred over pooled baselines in 51–63% of comparisons.
AI summary
Overview
Research area: Reinforcement learning for embodied control, specifically automatic reward design and behavioral alignment for legged robots and simulated locomotion agents.
Technical level: Advanced. The paper assumes familiarity with reinforcement learning, reward shaping, PPO training, large language models, and video-language models.
Scope: ROOT is a framework that searches for reward functions which make trained policies match user-specified behaviors that are easy to recognize visually but hard to write down as a reward — such as a trot, a pace, a canter, or a crab-crawl.
What This Paper Is About
Reinforcement learning needs a reward function, and writing one by hand is difficult when the desired behavior involves qualitative properties like gait, posture, or limb coordination. Large language models can now generate reward code from a text description, but the resulting policies often score well on the training signal while behaving differently from what the user asked for — the authors call this mismatch the "behavioral gap." ROOT's goal is to close that gap by repeatedly generating reward candidates, training policies, watching how they actually move, and using that visual evidence to decide what to change next.
Key Contributions
-
Reward discovery as search over an "experience tree." The authors formulate reward design as a search over a persistent tree that stores, for each experiment: the reward program, the trained policy, the refinement plan that produced it, training statistics and evaluation metrics, rollout observations, and a distilled summary of findings. Failed attempts are kept too, and edges record which earlier reward was used as the reference for each refinement.
-
A multi-agent reasoning procedure (ROOT). Three LLM roles — a Proposer, a Critic, and a Strategist — use the tree's evidence to select which earlier reward to revisit and what modification to test next. The Critic specifically challenges proposals against prior attempts and overlooked partial successes, and the Strategist synthesizes the discussion into a parent selection and refinement plan.
-
Observation-guided refinement loop. Each iteration runs Reason → Execute → Observe: select a reference reward and plan, generate and validate a reward program, train a fresh PPO policy from scratch, render the policy from multiple views, and have a video-language model (Gemini 3.1 Pro) assess the rollouts against an expanded task specification. A final selection step picks the policy whose recorded alignment description best matches the requested behavior.
-
Empirical evidence of improved alignment across embodiments. Evaluation spans seven simulated tasks on four embodiments (Hopper, HalfCheetah, Ant, Unitree Go2) plus deployment of a trot policy on a physical Unitree Go2, compared against five LLM-based reward-design baselines (Eureka, Text2Reward, L2R, CARD, LAPP) and against ablated versions of ROOT itself.
Main Findings
-
Better perceived alignment, comparable task performance: ROOT ranks first or second in mean task performance on all seven tasks. The VLM panel gives ROOT the highest or joint-highest alignment score on six of seven tasks, averaging 4.14/5 versus 3.56/5 for the strongest baseline — a 16.5% improvement.
-
Strongest gait-specific result on the trot: On "walk forward with a trot gait" for the Unitree Go2, ROOT reaches 86.8% ± 0.3 locomotion-completeness accuracy, the best in the table (Eureka 79.6 ± 0.7, CARD 79.5 ± 0.4, Text2Reward 78.1 ± 0.1, L2R 9.8 ± 0.3, LAPP 0.0 ± 0.0).
-
Not uniformly best on state-based metrics: On Ant crab-crawling, Text2Reward scores higher accuracy (65.2 ± 13.5) than ROOT (47.67 ± 2.64); on Go2 canter, LAPP is slightly higher (70.8 ± 3.6) than ROOT (70.5 ± 4.0); on HalfCheetah, Text2Reward's native score is higher (7.08 ± 0.00 vs ROOT's 6.99 ± 0.04). The authors report that human evaluators still preferred ROOT on the Ant tasks despite its lower contact-based accuracy, suggesting contact agreement alone does not capture perceived adherence to the requested behavior.
-
Human preferences favor ROOT: In pairwise comparisons on crab-crawl, spider-creep, and canter, ROOT was preferred over pooled baselines in 51–63% of comparisons.
-
Both history and visual feedback matter (ablations): Averaged over Ant crab-crawl, Ant spider-creep, and Go2 canter, removing the experience tree's history drops alignment from 3.98 to 2.80 and task accuracy from 51.22% to 10.74% (decreases of 1.18 score points and 40.48 percentage points). Additionally removing Vid-LLM feedback lowers these to 1.84 and 1.91%, further decreases of 0.96 score points and 8.83 percentage points.
-
Favorable alignment-versus-cost balance: On Ant crab-crawling and Go2 canter, ROOT achieves the highest mean Vid-LLM alignment while using less policy-training compute than Eureka (and less than LAPP on crab-crawling). CARD needs substantially less compute but achieves lower alignment. ROOT issues more model queries than the reward-code baselines but fewer than LAPP on both tasks. The authors note these comparisons use method-specific budgets and that query counts indicate interaction volume, not monetary cost.
-
Behavioral structure transfers to hardware: A simulation-trained trot policy deployed on a physical Unitree Go2 retains alternating diagonal leg pairs (FL/RR and FR/RL), distinct from the same-side pairing learned for pacing in simulation. Across 7–8 trials per policy, ROOT shows higher mean contact smoothness and lower joint jerk than Unitree's MPC controller, and the lowest mean cadence entropy and highest mean phase consistency among the evaluated controllers, at a lower stride frequency than either baseline. MPC achieves a mean phase offset closer to zero, while ROOT maintains more consistent phase relationships over time.
Methodology in Plain English
ROOT treats reward design as an experiment log rather than a one-shot generation problem.
The pipeline starts by expanding the user's plain-language task into a more detailed, environment-grounded specification that names relevant physical signals and anticipated failure modes. It then runs a small number of bootstrap reward generations to seed the search.
Each subsequent iteration has three stages. In Reason, LLM agents inspect the tree — comparing a reward change against its parent to see what it actually did, and comparing siblings to see what alternative changes from the same starting point produced — and decide which earlier experiment to build on plus what to change. A Proposer and a Critic alternate for up to a fixed number of rounds, then a Strategist commits to a decision and updates a running document of distilled design insights. In Execute, a generator writes the reward program using the environment's observation space, action space, joint names, and body structure; the code is validated and repaired if needed, then a PPO policy is trained from scratch, recording reward-component curves and evaluation metrics. In Observe, the trained policy is rendered from multiple views and a video-language model describes what it actually did relative to the specification; a lightweight annotator folds this together with diagnostics and the parent's findings into a summary of whether the expected effect appeared.
Every result — including regressions and execution failures — is attached to the tree, so the search can abandon a bad branch and return to an earlier partial success. When the experiment budget is spent, the policy whose recorded description best matches the user's request is returned.
Evaluation uses three complementary signals: state-based task metrics computed independently of the generated reward (native score for Hopper and HalfCheetah, locomotion-completeness accuracy for gait tasks), a VLM alignment score averaged over three models (Seed 2.1 Turbo, Gemma 4 31B, GLM-4.6V) on a 1–5 scale, and human pairwise preferences. Policies are evaluated over a 1,000-step horizon with three seeds; per-candidate training budgets are 20M environment steps on MJX (30M for Go2 canter) and approximately 98M on Isaac Lab. All methods share Claude 4.5 Sonnet as the reasoning and reward-code backbone.
Why This Matters
Impact on research: The paper argues that scalar training statistics are an insufficient signal for reward refinement, and that the missing ingredient is observed behavior tied to the specific reward change that caused it. Its ablation gives a concrete number for that claim: dropping the experiment history costs roughly 40 percentage points of task accuracy on the tested tasks. The framework also reframes reward design as evidence management — retaining failures, preserving lineage, and comparing branches — rather than repeated independent sampling. The authors cite that 92% of practitioners rely on manual reward tuning and 89% report sub-optimal rewards, which frames the practical stakes.
Real-world applications:
- Legged robot deployment: specifying a gait by description (trot, pace, canter) and getting a controller that actually exhibits that footfall pattern, as demonstrated on a physical Unitree Go2.
- Style-constrained locomotion: behaviors where the way the robot moves matters, not just the distance covered — posture, body height, and coordinated limb use.
- Rapid behavior prototyping: letting non-experts state a behavior in natural language instead of hand-tuning reward terms.
- Sim-to-real pipelines: using discovered rewards whose resulting coordination survives transfer to hardware.
Industry relevance: Reward engineering is a persistent cost center in applied RL. A method that reduces the need for expert reward tuning while producing behaviors that match a specification — and that demonstrably transfers to a commercial quadruped — is directly relevant to robotics companies, simulation tooling vendors, and teams building LLM-assisted training pipelines.
Future Directions
- Extending to manipulation and longer-horizon behaviors, where alignment requires coordinating multiple stages of a task rather than a single gait pattern.
- Reusing behavioral insights across related tasks and embodiments, so that experience stored in one tree can guide reward discovery for a new specification.
- Isolating component effects more cleanly. The authors state explicitly that their ablation measures the effect of history when visual feedback is available, then the effect of visual feedback when history is absent — it does not separately measure removing visual feedback from the full history-enabled method.
- Establishing evaluation ground truth for qualitative behavior. The paper repeatedly notes tension between state-based metrics and perceived alignment (ROOT preferred by humans despite lower contact accuracy on Ant; LAPP rated favorably on pace and trot despite low locomotion-completeness accuracy), which leaves open how these signals should be weighted or reconciled.
Target Audience
Robotics and RL researchers working on reward design, LLM-assisted policy development, and sim-to-real transfer for legged locomotion. It is also relevant to practitioners who need to specify behaviors qualitatively — animation and character control teams, quadruped platform developers, and engineers building agentic pipelines around language and video models. Readers without a background in reinforcement learning, PPO training, or reward shaping will find the method sections dense, though the problem framing and results tables are accessible.
Authors’ abstract
Reinforcement learning for embodied control remains constrained by the difficulty of reward specification. Although recent large language model (LLM)-based methods can synthesize reward functions from natural-language descriptions, they often fail to capture subtle behavioral properties that humans care about, such as natural gait, posture, and movement style. This limitation arises because many desired behaviors are easier to recognize visually than to encode in a reward…
The full abstract on arXivRelated papers
- Physical Agentic AI: An Architecture for Orchestrating a Robot Crew with LLMs 2026-08-23 · cs.RO · Also by Eren Sadikoglu, Ransalu Senanayake +1
- Test-Time Adaptation of Manipulation Policies Under Actuator Degradation 2026-09-28 · cs.RO · Also by Ransalu Senanayake
- CrossBFM: Distilling a Shared Latent Behavior Space Across Humanoid Embodiments 2026-09-29 · cs.RO · Key terms of the title in common
- From Pixels to Executable Physics: Behavior-Grounded World Models for Embodied Action Consequence Prediction 2026-10-13 · cs.RO · Key terms of the title in common
- BATCH: Behavior Alignment for Cross-Embodiment Learning from Humans 2026-11-06 · cs.RO · Key terms of the title in common