Skip to content
Robotics.world

Research

PHIRL: Aligning Learned Rewards with Task Progress for Inverse Reinforcement Learning

Training robots with reinforcement learning requires a good reward function, and hand-designing one is laborious. Inverse reinforcement learning can infer a reward from human demonstrations, but…

The paper’s first page · arXiv:2609.31855
arXiv
2609.31855 · Preprint · not peer-reviewed
Published
2026-09-25
Authors
Hang Yu, James Staley, Cheng Xi Tsou, Xiujin Liu, Wenchang Gao, Jindan Huang, Shijie Fang, Zhegong Shangguan, Angelo Cangelosi, Reuben Aronson, Elaine Short

In plain words

Training robots with reinforcement learning requires a good reward function, and hand-designing one is laborious. Inverse reinforcement learning can infer a reward from human demonstrations, but demonstrations of manipulation tasks are rarely optimal, and existing feedback methods (like pairwise preferences) become uninformative when every sampled trajectory is bad.

AI summary

Overview

Research area: Robotics — reward learning / inverse reinforcement learning (IRL) for robot manipulation. Technical level: Intermediate (the AIRL math and loss formulations are Advanced, but the core idea is explained accessibly). Scope: A data-efficient framework that combines human demonstrations with a cheap "progress" feedback signal to learn reward functions that are accurate, sample-efficient, and resistant to reward hacking.

What This Paper Is About

Training robots with reinforcement learning requires a good reward function, and hand-designing one is laborious. Inverse reinforcement learning can infer a reward from human demonstrations, but demonstrations of manipulation tasks are rarely optimal, and existing feedback methods (like pairwise preferences) become uninformative when every sampled trajectory is bad. PHIRL addresses this by learning a reward from demonstrations and then repeatedly correcting that reward so it agrees with progress labels — numbers from 0 to 100 describing how much of the task has been completed at a given state.

Key Contributions

  1. A progress-based reward alignment framework (PHIRL). The method alternates between running an IRL algorithm (AIRL) on demonstrations and shaping the learned reward to match progress annotations, so the inferred rewards are consistent with human judgments of the same demonstrations.
  2. Four distinct alignment dimensions. Rather than aligning only temporal changes in progress, PHIRL enforces consistency on temporal delta (positive progress change → positive reward), magnitudes (bigger progress jumps → bigger rewards), potential (higher progress → higher learned value), and completion (successful demonstrations must outweigh failed ones in total reward).
  3. Strong data efficiency. Annotating only 20% of demonstrations is enough for PHIRL to significantly outperform four baselines in simulation and on a real robot, with gains that saturate around 50% coverage in most conditions.
  4. An online extension using a fine-tuned vision-language model. A LoRA fine-tuned Gemma 3 12B can generate additional progress labels on newly generated trajectories during training, improving converged performance, plus a formative study showing even an unfine-tuned VLM can help.

Main Findings

  • Simulation gains (Lift): PHIRL reached a mean environmental reward of M = 188.12 on the proficient-human (PH) dataset and M = 167.16 on the mixed-human (MH) dataset, 5.6% and 17.1% higher than the best baseline respectively.
  • Larger gains on harder, longer-horizon tasks: In PickPlaceCan, where the average demonstration horizon is roughly twice that of Lift, PHIRL was 91.3% higher than the best baseline, and on the lower-quality MH data it achieved 2.3 times more return reward.
  • Real robot validation: On an animal-brushing task with a Kinova Gen 3 Lite arm over 10 episodes (10 pom-poms placed randomly each episode), PHIRL brushed off 73 pom-poms versus AIRL (39), AIRLPref (62), Pref (58), and Rank2Reward (54).
  • Online VLM labels help consistently: In Lift-PH, PHIRL Online reached M = 205.08 versus M = 188.12 for offline PHIRL (p < 0.05); in the harder Can-MH setting, returns rose from M = 116.99 to M = 147.28 (p < 0.001). On the real robot, 84 versus 73.
  • Ablation shows all shaping terms matter: Removing individual shaping components caused statistically significant decreases; potential shaping was influential across all conditions, while completion shaping mattered least in most settings because most demonstrations were labeled as fully complete (progress > 90 at the last frame).
  • Annotation sensitivity: Performance generally increased with more annotated demonstrations, and the improvement was larger for lower-quality datasets; in most conditions gains saturated at 50% coverage.
  • Robustness to reward hacking: In a Lift-Drop-Loop scenario (an AIRL-trained PPO agent repeatedly lifting and dropping the block), PHIRL punished dropping and rewarded lifting. In a Touch-And-Stay scenario (a PPO agent poking the can instead of placing it), PHIRL assigned a very small negative reward rather than exploiting the behavior.
  • VLM-only annotations are viable but weaker: Using an unfine-tuned Gemma 3 12B with a ReWiND-style subgoal prompt improved learning in most cases (PH: 169.62 vs 167.33, 175.80, 180.13, 182.54; MH: 118.30 vs 123.35, 141.92, 138.52, 145.91 across annotation coverages), though gains were smaller and saturated faster than with real human feedback.

