CCLF: A Contrastive-Curiosity-Driven Learning Framework for Sample-Efficient Reinforcement Learning

Chenyu Sun, Hangwei Qian, Chunyan Miao
5/2/2022
cs.LGcs.AIcs.CV
rl

Official code: csun001/CCLF (10 stars, Python, MIT, last commit 2022-05-03).

Abstract

In reinforcement learning (RL), it is challenging to learn directly from high-dimensional observations, where data augmentation has recently been shown to remedy this via encoding invariances from raw pixels. Nevertheless, we empirically find that not all samples are equally important and hence simply injecting more augmented inputs may instead cause instability in Q-learning.

Show full abstract

In this paper, we approach this problem systematically by developing a model-agnostic Contrastive-Curiosity-Driven Learning Framework (CCLF), which can fully exploit sample importance and improve learning efficiency in a self-supervised manner. Facilitated by the proposed contrastive curiosity, CCLF is capable of prioritizing the experience replay, selecting the most informative augmented inputs, and more importantly regularizing the Q-function as well as the encoder to concentrate more on under-learned data. Moreover, it encourages the agent to explore with a curiosity-based reward. As a result, the agent can focus on more informative samples and learn representation invariances more efficiently, with significantly reduced augmented inputs. We apply CCLF to several base RL algorithms and evaluate on the DeepMind Control Suite, Atari, and MiniGrid benchmarks, where our approach demonstrates superior sample efficiency and learning performances compared with other state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

csun001/CCLFOfficial100%
MIT

Implementation of our IJCAI 2022 paper "CCLF: A Contrastive-Curiosity-Driven Learning Framework for Sample-Efficient Reinforcement Learning".

100Python, ShellApr 25, 20224 years agoMIT
curiosity-drivendeep-reinforcement-learningreinforcement-learningsample-efficient-rl

Similar Papers

Cite this paper

@article{sun2022cclf,
  title  = {CCLF: A Contrastive-Curiosity-Driven Learning Framework for Sample-Efficient Reinforcement Learning},
  author = {Chenyu Sun and Hangwei Qian and Chunyan Miao},
  year   = {2022},
  eprint = {2205.00943},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.00943}
}

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

Discussion