Understanding Data Influence with Differential Approximation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tan, Haoru, Wu, Sitong, Wu, Xiuzhe, Wang, Wang, Zhao, Bo, Xie, Zeke, Xia, Gui-Song, Qi, Xiaojuan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909745437212672
author Tan, Haoru
Wu, Sitong
Wu, Xiuzhe
Wang, Wang
Zhao, Bo
Xie, Zeke
Xia, Gui-Song
Qi, Xiaojuan
author_facet Tan, Haoru
Wu, Sitong
Wu, Xiuzhe
Wang, Wang
Zhao, Bo
Xie, Zeke
Xia, Gui-Song
Qi, Xiaojuan
contents Data plays a pivotal role in the groundbreaking advancements in artificial intelligence. The quantitative analysis of data significantly contributes to model training, enhancing both the efficiency and quality of data utilization. However, existing data analysis tools often lag in accuracy. For instance, many of these tools even assume that the loss function of neural networks is convex. These limitations make it challenging to implement current methods effectively. In this paper, we introduce a new formulation to approximate a sample's influence by accumulating the differences in influence between consecutive learning steps, which we term Diff-In. Specifically, we formulate the sample-wise influence as the cumulative sum of its changes/differences across successive training iterations. By employing second-order approximations, we approximate these difference terms with high accuracy while eliminating the need for model convexity required by existing methods. Despite being a second-order method, Diff-In maintains computational complexity comparable to that of first-order methods and remains scalable. This efficiency is achieved by computing the product of the Hessian and gradient, which can be efficiently approximated using finite differences of first-order gradients. We assess the approximation accuracy of Diff-In both theoretically and empirically. Our theoretical analysis demonstrates that Diff-In achieves significantly lower approximation error compared to existing influence estimators. Extensive experiments further confirm its superior performance across multiple benchmark datasets in three data-centric tasks: data cleaning, data deletion, and coreset selection. Notably, our experiments on data pruning for large-scale vision-language pre-training show that Diff-In can scale to millions of data points and outperforms strong baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2508_14648
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding Data Influence with Differential Approximation
Tan, Haoru
Wu, Sitong
Wu, Xiuzhe
Wang, Wang
Zhao, Bo
Xie, Zeke
Xia, Gui-Song
Qi, Xiaojuan
Machine Learning
Computer Vision and Pattern Recognition
Data plays a pivotal role in the groundbreaking advancements in artificial intelligence. The quantitative analysis of data significantly contributes to model training, enhancing both the efficiency and quality of data utilization. However, existing data analysis tools often lag in accuracy. For instance, many of these tools even assume that the loss function of neural networks is convex. These limitations make it challenging to implement current methods effectively. In this paper, we introduce a new formulation to approximate a sample's influence by accumulating the differences in influence between consecutive learning steps, which we term Diff-In. Specifically, we formulate the sample-wise influence as the cumulative sum of its changes/differences across successive training iterations. By employing second-order approximations, we approximate these difference terms with high accuracy while eliminating the need for model convexity required by existing methods. Despite being a second-order method, Diff-In maintains computational complexity comparable to that of first-order methods and remains scalable. This efficiency is achieved by computing the product of the Hessian and gradient, which can be efficiently approximated using finite differences of first-order gradients. We assess the approximation accuracy of Diff-In both theoretically and empirically. Our theoretical analysis demonstrates that Diff-In achieves significantly lower approximation error compared to existing influence estimators. Extensive experiments further confirm its superior performance across multiple benchmark datasets in three data-centric tasks: data cleaning, data deletion, and coreset selection. Notably, our experiments on data pruning for large-scale vision-language pre-training show that Diff-In can scale to millions of data points and outperforms strong baselines.
title Understanding Data Influence with Differential Approximation
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.14648