Methodology in Plain English

The team starts with a pool of robot demonstrations: two Robosuite tasks (Lift and PickPlaceCan) drawn from Robomimic's high-quality PH datasets (200 demonstrations from one proficient operator) and mixed-quality MH datasets (six operators, 50 demonstrations each, via RoboTurk, split into "worse," "okay," and "better" operators), plus a real animal-brushing dataset built the same way with six participants and 10 demonstrations each.

Rather than labeling everything, they ask people to mark progress only on a random subset. Each demonstration is split into 10 sub-trajectories, and each sub-trajectory gets a single progress value between 0 and 100, given using only the current observation. No specific patterns are imposed, to avoid biasing annotators.

Learning then alternates between two steps. First, an off-the-shelf IRL algorithm (AIRL, chosen because it learns state-only rewards and value functions, matching progress being path-independent) proposes a reward from the demonstrations. Second, the method computes that reward along the annotated demonstrations and nudges it to agree with the progress labels along the four dimensions above, using a hinge-style alignment loss with weights of 1 for the first three terms and 1/|D| for the completion term. Baselines are AIRL, Pref, AIRLPref, and Rank2Reward, all trained with PPO for 500 episodes across 10 parallel environments with a horizon of 256; evaluation uses 100 rollouts and Welch's t-test.

For the online variant, newly generated trajectories are annotated during training — by a LoRA fine-tuned Gemma 3 12B — and added to the annotated set. The authors emphasize that these generated trajectories are used for reward shaping only.

Why This Matters

Reward specification is a persistent bottleneck for deploying RL on real robots, and this paper shows that a very cheap, intuitive human signal — "how far along is this?" — can substitute for large amounts of high-quality demonstration data or continuous human-in-the-loop preference labeling. Because progress annotations can be collected once, offline, and because demonstrations are increasingly easy to obtain from shared datasets and data-collection platforms, the human effort becomes a small, one-time cost rather than an ongoing teaching burden.

Real-world applications:

  • Household and assistive manipulation — pick-and-place, tidying, and feeding or grooming tasks where demonstrations are messy but task progress is easy to judge.
  • Care and service robotics — the paper's own animal-brushing task is representative of contact-rich grooming and cleaning work.
  • Industrial pick-and-place and bin sorting — long-horizon variants like PickPlaceCan map directly onto kitting and logistics.
  • Scalable reward dataset construction — progress labels are cheap enough to crowdsource, enabling reward-model datasets analogous to existing demonstration-sharing communities.

Industry relevance: the method is agnostic to the underlying IRL algorithm and needs only 20% annotation, which lowers the cost of building reward models for robot fleets. The reward-hacking analysis also speaks directly to safety and reliability concerns for companies deploying learned rewards, where exploitable reward functions can produce destructive or degenerate behaviors.

Future Directions

  • Removing the finite-horizon assumption. The method requires a task with a complete status, so it does not apply to infinite-horizon or cyclic tasks such as ant_walk from the DeepMind Control Suite.
  • Smarter selection of which demonstrations to annotate. The authors sampled randomly to avoid biasing comparisons, and expect that preferentially selecting low-quality demonstrations would improve sample efficiency further when labels are scarce.
  • Replacing human labels with foundation models. Beyond the formative VLM study, a natural step is closing the gap between auto-generated and human progress labels, including combining trajectory-level progress with language instructions and structured rubrics.
  • Broader and more rigorous evaluation. Results come from one training run per condition because adversarial IRL training with multiple seeds exceeded the available budget, and the suite covers three tasks; more seeds and more domains would strengthen the claims.

Target Audience

Robotics and RL researchers working on reward learning, imitation learning, and human-in-the-loop training; practitioners who need to build reward functions for manipulation without extensive reward engineering; and engineers evaluating whether learned rewards are safe enough to deploy, who will find the reward-hacking analysis particularly relevant. Readers should be comfortable with reinforcement learning basics, since the AIRL formulation and the alignment losses are presented formally.

Authors’ abstract

Human demonstrations provide dense policy-level information but sometimes lack local precision. Human feedback presents accurate local critiques, but offers sparse evaluations rather than direct policy guidance. We propose Progress-Heuristicized Inverse Reinforcement Learning (PHIRL), a data-efficient framework that learns robust reward functions by jointly leveraging demonstrations and feedback. Specifically, we use progress, a feedback modality that describes cumulative…

The full abstract on arXiv
Read the original paper

Related papers