Lune

ICML2022Top-tier venue

Contrastive UCB: Provably Efficient Contrastive Self-Supervised Learning in Online Reinforcement Learning

Shuang Qiu, Lingxiao Wang, Chenjia Bai, Zhuoran Yang, Zhaoran Wang

Abstract

In view of its power in extracting feature representation, contrastive self-supervised learning has been successfully integrated into the practice of (deep) reinforcement learning (RL), leading to efficient policy learning in various applications. Despite its tremendous empirical successes, the understanding of contrastive learning for RL remains elusive. To narrow such a gap, we study how RL can be empowered by contrastive learning in a class of Markov decision processes (MDPs) and Markov games (MGs) with low-rank transitions. For both models, we propose to extract the correct feature representations of the low-rank model by minimizing a contrastive loss. Moreover, under the online setting, we propose novel upper confidence bound (UCB)-type algorithms that incorporate such a contrastive loss with online RL algorithms for MDPs or MGs. We further theoretically prove that our algorithm recovers the true representations and simultaneously achieves sample efficiency in learning the optimal policy and Nash equilibrium in MDPs and MGs. We also provide empirical studies to demonstrate the efficacy of the UCB-based contrastive learning method for RL. To the best of our knowledge, we provide the first provably efficient online RL algorithm that incorporates contrastive learning for representation learning. Our codes are available at https://github.com/Baichenjia/Contrastive-UCB .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Contrastive Learning as Goal-Conditioned Reinforcement Learning cites Dream to Control: Learning Behaviors by Latent Imagination
  • Contrastive Learning as Goal-Conditioned Reinforcement Learning cites Making Linear MDPs Practical via Contrastive Representation Learning
  • Contrastive Learning as Goal-Conditioned Reinforcement Learning cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
  • Pessimistic Model-based Offline Reinforcement Learning under Partial Coverage cites Making Linear MDPs Practical via Contrastive Representation Learning
  • Behavior Contrastive Learning for Unsupervised Skill Discovery cites Contrastive Learning as Goal-Conditioned Reinforcement Learning
  • Behavior Contrastive Learning for Unsupervised Skill Discovery cites Deep Reinforcement Learning at the Edge of the Statistical Precipice
  • Behavior Contrastive Learning for Unsupervised Skill Discovery cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
  • Feedback Efficient Online Fine-Tuning of Diffusion Models cites Making Linear MDPs Practical via Contrastive Representation Learning
  • Deep Reinforcement Learning at the Edge of the Statistical Precipice cites Model Based Reinforcement Learning for Atari
  • Deep Reinforcement Learning at the Edge of the Statistical Precipice cites Data-Efficient Reinforcement Learning with Self-Predictive Representations
  • Deep Reinforcement Learning at the Edge of the Statistical Precipice cites Dream to Control: Learning Behaviors by Latent Imagination
  • Deep Reinforcement Learning at the Edge of the Statistical Precipice cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
  • Data-Efficient Reinforcement Learning with Self-Predictive Representations cites Model Based Reinforcement Learning for Atari
  • Data-Efficient Reinforcement Learning with Self-Predictive Representations cites Dream to Control: Learning Behaviors by Latent Imagination
  • Data-Efficient Reinforcement Learning with Self-Predictive Representations cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
  • Dream to Control: Learning Behaviors by Latent Imagination cites Model Based Reinforcement Learning for Atari
  • CURL: Contrastive Unsupervised Representations for Reinforcement Learning cites Model Based Reinforcement Learning for Atari
  • CURL: Contrastive Unsupervised Representations for Reinforcement Learning cites Dream to Control: Learning Behaviors by Latent Imagination
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. Contrastive Learning as Goal-Conditioned Reinforcement LearningBenjamin Eysenbach, Tianjun Zhang, Sergey Levine, Ruslan SalakhutdinovNeurIPS 2022 · 331 citations
  2. Pessimistic Model-based Offline Reinforcement Learning under Partial CoverageMasatoshi Uehara, Wen SunICLR 2022 · 176 citations
  3. Making Linear MDPs Practical via Contrastive Representation LearningTianjun Zhang, Tongzheng Ren, Mengjiao Yang, Joseph Gonzalez et al.ICML 2022 · 57 citations
  4. Feedback Efficient Online Fine-Tuning of Diffusion ModelsMasatoshi Uehara, Yulai Zhao, Kevin Black, Ehsan Hajiramezanali et al.ICML 2024 · 47 citations
  5. Behavior Contrastive Learning for Unsupervised Skill DiscoveryRushuai Yang, Chenjia Bai, Hongyi Guo, Siyuan Li et al.ICML 2023 · 34 citations

Builds on10

  1. Dream to Control: Learning Behaviors by Latent ImaginationDanijar Hafner, Timothy P. Lillicrap, Jimmy Ba, Mohammad NorouziICLR 2020 · 1,852 citations
  2. CURL: Contrastive Unsupervised Representations for Reinforcement LearningMichael Laskin, Aravind Srinivas, Pieter AbbeelICML 2020 · 1,261 citations
  3. Deep Reinforcement Learning at the Edge of the Statistical PrecipiceRishabh Agarwal, Max Schwarzer, Pablo Samuel Castro, Aaron C. Courville et al.NeurIPS 2021 · 1,067 citations
  4. Model Based Reinforcement Learning for AtariLukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski et al.ICLR 2020 · 969 citations
  5. Data-Efficient Reinforcement Learning with Self-Predictive RepresentationsMax Schwarzer, Ankesh Anand, Rishab Goel, R. Devon Hjelm et al.ICLR 2021 · 399 citations

Related papers

  1. Representation Learning for Online and Offline RL in Low-rank MDPsMasatoshi Uehara, Xuezhou Zhang, Wen SunICLR 2022 · 138 citations
  2. Learning Markov State Abstractions for Deep Reinforcement LearningCameron Allen, Neev Parikh, Omer Gottesman, George KonidarisNeurIPS 2021 · 66 citations
  3. Value-Consistent Representation Learning for Data-Efficient Reinforcement LearningYang Yue, Bingyi Kang, Zhongwen Xu, Gao Huang et al.AAAI 2023 · 19 citations
  4. Contrastive Representation for Interactive RecommendationJingyu Li, Zhiyong Feng, Dongxiao He, Hongqi Chen et al.AAAI 2025 · 2 citations
  5. Provable Representation Learning for Imitation with Contrastive Fourier FeaturesOfir Nachum, Mengjiao YangNeurIPS 2021 · 41 citations
Dusk over the sea between two cliffs drawn in fine vertical lines