Reinforcement Learning via Advantage Guidance
Organizations: UC Berkeley
Abstract
Reinforcement learning (RL) holds the promise of learning a policy that can outperform what is shown in the data. However, in practice, such systems suffer from instability and hyperparameter sensitivity. In contrast, supervised learning provides a stable and scalable training objective, but is fundamentally limited by the quality of the demonstrated behavior. In this paper, we ask whether we can perform policy optimization with something as simple and stable as supervised learning but as performant as RL. Unfortunately, naively training the policy with supervised learning and conditioning on future rewards or advantages typically underperform dedicated RL methods. We introduce a new policy extraction method, Advantage Guidance, that retains the simple supervised learning structure with advantage conditioning while outperforming prior RL methods through effective conditional training and contrastive diffusion guidance during sampling. We show that Advantage Guidance can significantly improve a model's ability to respond to conditional advantage signals, and the contrastive guidance during sampling can use the learned advantage-conditioned policy to target the KL-regularized optimal policy. Empirically, we find that Advantage Guidance significantly outperforms prior state-of-the-art RL methods on 26 long-horizon, sparse reward tasks across datasets with varying degrees of optimality.
Figures & tables
| Training | Sampling |
| Input: dataset , advantage , , advantage label std | Input: state , trained velocities |
| while not converged do | conditional query pair , |
| , , | guidance weight , steps |
| Train ref. policy with | |
| ; , action imagination | for do |
| , |
Appendix figures & tables20 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | OGBench | OCBench |
| Batch size | ||
| Discount factor | ||
| IQL expectile | ||
| Critic ensemble size | 2 | 2 |
| Critic aggregation method | min | min |
| Target-network update rate |
| Hyperparameter | OGBench | OCBench |
| Positive condition | ||
| Negative condition | ||
| Advantage label standard deviation | ||
| Number of Imagined Actions |
| Suite | Domain | EDP ( ) | FQL ( ) | QGF ( ) | CFGRL ( ) | FAWR ( ) | RCP-A ( ) | RCP-R ( ) | CRR | AG ( ) |
| OGBench | Cube Single | 1 | 1 | – | ||||||
| OGBench | Cube Double | 1 | 1 | – | ||||||
| OGBench | Scene | 1 | 1 | – | ||||||
| OGBench | Puzzle | 1 | 1 | – | ||||||
| OCBench | Block Single | 1 | 1 | – | ||||||
| OCBench | Block Double | 1 | 1 | – |
| Method | Hyperparameter | Tunning Range |
| EDP | BC coefficient | OGBench: ; OCBench: |
| FQL | BC coefficient | |
| QGF | Guidance weight | |
| CFGRL | Guidance weight | OGBench: ; OCBench: |
| FAWR | Inverse temperature | OGBench: ; OCBench: |
| RCP-A | inference std multiplier | OGBench: ; OCBench: |
Reinforcement Learning
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.
See all 1,727 papers