Delta-Influence: Unlearning Poisons via Influence Functions
Wenjie Li, Jiawei Li, Pengcheng Zeng, Christian Schroeder de Witt, Ameya Prabhu, Amartya Sanyal
TL;DR
This work tackles data poisoning by reframing unlearning as a forensic attribution problem: given an affected test example, identify a small set of training samples whose removal eliminates the attack. The authors introduce Delta-Influence, which tracks how a training point's influence on a poisoned test point changes under test-time transformations, exploiting a phenomenon they call influence collapse to flag poisoned data. Evaluated on three attacks (Frequency Trigger, Witches' Brew, BadNet) across CIFAR-10/100 and Imagenette with ResNet-18, Delta-Influence consistently achieves superior unlearning performance with minimal accuracy loss, outperforming five detection baselines and five unlearning methods. The method is shown to be robust across settings and scalable, and the authors provide public code to facilitate adoption and further research.
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
