Improving Sample Efficiency in Model-Free Reinforcement Learning from Images
About
Training an agent to solve control tasks directly from high-dimensional images with model-free reinforcement learning (RL) has proven difficult. A promising approach is to learn a latent representation together with the control policy. However, fitting a high-capacity encoder using a scarce reward signal is sample inefficient and leads to poor performance. Prior work has shown that auxiliary losses, such as image reconstruction, can aid efficient representation learning. However, incorporating reconstruction loss into an off-policy learning algorithm often leads to training instability. We explore the underlying reasons and identify variational autoencoders, used by previous investigations, as the cause of the divergence. Following these findings, we propose effective techniques to improve training stability. This results in a simple approach capable of matching state-of-the-art model-free and model-based algorithms on MuJoCo control tasks. Furthermore, our approach demonstrates robustness to observational noise, surpassing existing approaches in this setting. Code, results, and videos are anonymously available at https://sites.google.com/view/sac-ae/home.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Continuous Control | DMControl 500k | Spin Score884 | 33 | |
| Control | DMControl | DMControl: Ball in Cup Catch Score816.1 | 29 | |
| Continuous Control | DMControl 100k | DMControl: Finger Spin Score740 | 29 | |
| Reinforcement Learning | Atari 7-game suite ALE (test) | Relative Score4.815 | 13 | |
| Reinforcement Learning | DMControl | Hopper/Hop Error0.061 | 13 | |
| Finger Spin | DMC 500K v1 (test) | Episodic Reward8.84e+5 | 7 | |
| Reinforcement Learning | DMControl Finger, spin (100k steps) | Total Reward740 | 7 | |
| Reinforcement Learning | DMControl Finger, spin (500k steps) | Total Reward884 | 7 | |
| Walker Walk | DMC 100K v1 (train) | Episodic Reward3.94e+4 | 7 | |
| Walker Walk | DMC 500K v1 (train) | Episodic Reward8.47e+4 | 7 |