atlas

Research map / Time series / Causal and generative time series

Contrastive Difference Predictive Coding

ICLR 2024 · Time series › Causal and generative time series · approach: Robust forecasting and evaluation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces TD InfoNCE, a temporal-difference version of contrastive predictive coding that estimates discounted state occupancy measures off-policy, and applies it to goal-conditioned RL.

Problem

Learning representations that encode long-horizon temporal dependencies with contrastive predictive coding requires large amounts of data; goal-conditioned RL can be cast as predicting future state visitation.

Approach

Derives a temporal-difference estimator of the InfoNCE loss by expanding the Monte Carlo InfoNCE via the discounted state occupancy recursion and replacing on-policy future-state sampling with a softmax-based importance weight, yielding an off-policy, nonparametric successor-representation-like method used as an actor-critic for goal-conditioned RL.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace Monte Carlo InfoNCE with temporal-difference InfoNCEContrastive RL · AntMaze medium-play-v2 and medium-diverse-v2success rate: +13%Helped
Use TD InfoNCE instead of Monte Carlo InfoNCEContrastive RL · Tabular gridworld discounted state occupancy estimationsample efficiency: $1500\times$ more sample efficient ($6.5 \times 10^3$ vs $10^7$ transitions)Helped
Use TD InfoNCE instead of C-learningC-learning · Tabular gridworld discounted state occupancy estimationsample efficiency: $130\times$ less data ($7.7 \times 10^4$ vs $10^7$ transitions)Helped
Use TD InfoNCE instead of successor representationsSuccessor representations · Tabular gridworld discounted state occupancy estimationsample efficiency: almost $20 \times$ fewer samples ($5.2 \times 10^5$ vs $10^7$ transitions)Helped
Use categorical cross-entropy instead of binary cross-entropy (ablation)TD InfoNCE versus C-learning · Tabular discounted state occupancy estimationestimation errorHelped
Use self-normalized softmax importance weights instead of unnormalized importance weights (ablation)TD InfoNCE · Tabular discounted state occupancy estimationperformanceNo clear effect
Use N² negative examples instead of N negative examples (ablation)TD InfoNCE · Tabular discounted state occupancy estimationperformanceNo clear effect
Change actor learning rate from $5 \times 10^{-5}$ to $1 \times 10^{-4}$ (ablation)TD InfoNCE · Push (state) and slide (state)success rateNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Fetch robotics benchmark (online GCRL, state and image) D4RL AntMaze 5x5 gridworld (uniform random policy)

Benchmarks: Fetch robotics GCRL (push, pick & place, slide; state and image) D4RL AntMaze (umaze, medium, large) 5x5 gridworld state occupancy estimation

Metrics: success rate absolute error of discounted state occupancy minimum distance to goal

Baselines: QRL contrastive RL contrastive RL (NCE) GCBC DDPG + HER DT IQL TD3 + BC C-learning successor representation

Builds on: InfoNCE / contrastive predictive coding contrastive RL successor representation C-learning quasimetric RL

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy