Robust Training of Vector Quantized Bottleneck Models

Adrian Łańcucki, Jan Chorowski, Guillaume Sanchez, Ricard Marxer, Nanxin Chen +4 more
5/18/2020
cs.LGcs.CLstat.ML

Official code: distsup/DistSup (41 stars, Python, Apache-2.0, last commit 2020-10-31).

Abstract

In this paper we demonstrate methods for reliable and efficient training of discrete representation using Vector-Quantized Variational Auto-Encoder models (VQ-VAEs). Discrete latent variable models have been shown to learn nontrivial representations of speech, applicable to unsupervised voice conversion and reaching state-of-the-art performance on unit discovery tasks.

Show full abstract

For unsupervised representation learning, they became viable alternatives to continuous latent variable models such as the Variational Auto-Encoder (VAE). However, training deep discrete variable models is challenging, due to the inherent non-differentiability of the discretization operation. In this paper we focus on VQ-VAE, a state-of-the-art discrete bottleneck model shown to perform on par with its continuous counterparts. It quantizes encoder outputs with on-line $k$-means clustering. We show that the codebook learning can suffer from poor initialization and non-stationarity of clustered encoder outputs. We demonstrate that these can be successfully overcome by increasing the learning rate for the codebook and periodic date-dependent codeword re-initialization. As a result, we achieve more robust training across different tasks, and significantly increase the usage of latent codewords even for large codebooks. This has practical benefit, for instance, in unsupervised representation learning, where large codebooks may lead to disentanglement of latent representations.

View on arXivView PDF

Code Implementations(1)

distsup/DistSupOfficial100%
Apache-2.0

Representation learning for NLP @ JSALT19

417Python, ShellJan 8, 20206 years agoApache-2.0

Similar Papers

Cite this paper

@article{acucki2020robust,
  title  = {Robust Training of Vector Quantized Bottleneck Models},
  author = {Adrian Łańcucki and Jan Chorowski and Guillaume Sanchez and Ricard Marxer and Nanxin Chen and Hans J. G. A. Dolfing and Sameer Khurana and Tanel Alumäe and Antoine Laurent},
  year   = {2020},
  eprint = {2005.08520},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.08520}
}

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

Discussion