Diffusion models have taken the AI world by storm, not just in image generation, but increasingly in robotics. Their ability to represent complex, multi-modal action distributions makes them ideal for tasks where a simple "average" action just won't cut it. However, a major hurdle remains: how do we align these powerful models with messy, inconsistent human preferences?
A new paper, "Uncertainty-aware Preference Alignment for Diffusion Policies," introduces Diff-UAPA. This algorithm tackles the inherent uncertainty in human feedback, allowing robots to learn effectively even when their "teachers" disagree.
TL;DR
Diff-UAPA is a novel framework that aligns diffusion-based robotic policies with human preferences by explicitly modeling the uncertainty and inconsistency in feedback. By using an informative Beta prior and a Maximum A Posteriori (MAP) objective, it enables robust, direct policy optimization that outperforms standard methods in both simulated and real-world robotics tasks.
What Problem Does This Paper Address?
In Preference-based Reinforcement Learning (PbRL), we don't give a robot a mathematical reward function. Instead, we show it two trajectories and ask a human, "Which one is better?"
The problem is that humans are inconsistent. Preferences gathered from a diverse population often conflict due to varying expertise, perspectives, or simple noise. Standard alignment techniques typically assume a single, stable ground truth. When faced with contradictory labels—where User A prefers trajectory $X$ and User B prefers trajectory $Y$—these models can become confused, leading to suboptimal or "averaged" behaviors that satisfy no one.
Methods
The authors propose Diff-UAPA (Uncertainty-aware Preference Alignment), which introduces three key technical innovations:
- Iterative Preference Alignment: Instead of treating the dataset as a static block, the framework allows the policy to adapt incrementally as preferences arrive from different user groups.
- The Informative Beta Prior: The researchers treat preference alignment as a "voting process." They learn a Beta distribution that captures the strength and certainty of a preference. If most human raters agree a trajectory is good, the Beta distribution is "sharp" (high confidence). If they disagree, it’s "flat" (low confidence). This allows the model to naturally down-weight controversial or noisy data.
- Direct MAP Optimization: Building on the logic of Direct Preference Optimization (DPO), Diff-UAPA optimizes the diffusion policy directly using a Maximum A Posteriori objective. This bypasses the need to learn an intermediate reward function, which often acts as an information bottleneck or a source of bias.
Datasets
The authors evaluated Diff-UAPA across a rigorous suite of benchmarks:
- Robomimic: Four manipulation tasks (Lift, Can, Square, Transport) requiring high precision.
- Franka Kitchen: A long-horizon task involving multi-step interactions with seven different objects.
- D4RL (Locomotion): HalfCheetah and Hopper tasks, specifically using real human preference data from the Uni-RLHF dataset.
- Real-World Robotics: A custom pick-and-place task using a Rokae SR3 robotic arm.
Key Insights and Ideas
- Uncertainty as a Weighting Mechanism: The "aha moment" here is using the Beta distribution to quantify epistemic uncertainty. By integrating this into the loss function, the policy essentially learns to "listen" more to clear, consensus-based feedback and "ignore" the noise of contradictory labels.
- Bypassing the Reward Model: Most PbRL methods learn a reward function $R$ and then use RL to find a policy $\pi$. Diff-UAPA shows that for diffusion models, you can skip $R$ entirely. This makes the training pipeline more stable and less prone to "reward hacking."
- Robustness to Extreme Noise: One of the most surprising findings was the model's resilience. Even when the researchers intentionally reversed 75% of the preference labels (creating massive inconsistency), Diff-UAPA maintained a high success rate while baseline methods collapsed.
Key Results
The quantitative improvements were significant across the board:
- Simulation Success: In the challenging "Square" task from Robomimic, Diff-UAPA achieved a 68.1% success rate, significantly higher than the 55.2% achieved by the standard Diffusion-CPL baseline.
- Real Human Feedback: On the HalfCheetah locomotion task using actual human data, Diff-UAPA reached a reward of 3399, outperforming the next best baseline (3121).
- Real-World Deployment: In the physical pick-and-place task, Diff-UAPA achieved a 60% success rate, whereas the baseline struggled at 40%, often failing due to "sub-optimal behaviors" learned from noisy labels.
Limitations and Future Work
While Diff-UAPA is a major step forward, the authors note a few areas for growth:
- Offline Constraints: The current study focuses on offline datasets. The agent cannot yet "ask" for specific comparisons to resolve its own uncertainty in real-time (active learning).
- Computational Overhead: Training the Beta prior model adds a small amount of extra computation, though the authors argue this is negligible compared to the overall RL training time.
- Online Scaling: Future work will look at scaling this to fully online settings where the robot interacts with humans dynamically, potentially allowing for even faster alignment in complex, ever-changing environments.
Project details: https://github.com/mr20010112/Diff_UAPA
Summary updated