Influence functions serve as crucial tools for assessing sample influence in model interpretation, subset training set selection, noisy label detection, and more. By employing the first-order Taylor extension, influence functions can estimate sample influence without the need for expensive model retraining. However, applying influence functions directly to deep models presents challenges, primarily due to the non-convex nature of the loss function and the large size of model parameters. This difficulty not only makes computing the inverse of the Hessian matrix costly but also renders it non-existent in some cases. Various approaches, including matrix decomposition, have been explored to expedite and approximate the inversion of the Hessian matrix, with the aim of making influence functions applicable to deep models. In this paper, we revisit a specific, albeit naive, yet effective approximation method known as TracIn. This method substitutes the inverse of the Hessian matrix with an identity matrix. We provide deeper insights into why this simple approximation method performs well. Furthermore, we extend its applications beyond measuring model utility to include considerations of fairness and robustness. Finally, we enhance TracIn through an ensemble strategy. To validate its effectiveness, we conduct experiments on synthetic data and extensive evaluations on noisy label detection, sample selection for large language model fine-tuning, and defense against adversarial attacks.
Finite-Sample Approximation of Hessian-Guided Perturbed Wasserstein Gradient Flows
The University of Tokyo(东京大学);Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局);Nanyang Technological University(南洋理工大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能研究中心)
Faithful and Fast Influence Function via Advanced Sampling
Department of Electrical Engineering, Pohang University of Science and Technology, Pohang, Republic of Korea(电子工程系,釜山科学技术大学);Department of Electrons Engineering, Chungnam University, Daejeon, Republic of Korea(电子工程系,全南大学);Department of Electrical and Computer Engineering, Seoul National University, Seoul, Republic of Korea(电气与计算机工程系,首尔国立大学)
TLXML: Task-Level Explanation of Meta-Learning via Influence Functions
Information Technology R&D Center, Mitsubishi Electric Corporation(三菱电机信息科技研发中心);Alberta Machine Intelligence Institute(阿尔伯塔人工智能研究所);Department of Computing Science, University of Alberta(阿尔伯塔大学计算机科学系);Advanced Technology R&D Center, Mitsubishi Electric Corporation(三菱电机先进技术研发中心)