The Right Kind of Wrong: Counterfactual Data for Reward Learning in Manipulation

Gokul Kannan Thiruvenkadam, Vishal M. Patel, Homanga BharadhwajarXiv 2026

TL;DR

Teaching a robot to improve via reinforcement learning requires a reward model that understands not just what success looks like, but also how to penalize failure. Because failing on real hardware is expensive and slow, researchers at Johns Hopkins asked a practical question: what is the cheapest, most effective kind of "wrong" data to collect? Surprisingly, cheap, imperfect failure sources—like a human acting out mistakes by hand or simulated glitches—can train reward models nearly as well as painstakingly guided real-robot failures.

What Problem Does This Paper Address?

Imitation learning gets robots off the ground, but to push past human demonstrations and fix compounding errors, we turn to Reinforcement Learning (RL). RL lives and dies by its reward function. Historically, engineers hand-crafted mathematical equations to score a robot's progress; today, we prefer learned reward models (often built on Vision-Language Models, or VLMs) that watch video frames and output a progress score from 0 to 1.

Here is the catch: large-scale robotics datasets are overwhelmingly filled with expert successes. If a reward model never sees failure, it struggles to score partial progress or recognize mistakes—for example, hallucinating high rewards just because a cup is moving, even if it misses the target entirely. Collecting real-world robot failures ("counterfactuals") fixes this, but robot time and human operators are expensive. Given a tight budget, should you spend hours guiding a real robot into mistakes, or can you get away with cheaper, "out-of-domain" failures?

Figure 1: Overview of our analysis. We consider counterfactual trajectories demonstrating failures obtained with kinesthetic teaching, pre-trained policy rollouts, human videos, and real2sim across five different manipulation tasks. We compare how the source of the counterfactuals and the scale affect learned reward models and subsequent robot-policy post-training. Video results are in the website rightkindofwrong.github.io

Methods

The authors set up a controlled head-to-head experiment across five tabletop manipulation tasks (e.g., Remove lid, Pour, Stack Cups) using a Franka robot arm. Keeping the successful demonstrations, training pipelines, and evaluation fixed, they varied only the source and scale of the failure data across four tiers of decreasing cost:

  1. Kinesthetic Teaching (KT): Most expensive, highest alignment. An operator physically guides the robot arm into deliberate failures, resets the scene, and replays the motion on camera.
  2. Policy Rollouts (RO): Deploying a base policy ($\pi_0$) on hardware to fail naturally—authentic, on-policy mistakes, though you cannot control how it fails.
  3. Human Video (HV): Cheap, no robot required. A human acts out failures with their bare hands in the workspace, introducing an embodiment gap.
  4. Real2Sim (R2S): Cheapest marginal cost. Lifting the real scene into simulation ( comparing photorealistic Gaussian splats against textureless MuJoCo renders) and scripting failures automatically, introducing a visual and physics gap.

They tested these sources on two established VLM-based reward frameworks: Robometer-4B (adapted via LoRA fine-tuning) and Generative Value Learning (GVL) (a frozen GPT-4o model given failures as few-shot prompts). Finally, they used the adapted Robometer models to guide real-world RL post-training of the $\pi_0$ policy using DSRL (an algorithm that steers the latent noise space of a frozen policy).

Datasets

  • Training Counterfactuals: Custom-collected across the five tasks: 5 trajectories/task for KT, 20 for RO, 20 for HV, and 30 for R2S, all labeled with partial-credit progress scores (human-annotated for real videos, automatic for R2S).
  • New Offline Benchmark: Because running real-world RL for every ablation is impractical, the authors built a held-out, cross-policy benchmark of 250 human-annotated episodes (25 zero-shot rollouts each from two unseen policies, $\pi_{0.5}$ and MolmoAct2, across all 5 tasks) to measure trajectory ranking and success detection.

Key Insights and Ideas

  • Domain gaps don't break reward learning: Even though human hands look nothing like a Robotiq gripper, and simulated physics aren't quite real, cheap failures still teach a trainable reward model what task failure means—preventing naive errors like rewarding background clutter.
  • More cheap data isn't always better: You might assume scaling free simulated data to infinity is the winning play. In reality, cheap sources hit a sweet spot around 10 trajectories per task; scaling to 20 or 30 actually degraded reward quality below the unadapted baseline, likely due to overfitting to domain gaps or longer training schedules.
  • Visual realism matters only when scaling: At tiny scales (5 trajectories/task), basic textureless MuJoCo renders worked just as well as high-fidelity Gaussian splats. Only when scaling up to 10 trajectories did photorealism pay off.
  • In-context prompting shrugs at failures: While fine-tuning (Robometer) absorbed strong signals from counterfactuals, few-shot prompting a frozen VLM (GVL) barely budged regardless of the failure source.
  • Offline benchmarks are smoke detectors, not crystal balls: Offline reward metrics reliably caught broken reward models, but showed only weak-to-moderate correlation with actual downstream RL success.

Key Results

Real-robot RL success rates and offline reward quality across sources.

Real-robot RL success rates and offline reward quality across sources.
  • Real-World RL Gains: Across three RL tasks (Remove lid, Pour, Stack Cups), zero-shot $\pi_0$ succeeded 35% of the time, and RL with the unadapted base Robometer hit 40% (crashing from 45% to 5% on Stack Cups because it rewarded cups already stacked in the background). Adapting the reward with any failure source boosted average RL success substantially: Kinesthetic Teaching led at 73.3%, followed closely by Rollouts (66.7%), Human Video (60%), and Real2Sim (60%).
  • Fixed-Scale Offline Ranking: At 5 trajectories per task, Kinesthetic Teaching improved offline trajectory ranking ($\tau_{\text{return}}$) the most, with Human Video surprisingly taking second place ahead of actual robot Policy Rollouts.
  • Offline-to-Online Correlation: Offline trajectory ranking correlated only moderately with real-world RL success ($r = 0.40, p = 0.139$), outperforming binary success detection ($r = 0.24, p = 0.391$).

Limitations and Future Work

The authors note several clear boundaries to their study. First, their trainable experiments rely entirely on Robometer, which already starts with strong robotics priors; training a reward model from scratch or using different VLM architectures might shift which data sources win out. Second, the experiments are scoped to five tabletop tasks on a single Franka embodiment (with real-robot RL evaluated on three). Third, during scaling experiments, training duration grew alongside dataset size, making it hard to disentangle the effect of excess data from over-training. Finally, their offline benchmark relies on discrete partial-credit labels rather than dense, frame-by-frame human annotations—highlighting an open need for better offline evaluation protocols that truly predict online RL performance.

Summary updated

BibTeX
@misc{thiruvenkadam2026right,
  author = {Gokul Kannan Thiruvenkadam and Vishal M. Patel and Homanga Bharadhwaj},
  title = {{The Right Kind of Wrong: Counterfactual Data for Reward Learning in Manipulation}},
  year = {2026},
  eprint = {2611.36563},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36563},
}
Figure