Skip to main content
QUICK REVIEW

[Paper Review] Few-shot Backdoor Attacks via Neural Tangent Kernels

Jonathan Hayase, Sewoong Oh|arXiv (Cornell University)|Oct 12, 2022
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes Neural Tangent Backdoor Attack (NTBA), a few-shot backdoor attack that uses Neural Tangent Kernels (NTKs) to optimize poison training examples for maximum attack success rate with minimal poisoned data. By modeling training dynamics via NTKs, NTBA designs highly effective poison examples that achieve 90% attack success rate with ten times fewer examples than baseline methods on CIFAR-10 and ImageNet subsets.

ABSTRACT

In a backdoor attack, an attacker injects corrupted examples into the training set. The goal of the attacker is to cause the final trained model to predict the attacker's desired target label when a predefined trigger is added to test inputs. Central to these attacks is the trade-off between the success rate of the attack and the number of corrupted training examples injected. We pose this attack as a novel bilevel optimization problem: construct strong poison examples that maximize the attack success rate of the trained model. We use neural tangent kernels to approximate the training dynamics of the model being attacked and automatically learn strong poison examples. We experiment on subclasses of CIFAR-10 and ImageNet with WideResNet-34 and ConvNeXt architectures on periodic and patch trigger attacks and show that NTBA-designed poisoned examples achieve, for example, an attack success rate of 90% with ten times smaller number of poison examples injected compared to the baseline. We provided an interpretation of the NTBA-designed attacks using the analysis of kernel linear regression. We further demonstrate a vulnerability in overparametrized deep neural networks, which is revealed by the shape of the neural tangent kernel.

Motivation & Objective

  • To address the fundamental trade-off between the number of poisoned training examples and attack success rate in backdoor attacks.
  • To develop a method that constructs stronger poison examples than random sampling, especially in low-data regimes.
  • To leverage Neural Tangent Kernels (NTKs) to model and optimize the training dynamics of deep neural networks for backdoor attack design.
  • To provide theoretical interpretation of attack strength using kernel linear regression analysis.
  • To reveal inherent vulnerabilities in overparametrized deep neural networks through the geometry of their NTKs.

Proposed method

  • Formulate the backdoor attack as a bilevel optimization problem: optimize poison examples to maximize the final model's attack success rate.
  • Use Neural Tangent Kernels (NTKs) to approximate the training dynamics of the target model, enabling efficient gradient-based optimization of poison examples.
  • Construct poison examples by solving a kernel ridge regression problem derived from the NTK, which models how the model weights evolve during training.
  • Design poison examples with minimal trigger magnitude and high similarity to clean data in the input space to maximize influence.
  • Compare NTK-based attacks with those based on the Laplace kernel to analyze differences in generalization and vulnerability.
  • Use synthetic 3D datasets to demonstrate that NTKs maintain strong influence from distant points, enabling robust backdoor generalization.

Experimental results

Research questions

  • RQ1Can Neural Tangent Kernels be used to design more effective backdoor poison examples with fewer training injections?
  • RQ2How does the geometry of the NTK influence the generalization and strength of backdoor attacks?
  • RQ3Why are overparametrized deep neural networks particularly vulnerable to few-shot backdoor attacks?
  • RQ4What role does the magnitude and spatial placement of the trigger play in attack effectiveness?
  • RQ5How does the influence of a single poison point decay with distance in NTK-based models compared to other kernels?

Key findings

  • NTBA achieves an attack success rate of 90% on ImageNet and CIFAR-10 subsets using only 10 poison examples, which is ten times more efficient than the sampling baseline.
  • For periodic triggers, NTBA reaches 72% attack success rate with just 10 poison examples, compared to 80% with 100 examples using the baseline.
  • The strength of the backdoor attack increases significantly as the trigger magnitude decreases, especially when the poison example is close to clean data in input space.
  • NTK-based models generalize the backdoor effect to all test examples, even those far from the poison point, due to persistent influence from the poison example.
  • In contrast, the Laplace kernel shows rapid decay in influence with distance, failing to generalize the backdoor beyond a few nearby points.
  • The NTK's oblique asymptotic behavior under high input magnitude leads to greater vulnerability to few-shot backdoor attacks compared to the Laplace kernel.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.