Delta-Influence: Unlearning Poisons via Influence Functions

Wenjie Li, Jiawei Li, Pengcheng Zeng, Christian Schroeder de Witt, Ameya Prabhu +1 more
11/20/2024
cs.CVcs.CRcs.LG

Official code: Ruby-a07/delta-influence (4 stars, MIT, last commit 2025-10-23). 1 more implementation below.

Abstract

Addressing data integrity challenges, such as unlearning the effects of data poisoning after model training, is necessary for the reliable deployment of machine learning models. State-of-the-art influence functions, such as EK-FAC and TRAK, often fail to accurately attribute abnormal model behavior to the specific poisoned training data responsible for the data poisoning attack. In addition, traditional unlearning algorithms often struggle to effectively remove the influence of poisoned samples, particularly when only a few affected examples can be identified. To address these challenge, we introduce $Δ$-Influence, a novel approach that leverages influence functions to trace abnormal model behavior back to the responsible poisoned training data using as little as just one poisoned test example. $Δ$-Influence applies data transformations that sever the link between poisoned training data and compromised test points without significantly affecting clean data. This allows $Δ$-Influence to detect large negative shifts in influence scores following data transformations, a phenomenon we term as influence collapse, thereby accurately identifying poisoned training data. Unlearning this subset, e.g. through retraining, effectively eliminates the data poisoning. We validate our method across three vision-based poisoning attacks and three datasets, benchmarking against five detection algorithms and five unlearning strategies. We show that $Δ$-Influence consistently achieves the best unlearning across all settings, showing the promise of influence functions for corrective unlearning. Our code is publicly available at: https://github.com/Ruby-a07/delta-influence

View on arXivView PDF

Code Implementations(2)

MIT

code for paper

40Shell, PythonMay 11, 202512 months agoMIT
MIT
50Shell, PythonNov 9, 20241 years agoMIT

Similar Papers

Cite this paper

@article{li2024deltainfluence,
  title  = {Delta-Influence: Unlearning Poisons via Influence Functions},
  author = {Wenjie Li and Jiawei Li and Pengcheng Zeng and Christian Schroeder de Witt and Ameya Prabhu and Amartya Sanyal},
  year   = {2024},
  eprint = {2411.13731},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.13731v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.13731.svg)](https://codeofpaper.com/paper/2411.13731)

Discussion