English

Memory-Efficient Differentiable Transformer Architecture Search

Machine Learning 2021-06-01 v1 Computation and Language

Abstract

Differentiable architecture search (DARTS) is successfully applied in many vision tasks. However, directly using DARTS for Transformers is memory-intensive, which renders the search process infeasible. To this end, we propose a multi-split reversible network and combine it with DARTS. Specifically, we devise a backpropagation-with-reconstruction algorithm so that we only need to store the last layer's outputs. By relieving the memory burden for DARTS, it allows us to search with larger hidden size and more candidate operations. We evaluate the searched architecture on three sequence-to-sequence datasets, i.e., WMT'14 English-German, WMT'14 English-French, and WMT'14 English-Czech. Experimental results show that our network consistently outperforms standard Transformers across the tasks. Moreover, our method compares favorably with big-size Evolved Transformers, reducing search computation by an order of magnitude.

Keywords

Cite

@article{arxiv.2105.14669,
  title  = {Memory-Efficient Differentiable Transformer Architecture Search},
  author = {Yuekai Zhao and Li Dong and Yelong Shen and Zhihua Zhang and Furu Wei and Weizhu Chen},
  journal= {arXiv preprint arXiv:2105.14669},
  year   = {2021}
}

Comments

Accepted by Findings of ACL 2021

R2 v1 2026-06-24T02:38:31.085Z