ComSD: Balancing Behavioral Quality and Diversity in Unsupervised Skill Discovery
Xin Liu, Yaran Chen, Dongbin Zhao
TL;DR
ComSD tackles unsupervised skill discovery by balancing state exploration and skill diversity in environments with rich, hard-to-distinguish skills. It introduces a contrastive dynamic reward that combines particle-based state entropy for exploration with a contrastive diversity term for discriminating skills, governed by a dynamic Skill-based dynaMic Weighting (SMW) that adjusts the balance based on skill vectors. The approach yields state-of-the-art downstream adaptation on multi-joint robots and enables far-reaching, distinguishable exploration skills in challenging mazes, outperforming multiple baselines across 15/16 skill-combination tasks and showing competitive results in finetuning. While pixel-based transfers improve with an auxiliary contrastive target, there remains a gap to state-based performance, motivating future work on automatic weight-range learning and more robust pixel-domain integration.
Abstract
This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible. Unsupervised skill discovery seeks to acquire different useful skills without extrinsic reward via unsupervised Reinforcement Learning (RL), with the discovered skills efficiently adapting to multiple downstream tasks in various ways. However, recent advanced skill discovery methods struggle to well balance state exploration and skill diversity, particularly when the potential skills are rich and hard to discern. In this paper, we propose \textbf{Co}ntrastive dyna\textbf{m}ic \textbf{S}kill \textbf{D}iscovery \textbf{(ComSD)}\footnote{Code and videos: https://github.com/liuxin0824/ComSD} which generates diverse and exploratory unsupervised skills through a novel intrinsic incentive, named contrastive dynamic reward. It contains a particle-based exploration reward to make agents access far-reaching states for exploratory skill acquisition, and a novel contrastive diversity reward to promote the discriminability between different skills. Moreover, a novel dynamic weighting mechanism between the above two rewards is proposed to balance state exploration and skill diversity, which further enhances the quality of the discovered skills. Extensive experiments and analysis demonstrate that ComSD can generate diverse behaviors at different exploratory levels for multi-joint robots, enabling state-of-the-art adaptation performance on challenging downstream tasks. It can also discover distinguishable and far-reaching exploration skills in the challenging tree-like 2D maze.
