Behavior Contrastive Learning for Unsupervised Skill Discovery

Rushuai Yang, Chenjia Bai, Hongyi Guo, Siyuan Li, Bin Zhao +3 more
5/8/2023
cs.LG

No official code found. Best implementation: Rooshy-yang/BeCL (23 stars, MIT, last commit 2023-05-11). 1 more below.

Abstract

In reinforcement learning, unsupervised skill discovery aims to learn diverse skills without extrinsic rewards. Previous methods discover skills by maximizing the mutual information (MI) between states and skills. However, such an MI objective tends to learn simple and static skills and may hinder exploration. In this paper, we propose a novel unsupervised skill discovery method through contrastive learning among behaviors, which makes the agent produce similar behaviors for the same skill and diverse behaviors for different skills. Under mild assumptions, our objective maximizes the MI between different behaviors based on the same skill, which serves as an upper bound of the previous MI objective. Meanwhile, our method implicitly increases the state entropy to obtain better state coverage. We evaluate our method on challenging mazes and continuous control tasks. The results show that our method generates diverse and far-reaching skills, and also obtains competitive performance in downstream tasks compared to the state-of-the-art methods.

View on arXivView PDF

Code Implementations(2)

Rooshy-yang/BeCLCommunity100%
MIT

BeCL: Behavior Contrastive Learning for Unsupervised Skill Discovery.

234PythonJan 23, 20233 years agoMIT
MIT

BeCL-2D: Behavior Contrastive Learning for Unsupervised Skill Discovery.

61Python, Jupyter NotebookAug 18, 20242 years agoMIT

Similar Papers

Cite this paper

@article{yang2023behavior,
  title  = {Behavior Contrastive Learning for Unsupervised Skill Discovery},
  author = {Rushuai Yang and Chenjia Bai and Hongyi Guo and Siyuan Li and Bin Zhao and Zhen Wang and Peng Liu and Xuelong Li},
  year   = {2023},
  eprint = {2305.04477},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.04477v1},
  journal = {ICML 2023 2023}
}

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

Discussion