Synthetic Experience Replay
Cong Lu, Philip J. Ball, Yee Whye Teh, Jack Parker-Holder
TL;DR
<3-5 sentence high-level summary> SynthER introduces a diffusion-based method to upsample an RL agent's replay buffer by generating synthetic transitions, addressing data scarcity in offline RL and improving sample efficiency online without algorithmic changes. The approach demonstrates parity or gains across diverse proprioceptive and pixel-based tasks, enables training with much smaller offline datasets and larger networks, and scales to latent representations for imagery. Offline results show faithful distribution modeling and compression benefits, while online results reveal substantial increases in update-to-data efficiency with competitive runtime. The work suggests synthetic training data, via diffusion, can unlock the full potential of replay-based RL under limited data and provides open-source code for community use.
Abstract
A key theme in the past decade has been that when large neural networks and large datasets combine they can produce remarkable results. In deep reinforcement learning (RL), this paradigm is commonly made possible through experience replay, whereby a dataset of past experiences is used to train a policy or value function. However, unlike in supervised or self-supervised learning, an RL agent has to collect its own data, which is often limited. Thus, it is challenging to reap the benefits of deep learning, and even small neural networks can overfit at the start of training. In this work, we leverage the tremendous recent progress in generative modeling and propose Synthetic Experience Replay (SynthER), a diffusion-based approach to flexibly upsample an agent's collected experience. We show that SynthER is an effective method for training RL agents across offline and online settings, in both proprioceptive and pixel-based environments. In offline settings, we observe drastic improvements when upsampling small offline datasets and see that additional synthetic data also allows us to effectively train larger networks. Furthermore, SynthER enables online agents to train with a much higher update-to-data ratio than before, leading to a significant increase in sample efficiency, without any algorithmic changes. We believe that synthetic training data could open the door to realizing the full potential of deep learning for replay-based RL algorithms from limited data. Finally, we open-source our code at https://github.com/conglu1997/SynthER.
