Lune

ICML2025Top-tier venue

A Versatile Influence Function for Data Attribution with Non-Decomposable Loss

Junwei Deng, Weijing Tang, Jiaqi W. Ma

Abstract

Influence function, a technique rooted in robust statistics, has been adapted in modern machine learning for a novel application: data attribution-quantifying how individual training data points affect a model's predictions. However, the common derivation of influence functions in the data attribution literature is limited to loss functions that can be decomposed into a sum of individual data point losses, with the most prominent examples known as M-estimators. This restricts the application of influence functions to more complex learning objectives, which we refer to as nondecomposable losses, such as contrastive or ranking losses, where a unit loss term depends on multiple data points and cannot be decomposed further. In this work, we bridge this gap by revisiting the general formulation of influence function from robust statistics, which extends beyond M-estimators. Based on this formulation, we propose a novel method, the Versatile Influence Function (VIF), that can be straightforwardly applied to machine learning models trained with any non-decomposable loss. In comparison to the classical approach in statistics, the proposed VIF is designed to fully leverage the power of auto-differentiation, hereby eliminating the need for case-specific derivations of each loss function. We demonstrate the effectiveness of VIF across three examples: Cox regression for survival analysis, node embedding for network analysis, and listwise learning-to-rank for information retrieval. In all cases, the influence estimated by VIF closely resembles the results obtained by brute-force leave-one-out retraining, while being up to 10 3 times faster to compute. We believe VIF represents a significant advancement in data attribution, enabling efficient influence-function-based attribution across a wide range of machine learning paradigms, with broad potential for practical use cases.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient Estimation of Kernel Surrogate Models for Task Attribution cites DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Models
  • Efficient Estimation of Kernel Surrogate Models for Task Attribution cites Estimating Training Data Influence by Tracing Gradient Descent
  • DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Models cites Scaling Up Influence Functions
  • DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Models cites Estimating Training Data Influence by Tracing Gradient Descent
  • TRAK: Attributing Model Behavior at Scale cites Scaling Up Influence Functions
  • TRAK: Attributing Model Behavior at Scale cites Estimating Training Data Influence by Tracing Gradient Descent
  • Scaling Up Influence Functions cites Estimating Training Data Influence by Tracing Gradient Descent
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Efficient Estimation of Kernel Surrogate Models for Task AttributionZhenshuo Zhang, Minxuan Duan, Hongyang R. ZhangICLR 2026 · 6 citations
  2. On the Fragility of Data Attribution When Learning Is DistributedXian Gao, Bo Hui, MIN-TE SUN, Wei-Shinn KuICML 2026

Builds on7

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 citations
  3. TRAK: Attributing Model Behavior at ScaleSung Min Park, Kristian Georgiev, Andrew Ilyas, Guillaume Leclerc et al.ICML 2023 · 260 citations
  4. Scaling Up Influence FunctionsAndrea Schioppa, Polina Zablotskaia, David Vilar, Artem SokolovAAAI 2022 · 149 citations
  5. DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion ModelsYongchan Kwon, Eric Wu, Kevin Wu, James ZouICLR 2024 · 112 citations

Related papers

  1. Rescaled Influence Functions: Accurate Data Attribution in High DimensionIttai Rubinstein, Samuel B. HopkinsNeurIPS 2025 · 3 citations
  2. Taming Hyperparameter Sensitivity in Data Attribution: Practical Selection Without Costly RetrainingWeiyi Wang, Junwei Deng, Yuzheng Hu, Shiyuan Zhang et al.NeurIPS 2025 · 4 citations
  3. Dissecting Representation Misalignment in Contrastive Learning via Influence FunctionHuanyi Xie, Chenyang Ren, Khouloud Saadi, Shu Yang et al.ICLR 2026 · 6 citations
  4. Influence Functions in Deep Learning Are FragileSamyadeep Basu, Phillip Pope, Soheil FeiziICLR 2021 · 15 citations
  5. Interpreting Robust Optimization via Adversarial Influence FunctionsZhun Deng, Cynthia Dwork, Jialiang Wang, Linjun ZhangICML 2020 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines