Discrete Autoencoders for Sequence Models

Łukasz Kaiser, Samy Bengio
1/29/2018
cs.LGstat.ML

Official code: tensorflow/tensor2tensor (17,475 stars, Apache-2.0, last commit 2023-06-02).

Abstract

Recurrent models for sequences have been recently successful at many tasks, especially for language modeling and machine translation. Nevertheless, it remains challenging to extract good representations from these models. For instance, even though language has a clear hierarchical structure going from characters through words to sentences, it is not apparent in current language models. We propose to improve the representation in sequence models by augmenting current approaches with an autoencoder that is forced to compress the sequence through an intermediate discrete latent space. In order to propagate gradients though this discrete representation we introduce an improved semantic hashing technique. We show that this technique performs well on a newly proposed quantitative efficiency measure. We also analyze latent codes produced by the model showing how they correspond to words and phrases. Finally, we present an application of the autoencoder-augmented model to generating diverse translations.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.

17,4753,800C++, HTMLJun 15, 20173 years agoApache-2.0
deep-learningmachine-learningmachine-translationreinforcement-learningtpu

Similar Papers

Cite this paper

@article{kaiser2018discrete,
  title  = {Discrete Autoencoders for Sequence Models},
  author = {Łukasz Kaiser and Samy Bengio},
  year   = {2018},
  eprint = {1801.09797},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1801.09797}
}

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

Discussion