arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.04059cs.LGcs.AIcs.CVstat.ML
收藏

面向锐度感知最小化的数据归因

Attributing Data for Sharpness-Aware Minimization

Provable Responsible AI and Data Analytics (PRADA) Lab(可证明负责任的人工智能和数据分析实验室);King Abdullah University of Science and Technology(国王阿卜杜勒阿齐兹科技大学);Shandong University(山东大学)

Chenyang Ren, Yifan Jia, Huanyi Xie, Zhaobin Xu, Tianxing Wei, Liangyu Wang, Lijie Hu, Di Wang

AI总结:

本文针对锐度感知最小化(SAM)的双层优化结构,提出基于 Hessian 和基于梯度轨迹的两种影响函数数据归因方法,用于准确高效地评估训练样本贡献,并在错误标注数据识别、模型编辑和可解释性增强等任务中验证了有效性。

摘要:

锐度感知最小化(SAM)通过将损失景观几何与泛化联系起来,改进了大规模模型训练中的泛化性能。然而,错误标注的噪声数据和隐私担忧等挑战已成为重要问题。数据归因通过识别特定训练样本的贡献,提供了一种有前景的解决方案。然而,直接将现有的数据影响评估工具(如影响函数 IF)应用于 SAM 将不适用或不准确,因为 SAM 利用内层循环寻找使损失最大化的模型扰动,再由外层循环将其最小化,从而形成双倍的计算结构。此外,这种双层结构使数据对参数影响的建模变得复杂。在本文中,基于 IF,我们为 SAM 开发了两种创新的数据估值方法,每种方法在不同场景下具有独特优势:基于 Hessian 的 IF 和基于梯度轨迹的 IF。第一种方法利用仅依赖于已训练模型权重的闭式度量,提供对数据影响的全面估计。相比之下,另一种用于 SAM 的 IF 利用训练过程中的梯度轨迹信息,以实现更准确和高效的数据评估。大量实验证明了它们在数据评估和参数调优中的有效性,并应用于识别错误标注数据、模型编辑和增强可解释性。

英文摘要:

Sharpness-aware Minimization (SAM) improves generalization in large-scale model training by linking loss landscape geometry to generalization. However, challenges such as mislabeled noisy data and privacy concerns have emerged as significant issues. Data attribution, which identifies the contributions of specific training samples, offers a promising solution. However, directly rendering existing data influence evaluation tools such as influence functions (IF) to SAM will be inapplicable or inaccurate as SAM utilizes an inner loop to find model perturbations that maximize loss, which the outer loop then minimizes, resulting in a doubled computational structure. Additionally, this bilevel structure complicates the modeling of data influence on the parameters. In this paper, based on the IF, we develop two innovative data valuation methods for SAM, each offering unique benefits in different scenarios: the Hessian-based IF and the Gradient Trajectory-based IF. The first one provides a comprehensive estimation of data influence using a closed-form measure that relies only on the trained model weights. In contrast, the other IF for SAM utilizes gradient trajectory information during training for more accurate and efficient data assessment. Extensive experiments demonstrate their effectiveness in data evaluation and parameter tuning, with applications in identifying mislabeled data, model editing, and enhancing interpretability.

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

↑