GTrans: Grouping and Fusing Transformer Layers for Neural Machine Translation

Jian Yang, Yuwei Yin, Liqun Yang, Shuming Ma, Haoyang Huang +3 more
7/29/2022
cs.CLcs.LG

No official code found. Best implementation: YuweiYin/GTrans (3 stars, MIT, last commit 2024-03-07).

Abstract

Transformer structure, stacked by a sequence of encoder and decoder network layers, achieves significant development in neural machine translation. However, vanilla Transformer mainly exploits the top-layer representation, assuming the lower layers provide trivial or redundant information and thus ignoring the bottom-layer feature that is potentially valuable. In this work, we propose the Group-Transformer model (GTrans) that flexibly divides multi-layer representations of both encoder and decoder into different groups and then fuses these group features to generate target words. To corroborate the effectiveness of the proposed method, extensive experiments and analytic experiments are conducted on three bilingual translation benchmarks and two multilingual translation tasks, including the IWLST-14, IWLST-17, LDC, WMT-14 and OPUS-100 benchmark. Experimental and analytical results demonstrate that our model outperforms its Transformer counterparts by a consistent gain. Furthermore, it can be successfully scaled up to 60 encoder layers and 36 decoder layers.

View on arXivView PDF

Code Implementations(1)

YuweiYin/GTransCommunity100%
MIT

[IEEE TASLP] GTrans: Grouping and Fusing Transformer Layers for Neural Machine Translation

31C++, LuaJul 30, 20222 years agoMIT
multilingual-nmtnatural-language-processingneural-machine-translation

Similar Papers

Cite this paper

@article{yang2022gtrans,
  title  = {GTrans: Grouping and Fusing Transformer Layers for Neural Machine Translation},
  author = {Jian Yang and Yuwei Yin and Liqun Yang and Shuming Ma and Haoyang Huang and Dongdong Zhang and Furu Wei and Zhoujun Li},
  year   = {2022},
  eprint = {2207.14467},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.14467v2}
}

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

Discussion