Backdoor attacks remain a serious threat to deep neural networks, but most defense methods assume balanced training data. Real-world datasets are often class-imbalanced, and this paper provides the first in-depth investigation of how that imbalance amplifies backdoor vulnerability. The authors show that imbalance induces a majority-class bias that increases susceptibility, and that conventional defenses degrade significantly as imbalance grows.

To counter this, they propose Randomized Probability Perturbation (RPP), a certified poisoned-sample detection framework that works in a black-box setting using only model output probabilities. For any inspected sample, RPP determines whether the input has been backdoor-manipulated, while offering provable within-domain detectability guarantees and a probabilistic upper bound on the false positive rate.

Experiments on five benchmarks (MNIST, SVHN, CIFAR-10, TinyImageNet, and ImageNet10) covering 10 backdoor attacks and 12 baseline defenses show that RPP achieves significantly higher detection accuracy than state-of-the-art defenses, particularly under dataset imbalance. The work establishes both a theoretical and practical foundation for defending against backdoor attacks in real-world environments with imbalanced data.