The Evolved Transformer

David R. So, Chen Liang, Quoc V. Le
1/30/2019
cs.LGcs.CLcs.NE

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

Abstract

Recent works have highlighted the strength of the Transformer architecture on sequence tasks while, at the same time, neural architecture search (NAS) has begun to outperform human-designed models. Our goal is to apply NAS to search for a better alternative to the Transformer. We first construct a large search space inspired by the recent advances in feed-forward sequence models and then run evolutionary architecture search with warm starting by seeding our initial population with the Transformer. To directly search on the computationally expensive WMT 2014 English-German translation task, we develop the Progressive Dynamic Hurdles method, which allows us to dynamically allocate more resources to more promising candidate models. The architecture found in our experiments -- the Evolved Transformer -- demonstrates consistent improvement over the Transformer on four well-established language tasks: WMT 2014 English-German, WMT 2014 English-French, WMT 2014 English-Czech and LM1B. At a big model size, the Evolved Transformer establishes a new state-of-the-art BLEU score of 29.8 on WMT'14 English-German; at smaller sizes, it achieves the same quality as the original "big" Transformer with 37.6% less parameters and outperforms the Transformer by 0.7 BLEU at a mobile-friendly model size of 7M parameters.

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{so2019evolved,
  title  = {The Evolved Transformer},
  author = {David R. So and Chen Liang and Quoc V. Le},
  year   = {2019},
  eprint = {1901.11117},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.11117}
}

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

Discussion