TL;DR
This paper introduces RKO, a novel method for teaching robots to perform tasks according to human preferences, specifically for manipulating deformable objects like clothes. By combining existing techniques, RKO significantly improves sample efficiency and performance compared to standard methods, enabling more personalized and user-aligned robotic behaviors.
What Problem Does This Paper Address?
As robots become more integrated into our lives, there's a growing need for them to adapt to individual user preferences. This is particularly challenging in tasks involving deformable objects, such as folding laundry or assisting with dressing. Unlike rigid objects, the "correct" way to handle deformable items is often subtle, personal, and hard to articulate, making it difficult to capture through traditional demonstrations. While pre-trained diffusion policies can learn general manipulation skills, adapting them to specific user preferences with limited data remains an open problem. This paper tackles this gap by proposing a method to efficiently align these policies to user-specific behaviors using a small number of demonstrations.
Methods
The core of this work lies in developing a preference alignment framework for visuomotor diffusion policies. The authors introduce RKO (Relative Kahneman-Tversky Optimization), a novel method that builds upon and combines two recent preference learning techniques: KTO (Kahneman-Tversky Optimization) and RPO (Relative Preference Optimization).
- Diffusion Policies: These are powerful models that learn to generate action sequences for robots by reversing a diffusion process (gradually adding noise and then learning to remove it). They are conditioned on visual observations.
- Preference Learning: Instead of just learning from "correct" demonstrations, preference learning uses human feedback to guide the policy. This often involves comparing two robot actions and indicating which one is preferred.
- KTO: This method allows learning from simple binary feedback (win/lose) for each individual sample, reducing data requirements compared to methods needing paired comparisons.
- RPO: This technique enhances learning by considering the similarity between winning and losing demonstrations within a batch, giving more weight to ambiguous cases.
- RKO (The Novelty): RKO merges the strengths of KTO and RPO. It uses binary preference labels (like KTO) but incorporates RPO's similarity-based reweighting. This allows it to focus learning on difficult samples where preferred and dispreferred behaviors are similar, leading to more effective alignment and sample efficiency. The paper also compares RKO against DPO (Direct Preference Optimization), another popular preference learning method.
Datasets
The experiments were conducted using real-world cloth-folding tasks.
- Reference Demonstrations (Dref): A dataset of 100 demonstrations (70 standard, 30 human takeover) was used to train a baseline "reference" diffusion policy. This policy represents a default or neutral strategy.
- Preference Demonstrations (Dpref): For each preference setting, a dataset of 60 winning and 60 losing demonstrations was collected. This dataset was crucial for fine-tuning the policies to specific user preferences. The authors also utilized human takeover demonstrations to collect data in out-of-distribution states.
- Garments: The experiments involved three types of garments: trousers, sleeves, and t-shirts, each with multiple folding preferences.
Key Insights and Ideas
- Subtlety of Preferences: The paper strongly emphasizes that human preferences in tasks like cloth folding are often subtle and hard to articulate, making physical demonstrations the most natural modality for expressing them.
- Sample Efficiency is Key: Collecting demonstrations is costly. The core insight is that preference learning, especially with methods like RKO, can achieve good alignment with significantly fewer demonstrations than training from scratch or using less sophisticated preference methods.
- Leveraging "Losing" Data: Instead of discarding demonstrations that don't match the preferred behavior, preference learning frameworks can repurpose them as "losing" examples. This is a highly efficient way to utilize available data.
- RKO's Advantage: The combination of KTO's per-sample feedback and RPO's similarity-based reweighting in RKO proves particularly effective for distinguishing subtle differences in robot behavior.
Key Results
- Superior Performance: Preference-aligned policies, especially RKO, consistently outperformed a vanilla diffusion policy (DDPM) fine-tuned on winning demonstrations alone. RKO achieved the best performance in 4 out of 9 task settings.
- Improved Sample Efficiency: RKO and other preference-based methods reached strong performance levels much faster (around 40-50k steps) compared to the vanilla DDPM (100k steps).
- Robustness: Even in low-data regimes, RKO generally surpassed DDPM, though it showed some initial difficulty with very few demonstrations, which resolved as the dataset grew.
- Ablation Study: An ablated version of RKO without the similarity reweighting component performed worse, highlighting the importance of this feature.
- Statistical Significance: Bayesian A/B testing confirmed that RKO statistically outperformed DDPM on Trousers and Sleeves tasks.
Limitations and Future Work
- Sensitivity to Low Data: The paper acknowledges that RKO can be sensitive to very limited preference data, sometimes leading to out-of-distribution issues.
- Noise in Demonstrations: The current work assumes relatively clean demonstrations. Future work could explore robustness to noisy or suboptimal demonstrations.
- Negative Sample Selection: The paper suggests investigating automatic selection of negative samples from offline data, rather than relying on pre-defined "losing" demonstrations.
- Generalization to Other Domains: While successful in cloth folding, extending these methods to other types of deformable objects and manipulation tasks is a promising future direction.
Summary updated