Methods › General › Semi-Supervised Learning Methods › Contrastive Predictive Coding
Contrastive Predictive Coding
Introduced by Aaron van den Oord et al. in Representation Learning with Contrastive Predictive Coding
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
Contrastive Predictive Coding (CPC) learns self-supervised representations by predicting the future in latent space by using powerful autoregressive models. The model uses a probabilistic contrastive loss which induces the latent space to capture information that is maximally useful to predict future samples.
First, a non-linear encoder g_(enc) maps the input sequence of observations xₜ to a sequence of latent representations zₜ = g_(enc)(xₜ), potentially with a lower temporal resolution. Next, an autoregressive model gₐᵣ summarizes all z≤t in the latent space and produces a context latent representation cₜ = gₐᵣ(z≤t).
A density ratio is modelled which preserves the mutual information between xₜ₊ₖ and cₜ as follows:
fₖ(xₜ₊ₖ, cₜ) ∝(p(xₜ₊ₖ|cₜ))/(p(xₜ₊ₖ))
where ∝ stands for ’proportional to’ (i.e. up to a multiplicative constant). Note that the density ratio f can be unnormalized (does not have to integrate to 1). The authors use a simple log-bilinear model:
fₖ(xₜ₊ₖ, cₜ) = exp(zᵀₜ₊ₖWₖcₜ)
Any type of autoencoder and autoregressive can be used. An example the authors opt for is strided convolutional layers with residual blocks and GRUs.
The autoencoder and autoregressive models are trained to minimize an InfoNCE loss (see components).
Papers archive 2025-07-28
30 shown of 113, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.
-
Two-Player Zero-Sum Games with Bandit Feedback 17 Jun 2025 · 0 repositories · arXiv:2506.14518
-
Integration of Contrastive Predictive Coding and Spiking Neural Networks 10 Jun 2025 · 1 repository · arXiv:2506.09194
-
Koopman-Based Event-Triggered Control from Data 19 Apr 2025 · 0 repositories · arXiv:2504.14334
-
Learning Transformer-based World Models with Contrastive Predictive Coding 6 Mar 2025 · 0 repositories · arXiv:2503.04416
-
Contrastive Representation Learning Helps Cross-institutional Knowledge Transfer: A Study in Pediatric Ventilation Management 23 Jan 2025 · 0 repositories · arXiv:2501.13587
-
Performance-Barrier Event-Triggered PDE Control of Traffic Flow 1 Jan 2025 · 0 repositories · arXiv:2501.00722
-
Automated Toll Management System Using RFID and Image Processing 2 Dec 2024 · 0 repositories · arXiv:2412.01728
-
A Contrastive Self-Supervised Learning scheme for beat tracking amenable to few-shot learning 6 Nov 2024 · 0 repositories · arXiv:2411.04152
-
Trading through Earnings Seasons using Self-Supervised Contrastive Representation Learning 25 Sep 2024 · 0 repositories · arXiv:2409.17392
-
Context-Aware Predictive Coding: A Representation Learning Framework for WiFi Sensing 20 Sep 2024 · 1 repository
-
Context-Aware Predictive Coding: A Representation Learning Framework for WiFi Sensing 16 Sep 2024 · 1 repository · arXiv:2410.01825
-
Hierarchical Event-Triggered Systems: Safe Learning of Quasi-Optimal Deadline Policies 15 Sep 2024 · 0 repositories · arXiv:2409.09812
-
Speaker and Style Disentanglement of Speech Based on Contrastive Predictive Coding Supported Factorized Variational Autoencoder 5 Sep 2024 · 0 repositories · arXiv:2409.03520
-
Contrastive Representation Learning for Dynamic Link Prediction in Temporal Networks 22 Aug 2024 · 1 repository · arXiv:2408.12753
-
Performance-Barrier Event-Triggered Control of a Class of Reaction-Diffusion PDEs 11 Jul 2024 · 0 repositories · arXiv:2407.08178
-
Contextual Dynamic Pricing: Algorithms, Optimality, and Local Differential Privacy Constraints 4 Jun 2024 · 0 repositories · arXiv:2406.02424
-
Causal Contrastive Learning for Counterfactual Regression Over Time 1 Jun 2024 · 0 repositories · arXiv:2406.00535
-
Offline Reinforcement Learning from Datasets with Structured Non-Stationarity 23 May 2024 · 1 repository · arXiv:2405.14114Syntology ran 10 of 12 samples · 2 unverified
-
Multilingual Turn-taking Prediction Using Voice Activity Projection 11 Mar 2024 · 0 repositories · arXiv:2403.06487
-
Event-Triggered Robust Cooperative Output Regulation for a Class of Linear Multi-Agent Systems with an Unknown Exosystem 1 Mar 2024 · 0 repositories · arXiv:2403.00645
-
Revisiting speech segmentation and lexicon learning with better features 31 Jan 2024 · 0 repositories · arXiv:2401.17902
-
Real-time and Continuous Turn-taking Prediction Using Voice Activity Projection 10 Jan 2024 · 2 repositories · arXiv:2401.04868
-
Replication-proof Bandit Mechanism Design with Bayesian Agents 28 Dec 2023 · 0 repositories · arXiv:2312.16896
-
Bigger is not Always Better: The Effect of Context Size on Speech Pre-Training 3 Dec 2023 · 1 repository · arXiv:2312.01515
-
Representation Learning in a Decomposed Encoder Design for Bio-inspired Hebbian Learning 22 Nov 2023 · 1 repository · arXiv:2401.08603
-
Self-MI: Efficient Multimodal Fusion via Self-Supervised Multi-Task Learning with Auxiliary Mutual Information Maximization 7 Nov 2023 · 0 repositories · arXiv:2311.03785
-
Contrastive Difference Predictive Coding 31 Oct 2023 · 1 repository · arXiv:2310.20141Syntology ran 5 of 5 samples · 0 unverified
-
Learning-based Scheduling for Information Accuracy and Freshness in Wireless Networks 24 Oct 2023 · 0 repositories · arXiv:2310.15705
-
Listen to Minority: Encrypted Traffic Classification for Class Imbalance with Contrastive Pre-Training 31 Aug 2023 · 0 repositories · arXiv:2308.16453
-
Towards quantitative precision for ECG analysis: Leveraging state space models, self-supervision and patient metadata 29 Aug 2023 · 1 repository · arXiv:2308.15291Syntology ran 5 of 7 samples · 2 unverified
Tasks archive 2025-07-28
20 shown of 137 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
Usage over time archive 2025-07-28
Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).
Categories archive 2025-07-28
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections