Neural Machine Translation without Embeddings

Uri Shaham, Omer Levy
8/21/2020
17 citations
cs.CLcs.LGstat.ML

Official code: UriSha/EmbeddinglessNMT (33 stars, Python, MIT, last commit 2021-06-09).

Abstract

Many NLP models operate over sequences of subword tokens produced by hand-crafted tokenization rules and heuristic subword induction algorithms. A simple universal alternative is to represent every computerized text as a sequence of bytes via UTF-8, obviating the need for an embedding layer since there are fewer token types (256) than dimensions.

Show full abstract

Surprisingly, replacing the ubiquitous embedding layer with one-hot representations of each byte does not hurt performance; experiments on byte-to-byte machine translation from English to 10 different languages show a consistent improvement in BLEU, rivaling character-level and even standard subword-level models. A deeper investigation reveals that the combination of embeddingless models with decoder-input dropout amounts to token dropout, which benefits byte-to-byte models in particular.

View on arXivView PDF

Code Implementations(1)

MIT

The implementation of "Neural Machine Translation without Embeddings", NAACL 2021

330Python, ShellAug 19, 20205 years agoMIT

Similar Papers

Cite this paper

@article{shaham2020neural,
  title  = {Neural Machine Translation without Embeddings},
  author = {Uri Shaham and Omer Levy},
  year   = {2020},
  eprint = {2008.09396},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.09396}
}

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

Discussion