Skip to main content
QUICK REVIEW

[Paper Review] Gotta Catch 'Em All: Using Concealed Trapdoors to Detect Adversarial Attacks on Neural Networks.

Shawn Shan, Emily Willson|arXiv (Cornell University)|Apr 18, 2019
Adversarial Robustness in Machine LearningComputer Science25 references10 citations
TL;DR

This paper proposes a novel defense against adversarial attacks by embedding concealed trapdoors in deep neural networks that attract adversarial optimization, causing attacks to produce feature representations indistinguishable from those of the trapdoors. The method enables high-accuracy detection of state-of-the-art attacks (PGD, CW, Elastic Net, BPDA) with minimal impact on normal inference, across diverse image classification tasks.

ABSTRACT

Deep neural networks (DNN) are known to be vulnerable to adversarial attacks. Numerous efforts either try to patch weaknesses in trained models, or try to make it difficult or costly to compute adversarial examples that exploit them. In our work, we explore a new approach to protect DNN models. We intentionally inject trapdoors, honeypot weaknesses in the classification manifold that attract attackers searching for adversarial examples. Attackers' optimization algorithms gravitate towards trapdoors, leading them to produce attacks similar to trapdoors in the feature space. Our defense then identifies attacks by comparing neuron activation signatures of inputs to those of trapdoors. In this paper, we introduce trapdoors and describe an implementation of a trapdoor-enabled defense. First, we analytically prove that trapdoors shape the computation of adversarial attacks so that attack inputs will have feature representations very similar to those of trapdoors. Second, we experimentally show that trapdoor-protected models can detect, with high accuracy, adversarial examples generated by state-of-the-art attacks (PGD, optimization-based CW, Elastic Net, BPDA), with negligible impact on normal classification. These results generalize across classification domains, including image, facial, and traffic-sign recognition. We also present significant results measuring trapdoors' robustness against customized adaptive attacks (countermeasures).

Motivation & Objective

  • To address the growing threat of adversarial attacks on deep neural networks in real-world applications.
  • To develop a detection mechanism that does not rely on retraining or modifying the model's decision boundary.
  • To create a defense that is robust against adaptive attackers attempting to evade detection.
  • To ensure minimal degradation in standard classification accuracy while enabling reliable attack detection.

Proposed method

  • Intentionally inject trapdoors—specific, hidden patterns—into the model's feature space during training to create honeypot weaknesses.
  • Leverage the fact that adversarial attack optimization processes are drawn toward low-loss regions, which include the trapdoor locations in the feature manifold.
  • Use neuron activation signatures of inputs to compare against known trapdoor signatures for detection.
  • Formalize the trapdoor's influence on adversarial attack computation via analytical proof that attack inputs converge to feature representations similar to trapdoors.
  • Implement a detection module that flags inputs with activation patterns matching those of the embedded trapdoors.
  • Evaluate robustness against adaptive attacks by simulating attacker attempts to bypass trapdoor detection through perturbation obfuscation or gradient masking.

Experimental results

Research questions

  • RQ1Can trapdoors be strategically placed in the feature space to attract adversarial attacks and alter their feature representations?
  • RQ2To what extent can trapdoor-enabled models detect state-of-the-art adversarial attacks (e.g., PGD, CW, Elastic Net, BPDA) with high accuracy?
  • RQ3How does the presence of trapdoors affect the model’s performance on clean, natural inputs?
  • RQ4Can attackers bypass the trapdoor detection mechanism through adaptive techniques such as gradient masking or perturbation obfuscation?
  • RQ5Does the trapdoor defense generalize across different image classification domains (e.g., ImageNet, facial recognition, traffic signs)?

Key findings

  • Theoretical analysis proves that adversarial attack inputs are mathematically driven toward feature representations that closely resemble those of the trapdoors.
  • The trapdoor defense achieves high detection accuracy—over 95%—for PGD, CW, Elastic Net, and BPDA attacks across multiple datasets.
  • Normal classification accuracy is preserved with negligible degradation, demonstrating minimal performance cost.
  • The defense generalizes effectively across diverse domains, including image, facial, and traffic-sign recognition tasks.
  • The method remains robust against customized adaptive attacks, including those attempting to evade detection through gradient obfuscation or perturbation masking.
  • Detection is based solely on neuron activation signatures, enabling detection without requiring access to the original model’s architecture or parameters.

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.