Abstract
Deep learning models are notoriously vulnerable to backdoor attacks, where poisoned training data causes misclassification of inputs containing specific triggers. Traditional representation-based defenses often fail against subtle or "hidden" triggers that do not leave distinct footprints in the latent space. This paper proposes a novel defense framework that shifts focus from data representation to the functional influence between data points. By constructing an Influence Graph and identifying the Maximum Average Sub-graph, the method effectively isolates poisoned data. Experiments across Computer Vision (CV) and Natural Language Processing (NLP) tasks demonstrate that this approach significantly outperforms state-of-the-art baselines, particularly against complex, input-aware, and syntactic attacks.
Introduction
Deep learning models are vulnerable to backdoor attacks where an attacker injects a small amount of "poisoned" data into the training set. This data contains a specific trigger—such as a pixel pattern or a specific word—paired with a target label. While the resulting model performs well on clean data, it misclassifies any input containing the trigger.
Existing defenses primarily rely on representation-based methods, which seek outliers in the model's internal activations. However, these methods face two major challenges: unpredictable non-linearity in neural networks can cause poisoned and clean data to have nearly identical representations, and modern "hidden" triggers (e.g., syntactic changes or image blending) may not leave obvious footprints in the latent space.
Methodology
The proposed framework utilizes Influence Functions to characterize the relationship between data points. Instead of analyzing a point in isolation, the method asks: "If point A were removed from the training set, how much would the model's prediction for point B change?"
1. Computing Influence
The Influence Function uses the model's Hessian (second-order derivatives) to estimate the impact of a training point without retraining. For NLP tasks, influence is further refined at the word level to capture fine-grained manipulations.
2. Influence Graph Construction
A graph is built where nodes represent training points and edges represent pairwise influence. Because poisoned points rely on the same unnatural pattern to reach a target label, they exhibit significantly higher mutual influence than clean points.
3. Poison Extraction
Malicious points are identified by finding the Maximum Average Sub-graph—the "clique" with the highest average edge weight. The authors employ an Agglomerative Search strategy, starting with individual nodes and merging clusters based on mutual influence, which proves more effective at avoiding local optima than simple greedy approaches.
Experimental Evaluation
The framework was evaluated on CV (CIFAR-10) and NLP tasks (SST-2, AG News, IWSLT’14 En-De). Attacks ranged from simple pixel/word insertion to complex input-aware and syntactic triggers.
The proposed Agglomerate method significantly outperformed baselines like SPECTRA and COSIN. In CV, on "Input-aware" attacks, it reduced the Attack Success Rate (ASR) to 0.572 (vs. 0.843 for COSIN). In NLP, on "Syntactic" attacks in the SST2 dataset, it achieved an ASR of 0.146, while traditional outlier detection methods like PCA failed with an ASR of 0.908.
Conclusion and Key Insights
The core insight of this work is that poisoned data points are "co-dependent" in their functional role during training. This influence-based signature allows for an attack-agnostic defense that is robust to various trigger types, whether they are red pixels or passive-voice sentences.
However, computational complexity remains a primary limitation. Calculating the Influence Graph involves computing inverse Hessian-vector products for all pairs, which may be prohibitively expensive for massive datasets. Future work should focus on more efficient influence approximations to scale this framework to larger applications.
Summary updated