Saved in:
Bibliographic Details
Main Authors: Ko, Myeongseob, Kang, Feiyang, Shi, Weiyan, Jin, Ming, Yu, Zhou, Jia, Ruoxi
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2402.08922
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914840603262976
author Ko, Myeongseob
Kang, Feiyang
Shi, Weiyan
Jin, Ming
Yu, Zhou
Jia, Ruoxi
author_facet Ko, Myeongseob
Kang, Feiyang
Shi, Weiyan
Jin, Ming
Yu, Zhou
Jia, Ruoxi
contents Large-scale black-box models have become ubiquitous across numerous applications. Understanding the influence of individual training data sources on predictions made by these models is crucial for improving their trustworthiness. Current influence estimation techniques involve computing gradients for every training point or repeated training on different subsets. These approaches face obvious computational challenges when scaled up to large datasets and models. In this paper, we introduce and explore the Mirrored Influence Hypothesis, highlighting a reciprocal nature of influence between training and test data. Specifically, it suggests that evaluating the influence of training data on test predictions can be reformulated as an equivalent, yet inverse problem: assessing how the predictions for training samples would be altered if the model were trained on specific test samples. Through both empirical and theoretical validations, we demonstrate the wide applicability of our hypothesis. Inspired by this, we introduce a new method for estimating the influence of training data, which requires calculating gradients for specific test samples, paired with a forward pass for each training point. This approach can capitalize on the common asymmetry in scenarios where the number of test samples under concurrent examination is much smaller than the scale of the training dataset, thus gaining a significant improvement in efficiency compared to existing approaches. We demonstrate the applicability of our method across a range of scenarios, including data attribution in diffusion models, data leakage detection, analysis of memorization, mislabeled data detection, and tracing behavior in language models. Our code will be made available at https://github.com/ruoxi-jia-group/Forward-INF.
format Preprint
id arxiv_https___arxiv_org_abs_2402_08922
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Mirrored Influence Hypothesis: Efficient Data Influence Estimation by Harnessing Forward Passes
Ko, Myeongseob
Kang, Feiyang
Shi, Weiyan
Jin, Ming
Yu, Zhou
Jia, Ruoxi
Machine Learning
Large-scale black-box models have become ubiquitous across numerous applications. Understanding the influence of individual training data sources on predictions made by these models is crucial for improving their trustworthiness. Current influence estimation techniques involve computing gradients for every training point or repeated training on different subsets. These approaches face obvious computational challenges when scaled up to large datasets and models. In this paper, we introduce and explore the Mirrored Influence Hypothesis, highlighting a reciprocal nature of influence between training and test data. Specifically, it suggests that evaluating the influence of training data on test predictions can be reformulated as an equivalent, yet inverse problem: assessing how the predictions for training samples would be altered if the model were trained on specific test samples. Through both empirical and theoretical validations, we demonstrate the wide applicability of our hypothesis. Inspired by this, we introduce a new method for estimating the influence of training data, which requires calculating gradients for specific test samples, paired with a forward pass for each training point. This approach can capitalize on the common asymmetry in scenarios where the number of test samples under concurrent examination is much smaller than the scale of the training dataset, thus gaining a significant improvement in efficiency compared to existing approaches. We demonstrate the applicability of our method across a range of scenarios, including data attribution in diffusion models, data leakage detection, analysis of memorization, mislabeled data detection, and tracing behavior in language models. Our code will be made available at https://github.com/ruoxi-jia-group/Forward-INF.
title The Mirrored Influence Hypothesis: Efficient Data Influence Estimation by Harnessing Forward Passes
topic Machine Learning
url https://arxiv.org/abs/2402.08922