Simplifying Neural Machine Translation with Addition-Subtraction Twin-Gated Recurrent Networks

Biao Zhang, Deyi Xiong, Jinsong Su, Qian Lin, Huiji Zhang
10/30/2018
12 citations
cs.CL

Official code: bzhangGo/zero (152 stars, Python, BSD-3-Clause, last commit 2023-05-08). 1 more implementation below.

Abstract

In this paper, we propose an additionsubtraction twin-gated recurrent network (ATR) to simplify neural machine translation. The recurrent units of ATR are heavily simplified to have the smallest number of weight matrices among units of all existing gated RNNs.

Show full abstract

With the simple addition and subtraction operation, we introduce a twin-gated mechanism to build input and forget gates which are highly correlated. Despite this simplification, the essential non-linearities and capability of modeling long-distance dependencies are preserved. Additionally, the proposed ATR is more transparent than LSTM/GRU due to the simplification. Forward self-attention can be easily established in ATR, which makes the proposed network interpretable. Experiments on WMT14 translation tasks demonstrate that ATR-based neural machine translation can yield competitive performance on English- German and English-French language pairs in terms of both translation quality and speed. Further experiments on NIST Chinese-English translation, natural language inference and Chinese word segmentation verify the generality and applicability of ATR on different natural language processing tasks.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
bzhangGo/zeroOfficial152PythonBSD-3-Clause2023-05-08
bzhangGo/ATROfficial5PythonBSD-3-Clause2018-11-07
bzhangGo/zeroOfficial100%
BSD-3-Clause

Zero -- A neural machine translation system

15219Python, PerlOct 11, 20183 years agoBSD-3-Clause
aanadaptive-feature-selectionaverage-attention-networkdeep-transformerdepth-scaled-initialization+7 more
bzhangGo/ATROfficial100%
BSD-3-Clause

Addition-Subtraction Twin-Gated Recurrent Unit -- A novel and simplified recurrent unit

51Python, PerlOct 29, 20188 years agoBSD-3-Clause
addition-subtractionatrtwin-gate

Similar Papers

Cite this paper

@article{zhang2018simplifying,
  title  = {Simplifying Neural Machine Translation with Addition-Subtraction Twin-Gated Recurrent Networks},
  author = {Biao Zhang and Deyi Xiong and Jinsong Su and Qian Lin and Huiji Zhang},
  year   = {2018},
  eprint = {1810.12546},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.12546}
}

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

Discussion