Attributing Data for Sharpness-Aware Minimization

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ren, Chenyang, Jia, Yifan, Xie, Huanyi, Xu, Zhaobin, Wei, Tianxing, Wang, Liangyu, Hu, Lijie, Wang, Di
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908436559560704
author Ren, Chenyang
Jia, Yifan
Xie, Huanyi
Xu, Zhaobin
Wei, Tianxing
Wang, Liangyu
Hu, Lijie
Wang, Di
author_facet Ren, Chenyang
Jia, Yifan
Xie, Huanyi
Xu, Zhaobin
Wei, Tianxing
Wang, Liangyu
Hu, Lijie
Wang, Di
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2507_04059
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Attributing Data for Sharpness-Aware Minimization
Ren, Chenyang
Jia, Yifan
Xie, Huanyi
Xu, Zhaobin
Wei, Tianxing
Wang, Liangyu
Hu, Lijie
Wang, Di
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
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.
title Attributing Data for Sharpness-Aware Minimization
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2507.04059