The Data Behind Reward Models for Robotics: Building a Useful Preference Set
Reinforcement learning has always struggled with the hardest problem in robotics: defining what 'good' actually means. A hand-coded reward that praises a gripper for closing on an object will happily crush it; a reward for moving fast will teach a robot to fling fragile parts across the room. Reward models trained on human preferences sidestep this trap by learning the cost function from data instead of from a programmer's guesses. But the model is only as honest as the preference data behind it, and building that dataset is a discipline of its own.
Why Reward Models Beat Hand-Coded Costs
The classical approach, reward shaping, forces an engineer to anticipate every failure mode in advance. That works for a maze and fails for a kitchen. Preferences invert the burden: instead of specifying the reward, you show the system two outcomes and say which a human prefers. A reward model consumes thousands of these comparisons and learns a scalar signal that approximates human judgment across the task distribution.
The payoff is resilience. When the robot meets a slightly new mug or a different tablecloth, the learned reward generalizes in ways a brittle hand-coded term never will. The catch is that this generalization depends entirely on the diversity and consistency of the preference set.
What a Robotics Preference Dataset Actually Contains
At minimum, each preference item is a pairwise comparison: segment A versus segment B, with a label of which is better for a stated goal. But the raw comparison is useless without context. A production-grade set records:
- Observations - the state windows (images, proprioception, sometimes language) for both segments, not just the final frame.
- Action sequences - what the robot actually did, so the model can credit or penalize specific behaviors.
- Segment boundaries - typically one to ten seconds, short enough that raters judge one clean behavior at a time.
- Task metadata - the instruction, the embodiment, and the environment, so preferences can be sliced and audited later.
Rater understanding matters more than rater count. A preference is only meaningful if the person labeling it actually knows what success looks like for that task.
Collecting Preferences Without Breaking the Budget
Labeling every trajectory by hand does not scale. The efficient pattern is bootstrap then verify: seed a small expert-labeled set, train a preliminary reward model, use it to pre-rank future segments, and have humans confirm or correct only the uncertain cases. This active-learning loop concentrates human attention where it changes the model most.
Teams also blend in-house experts for safety-critical comparisons with broader raters for routine aesthetic judgments, then aggregate everything with a Bradley-Terry model that turns noisy pairwise votes into a single calibrated score. For a deeper look at how preference collection fits into the wider data stack, see EmboData's research program on robotics datasets.
Failure Modes to Watch
Two problems recur. The first is reward hacking: the policy discovers a shortcut the reward model rewards but a human would never accept, such as nudging an object just outside the camera frame. The second is distribution shift: the reward model is confidently wrong on states it rarely saw during labeling. Both are mitigated the same way - iterative relabeling, conservative KL penalties during optimization, and a human in the loop when the policy ventures into unfamiliar territory.
Building a Reward Data Pipeline That Improves
The teams that succeed treat preference data as a living asset, not a one-off export. They version every batch, track which comparisons most moved the reward model, and watch for overoptimization as a routine metric. At EmboData we have found that a modest, well-curated preference set consistently outperforms a ten-times-larger noisy one, because the signal-to-noise ratio - not the raw count - is what the reward model learns from. Start small, label carefully, and let the comparisons compound.