journal article·2023Open access

Neural Machine Translation Models with Attention-Based Dropout Layer

Huma Israr, Safdar Abbas Khan, Muhammad Ali Tahir, Muhammad Khuram Shahzad, Muneer Ahmad, Jasni Mohamad Zain

Computers, Materials & Continua· Volume 75· Issue 2

Abstract

In bilingual translation, attention-based Neural Machine Translation (NMT) models are used to achieve synchrony between input and output sequences and the notion of alignment. NMT model has obtained state-of-the-art performance for several language pairs. However, there has been little work exploring useful architectures for Urdu-to-English machine translation. We conducted extensive Urdu-to-English translation experiments using Long short-term memory (LSTM)/Bidirectional recurrent neural networks (Bi-RNN)/Statistical recurrent unit (SRU)/Gated recurrent unit (GRU)/Convolutional neural network (CNN) and Transformer. Experimental results show that Bi-RNN and LSTM with attention mechanism trained iteratively, with a scalable data set, make precise predictions on unseen data. The trained models yielded competitive results by achieving 62.6% and 61% accuracy and 49.67 and 47.14 BLEU scores, respectively. From a qualitative perspective, the translation of the test sets was examined manually, and it was observed that trained models tend to produce repetitive output more frequently. The attention score produced by Bi-RNN and LSTM produced clear alignment, while GRU showed incorrect translation for words, poor alignment and lack of a clear structure. Therefore, we considered refining the attention-based models by defining an additional attention-based dropout layer. Attention dropout fixes alignment errors and minimizes translation errors at the word level. After empirical demonstration and comparison with their counterparts, we found improvement in the quality of the resulting translation system and a decrease in the perplexity and over-translation score. The ability of the proposed model was evaluated using Arabic-English and Persian-English datasets as well. We empirically concluded that adding an attention-based dropout layer helps improve GRU, SRU, and Transformer translation and is considerably more efficient in translation quality and speed.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Natural Language Processing Techniques · Topic Modeling · Multimodal Machine Learning Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (47)

Show source-provided references
1. Simons · Ethnologue: Languages of Asia · 2017
2. A sustainable and open access knowledge organization model to preserve cultural heritage and language diversity
3. Using cross-lingual projections to generate semantic role labeled annotated corpus for Urdu-a resource poor language
4. An efficient execution method for rule-based machine translation
5. Transtech: Development of a novel translator for Roman Urdu to English
6. Rule based English to Urdu machine translation
7. The paninian approach to natural language processing10.1016/0888-613X(87)90007-7 ↗
8. Example-based machine translation: A review and commentary10.1007/s10590-006-9003-9 ↗
9. Interactive English to Urdu machine translation using example-based approach
10. A statistical approach to language translation
11. Statistical machine translation system for English to Urdu10.1504/IJAIP.2013.056421 ↗
12. Urdu to Punjabi machine translation: An incremental training approach10.14569/IJACSA.2016.070428 ↗
13. Word-order issues in English-to-Urdu statistical machine translation10.2478/v10108-011-0007-0 ↗
14. Generic attention-model explainability for interpreting bi-modal and encoder-decoder transformers
15. Crowd counting and density estimation by Trellis encoder-decoder networks
16. Cascade of encoder-decoder CNNs with learned coordinates regressor for robust facial landmarks detection10.1016/j.patrec.2019.10.012 ↗
17. Self-attention networks for connectionist temporal classification in speech recognition
18. Large context end-to-end automatic speech recognition via extension of hierarchical recurrent encoder-decoder models
19. Gated recurrent context: Softmax-free attention for online encoder-decoder speech recognition10.1109/TASLP.2021.3049344 ↗
20. A convolutional encoder-decoder residual neural network for liver tumour segmentation
21. Sequence to sequence learning with neural networks
22. J. Chung, Ç. Gülçehre, K. Cho and Y. Bengio, “Empirical evaluation of gated recurrent neural networks on sequence modeling,” CoRR abs/1412.3555. arXiv: 1412.3555. 2014. [Online]. Available: http://arxiv.org/abs/1412.3555
23. K. Cho, B. Merrienboer, D. Bahdanau and Y. Bengio, “On the properties of neural machine translation: Encoder-decoder approaches,” CoRR abs/1409.1259. arXiv: 1409.1259. 2014. [Online]. Available: http://arxiv.org/abs/1409.1259
24. Neural machine translation by jointly learning to align and translate
25. M. Luong, H. Pham and C. D. Manning, “Effective approaches to attention-based neural machine translation,” 2015. [Online]. Available: http://arxiv.org/abs/1508.0402510.18653/v1/D15-1166 ↗
26. Convolutional sequence to sequence learning
27. Vaswani · Advances in Neural Information Processing Systems · 2017 · 30 · 5998
28. Machine translation system using deep learning for English to Urdu10.1155/2022/7873012 ↗
29. Model for English to Urdu and Hindi machine translation system using translation rules and artificial neural network
30. RNN-LSTM-GRU based language transformation10.1007/s00500-019-04281-z ↗
31. On the exploration of English to Urdu machine translation
32. B. Zhang, D. Xiong and J. Su, “A GRU-gated attention model for neural machine translation, 2017. CoRR abs/1704.08430,”. ArXiv: 1704.08430. [Online]. Available: http://arxiv.org/abs/1704.08430
33. Selective attention for context-aware neural machine translation
34. Simplifying neural machine translation with addition-subtraction twin-gated recurrent networks
35. The best of both worlds
36. Multi-granularity self-attention for neural machine translation
37. T. Zenkel, J. Wuebker and J. DeNero, “Adding interpretable attention to neural translation models improves word alignment,” 2019. [Online]. Available: http://arxiv.org/abs/1901.11359
38. A. Gomez, I. Zhang, K. Swersky, Y. Gal and G. Hinton, “Learning sparse networks using targeted dropout,” CoRR abs/1905.13678. arXiv: 1905.13678. URL, 2019. http://arxiv.org/abs/1905.13678
39. Attention-based dropout layer for weakly supervised object localization
40. L. Zehui, P. Liu, L. Huang, J. Chen, X. Qiu et al., “DropAttention: A regularization method for fully-connected self-attention networks,” arXiv preprint arXiv: 1907, 2019.
41. Neural machine translation: A review of methods, resources, and tools10.1016/j.aiopen.2020.11.001 ↗
42. OpenNMT: Open-source toolkit for neural machine translation10.18653/v1/P17-4012 ↗
43. Parallel data, tools and interfaces in OPUS
44. S. Moustafa, Kaggle 2020. [Online]. Available: https://www.kaggle.com/samirmoustafa/arabic-to-english-translation-sentences
45. Long short-term memory10.1162/neco.1997.9.8.1735 ↗
46. The statistical recurrent unit
47. Otem&Utem: Over- and under-translation evaluation metric for NMT