On the (In)feasibility of ML Backdoor Detection as an Hypothesis Testing Problem
Georg Pichler, Marco Romanelli, Divya Prakash Manivannan, Prashanth Krishnamurthy, Farshad Khorrami, Siddharth Garg
TL;DR
This paper formalizes backdoor detection as a statistical hypothesis-testing problem, defining a rigorous mbd framework with training data size $N$, backdoor fraction $\gamma$, and auxiliary clean data $M$. It proves a no-free-lunch type impossibility for universal (adversary-unaware) detection over large alphabets, while establishing finite-alphabet achievability bounds that depend on the alphabet size, $N$, and the total-variation distance between clean and backdoored distributions. It also links backdoor detection to PAC-learnability of out-of-distribution detection, showing that if an easier detector is learnable, near-optimal performance can transfer to more complex detectors. An extension to general sbd settings is provided, and the conclusions emphasize that practical, robust backdoor defenses must be adversary-aware or rely on distributional assumptions rather than rely on universal detection. The work thus clarifies fundamental limits and guides the design of more realistic, attack-aware defense strategies with connections to established learning-theoretic principles.
Abstract
We introduce a formal statistical definition for the problem of backdoor detection in machine learning systems and use it to analyze the feasibility of such problems, providing evidence for the utility and applicability of our definition. The main contributions of this work are an impossibility result and an achievability result for backdoor detection. We show a no-free-lunch theorem, proving that universal (adversary-unaware) backdoor detection is impossible, except for very small alphabet sizes. Thus, we argue, that backdoor detection methods need to be either explicitly, or implicitly adversary-aware. However, our work does not imply that backdoor detection cannot work in specific scenarios, as evidenced by successful backdoor detection methods in the scientific literature. Furthermore, we connect our definition to the probably approximately correct (PAC) learnability of the out-of-distribution detection problem.
