arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.04715cs.CLcs.AIcs.LG
收藏

基于正交规则的大语言模型微调数据选择

Selection of LLM Fine-Tuning Data based on Orthogonal Rules

Xiaomin Li, Mingye Gao, Zhiwei Zhang, Chang Yue, Hong Hu

AI总结:

针对LLM微调数据选择依赖启发式、规则评估无原则指标且泛化差的问题,提出基于规则得分向量正交性的框架,用DPP选独立规则,在多领域实验中持续优于强基线,提升评分准确性和下游性能。

摘要:

高质量训练数据对大语言模型(LLMs)的性能至关重要。近期研究探索了利用LLMs基于少量人类设计的标准(规则)对数据进行评分和选择,但这些方法往往严重依赖启发式,缺乏用于规则评估的原则性指标,且对新任务的泛化能力较差。我们提出一种新颖的基于规则的数据选择框架,引入基于规则得分向量正交性的指标来评估和选择互补规则。我们的自动化流程首先使用LLMs生成涵盖数据质量多个方面的多样化规则,然后根据这些规则对样本进行评分,并应用行列式点过程(DPP)选择最独立的规则。这些规则随后被用于对完整数据集进行评分,高评分样本被选用于LLM微调等下游任务。我们在两种实验设置中评估我们的框架:(1)与真实评分对齐;(2)在所选数据上微调的LLMs的性能。在IMDB、医疗、数学和代码领域的实验表明,我们基于DPP的规则选择在评分准确性和下游模型性能上持续优于强基线。

英文摘要:

High-quality training data is critical to the performance of large language models (LLMs). Recent work has explored using LLMs to rate and select data based on a small set of human-designed criteria (rules), but these approaches often rely heavily on heuristics, lack principled metrics for rule evaluation, and generalize poorly to new tasks. We propose a novel rule-based data selection framework that introduces a metric based on the orthogonality of rule score vectors to evaluate and select complementary rules. Our automated pipeline first uses LLMs to generate diverse rules covering multiple aspects of data quality, then rates samples according to these rules and applies the determinantal point process (DPP) to select the most independent rules. These rules are then used to score the full dataset, and high-scoring samples are selected for downstream tasks such as LLM fine-tuning. We evaluate our framework in two experiment setups: (1) alignment with ground-truth ratings and (2) performance of LLMs fine-tuned on the selected data. Experiments across IMDB, Medical, Math, and Code domains demonstrate that our DPP-based rule selection consistently improves both rating accuracy and downstream model performance over strong baselines.

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

↑