arXiv:2602.03783cs.LGcs.AI2026-02被引 4

用核模型更准确地评估训练任务对AI性能的影响。

Efficient Estimation of Kernel Surrogate Models for Task Attribution

  • 提出核代理模型捕捉任务间的非线性交互关系。
  • 相比线性模型,与留一法真实结果相关性提升25%。
  • 无需重复训练,误差低于2%,适合大规模应用。

现代AI代理(如大语言模型)同时在多种任务上进行训练——包括翻译、代码生成、数学推理和文本预测。如何量化每个训练任务对目标任务性能的影响,是任务归因的核心问题。直接方法‘留一法重训’虽准确但计算成本过高。现有替代方案构建代理模型以预测任意训练任务子集下的性能表现。先前工作多采用线性代理模型,仅能捕捉一阶关系,忽略如异或型等非线性交互。本文首先建立统一的任务加权框架,并通过二阶分析揭示线性代理模型与影响函数的新关联;随后引入核代理模型,更有效地表示二阶任务交互。为高效学习核代理模型,提出基于梯度的估计方法,利用预训练模型的一阶近似,实验表明该方法在不重复训练的前提下,相对误差低于2%。在多个场景(包括Transformer数学推理、上下文学习及多目标强化学习)中,核代理模型相较线性代理与影响函数基线,与留一法真值的相关性提高25%,显著提升任务归因准确性与可扩展性。用于下游数据选择时,进一步实现40%的性能提升。

原文摘要 · Abstract (English)

Modern AI agents such as large language models are trained on diverse tasks -- translation, code generation, mathematical reasoning, and text prediction -- simultaneously. A key question is how to quantify the influence of each individual training task on performance on a target task, a problem we refer to as task attribution. The direct approach, leave-one-out retraining, measures the effect of removing each task, but is computationally infeasible at scale. An alternative approach that builds surrogate models to predict the performance on a target task for any subset of training tasks has emerged in the recent literature. Prior work focuses on linear surrogate models, which capture first-order relationships but miss nonlinear interactions such as XOR-type effects. In this paper, we first consider a unified task-weighting framework for analyzing task-attribution methods and establish a new connection between linear surrogate models and influence functions via a second-order analysis. Then, we introduce kernel surrogate models, which more effectively represent second-order task interactions. To efficiently learn the kernel surrogate, we develop a gradient-based estimation procedure that leverages a first-order approximation of pretrained models; empirically, this yields accurate surrogate estimates with less than $2\%$ relative error without repeated retraining. Experiments across multiple settings -- including mathematical reasoning in transformers, in-context learning, and multi-objective reinforcement learning -- demonstrate the effectiveness of kernel surrogate models. They achieve a $25\%$ higher correlation with the leave-one-out ground truth than linear surrogates and influence-function baselines, enabling more accurate and scalable task attribution. When used for downstream data selection, kernel surrogate models further yield a $40\%$ improvement in the aforementioned settings.

任务归因核方法模型解释高效估计

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。