DiffStitch: Boosting Offline Reinforcement Learning with Diffusion-based Trajectory Stitching
About
In offline reinforcement learning (RL), the performance of the learned policy highly depends on the quality of offline datasets. However, in many cases, the offline dataset contains very limited optimal trajectories, which poses a challenge for offline RL algorithms as agents must acquire the ability to transit to high-reward regions. To address this issue, we introduce Diffusion-based Trajectory Stitching (DiffStitch), a novel diffusion-based data augmentation pipeline that systematically generates stitching transitions between trajectories. DiffStitch effectively connects low-reward trajectories with high-reward trajectories, forming globally optimal trajectories to address the challenges faced by offline RL algorithms. Empirical experiments conducted on D4RL datasets demonstrate the effectiveness of DiffStitch across RL methodologies. Notably, DiffStitch demonstrates substantial enhancements in the performance of one-step methods (IQL), imitation learning methods (TD3+BC), and trajectory optimization methods (DT).
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Locomotion | D4RL walker2d-medium-expert | Normalized Score109.4 | 90 | |
| walker2d locomotion | D4RL walker2d medium-replay | Normalized Score82.4 | 78 | |
| Offline Reinforcement Learning | D4RL antmaze-umaze (diverse) | Normalized Score42.6 | 74 | |
| Locomotion | D4RL Halfcheetah medium | Normalized Score48 | 70 | |
| Locomotion | D4RL Walker2d medium | Normalized Score82.4 | 70 | |
| Locomotion | D4RL HalfCheetah Medium-Replay | -- | 68 | |
| Offline Reinforcement Learning | D4RL AntMaze | -- | 65 | |
| Offline Reinforcement Learning | D4RL antmaze-large (diverse) | Normalized Score2.6 | 47 | |
| Offline Reinforcement Learning | D4RL Maze2d-large | Normalized Performance65.2 | 31 | |
| Locomotion | D4RL hopper-medium-expert | Normalized Score (100k Steps)108.8 | 28 |