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

量化数据对齐在下游模型性能中的重要性

Quantifying the Importance of Data Alignment in Downstream Model Performance

stanford(斯坦福大学)

Krrish Chawla, Aryan Sahai, Mario DePavia, Sudharsan Sundar, Brando Miranda, Elyas Obbad, Sanmi Koyejo

AI总结:

本文通过Task2Vec对齐系数量化训练与评估数据对齐对LLM下游性能的影响,在预训练和领域微调实验中均发现对齐系数与损失/困惑度呈强负相关,证明数据对齐在专门任务中比数据量更重要。

摘要:

与通常强调数据集规模的观念相反,我们探索了数据对齐——这一常被忽视的数据质量方面——在训练高性能大语言模型(LLMs)中的作用。为此,我们使用基于Task2Vec的对齐系数,一种量化两个数据集之间相似度的度量,来量化训练数据与评估数据之间的对齐对下游性能的影响。具体而言,我们针对两种设置进行了受控的干预实验:1. 增加各种预训练(pt)数据集与评估数据集之间对齐系数的影响;2. 增加领域特定微调(ft)数据集与领域特定评估数据集之间对齐系数的影响。我们探索的领域特定任务是自动形式化——即用于形式验证的自然语言与代码之间的机器翻译任务。在两种设置中,我们都发现模型的训练数据与评估数据之间的对齐系数与模型在相应下游任务上的损失/困惑度之间存在强且可预测的负相关关系。这些发现表明需要重新评估LLM的训练方法,证明了数据对齐相对于数据数量的重要性,尤其是在自动形式化等专门的下游任务中。

英文摘要:

Contrary to the conventional emphasis on dataset size, we explore the role of data alignment -- an often overlooked aspect of data quality -- in training capable Large Language Models (LLMs). To do so, we use the Task2Vec-based alignment coefficient, a quantitative measure of the similarity between two datasets, to quantify the impact of alignment between training data and evaluation data on downstream performance. In particular, we conduct controlled \textit{interventional} experiments for two settings: 1. the impact of increased alignment coefficients between various pre-training (pt) against evaluation datasets, and 2. the impact of increased alignment coefficients between domain specific fine-tuning (ft) against domain specific evaluation. The domain specific task we explore is Autoformalization -- the machine translation task between natural language and code for formal verification. In both settings, we find a strong, predictable negative correlation between the alignment coefficient of a model's training and evaluation data and the model's loss/perplexity on the respective downstream task. These findings suggest a re-evaluation of LLM training approaches, demonstrating the relevance of data alignment compared to data quantity, especially in specialized downstream tasks such as Autoformalization.

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

↑