An Empirical Study of Mini-Batch Creation Strategies for Neural Machine Translation
Not on the map. Why?
Abstract (arXiv)
Training of neural machine translation (NMT) models usually uses mini-batches for efficiency purposes. During the mini-batched training process, it is necessary to pad shorter sentences in a mini-batch to be equal in length to the longest sentence therein for efficient computation. Previous work has noted that sorting the corpus based on the sentence length before making mini-batches reduces the amount of padding and increases the processing speed. However, despite the fact that mini-batch creation is an essential step in NMT training, widely used NMT toolkits implement disparate strategies for doing so, which have not been empirically validated or compared. This work investigates mini-batch creation strategies with experiments over two different datasets. Our results suggest that the choice of a mini-batch creation strategy has a large effect on NMT training and some length-based sorting strategies do not always work well compared with simple shuffling.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Jun 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 2; 2024: 1; 2025: 0; 2026: 1.
6 papers.
- 2021SpeechBrain: A General-Purpose Speech Toolkitcited by 404
- 2021Data Augmentation by Concatenation for Low-Resource Translation: A Mystery and a Solutioncited by 11
- 2023On Batching Variable Size Inputs for Training End-to-End Speech Enhancement Systemscited by 5
- 2024Enhancing Large Language Model-based Speech Recognition by Contextualization for Rare and Ambiguous Wordscited by 1
- 2023Fast Training of NMT Model with Data Sortingcited by 0
- 2026DanLing NestedTensor: Composable Multi-Ragged Tensors for Deep Learningcited by 0
- 2026DanLing NestedTensor: Composable Multi-Ragged Tensors for Deep Learning24 Sep 2026
- 2024Enhancing Large Language Model-based Speech Recognition by Contextualization for Rare and Ambiguous Words15 Aug 2024
- 2023Fast Training of NMT Model with Data Sorting16 Aug 2023
- 2023On Batching Variable Size Inputs for Training End-to-End Speech Enhancement Systems25 Jan 2023
- 2021SpeechBrain: A General-Purpose Speech Toolkit8 Jun 2021
- 2021Data Augmentation by Concatenation for Low-Resource Translation: A Mystery and a Solution4 May 2021