FOCAL: Efficient Fully-Offline Meta-Reinforcement Learning via Distance Metric Learning and Behavior Regularization
About
We study the offline meta-reinforcement learning (OMRL) problem, a paradigm which enables reinforcement learning (RL) algorithms to quickly adapt to unseen tasks without any interactions with the environments, making RL truly practical in many real-world applications. This problem is still not fully understood, for which two major challenges need to be addressed. First, offline RL usually suffers from bootstrapping errors of out-of-distribution state-actions which leads to divergence of value functions. Second, meta-RL requires efficient and robust task inference learned jointly with control policy. In this work, we enforce behavior regularization on learned policy as a general approach to offline RL, combined with a deterministic context encoder for efficient task inference. We propose a novel negative-power distance metric on bounded context embedding space, whose gradients propagation is detached from the Bellman backup. We provide analysis and insight showing that some simple design choices can yield substantial improvements over recent approaches involving meta-RL and distance metric learning. To the best of our knowledge, our method is the first model-free and end-to-end OMRL algorithm, which is computationally efficient and demonstrated to outperform prior algorithms on several meta-RL benchmarks.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Meta-Reinforcement Learning | Hopper-Param (ID) | Average Return259 | 30 | |
| Meta-Reinforcement Learning | Cheetah-Vel-Sparse (OOD) | Average Return242 | 15 | |
| Offline Meta-Reinforcement Learning | Half-Cheetah-Vel sampled 10 unseen (test) | Average Return-60.9 | 10 | |
| Meta-Reinforcement Learning | Ant Dir | Average Return194 | 10 | |
| Meta-Reinforcement Learning | Cheetah-Vel | Average Return57 | 10 | |
| Meta-Reinforcement Learning | Point-Robot Sparse | Average Return28 | 10 | |
| Meta-Reinforcement Learning | Cheetah-Vel ID | Average Return190 | 10 | |
| Meta-Reinforcement Learning | Walker-Param (ID) | Average Return87 | 10 | |
| Meta-Reinforcement Learning | Walker Param-Sparse | Average Return76 | 10 | |
| Offline Meta-Reinforcement Learning | Point-Robot sampled 10 unseen (test) | Average Return-11.8 | 10 |