Sample-Efficient Preference-Based Reinforcement Learning Using Diffusion Models

Jingjing Feng, Lucheng Wang, Alona Tenytska, Bei PengALA @ AAMAS 2025

TL;DR

This paper introduces PRIDE, a novel approach that integrates diffusion models into preference-based reinforcement learning (RL). By generating diverse synthetic experiences, PRIDE significantly improves sample and feedback efficiency, allowing RL agents to learn complex tasks with less human input and achieve better generalization.

What Problem Does This Paper Address?

Deep reinforcement learning (RL) has shown immense promise for tackling complex tasks, but its real-world deployment is hindered by the difficulty of specifying precise reward functions. Preference-based RL (PbRL) offers a solution by learning from human feedback, typically in the form of pairwise comparisons of agent behaviors. While off-policy learning in PbRL allows agents to reuse past experiences, this data can be limited and lack diversity, hindering generalization. Existing methods struggle to overcome this data limitation, leading to inefficient learning and a high demand for human supervision. This paper addresses the challenge of improving both sample efficiency (how much data is needed) and feedback efficiency (how much human input is required) in PbRL.

Methods

PRIDE builds upon the PEBBLE framework, which uses unsupervised pre-training and off-policy learning for PbRL. The core novelty of PRIDE lies in its integration of diffusion generative models. The process involves:

  1. Unsupervised Pre-training: The agent explores the environment using intrinsic rewards (state entropy) to learn diverse behaviors without explicit rewards.
  2. Reward Learning: Human preferences between trajectory segments are collected to train a reward model.
  3. Diffusion Model Training: A diffusion model is periodically trained on real agent experiences from the replay buffer to learn the agent's behavioral distribution.
  4. Synthetic Data Generation: The trained diffusion model generates a large volume of novel and diverse synthetic experiences.
  5. Agent Learning: The RL agent is trained using a mixture of real and synthetic experiences sampled from separate replay buffers. This augmentation aims to improve sample efficiency and generalization.

The key innovation is using diffusion models to create synthetic data that mimics real interactions but with enhanced diversity, thereby overcoming the limitations of passively reusing limited real-world data.

Datasets

The paper evaluates PRIDE on two established benchmarks:

  • DeepMind Control Suite (DMControl): This benchmark provides a collection of continuous control tasks simulating real-world physics, focusing on locomotion and robotic manipulation.
  • Meta-world: This benchmark is designed for evaluating robotic manipulation tasks, requiring precise control for actions like opening doors and pressing buttons.

The authors do not introduce new datasets.

Key Insights and Ideas

  • Diffusion Models as Data Augmenters for PbRL: The paper demonstrates that diffusion models, known for generating high-quality synthetic data, can be effectively leveraged to augment limited real-world experiences in preference-based RL. This is a novel application of diffusion models in this specific RL paradigm.
  • Bridging the Gap in Data Diversity: The core problem addressed is the lack of diverse data in standard PbRL. PRIDE's diffusion model generates synthetic data that is "dynamically accurate and diverse," which is crucial for improving generalization and learning efficiency.
  • Synergy of Real and Synthetic Data: The experiments suggest that a balanced mixture of real and synthetic data is optimal. Too little synthetic data offers minimal benefit, while too much can lead to overfitting to potentially unrealistic synthetic samples.
  • Significant Reduction in Human Feedback: The most compelling insight is that PRIDE can achieve comparable or even superior performance to existing state-of-the-art methods while requiring substantially less human feedback, highlighting its practical implications.

Key Results

  • Improved Performance on Locomotion Tasks: PRIDE consistently outperformed PEBBLE on Quadruped-walk, Cheetah-run, and Walker-walk tasks from DMControl, showing advantages in both absolute performance and learning speed.
  • Faster Convergence on Robotic Manipulation: In Meta-world tasks like Button-press and Door-open, PRIDE demonstrated faster convergence to higher success rates compared to PEBBLE.
  • Substantial Feedback Efficiency Gains: PRIDE achieved comparable or superior performance with at least 50% less human feedback than PEBBLE in several tested tasks. For instance, on the Cheetah-run task, PRIDE required only 25% of the feedback.
  • Sensitivity to Synthetic-to-Real Ratio: The performance of PRIDE was found to be sensitive to the ratio of synthetic to real data used during training, with an intermediate ratio (e.g., 0.5) yielding the best results, indicating a trade-off between leveraging synthetic diversity and avoiding overfitting.

Limitations and Future Work

  • Hyperparameter Tuning: The paper acknowledges that the synthetic-to-real sampling ratio is a critical hyperparameter that requires careful tuning.
  • Computational Cost of Diffusion Model Training: While not explicitly detailed as a limitation, the continuous retraining of the diffusion model implies an increased computational overhead.
  • Future Work: The authors propose to explore strategies for better trading off learning performance with the cost of continually training the diffusion model. They also aim to develop an approach to dynamically adjust the synthetic-to-real sampling ratio based on the agent's learning progress to further optimize performance.

Summary updated

BibTeX
@inproceedings{feng2025sample,
  author = {Jingjing Feng and Lucheng Wang and Alona Tenytska and Bei Peng},
  title = {{Sample-Efficient Preference-Based Reinforcement Learning Using Diffusion Models}},
  booktitle = {ALA @ AAMAS},
  year = {2025},
  url = {https://openreview.net/forum?id=mVzHFpce4r},
}
Figure