Papers › Representation Learning with Contrastive Predictive Coding
Representation Learning with Contrastive Predictive Coding
Aaron van den Oord, Yazhe Li, Oriol Vinyals
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.
In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1807.03748")
Code
Syntology Ran 29 of 45 code samples harvested from 19 repositories linked to this paper; 16 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 2 ran · fixture could not drive it; 23 ran with no contract checked.
By repository: community (archive-listed): 45 samples from 19 repositories, 29 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
28 repositories listed; official and paper-mentioned ones first.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
45 samples harvested; 29 ran; 1 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.
Licence: 22 of the 45 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from 19 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.
Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
f1e8c76f248d416b · report
fdb79f7c30db5b04 · report
98a0dd46a20ece2a · report
90540cd2dfd95c3c · report
8a0edf707add84b8 · report
88f5e149a4a5701e · report
d553f5e8f537a269 · report
c77e423112015a3b · report
0c6aa70299e39fb2 · report
1c9942b4ab282406 · report
2ffe2c33220475ca · report
1fb147a76c863ded · report
a31d5f299fb67dc8 · report
20bd3807784699b5 · report
a1fa550706a4d645 · report
ef63ae1da9a9ed0b · report
1d652b465739caed · report
61e69ae0f2b2b9d6 · report
06beece7949a622a · report
0608dabb9a52bed6 · report
e5a1ba36ae15b5da · report
ed486b5fa192c61f · report
bf44986039feb903 · report
4f22c55f43f447da · report
8dd3d0253826c3e4 · report
3fd9a785ec6e3e12 · report
4bd8a922e4fd21df · report
6d4dd79504cddf0f · report
65037d99b31b9ae7 · report
bacdbc0bbfe53598 · report
274596d912e6af16 · report
e720870fffa7cffb · report
d3271e5b8a942d2c · report
591507cec9d8ebf7 · report
4c96c9c7dcdc4ecf · report
45983305e1fcaaef · report
9ea8495cf4597e1e · report
25b22350f74af590 · report
69d65c023623a577 · report
6a0ad9f55e1c06f2 · report
6561bbee1ff09943 · report
9fe706cb1512ff06 · report
4e5d092bb8222498 · report
7ca3643dc4275445 · report
0d20ad5fe3e59410 · report
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Self-Supervised Image Classification | ImageNet | CPC (ResNet-101 V2) | Number of Params | 44M | #134 of 144 | Archive leaderboard | report |
| Self-Supervised Image Classification | ImageNet | CPC (ResNet-101 V2) | Top 1 Accuracy | 48.7% | #134 of 144 | Archive leaderboard | report |
| Self-Supervised Image Classification | ImageNet | CPC (ResNet-101 V2) | Top 5 Accuracy | 73.6% | #134 of 144 | Archive leaderboard | report |
| Semi-Supervised Image Classification | ImageNet - 1% labeled data | CPC | Top 5 Accuracy | 64.03% | #56 of 65 | Archive leaderboard | report |
| Semi-Supervised Image Classification | ImageNet - 10% labeled data | CPC | Top 5 Accuracy | 84.88% | #57 of 75 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Introduced by this paper: Contrastive Predictive Coding
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