Neural Discrete Representation Learning

Aaron van den Oord, Oriol Vinyals, Koray Kavukcuoglu
11/2/2017
cs.LG

Official code: google-deepmind/sonnet (9,977 stars, Apache-2.0, TensorFlow, last commit 2026-10-20).

Abstract

Learning useful representations without supervision remains a key challenge in machine learning. In this paper, we propose a simple yet powerful generative model that learns such discrete representations. Our model, the Vector Quantised-Variational AutoEncoder (VQ-VAE), differs from VAEs in two key ways: the encoder network outputs discrete, rather than continuous, codes; and the prior is learnt rather than static. In order to learn a discrete latent representation, we incorporate ideas from vector quantisation (VQ). Using the VQ method allows the model to circumvent issues of "posterior collapse" -- where the latents are ignored when they are paired with a powerful autoregressive decoder -- typically observed in the VAE framework. Pairing these representations with an autoregressive prior, the model can generate high quality images, videos, and speech as well as doing high quality speaker conversion and unsupervised learning of phonemes, providing further evidence of the utility of the learnt representations.

View on arXivView PDF

Code Implementations(1)

TensorFlowApache-2.0

TensorFlow-based neural network library

9,9771,307Shell, PythonApr 3, 2017yesterdayApache-2.0
artificial-intelligencedeep-learningmachine-learningneural-networkstensorflow

Cite this paper

@article{oord2017neural,
  title  = {Neural Discrete Representation Learning},
  author = {Aaron van den Oord and Oriol Vinyals and Koray Kavukcuoglu},
  year   = {2017},
  eprint = {1711.00937},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.00937}
}

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

Discussion