Guardado en:
Detalles Bibliográficos
Autores principales: Pan, Xingyuan, Huang, Luyang, Kang, Liyan, Liu, Zhicheng, Lu, Yu, Cheng, Shanbo
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:https://arxiv.org/abs/2405.12915
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913420242059264
author Pan, Xingyuan
Huang, Luyang
Kang, Liyan
Liu, Zhicheng
Lu, Yu
Cheng, Shanbo
author_facet Pan, Xingyuan
Huang, Luyang
Kang, Liyan
Liu, Zhicheng
Lu, Yu
Cheng, Shanbo
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_12915
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle G-DIG: Towards Gradient-based Diverse and High-quality Instruction Data Selection for Machine Translation
Pan, Xingyuan
Huang, Luyang
Kang, Liyan
Liu, Zhicheng
Lu, Yu
Cheng, Shanbo
Computation and Language
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.
title G-DIG: Towards Gradient-based Diverse and High-quality Instruction Data Selection for Machine Translation
topic Computation and Language
url https://arxiv.org/abs/2405.12915