2025-02-18 · 进阶 · 自然语言处理 · 机器学习

Data Valuation using Neural Networks for Efficient Instruction Fine-Tuning

该论文提出了一种名为NN-CIFT的算法,通过使用小型神经网络来估计数据影响值,从而降低指令微调的数据评估成本,同时保持性能。

更新于 2026-11-14。作者:Ishika Agarwal、Dilek Hakkani-Tür。

中文摘要

影响函数为模型训练提供了关键见解,但现有方法存在计算成本高和泛化能力有限的问题。尤其是,最近的研究提出了各种指标和算法,使用语言模型来计算数据的影响,但这些方法在大型模型和数据集上的扩展性并不好。这是因为计算所需的昂贵的前向和后向传播,存储大型模型所需的大量内存,以及影响估计对新数据的泛化能力差。在本文中,我们探讨了使用小型神经网络(我们称之为影响网络)来估计影响值,实现了高达99%的成本降低。我们的评估表明,影响值可以使用规模仅为完整语言模型0.0027%的模型来估计(我们使用了7B和8B版本)。我们将我们估计影响值的算法(称为NN-CIFT:用于高效指令微调的神经网络)应用于下游任务,即针对通用指令微调的子集选择。在我们的研究中,我们包括了四种最先进的影响函数,并在NN-CIFT与原始影响函数之间表现出没有性能妥协的情况下实现了大幅加速。我们对NN-CIFT进行了深入的超参数分析。我们方法的相关代码可以在以下链接找到:https://github.com/agarwalishika/NN-CIFT。

英文摘要

Influence functions provide crucial insights into model training, but existing methods suffer from large computational costs and limited generalization. Particularly, recent works have proposed various metrics and algorithms to calculate the influence of data using language models, which do not scale well with large models and datasets. This is because of the expensive forward and backward passes required for computation, substantial memory requirements to store large models, and poor generalization of influence estimates to new data. In this paper, we explore the use of small neural networks -- which we refer to as the InfluenceNetwork -- to estimate influence values, achieving up to 99% cost reduction. Our evaluation demonstrates that influence values can be estimated with models just 0.0027% the size of full language models (we use 7B and 8B versions). We apply our algorithm of estimating influence values (called NN-CIFT: Neural Networks for effiCient Instruction Fine-Tuning) to the downstream task of subset selection for general instruction fine-tuning. In our study, we include four state-of-the-art influence functions and show no compromise in performance, despite large speedups, between NN-CIFT and the original influence functions. We provide an in-depth hyperparameter analyses of NN-CIFT. The code for our method can be found here: https://github.com/agarwalishika/NN-CIFT.

解读

一句话总结

该论文提出了一种名为NN-CIFT的算法,通过使用小型神经网络来估计数据影响值,从而降低指令微调的数据评估成本,同时保持性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt