Abstract
In this paper, we investigate the driving factors behind concatenation, a simple but effective data augmentation method for low-resource neural machine translation. Our experiments suggest that discourse context is unlikely the cause for the improvement of about +1 BLEU across four language pairs. Instead, we demonstrate that the improvement comes from three other factors unrelated to discourse: context diversity, length diversity, and (to a lesser extent) position shifting.
Introduction
Neural Machine Translation (NMT) typically requires vast amounts of parallel data to generalize effectively. In low-resource scenarios—such as translating Galician (gl), Slovak (sk), Vietnamese (vi), or Hebrew (he) to English—models often struggle due to data scarcity. A common heuristic to mitigate this is sentence concatenation, where multiple sentences are joined together during training to increase sequence length and provide context.
Conventionally, this improvement was attributed to discourse context, assuming the model learns linguistic relationships between adjacent sentences. However, this paper investigates a "mystery": concatenating completely random, unrelated sentences (RAND) yields performance gains nearly identical to concatenating consecutive, related ones (CONSEC). This suggests the benefits of concatenation are structural rather than linguistic.
The Mystery of Random Concatenation
To evaluate the impact of concatenation, we tested four low-resource language pairs from the TED Talks corpus. We compared a standard baseline against two strategies: CONSEC (concatenating consecutive pairs) and RAND (concatenating pairs after a random shuffle).
As shown in the results below, both methods provide a consistent boost of approximately +1.0 to +1.1 BLEU points over the baseline. The fact that RAND performs as well as CONSEC strongly implies that the model is not relying on discourse-level information to achieve these gains.
Deconstructing the Improvement
If discourse context is a "red herring," what explains the performance boost? Our research identifies three non-linguistic factors:
- Position Shifting: Transformer models use absolute positional encodings. In small datasets, specific words may only appear at the beginning of sentences. Concatenation shifts the second sentence to start at a non-zero index, forcing the model to recognize tokens regardless of their absolute position.
- Context Diversity (Negative Contexts): When two unrelated sentences are paired, the attention mechanism learns to distinguish relevant source tokens from irrelevant "noise." This teaches the model what not to attend to, improving its robustness.
- Length Diversity: NMT training often batches sentences of similar lengths together. Concatenation naturally mixes short and long segments within a single batch. This variety in sequence lengths acts as a form of regularization, leading to better convergence.
The "Smoking Gun" Ablation Study
To prove these factors are the true cause of the improvement, we conducted an ablation study on the RAND method. We introduced constraints to systematically remove the benefits of masking (context diversity), separate batching (length diversity), and position resetting.
As seen in the ablation table, the +1.1 BLEU gain (Row 1) gradually erodes as these factors are removed. When all three are neutralized (Row 5), the performance drops to 28.0, nearly returning to the original baseline of 27.8. This confirms that the synergy of position shifting, context diversity, and length diversity is the sole reason concatenation works in low-resource settings.
Conclusion
Our findings demystify why concatenation helps low-resource NMT. The improvement is a byproduct of increased structural diversity rather than the capture of discourse context. For practitioners, the takeaway is practical: if you are working with limited data, concatenating random sentences is a simple, effective, and computationally cheap way to regularize your model and boost translation quality.
Summary updated