Goal-Conditioned Q-Learning as Knowledge Distillation

Alexander Levine, Soheil Feizi
8/28/2022
cs.LG
rldistillation

Official code: alevine0/ReenGAGE (1 star, Python, last commit 2023-01-04).

Abstract

Many applications of reinforcement learning can be formalized as goal-conditioned environments, where, in each episode, there is a "goal" that affects the rewards obtained during that episode but does not affect the dynamics. Various techniques have been proposed to improve performance in goal-conditioned environments, such as automatic curriculum generation and goal relabeling.

Show full abstract

In this work, we explore a connection between off-policy reinforcement learning in goal-conditioned settings and knowledge distillation. In particular: the current Q-value function and the target Q-value estimate are both functions of the goal, and we would like to train the Q-value function to match its target for all goals. We therefore apply Gradient-Based Attention Transfer (Zagoruyko and Komodakis 2017), a knowledge distillation technique, to the Q-function update. We empirically show that this can improve the performance of goal-conditioned off-policy reinforcement learning when the space of goals is high-dimensional. We also show that this technique can be adapted to allow for efficient learning in the case of multiple simultaneous sparse goals, where the agent can attain a reward by achieving any one of a large set of objectives, all specified at test time. Finally, to provide theoretical support, we give examples of classes of environments where (under some assumptions) standard off-policy algorithms such as DDPG require at least O(d^2) replay buffer transitions to learn an optimal policy, while our proposed technique requires only O(d) transitions, where d is the dimensionality of the goal and state space. Code is available at https://github.com/alevine0/ReenGAGE.

View on arXivView PDF

Code Implementations(1)

alevine0/ReenGAGEOfficial100%

Code for the paper "Goal-Conditioned Q-Learning as Knowledge Distillation" by Alexander Levine and Soheil Feizi

10Python, HTMLDec 2, 20223 years agoNOASSERTION

Similar Papers

Cite this paper

@article{levine2022goalconditioned,
  title  = {Goal-Conditioned Q-Learning as Knowledge Distillation},
  author = {Alexander Levine and Soheil Feizi},
  year   = {2022},
  eprint = {2208.13298},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.13298}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.13298.svg)](https://codeofpaper.com/paper/2208.13298)

Discussion