Reinforcement Learning with Automated Auxiliary Loss Search
About
A good state representation is crucial to solving complicated reinforcement learning (RL) challenges. Many recent works focus on designing auxiliary losses for learning informative representations. Unfortunately, these handcrafted objectives rely heavily on expert knowledge and may be sub-optimal. In this paper, we propose a principled and universal method for learning better representations with auxiliary loss functions, named Automated Auxiliary Loss Search (A2LS), which automatically searches for top-performing auxiliary loss functions for RL. Specifically, based on the collected trajectory data, we define a general auxiliary loss space of size $7.5 \times 10^{20}$ and explore the space with an efficient evolutionary search strategy. Empirical results show that the discovered auxiliary loss (namely, A2-winner) significantly improves the performance on both high-dimensional (image) and low-dimensional (vector) unseen tasks with much higher efficiency, showing promising generalization ability to different settings and even different benchmark domains. We conduct a statistical analysis to reveal the relations between patterns of auxiliary losses and RL performance.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Atari Games Performance | Atari 100k | Mean Score (HNS)0.568 | 10 | |
| Ball In Cup Catch | DMC 100K v1 (test) | Episodic Reward8.62e+5 | 7 | |
| Walker Walk | DMC 100K v1 (train) | Episodic Reward5.10e+5 | 7 | |
| Walker Walk | DMC 500K v1 (train) | Episodic Reward9.17e+4 | 7 | |
| Cheetah Run | DMC 100K v1 (train) | Episodic Reward4.49e+4 | 7 | |
| Cheetah Run | DMC 500K v1 (train) | Episodic Reward6.13e+4 | 7 | |
| Finger Spin | DMC 100K v1 (test) | Episodic Reward8.72e+4 | 7 | |
| Ball In Cup Catch | DMC 500K v1 (test) | Episodic Reward9.71e+3 | 7 | |
| Finger Spin | DMC 500K v1 (test) | Episodic Reward9.83e+3 | 7 | |
| Cartpole Swingup | DMControl 100k (test) | -- | 7 |