Influence-Based Fair Selection for Sample-Discriminative Backdoor Attack

Qi Wei, Shuo He, Jiahan Zhang, Lei Feng, Bo An

Introduction

Backdoor attacks represent a significant security threat to machine learning models. In these scenarios, an adversary "poisons" a small portion of the training dataset by injecting a specific trigger—such as a small pixel pattern or a faint overlay. A model trained on this corrupted data behaves normally on clean inputs but outputs a target label of the attacker's choosing whenever the trigger is present at inference time.

To evade detection by human auditors or automated defensive scanners, modern attacks prioritize stealth. Stealth is typically defined by two parameters: a low poisoning rate ($r$), meaning only a tiny fraction of the data is manipulated, and low manipulation strength ($\epsilon$), meaning the trigger itself is nearly invisible or heavily blended into the original image.

The Challenge of Stealthy Backdoor Attacks

Recent advancements in "sample-discriminative" attacks attempt to maximize efficiency by selecting only the "most vulnerable" samples for poisoning. However, researchers have identified a critical failure mode in these methods when high stealth is required. As the manipulation strength ($\epsilon$) decreases, these selection methods become "unfair."

Visualizing manipulation strength (ε) for blended (left) and patched (right) triggers.

Specifically, when the trigger is very faint, existing algorithms tend to cluster their selections within a few "easy" classes. While this might result in a high attack success rate (ASR) for those specific classes, the model fails to learn the backdoor behavior for the rest of the dataset. This imbalance causes the overall ASR to drop significantly in high-stealth regimes, rendering the attack ineffective across the broader data distribution.

Methodology: Influence-Based Fair Selection (IFS)

To address the stealth-fairness tradeoff, the authors propose IFS (Influence-based Fair Selection). This method optimizes sample selection through three core components:

1. Data-Efficient Influence Computation

Calculating the influence of every training point on a model's final state is computationally prohibitive. IFS overcomes this using group-based pruning. By calculating "class prototypes" (the average feature vector for each class), the method focuses only on samples closest to these prototypes. The core insight is that representative samples with distinctive features are more effective at helping the model associate the trigger with the target label.

2. Influence Functions (IF)

IFS adapts Influence Functions—a tool from robust statistics—to estimate the impact of adding a trigger to a specific training sample. It quantifies how much a poisoned sample will reduce the "backdoored test risk," essentially predicting which samples will most effectively contribute to a successful attack.

3. Class-Aware Fair Selection

Unlike previous methods that use a global threshold to pick the most influential samples across the entire dataset, IFS employs adaptive thresholding. It selects an equal number of the most influential samples from every class. This ensures the backdoor is learned uniformly, preventing the class-wise ASR variance that plagues other sample-discriminative methods.

Experimental Evaluation

The effectiveness of IFS was tested across multiple domains and architectures:

  • 2D Image Classification: Evaluated on CIFAR-10, ImageNet-10, and the Raf-db facial expression dataset.
  • 3D Point Clouds: Tested on ModelNet40 using PointNet and PointNet++ architectures.
  • Attack Variations: The study included both "patched" attacks (visible squares) and "blended" attacks (faint overlays).

Key Results

  • Superior Stealth Performance: On ImageNet-10, when trigger visibility was halved, IFS maintained an ASR over 5% higher than the state-of-the-art Forget-Unstable Selection (FUS) method.
  • Resilience to Low Poisoning: Even at extremely low poisoning rates (e.g., $r = 0.005$), IFS outperformed baselines by over 3% on CIFAR-10.
  • Black-Box Transferability: The method remains effective even when the attacker uses a surrogate model (e.g., VGG16) to select samples for a victim training a different architecture (e.g., ResNet18).

Conclusion

IFS demonstrates that "fairness" in sample selection is not merely an ethical constraint but a vital technical optimization for backdoor attacks. By ensuring that poisoned samples are distributed evenly across classes, IFS achieves high attack success rates even under strict stealth requirements. While the use of Influence Functions introduces some computational overhead due to the requirement of second-order information (Hessian matrices), the resulting gains in robustness and stealth represent a significant advancement in the study of adversarial machine learning.

Summary updated

BibTeX
@inproceedings{wei2025influence,
  author = {Qi Wei and Shuo He and Jiahan Zhang and Lei Feng and Bo An},
  title = {{Influence-Based Fair Selection for Sample-Discriminative Backdoor Attack}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i20.35449},
}
Figure