PreprintCited by 6,242Domain Adaptation and Few-Shot LearningTopic ModelingAdvanced Graph Neural Networks

Representation Learning with Contrastive Predictive Coding

Open access
Oord, Aaron van den, Li, Yazhe, Vinyals, Oriol·2018·arXiv

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. 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.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.1807.03748

Cites

53 of 53 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • In CPC, predicting one or two timesteps in the future is too easy and results in poor performance, whereas predicting multiple timesteps leads to very effective representations.

    “For example, Contrastive Predictive Coding (CPC) [80,143] utilizes a contrastive future prediction task, and it was found that predicting one or two timesteps in the future is (too) easy and results in poor performance, whereas predicting multiple timesteps into the future is much more complex, and leads to very effective representations.”

    From Past, Present, and Future of Sensor-based Human Activity Recognition Using Wearables: A Surveying Tutorial on a Still Challenging Task (2025) · cites this paper as [143]

    Section 2.1 (p. 2) says that predicting farther into the future requires inferring more global structure, and the Introduction (p. 2) says CPC predicts many steps ahead and learns useful representations. But the paper does not report that predicting specifically one or two timesteps is too easy or results in poor performance; its Audio section (p. 5) says the prediction objective is 'neither trivial nor impossible.' (LLM, conf=0.86)

    Experimental — accuracy not yet measured
  • Self-supervised networks using contrastive loss learn to make representations similar for positive pairs and dissimilar for negative pairs, clustering similar samples together and pushing apart dissimilar samples.

    “Using this contrastive loss, self-supervised networks learn to make the representations similar for positive pairs, and dissimilar for negative pairs, and hence are able to cluster similar (or positive) samples together and push apart dissimilar (or negative) samples.”

    From Detecting galaxy tidal features using self-supervised representation learning (2024) · cites this paper as Oord et al. 2018

    Section 2.3 (p. 3) says CPC uses a contrastive loss to distinguish a positive future sample from negative samples, supporting the positive-versus-negative part of the claim. Section 2.4 (p. 4) describes earlier contrastive methods that bring related embeddings closer and separate others. The paper does not establish that CPC clusters generally similar samples together or pushes generally dissimilar samples apart; its positive and negative samples are defined by their relationship to a prediction context. (LLM, conf=0.85)

    Experimental — accuracy not yet measured
  • InfoNCE loss maximizes the agreement of two different augmented sequences' representations from the same sequence while minimizing the agreement with other negative sequences.

    “It means that InfoNCE loss maximizes the agreement of two different augmented sequences' representations from the same sequence while minimizing the agreement with other negative sequences.”

    From Contrastive Learning from Extremely Augmented Skeleton Sequences for Self-Supervised Action Recognition (2022) · cites this paper as Oord, Li, and Vinyals 2018

    Section 2.3 (p. 3) describes InfoNCE as distinguishing a positive sample from negative samples, supporting the contrastive part of the claim. But the paper's positive pair is a future target and its preceding context, not representations of two augmented sequences derived from the same sequence; that specific characterization is unsupported. (LLM, conf=0.88)

    Experimental — accuracy not yet measured
  • The Contrastive Predictive Coding (CPC) framework captures the long-term temporal structure of sensor data streams.

    “We introduce the Contrastive Predictive Coding (CPC) framework to human activity recognition, which captures the long-term temporal structure of sensor data streams.”

    From Contrastive Predictive Coding for Human Activity Recognition (2021) · cites this paper as [58]

    Section 2.4 (p. 4) says CPC extracts features that retain information across long time horizons, supporting the temporal-structure part of the claim. The paper tests audio, images, language, and reinforcement learning (Conclusion, p. 9), but does not establish that CPC captures long-term structure in the sensor data streams used for human activity recognition. (LLM, conf=0.84)

    Experimental — accuracy not yet measured
  • Either c_t or z_t can be utilized as the representation.

    “As mentioned in [58], either 𝑐 𝑡 (the output of 𝑔 𝑒𝑛𝑐 ) or 𝑧 𝑡 (the output of 𝑔 𝑎𝑟 ) can be utilized as the representation.”

    From Contrastive Predictive Coding for Human Activity Recognition (2021) · cites this paper as [58]

    Section 2.2 (p. 3) explicitly says either z_t or c_t can be used as a representation for downstream tasks. But the citing sentence reverses their origins: the paper defines z_t as the output of g_enc and c_t as the output of g_ar. (LLM, conf=0.91)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 4

  1. [12][12] Michael Gutmann and Aapo Hyvärinen. Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics , pages 297-304, 2010. -
  2. [31][31] Daniel Povey, Arnab Ghoshal, Gilles Boulianne, Lukas Burget, Ondrej Glembek, Nagendra Goel, Mirko Hannemann, Petr Motlicek, Yanmin Qian, Petr Schwarz, et al. The kaldi speech recognition toolkit. In IEEE 2011 workshop on automatic speech recognition and understanding . IEEE Signal Processing Society, 2011. -
  3. [33][33] Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research , 9(Nov):2579-2605, 2008. -
  4. [48][48] Sida Wang and Christopher D. Manning. Baselines and bigrams: Simple, good sentiment and topic classification. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics: Short Papers - Volume 2 , ACL '12, pages 90-94, 2012. -

Cited by

Sorted by citations

Authors
Oord, A. V. D., Li, Y., & Vinyals, O.
Venue
arXiv
Publisher
arXiv
Published
2018
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4297808394
Cited by
6,242
References
50
Citations by year
2026: 77 · 2025: 660 · 2024: 1288 · 2023: 1444 · 2022: 1043 · 2021: 1173 · 2020: 454 · 2019: 88 · 2018: 15
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Advanced Graph Neural Networks
Keywords
contrastive predictive coding, unsupervised feature learning, autoregressive models, negative sampling, high-dimensional data, speech representation, image representation, text representation

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review