Comparative Analysis of LSTM, GRU and Transformer Models for German to English Language Translation

Premanand Pralhad Ghadekar, Neel Malwatkar, Nikhil Sontakke, Nirvisha Soni · 2023

Natural Language Processing (NLP) encompasses a broad range of techniques and methodologies for processing and understanding human language. One of the most important NLP applications that has experienced significant advancements and has gained immense importance over the years is Neural Machine Translation. Research on German-to-English language machine translation has remained a prominent area of research within the field of Natural Language Processing and Deep. This paper presents an in-depth analysis of three significant models that are used for Neural Machine Translation namely Recurrent Neural Network with Long Short-Term Memory, Recurrent Neural Network with Gated Recurrent Unit, and the Transformer. For the implementation of each model, a large data corpus of 221,534 sentence pairs is used. Two evaluation metrics are employed to assess the performance of models i.e., the BLEU Score and the ROUGE Score. BLEU-4 Score of 0.386, 0.402, and 0.482 is obtained for RNN+LSTM, RNN+GRU, and Transformer model respectively. Precision, Recall, and F1 Score of ROUGE Score are studied which points to similar results as that Learning of the BLEU Score. Both the evaluation metrics suggest that the transformer model outperforms both variants of RNN. The study also paves the way for further investigation in this area by offering important information about how each model is implemented and the outcomes it produces.

Read the paper · More papers on PaperTik