Dynamic Jointly Batch Selection for Data Efficient Machine Translation Fine-Tuning
Mohammad Amin Ghanizadeh, Mohammad Javad Dousti
TL;DR
The paper tackles data efficiency in MT fine-tuning by introducing an online data selection method based on a learnability score $s^{learn}(B|\theta,\theta^*) = s^{hard}(B,\theta) + s^{easy}(B,\theta^*)$, where $s^{hard}(B,\theta) = - H_{\theta}(B_{src}) H_{\theta}(B_{trg})$ and $s^{easy}(B,\theta^*) = H_{\theta^*}(B_{src}) H_{\theta^*}(B_{trg})$. Embeddings from the learner and a fixed reference model form a learnability matrix over super-batches (e.g., $2048\times1024$) and guide an iterative sub-batch selection to update the MT model. The approach yields up to fivefold data efficiency versus iid training, smoother loss trajectories, and improved generalization across 12 translation directions when fine-tuning with an $m$BART$ on CCMatrix, with embedding caching reducing relative FLOPS. This data-driven batching strategy is particularly advantageous in low-resource or noisy data regimes and demonstrates robust gains across multilingual MT tasks.
Abstract
Data quality and its effective selection are fundamental to improving the performance of machine translation models, serving as cornerstones for achieving robust and reliable translation systems. This paper presents a data selection methodology specifically designed for fine-tuning machine translation systems, which leverages the synergy between a learner model and a pre-trained reference model to enhance overall training effectiveness. By defining a learnability score, our approach systematically evaluates the utility of data points for training, ensuring that only the most relevant and impactful examples contribute to the fine-tuning process. Furthermore, our method employs a batch selection strategy which considers interdependencies among data points, optimizing the efficiency of the training process while maintaining a focus on data relevance. Experiments on English to Persian and several other language pairs using an mBART model fine-tuned on the CCMatrix dataset demonstrate that our method can achieve up to a fivefold improvement in data efficiency compared to an iid baseline. Experimental results indicate that our approach improves computational efficiency by 24 when utilizing cached embeddings, as it requires fewer training data points. Additionally, it enhances generalization, resulting in superior translation performance compared to random selection method.
