The Victim and The Beneficiary: Exploiting a Poisoned Model to Train a Clean Model on Poisoned Data

Zixuan Zhu, Rui Wang, Cong Zou, Lihua JingICCV 2023

Introduction

Deep Neural Networks (DNNs) are increasingly reliant on massive datasets sourced from potentially untrusted third parties. This dependency exposes models to backdoor attacks, where an attacker injects a hidden trigger into a subset of training data to manipulate model behavior at inference time. While existing defenses often rely on a small, verified "clean" dataset to sanitize models, such data is frequently unavailable in practice. This paper proposes the Victim and Beneficiary (V&B) framework, a dual-network approach designed to train a secure model directly on a poisoned dataset without any clean reference samples.

Methodology: The V&B Framework

The core of the V&B framework lies in the observation that neural networks learn simple backdoor triggers significantly faster than complex benign features. This leads to a distinct "entropy gap" early in training: poisoned samples exhibit much lower prediction entropy (higher confidence) than benign ones.

Average prediction entropy over training epochs for various backdoor attacks. Poisoned samples consistently show lower entropy early on, providing a signal for separation.

The framework operates in three distinct stages to exploit this phenomenon:

  1. Warming Up (The Victim): The training set is partitioned based on prediction entropy. A "Victim" network is intentionally trained on the low-entropy (suspicious) samples. By doing so, the Victim network is sacrificed to become highly sensitive to the backdoor, effectively acting as a poisoned-sample detector.
  2. Clean Training (The Beneficiary): A second "Beneficiary" network is trained on high-entropy (credible) samples. To mitigate the risk of missed poisoned samples, the authors introduce AttentionMix. This augmentation technique identifies high-activation regions (attention maps) in images—often where triggers reside—and blends them with other images to disrupt the trigger's structural integrity.
  3. Semi-supervised Suppression: To avoid losing the benign information within suspicious samples, the Victim network pseudo-labels them. The framework then applies a suppression mechanism to lower the probability of the attacker's target class before fine-tuning the Beneficiary network on this relabeled data.
The V&B pipeline showing the three stages of training, the AttentionMix augmentation process, and the label suppression mechanism.

Key Insights

  • Entropy as a Separator: The speed of memorization for simple patterns allows early-stage prediction entropy to serve as a robust filter for poisoned data.
  • Model Sacrifice: Intentionally overfitting one model to the backdoor (the Victim) creates a superior filter for the primary deployment model (the Beneficiary).
  • Targeted Augmentation: Unlike generic methods like CutMix, AttentionMix specifically targets and breaks apart the high-activation regions where stealthy triggers are likely located.
  • Suppression over Discarding: Relabeling suspicious samples while suppressing the target class allows the model to still learn useful features from poisoned images without adopting the backdoor behavior.

Results and Evaluation

The V&B framework was evaluated on CIFAR-10 and an ImageNet subset against six state-of-the-art backdoor attacks, including both poison-label (e.g., BadNets, WaNet) and clean-label (e.g., SIG, CL) variants.

  • Attack Success Rate (ASR): On CIFAR-10, V&B reduced the ASR from over 95% in baseline models to ~1% or lower across all tested attacks.
  • Benign Accuracy (BA): The defense maintains high performance on clean data, typically seeing only a ~1% drop in accuracy compared to a standard model trained on clean data (e.g., 93.96% BA vs. 94.36% baseline).
  • Robustness to Poisoning Rate: The framework remains effective even at high poisoning rates (up to 50%), consistently keeping the ASR near zero.

Conclusion

The V&B framework demonstrates that it is possible to train a clean, high-performance model even when the entire available dataset is potentially compromised. By weaponizing the model's own tendency to learn simple triggers first, the "Victim and Beneficiary" approach provides a powerful, data-efficient defense against sophisticated backdoor attacks.

Summary updated

BibTeX
@inproceedings{zhu2023victim,
  author = {Zixuan Zhu and Rui Wang and Cong Zou and Lihua Jing},
  title = {{The Victim and The Beneficiary: Exploiting a Poisoned Model to Train a Clean Model on Poisoned Data}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure