Enhanced Transformer Architecture for Natural Language Processing

Woohyeon Moon,Taeyoung Kim,Bumgeun Park,Dongsoo Har
2023-10-17
Abstract:Transformer is a state-of-the-art model in the field of natural language processing (NLP). Current NLP models primarily increase the number of transformers to improve processing performance. However, this technique requires a lot of training resources such as computing capacity. In this paper, a novel structure of Transformer is proposed. It is featured by full layer normalization, weighted residual connection, positional encoding exploiting reinforcement learning, and zero masked self-attention. The proposed Transformer model, which is called Enhanced Transformer, is validated by the bilingual evaluation understudy (BLEU) score obtained with the Multi30k translation dataset. As a result, the Enhanced Transformer achieves 202.96% higher BLEU score as compared to the original transformer with the translation dataset.
Computation and Language,Artificial Intelligence
What problem does this paper attempt to address?
The paper aims to address the issues of resource consumption and computational efficiency faced by Transformer models in the field of Natural Language Processing (NLP) when improving performance. Most current NLP models enhance processing performance by increasing the number of Transformer layers, but this approach leads to higher training costs and lower computational efficiency. The paper proposes an enhanced Transformer structure—Enhanced Transformer, which features include full-layer normalization, weighted residual connections, position encoding using reinforcement learning, and zero-mask self-attention mechanism. Experimental results show that the Enhanced Transformer significantly outperforms the original Transformer and several other variant models in terms of BLEU scores on the multilingual translation dataset Multi30k. Specifically, in the German-English translation task, the Enhanced Transformer improved the BLEU score by 202.96% compared to the original model, and it also demonstrated significant advantages in translation tasks for other language pairs.