CBD: A Certified Backdoor Detector Based on Local Dominant Probability

Zhen Xiang, Zidi Xiong, Bo Li
2/12/2026

No official code found. Best implementation: zhenxianglance/CBD (6 stars, last commit 2024-07-28).

Abstract

Backdoor attack is a common threat to deep neural networks. During testing, samples embedded with a backdoor trigger will be misclassified as an adversarial target by a backdoored model, while samples without the backdoor trigger will be correctly classified. In this paper, we present the first certified backdoor detector (CBD), which is based on a novel, adjustable conformal prediction scheme based on our proposed statistic local dominant probability. For any classifier under inspection, CBD provides 1) a detection inference, 2) the condition under which the attacks are guaranteed to be detectable for the same classification domain, and 3) a probabilistic upper bound for the false positive rate. Our theoretical results show that attacks with triggers that are more resilient to test-time noise and have smaller perturbation magnitudes are more likely to be detected with guarantees. Moreover, we conduct extensive experiments on four benchmark datasets considering various backdoor types, such as BadNet, CB, and Blend. CBD achieves comparable or even higher detection accuracy than state-of-the-art detectors, and it in addition provides detection certification. Notably, for backdoor attacks with random perturbation triggers bounded by $\ell_2\leq0.75$ which achieves more than 90\% attack success rate, CBD achieves 100\% (98\%), 100\% (84\%), 98\% (98\%), and 72\% (40\%) empirical (certified) detection true positive rates on the four benchmark datasets GTSRB, SVHN, CIFAR-10, and TinyImageNet, respectively, with low false positive rates.

View on arXivView PDF

Code Implementations(1)

zhenxianglance/CBDCommunity100%

Certified backdoor detection

61PythonOct 22, 20232 years ago

Similar Papers

Cite this paper

@article{xiang2026cbd,
  title  = {CBD: A Certified Backdoor Detector Based on Local Dominant Probability},
  author = {Zhen Xiang and Zidi Xiong and Bo Li},
  year   = {2026},
  eprint = {2310.17498},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.17498},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.17498.svg)](https://codeofpaper.com/paper/2310.17498)

Discussion