Table of Contents
Fetching ...

Backdoor defense, learnability and obfuscation

Paul Christiano, Jacob Hilton, Victor Lecomte, Mark Xu

TL;DR

This work introduces a formal game-theoretic notion of defendability against backdoors, requiring runtime trigger detection under a random-trigger constraint that breaks symmetry between clean and backdoored functions. It links defendability to learnability: in the unbounded setting it aligns with VC dimension, while in the computational setting efficient defendability follows from efficient PAC learning but does not imply it, and can fail under obfuscation, as shown with polynomial-size circuits. The paper also demonstrates a natural, fast defense for polynomial-size decision trees that outpaces learning, and discusses mechanistic defenses, separations from PAC learnability, and AI-alignment implications. Overall, efficient defendability sits between efficient learnability and obfuscation, offering a nuanced lens on the trade-offs between detection capability, computational constraints, and the structure of the hypothesis class.

Abstract

We introduce a formal notion of defendability against backdoors using a game between an attacker and a defender. In this game, the attacker modifies a function to behave differently on a particular input known as the "trigger", while behaving the same almost everywhere else. The defender then attempts to detect the trigger at evaluation time. If the defender succeeds with high enough probability, then the function class is said to be defendable. The key constraint on the attacker that makes defense possible is that the attacker's strategy must work for a randomly-chosen trigger. Our definition is simple and does not explicitly mention learning, yet we demonstrate that it is closely connected to learnability. In the computationally unbounded setting, we use a voting algorithm of Hanneke et al. (2022) to show that defendability is essentially determined by the VC dimension of the function class, in much the same way as PAC learnability. In the computationally bounded setting, we use a similar argument to show that efficient PAC learnability implies efficient defendability, but not conversely. On the other hand, we use indistinguishability obfuscation to show that the class of polynomial size circuits is not efficiently defendable. Finally, we present polynomial size decision trees as a natural example for which defense is strictly easier than learning. Thus, we identify efficient defendability as a notable intermediate concept in between efficient learnability and obfuscation.

Backdoor defense, learnability and obfuscation

TL;DR

This work introduces a formal game-theoretic notion of defendability against backdoors, requiring runtime trigger detection under a random-trigger constraint that breaks symmetry between clean and backdoored functions. It links defendability to learnability: in the unbounded setting it aligns with VC dimension, while in the computational setting efficient defendability follows from efficient PAC learning but does not imply it, and can fail under obfuscation, as shown with polynomial-size circuits. The paper also demonstrates a natural, fast defense for polynomial-size decision trees that outpaces learning, and discusses mechanistic defenses, separations from PAC learnability, and AI-alignment implications. Overall, efficient defendability sits between efficient learnability and obfuscation, offering a nuanced lens on the trade-offs between detection capability, computational constraints, and the structure of the hypothesis class.

Abstract

We introduce a formal notion of defendability against backdoors using a game between an attacker and a defender. In this game, the attacker modifies a function to behave differently on a particular input known as the "trigger", while behaving the same almost everywhere else. The defender then attempts to detect the trigger at evaluation time. If the defender succeeds with high enough probability, then the function class is said to be defendable. The key constraint on the attacker that makes defense possible is that the attacker's strategy must work for a randomly-chosen trigger. Our definition is simple and does not explicitly mention learning, yet we demonstrate that it is closely connected to learnability. In the computationally unbounded setting, we use a voting algorithm of Hanneke et al. (2022) to show that defendability is essentially determined by the VC dimension of the function class, in much the same way as PAC learnability. In the computationally bounded setting, we use a similar argument to show that efficient PAC learnability implies efficient defendability, but not conversely. On the other hand, we use indistinguishability obfuscation to show that the class of polynomial size circuits is not efficiently defendable. Finally, we present polynomial size decision trees as a natural example for which defense is strictly easier than learning. Thus, we identify efficient defendability as a notable intermediate concept in between efficient learnability and obfuscation.
Paper Structure (26 sections, 19 theorems, 46 equations, 3 figures)

This paper contains 26 sections, 19 theorems, 46 equations, 3 figures.

Key Result

Theorem 4.1

Let $\mathcal{F}$ be a representation class over $\left\{0,1\right\}^n$ and let $\varepsilon>0$. Then the most (i.e., supremum) confidence with which $\mathcal{F}$ is $\varepsilon$-defendable is as $\operatorname{VC}\left(\mathcal{F}\right)\to\infty$.

Figures (3)

  • Figure 1: The game used to define $\varepsilon$-defendability for a class $\mathcal{F}$ of $0,1$-valued functions.
  • Figure 2: Summary of the results in this paper.
  • Figure 3: An example of a decision tree $f$ over $\left\{0,1\right\}^4$ with a red path showing how $f\left(0110\right)=1$.

Theorems & Definitions (52)

  • Definition 3.1
  • Example : Existing backdoor removal
  • Remark
  • Theorem 4.1
  • Definition
  • Theorem : Haussler--Littlestone--Warmuth
  • proof : Sketch proof of Theorem \ref{['theorem:unbounded']}
  • Definition 5.1
  • Definition
  • Corollary 5.2
  • ...and 42 more