Contrastive Difference Predictive Coding
Chongyi Zheng, Ruslan Salakhutdinov, Benjamin Eysenbach
Abstract
Predicting and reasoning about the future lie at the heart of many time-series questions. For example, goal-conditioned reinforcement learning can be viewed as learning representations to predict which states are likely to be visited in the future. While prior methods have used contrastive predictive coding to model time series data, learning representations that encode long-term dependencies usually requires large amounts of data. In this paper, we introduce a temporal difference version of contrastive predictive coding that stitches together pieces of different time series data to decrease the amount of data required to learn predictions of future events. We apply this representation learning method to derive an off-policy algorithm for goal-conditioned RL. Experiments demonstrate that, compared with prior RL methods, ours achieves median improvement in success rates and can better cope with stochastic environments. In tabular settings, we show that our method is about more sample efficient than the successor representation and more sample efficient than the standard (Monte Carlo) version of contrastive predictive coding.
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.
20 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Transitive RL: Value Learning via Divide and Conquer cites Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making
- Transitive RL: Value Learning via Divide and Conquer cites Conservative Q-Learning for Offline Reinforcement Learning
- Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making cites Learning Transferable Visual Models From Natural Language Supervision
- Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making cites Conservative Q-Learning for Offline Reinforcement Learning
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Learning Transferable Visual Models From Natural Language Supervision
- Dual Goal Representations cites Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making
- 1000 Layer Networks for Self-Supervised RL: Scaling Depth Can Enable New Goal-Reaching Capabilities cites Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Intention-Conditioned Flow Occupancy Models cites Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making
- Intention-Conditioned Flow Occupancy Models cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Intention-Conditioned Flow Occupancy Models cites Learning Transferable Visual Models From Natural Language Supervision
- Intention-Conditioned Flow Occupancy Models cites Conservative Q-Learning for Offline Reinforcement Learning
Cited by top-tier papers20
- 1000 Layer Networks for Self-Supervised RL: Scaling Depth Can Enable New Goal-Reaching CapabilitiesKevin Wang, Ishaan Javali, Michal Bortkiewicz, Tomasz Trzcinski et al.NeurIPS 2025 · 46 citations
- Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-MakingVivek Myers, Chongyi Zheng, Anca D. Dragan, Sergey Levine et al.ICML 2024 · 38 citations
- Dual Goal RepresentationsSeohong Park, Deepinder Mann, Sergey LevineICLR 2026 · 15 citations
- Transitive RL: Value Learning via Divide and ConquerSeohong Park, Aditya Oberai, Pranav Atreya, Sergey LevineICLR 2026 · 12 citations
- Intention-Conditioned Flow Occupancy ModelsChongyi Zheng, Seohong Park, Sergey Levine, Benjamin EysenbachICLR 2026 · 9 citations
Builds on34
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen et al.ICML 2021 · 5,401 citations
- Conservative Q-Learning for Offline Reinforcement LearningAviral Kumar, Aurick Zhou, George Tucker, Sergey LevineNeurIPS 2020 · 2,881 citations
Related papers
- Offline Goal-conditioned Reinforcement Learning with Quasimetric RepresentationsVivek Myers, Bill Zheng, Benjamin Eysenbach, Sergey LevineNeurIPS 2025 · 26 citations
- Contrastive Learning as Goal-Conditioned Reinforcement LearningBenjamin Eysenbach, Tianjun Zhang, Sergey Levine, Ruslan SalakhutdinovNeurIPS 2022 · 331 citations
- Value-Consistent Representation Learning for Data-Efficient Reinforcement LearningYang Yue, Bingyi Kang, Zhongwen Xu, Gao Huang et al.AAAI 2023 · 19 citations
- TACO: Temporal Latent Action-Driven Contrastive Loss for Visual Reinforcement LearningRuijie Zheng, Xiyao Wang, Yanchao Sun, Shuang Ma et al.NeurIPS 2023 · 89 citations
- Imitating Graph-Based Planning with Goal-Conditioned PoliciesJunsu Kim, Younggyo Seo, Sungsoo Ahn, Kyunghwan Son et al.ICLR 2023 · 2 citations
