CLMay 21, 2024

G-DIG: Towards Gradient-based Diverse and High-quality Instruction Data Selection for Machine Translation

arXiv:2405.12915v237 citationsh-index: 5ACL
Originality Incremental advance
AI Analysis

This work addresses data selection problems for instruction finetuning in machine translation, offering an incremental improvement over existing methods.

The paper tackles the challenge of selecting diverse and high-quality instruction data for machine translation by proposing a gradient-based method that identifies beneficial training examples and maximizes influence variety, achieving superior results on WMT22 and FLORES translation tasks.

Large Language Models (LLMs) have demonstrated remarkable abilities in general scenarios. Instruction finetuning empowers them to align with humans in various tasks. Nevertheless, the Diversity and Quality of the instruction data remain two main challenges for instruction finetuning. With regard to this, in this paper, we propose a novel gradient-based method to automatically select high-quality and diverse instruction finetuning data for machine translation. Our key innovation centers around analyzing how individual training examples influence the model during training. Specifically, we select training examples that exert beneficial influences on the model as high-quality ones by means of Influence Function plus a small high-quality seed dataset. Moreover, to enhance the diversity of the training data we maximize the variety of influences they have on the model by clustering on their gradients and resampling. Extensive experiments on WMT22 and FLORES translation tasks demonstrate the superiority of our methods, and in-depth analysis further validates their effectiveness and generalization.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes