arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.13995cs.CL
收藏

从标签到树:为LLM指令微调中的可控数据选择构建细粒度知识

From Tags to Trees: Structuring Fine-Grained Knowledge for Controllable Data Selection in LLM Instruction Tuning

University of Science and Technology of China(中国科学技术大学);Klear Team, Kuaishou Technology(快手科技Klear团队)

Zihan Niu, Wenping Hu, Junmin Chen, Xiyue Wang, Tong Xu, Ruiming Tang

AI总结:

TAGS通过构建细粒度知识树,实现LLM指令微调中可控数据选择的高效采样与知识对齐。

摘要:

有效且可控的数据选择对于LLM指令微调至关重要,尤其是在使用大规模开源数据集时。现有方法主要依赖于实例级别的质量评分,或基于嵌入集群或语义标签的多样性度量。然而,受限于嵌入空间的扁平性和标签的粗略性,这些方法忽略了细粒度知识及其内在的层级依赖性,从而阻碍了精确的数据估值和知识对齐的采样。为了解决这一挑战,我们提出了Tree-aware Aligned Global Sampling (TAGS),一个统一的框架,通过从细粒度标签构建的知识树,从而实现对全局质量、多样性和目标对齐的联合控制。使用基于LLM的标签器,我们提取出原子知识概念,这些概念通过自底向上的层次聚类组织成一个全局树。通过将数据实例定位到该树上,一个树感知的度量随后量化数据质量和多样性,从而实现有效的采样。我们的可控采样策略通过KL散度强制特定领域的叶级别对齐,以最大化树级别信息增益。广泛的实验表明,TAGS显著优于最先进的基线。值得注意的是,它仅使用5%的数据,就比全数据集模型提升了+5.84%,而我们的对齐采样策略进一步提升了平均性能+4.24%。

英文摘要:

Effective and controllable data selection is critical for LLM instruction tuning, especially with massive open-source datasets. Existing approaches primarily rely on instance-level quality scores, or diversity metrics based on embedding clusters or semantic tags. However, constrained by the flatness of embedding spaces or the coarseness of tags, these approaches overlook fine-grained knowledge and its intrinsic hierarchical dependencies, consequently hindering precise data valuation and knowledge-aligned sampling. To address this challenge, we propose Tree-aware Aligned Global Sampling (TAGS), a unified framework that leverages a knowledge tree built from fine-grained tags, thereby enabling joint control of global quality, diversity, and target alignment. Using an LLM-based tagger, we extract atomic knowledge concepts, which are organized into a global tree through bottom-up hierarchical clustering. By grounding data instances onto this tree, a tree-aware metric then quantifies data quality and diversity, facilitating effective sampling. Our controllable sampling strategy maximizes tree-level information gain and enforces leaf-level alignment via KL-divergence for specific domains. Extensive experiments demonstrate that TAGS significantly outperforms state-of-the-art baselines. Notably, it surpasses the full-dataset model by \textbf{+5.84\%} using only \textbf{5\%} of the data, while our aligned sampling strategy further boosts average performance by \textbf{+4.24\%}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