Beyond Similarity: A Gradient-based Graph Method for Instruction Tuning Data Selection

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhao, Yang, Du, Li, Ding, Xiao, Ouyang, Yangou, Wang, Hepeng, Xiong, Kai, Gao, Jinglong, Sun, Zhouhao, Xu, Dongliang, Qing, Yang, Li, Dongchen, Qin, Bing, Liu, Ting
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929717818425344
author Zhao, Yang
Du, Li
Ding, Xiao
Ouyang, Yangou
Wang, Hepeng
Xiong, Kai
Gao, Jinglong
Sun, Zhouhao
Xu, Dongliang
Qing, Yang
Li, Dongchen
Qin, Bing
Liu, Ting
author_facet Zhao, Yang
Du, Li
Ding, Xiao
Ouyang, Yangou
Wang, Hepeng
Xiong, Kai
Gao, Jinglong
Sun, Zhouhao
Xu, Dongliang
Qing, Yang
Li, Dongchen
Qin, Bing
Liu, Ting
contents Large language models (LLMs) have shown great potential across various industries due to their remarkable ability to generalize through instruction tuning. However, the limited availability of domain-specific data significantly hampers their performance on specialized tasks. While existing methods primarily focus on selecting training data from general datasets that are similar to the target domain, they often fail to consider the joint distribution of instructions, resulting in inefficient learning and suboptimal knowledge transfer. To address these challenges, we introduce G2IS (Gradient-based Graph Instruction Selection), a novel method that constructs a mixed gradient-based instruction graph to capture the joint distribution and interdependencies between instructions. By accounting for the relationships between instructions, G2IS improves domain adaptation efficiency. Additionally, we propose a gradient walk algorithm to refine the data selection process, enhancing both training effectiveness and efficiency. Our experiments demonstrate that G2IS outperforms traditional methods across various domain adaptation tasks, yielding significant performance gains, particularly in complex, data-scarce scenarios. These results underscore the potential of G2IS in advancing the development of large, domain-specific models.
format Preprint
id arxiv_https___arxiv_org_abs_2502_11062
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond Similarity: A Gradient-based Graph Method for Instruction Tuning Data Selection
Zhao, Yang
Du, Li
Ding, Xiao
Ouyang, Yangou
Wang, Hepeng
Xiong, Kai
Gao, Jinglong
Sun, Zhouhao
Xu, Dongliang
Qing, Yang
Li, Dongchen
Qin, Bing
Liu, Ting
Computation and Language
Large language models (LLMs) have shown great potential across various industries due to their remarkable ability to generalize through instruction tuning. However, the limited availability of domain-specific data significantly hampers their performance on specialized tasks. While existing methods primarily focus on selecting training data from general datasets that are similar to the target domain, they often fail to consider the joint distribution of instructions, resulting in inefficient learning and suboptimal knowledge transfer. To address these challenges, we introduce G2IS (Gradient-based Graph Instruction Selection), a novel method that constructs a mixed gradient-based instruction graph to capture the joint distribution and interdependencies between instructions. By accounting for the relationships between instructions, G2IS improves domain adaptation efficiency. Additionally, we propose a gradient walk algorithm to refine the data selection process, enhancing both training effectiveness and efficiency. Our experiments demonstrate that G2IS outperforms traditional methods across various domain adaptation tasks, yielding significant performance gains, particularly in complex, data-scarce scenarios. These results underscore the potential of G2IS in advancing the development of large, domain-specific models.
title Beyond Similarity: A Gradient-based Graph Method for Instruction Tuning Data Selection
topic Computation and Language
url https://arxiv.org/abs/2502.11062