[Paper Review] Adversarial Unlearning of Backdoors via Implicit Hypergradient
The paper introduces I-BAU, an Implicit Backdoor Adversarial Unlearning algorithm that solves a minimax backdoor-removal problem using implicit hypergradients, with convergence and generalization guarantees and strong empirical results across diverse attacks.
We propose a minimax formulation for removing backdoors from a given poisoned model based on a small set of clean data. This formulation encompasses much of prior work on backdoor removal. We propose the Implicit Bacdoor Adversarial Unlearning (I-BAU) algorithm to solve the minimax. Unlike previous work, which breaks down the minimax into separate inner and outer problems, our algorithm utilizes the implicit hypergradient to account for the interdependence between inner and outer optimization. We theoretically analyze its convergence and the generalizability of the robustness gained by solving minimax on clean data to unseen test data. In our evaluation, we compare I-BAU with six state-of-art backdoor defenses on seven backdoor attacks over two datasets and various attack settings, including the common setting where the attacker targets one class as well as important but underexplored settings where multiple classes are targeted. I-BAU's performance is comparable to and most often significantly better than the best baseline. Particularly, its performance is more robust to the variation on triggers, attack settings, poison ratio, and clean data size. Moreover, I-BAU requires less computation to take effect; particularly, it is more than $13 imes$ faster than the most efficient baseline in the single-target attack setting. Furthermore, it can remain effective in the extreme case where the defender can only access 100 clean samples -- a setting where all the baselines fail to produce acceptable results.
Motivation & Objective
- Provide a minimax formulation for removing backdoors from poisoned models using limited clean data.
- Develop an efficient solver based on implicit hypergradients that captures inner-outer optimization interdependence.
- Analyze convergence and generalization of the minimax defense on linear models and neural networks.
- Empirically compare I-BAU to six state-of-the-art defenses across multiple backdoor attacks and datasets.
Proposed method
- Formulate backdoor removal as a minimax problem with inner maximization over a trigger delta and outer minimization over model parameters theta.
- Derive the implicit hypergradient psi'(theta) = grad_2 H(delta(theta), theta) + (delta'(theta))^T grad_1 H(delta(theta), theta) using the implicit function theorem.
- Approximate the inner maximizer delta(theta) with an iterative solver and plug the approximate delta into the hypergradient to update theta.
- Provide a memory-efficient implementation by using the implicit hypergradient, avoiding full bi-level optimization paths.
- Offer convergence guarantees under standard convexity and Lipschitz assumptions and discuss generalization bounds for linear models and neural networks.
- Show that large norm bounds on backdoor perturbations do not significantly hurt clean accuracy in practice.
Experimental results
Research questions
- RQ1Can I-BAU robustly remove backdoors under varied trigger patterns and attack settings?
- RQ2Does solving the minimax with implicit hypergradients provide stable and efficient defense compared to trigger-synthesis based methods?
- RQ3What are the convergence properties and generalization guarantees of I-BAU for linear models and neural networks?
- RQ4How does I-BAU perform when access to clean data is limited or small?
- RQ5Is I-BAU robust to both single-target and multi-target backdoor attacks across datasets?
Key findings
- I-BAU achieves comparable or superior robustness across seven backdoor attacks and two datasets compared to six baselines.
- I-BAU is more robust to trigger variation, attack settings, poison ratio, and clean data size than baselines.
- I-BAU is significantly more computation-efficient, up to 13x faster than the most efficient baseline in single-target settings.
- I-BAU remains effective even when only 100 clean samples are available, a scenario where baselines fail.
- Theoretical analysis provides convergence bounds and generalization guarantees for both linear models and neural networks.
- Empirical results include successful mitigation for one-trigger and multi-trigger attacks, as well as under-explored multi-target attack scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.