23
49

Task-agnostic Exploration in Reinforcement Learning

Abstract

Efficient exploration is one of the main challenges in reinforcement learning (RL). Most existing sample-efficient algorithms assume the existence of a single reward function during exploration. In many practical scenarios, however, there is not a single underlying reward function to guide the exploration, for instance, when an agent needs to learn many skills simultaneously, or multiple conflicting objectives need to be balanced. To address these challenges, we propose the \textit{task-agnostic RL} framework: In the exploration phase, the agent first collects trajectories by exploring the MDP without the guidance of a reward function. After exploration, it aims at finding near-optimal policies for NN tasks, given the collected trajectories augmented with \textit{sampled rewards} for each task. We present an efficient task-agnostic RL algorithm, \textsc{UCBZero}, that finds ϵ\epsilon-optimal policies for NN arbitrary tasks after at most O~(log(N)H5SA/ϵ2)\tilde O(\log(N)H^5SA/\epsilon^2) exploration episodes. We also provide an Ω(log(N)H2SA/ϵ2)\Omega(\log (N)H^2SA/\epsilon^2) lower bound, showing that the log\log dependency on NN is unavoidable. Furthermore, we provide an NN-independent sample complexity bound of \textsc{UCBZero} in the statistically easier setting when the ground truth reward functions are known.

View on arXiv
Comments on this paper