Representation Learning with Contrastive Predictive Coding

Aaron van den Oord, Yazhe Li, Oriol Vinyals
7/10/2018
15,395 citations
cs.LGstat.ML

No official code found. Best implementation: davidtellez/contrastive-predictive-coding (560 stars, Python, last commit 2019-06-19). 4 more below.

Abstract

While supervised learning has enabled great progress in many applications, unsupervised learning has not seen such widespread adoption, and remains an important and challenging endeavor for artificial intelligence. In this work, we propose a universal unsupervised learning approach to extract useful representations from high-dimensional data, which we call Contrastive Predictive Coding.

Show full abstract

The key insight of our model is to learn such representations by predicting the future in latent space by using powerful autoregressive models. We use a probabilistic contrastive loss which induces the latent space to capture information that is maximally useful to predict future samples. It also makes the model tractable by using negative sampling. While most prior work has focused on evaluating representations for a particular modality, we demonstrate that our approach is able to learn useful representations achieving strong performance on four distinct domains: speech, images, text and reinforcement learning in 3D environments.

View on arXivView PDF

Code Implementations(5)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
davidtellez/contrastive-predictive-codingCommunity560Python–2019-06-19
Spijkervet/contrastive-predictive-codingCommunity94Python–2021-11-25
flrngel/cpc-tensorflowCommunity65–––
davidtellez/contrastive-predictive-coding-imagesCommunity35PythonMIT2020-12-02
talipucar/CPCCommunity11–––

Keras implementation of Representation Learning with Contrastive Predictive Coding

560119PythonSep 14, 20187 years ago
contrastive-lossdeep-learningpredictive-modelingrepresentation-learningunsupervised-learning

PyTorch implementation of Representation Learning with Contrastive Predictive Coding by Van den Oord et al. (2018)

9413Python, ShellFeb 21, 20205 years ago
contrastive-predictive-codingcpc

Tensorflow implementation of "Representation Learning with Contrastive Predictive Coding"

6513
MIT

Keras implementation of Representation Learning with Contrastive Predictive Coding for images

358PythonMar 10, 20206 years agoMIT
talipucar/CPCCommunity25%

Pytorch implementation of the paper, "Representation Learning with Contrastive Predictive Coding", or CPC, https://arxiv.org/pdf/1807.03748.pdf

112

Similar Papers

Cite this paper

@article{oord2018representation,
  title  = {Representation Learning with Contrastive Predictive Coding},
  author = {Aaron van den Oord and Yazhe Li and Oriol Vinyals},
  year   = {2018},
  eprint = {1807.03748},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.03748}
}

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

Discussion