mlsanityData to 14 Oct 2026

Fast Training of NMT Model with Data Sorting

arXiv 2308.08153 ↗First posted 16 Aug 2023cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

The Transformer model has revolutionized Natural Language Processing tasks such as Neural Machine Translation, and many efforts have been made to study the Transformer architecture, which increased its efficiency and accuracy. One potential area for improvement is to address the computation of empty tokens that the Transformer computes only to discard them later, leading to an unnecessary computational burden. To tackle this, we propose an algorithm that sorts translation sentence pairs based on their length before batching, minimizing the waste of computing power. Since the amount of sorting could violate the independent and identically distributed (i.i.d) data assumption, we sort the data partially. In experiments, we apply the proposed method to English-Korean and English-Luganda language pairs for machine translation and show that there are gains in computational time while maintaining the performance. Our method is independent of architectures, so that it can be easily integrated into any training process with flexible data lengths.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 19 references that are in the map. First posted on arXiv 16 Aug 2023.

Builds on

17 of 19 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  6. 2020Reformer: The Efficient Transformercited by 1,668
  7. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  8. 2021A Survey of Transformerscited by 401
  9. 2019Adaptive Attention Span in Transformerscited by 149
  10. 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
  11. 2020Lite Transformer with Long-Short Range Attentioncited by 127
  12. 2019Augmenting Self-attention with Persistent Memorycited by 93
5 more
  1. 2021Learning Shared Semantic Space for Speech-to-Text Translationcited by 49
  2. 2021MT6: Multilingual Pretrained Text-to-Text Transformer with Translation Pairscited by 41
  3. 2019R-Transformer: Recurrent Neural Network Enhanced Transformercited by 39
  4. 2017An Empirical Study of Mini-Batch Creation Strategies for Neural Machine Translationcited by 6
  5. 2023Building a Parallel Corpus and Training Translation Models Between Luganda and Englishcited by 3

Built on by

Not cited yet.