Boosting Backdoor Attack with A Learnable Poisoning Sample Selection Strategy

Zihao Zhu, Mingda Zhang, Shaokui Wei, Li Shen, Yanbo Fan, Baoyuan Wu · DOI

Abstract

Backdoor attacks typically rely on random sample selection for poisoning training data. This paper introduces Learnable Poisoning sample Selection (LPS), a novel min-max optimization strategy that identifies "hard" samples for poisoning. By forcing the model to learn the backdoor from samples that naturally resist the mapping, LPS significantly enhances the Attack Success Rate (ASR) across various datasets and trigger types while maintaining computational efficiency. Experimental results demonstrate that LPS can boost ASR by over 30% in low-poisoning scenarios compared to traditional random selection.

Introduction

In a data-poisoning backdoor attack, an adversary injects a small number of "poisoned" images—samples modified with a specific trigger—into a training set. The objective is to create a model that functions normally on clean data but misclassifies any input containing the trigger into a target class. While significant research has focused on designing stealthy or complex triggers, the strategy for selecting which samples to poison has been largely overlooked.

Overview of the backdoor attack pipeline and common trigger designs.

Most existing attacks simply pick a random subset of the training data. A previous attempt to improve this, known as the FUS strategy, utilized "forgetting events" to identify influential samples. However, FUS is computationally expensive and limited to local data pools. This paper addresses these gaps by proposing a global, efficient, and learnable selection strategy.

The LPS Framework

The core contribution of this work is the Learnable Poisoning sample Selection (LPS) strategy. LPS treats sample selection as a "two-player game" formulated through min-max optimization.

Comparison of poisoning sample selection strategies: (a) Random, (b) FUS, and (c) the proposed LPS strategy.

The optimization process consists of two nested loops:

  1. The Inner Loop (Adversarial Selection): This step identifies a binary mask to select samples that maximize the training loss. The underlying hypothesis is that "hard" samples—those that naturally resist the backdoor mapping—provide the most informative signals. If a model can be forced to learn the backdoor from these difficult images, the behavior generalizes more effectively to "easier" samples during inference.
  2. The Outer Loop (Model Update): This step updates a surrogate model's parameters by minimizing the loss on the selected poisoned samples, simulating the training process of a potential victim.

To ensure practical applicability, the attacker uses a surrogate model (e.g., ResNet-18) to identify these high-contribution samples. These selected samples are then poisoned and used to attack the actual target model, which may have a different architecture (e.g., ResNet-34).

Experimental Evaluation

The authors evaluated LPS across three standard benchmarks: CIFAR-10, CIFAR-100, and Tiny-ImageNet. They tested the strategy against five representative backdoor attacks: BadNets, Blended, SIG, SSBA, and Trojan-WM.

Performance Gains

The quantitative improvements are most pronounced at low poisoning ratios, where stealth is prioritized. For instance, on CIFAR-10 with a poisoning ratio of 0.216%, LPS boosted the Attack Success Rate (ASR) of a BadNets "all-to-all" attack to 36.64%, a massive jump from the 0.93% achieved via random selection.

Robustness to Defense

Models poisoned using LPS-selected samples proved more resilient to standard backdoor defenses. Under Neural Attention Distillation (NAD), LPS-boosted attacks maintained significantly higher ASRs than those using random or FUS-based selection, suggesting that the "hard" samples create a more deeply embedded backdoor.

Key Insights

  • The "Harder is Better" Principle: Forcing the model to memorize the trigger on difficult images makes it more sensitive to the trigger on simpler images later.
  • Global Optimization: Unlike local filtering methods, LPS considers the entire dataset simultaneously, leading to a more optimal set of poisoning candidates.
  • Transferability: The "hardness" of a sample appears to be an intrinsic property of the data. Samples identified as effective for a surrogate model remain highly effective against different target architectures.
  • Efficiency: LPS avoids the overhead of tracking forgetting events over hundreds of epochs, making it significantly faster than previous selection methods.

Conclusion

LPS demonstrates that the choice of poisoning samples is a critical, yet previously understudied, dimension of backdoor attacks. By framing selection as a learnable optimization problem, attackers can achieve high success rates even with very low poisoning budgets. Future work may involve the co-optimization of trigger design and sample selection to create even more potent and stealthy backdoors.

Summary updated

BibTeX
@misc{zhu2023boosting,
  author = {Zihao Zhu and Mingda Zhang and Shaokui Wei and Li Shen and Yanbo Fan and Baoyuan Wu},
  title = {{Boosting Backdoor Attack with A Learnable Poisoning Sample Selection Strategy}},
  year = {2023},
  eprint = {2307.07328},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.07328},
}
Figure