A Mixture of Surprises for Unsupervised Reinforcement Learning

Andrew Zhao, Matthieu Gaetan Lin, Yangguang Li, Yong-Jin Liu, Gao Huang
10/13/2022
cs.LGcs.AI
rl

Official code: LeapLabTHU/MOSS (23 stars, Python, Apache-2.0, last commit 2022-11-16).

Abstract

Unsupervised reinforcement learning aims at learning a generalist policy in a reward-free manner for fast adaptation to downstream tasks. Most of the existing methods propose to provide an intrinsic reward based on surprise.

Show full abstract

Maximizing or minimizing surprise drives the agent to either explore or gain control over its environment. However, both strategies rely on a strong assumption: the entropy of the environment's dynamics is either high or low. This assumption may not always hold in real-world scenarios, where the entropy of the environment's dynamics may be unknown. Hence, choosing between the two objectives is a dilemma. We propose a novel yet simple mixture of policies to address this concern, allowing us to optimize an objective that simultaneously maximizes and minimizes the surprise. Concretely, we train one mixture component whose objective is to maximize the surprise and another whose objective is to minimize the surprise. Hence, our method does not make assumptions about the entropy of the environment's dynamics. We call our method a $\textbf{M}\text{ixture }\textbf{O}\text{f }\textbf{S}\text{urprise}\textbf{S}$ (MOSS) for unsupervised reinforcement learning. Experimental results show that our simple method achieves state-of-the-art performance on the URLB benchmark, outperforming previous pure surprise maximization-based objectives. Our code is available at: https://github.com/LeapLabTHU/MOSS.

View on arXivView PDF

Code Implementations(1)

LeapLabTHU/MOSSOfficial100%
Apache-2.0

Official implementation of A Mixture of Surprises for Unsupervised Reinforcement Learning

230PythonOct 12, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2022mixture,
  title  = {A Mixture of Surprises for Unsupervised Reinforcement Learning},
  author = {Andrew Zhao and Matthieu Gaetan Lin and Yangguang Li and Yong-Jin Liu and Gao Huang},
  year   = {2022},
  eprint = {2210.06702},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.06702}
}

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/2210.06702.svg)](https://codeofpaper.com/paper/2210.06702)

Discussion