Approximating neural machine translation for efficiency
الملخص
Neural machine translation (NMT) has been shown to outperform statistical machine translation. However, NMT models typically require a large number of parameters and are expensive to train and deploy. Moreover, its large model size makes parallel training inefficient due to costly network communication. Likewise, distributing and locally running the model for a client-based NMT model such as a web browser or mobile device remains challenging. This thesis investigates ways to approximately train an NMT system by compressing either the gradients or the parameters for faster communication or reduced memory consumption. We propose a gradient compression technique that exchanges only the top 1% of the most significant gradient values while delaying the rest to be considered for the next iteration. This method reduces the network communication cost by 50-fold but causes noisy gradient updates. We also find that Transformer–the current state-of-the-art NMT architecture–is highly sensitive to noisy gradients. Therefore, we extend the compression technique by restoring the compressed gradient with locally-computed gradients. We obtained a linear scale-up in parallel training without sacrificing model performance. We also explore transfer learning as a better method of initialising the training. With transfer learning, the model converges faster and can be trained with more aggressive hyperparameters. Lastly, we propose a log-based quantisation method to compress the model size. Models are quantised to 4-bit precision with no noticeable quality degradation after re-training combined with reserving the quantisation errors as feedback.
الكلمات المفتاحية
غير متوفر
التخصصات
رسائل وأطاريح مشابهة
- Neural machine translation with limited resources Tasnim Mohiuddin · Nanyang Technological University · 2022
- Domain adaptation for statistical machine translation and neural machine translation Jian Zhang · Dublin City University · 2017
- Understanding, Explaining, and Aligning Neural Models for Machine Translation Patrick Fernandes · 2025
- Robust Neural Machine Translation Abdul Rafae Khan · City University of New York · 2020
- Learning Hyperparameters for Neural Machine Translation Kenton Murray · 2019
- Neural machine translation for multimodal interaction Koel Dutta Chowdhury · Dublin City University · 2019
