arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.00386cs.LGcs.AIstat.ML
收藏

Train on Validation (ToV):面向微调应用的快速数据选择方法

Train on Validation (ToV): Fast data selection with applications to fine-tuning

Granica Computing Inc. — granica.ai(Granica计算公司);Department of Statistics and Department of Mathematics, Stanford University(斯坦福大学统计系和数学系)

Ayush Jain, Andrea Montanari, Eren Sasoglu

AI总结:

针对微调阶段目标分布样本少、现有数据选择方法效率低的问题,提出反转训练集与验证集角色的ToV快速数据选择法,通过筛选微调后预测变化最大的训练样本优化数据选择,在多任务上实现更低测试损失并获理论支撑。

摘要:

当前前沿机器学习通常遵循两阶段流程:(i) 在大规模通用数据集上进行预训练;(ii) 在任务特定数据上进行微调。在微调阶段,选择与目标分布高度匹配的训练样本至关重要,但目标分布通常仅能提供少量样本。现有数据选择方法将这些目标样本作为验证集,通过在验证集上执行推理,来估计在训练池中添加或移除单个样本的效果。\n我们提出了一种更简单、更快速的替代方案,反转了训练集与验证集的常规角色:我们先在训练池上执行推理,再在验证集上完成微调后,再次在训练池上执行推理,随后选择预测结果变化最大的样本。我们的核心洞见是:在小型验证集上微调后受影响最大的训练样本,往往最有助于降低目标分布上的测试损失。在指令微调和命名实体识别任务上的实验表明,在大多数情况下,我们的方法比前沿方法实现了更低的测试对数损失,我们还通过理论分析支撑了研究结论。

英文摘要:

State-of-the-art machine learning often follows a two-stage process: $(i)$~pre-training on large, general-purpose datasets; $(ii)$~fine-tuning on task-specific data. In fine-tuning, selecting training examples that closely reflect the target distribution is crucial. However, it is often the case that only a few samples are available from the target distribution. Existing data selection methods treat these target samples as a validation set and estimate the effect of adding or removing a single sample from the training pool by performing inference on the validation set. We propose a simpler and faster alternative that inverts the usual role of train and validation: we perform inference on the training pool before and after fine-tuning on the validation set. We then select samples whose predictions change the most. Our key insight is that the training samples most affected by fine-tuning on a small validation set tend to be the most beneficial for reducing test loss on the target distribution. Experiments on instruction tuning and named entity recognition tasks show that, in most cases, our method achieves lower test log-loss than state-of-the-art approaches. We support our findings with theoretical analysis.

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

↑