Architectural Neural Backdoors from First Principles

Harry Langford, Ilia Shumailov, Yiren Zhao, Robert Mullins, Nicolas Papernot
2/10/2024
cs.CRcs.AIcs.CV

No official code found. Best implementation: Hjel2/arch-neural-backdoor-first-principles (5 stars, MIT, last commit 2024-02-18).

Abstract

While previous research backdoored neural networks by changing their parameters, recent work uncovered a more insidious threat: backdoors embedded within the definition of the network's architecture. This involves injecting common architectural components, such as activation functions and pooling layers, to subtly introduce a backdoor behavior that persists even after (full re-)training. However, the full scope and implications of architectural backdoors have remained largely unexplored. Bober-Irizar et al. [2023] introduced the first architectural backdoor; they showed how to create a backdoor for a checkerboard pattern, but never explained how to target an arbitrary trigger pattern of choice. In this work we construct an arbitrary trigger detector which can be used to backdoor an architecture with no human supervision. This leads us to revisit the concept of architecture backdoors and taxonomise them, describing 12 distinct types. To gauge the difficulty of detecting such backdoors, we conducted a user study, revealing that ML developers can only identify suspicious components in common model definitions as backdoors in 37% of cases, while they surprisingly preferred backdoored models in 33% of cases. To contextualize these results, we find that language models outperform humans at the detection of backdoors. Finally, we discuss defenses against architectural backdoors, emphasizing the need for robust and comprehensive strategies to safeguard the integrity of ML systems.

View on arXivView PDF

Code Implementations(1)

MIT

Link to the code repositories for the publication "Architectural Neural Backdoors from First Principles"

50Feb 18, 20242 years agoMIT

Similar Papers

Cite this paper

@article{langford2024architectural,
  title  = {Architectural Neural Backdoors from First Principles},
  author = {Harry Langford and Ilia Shumailov and Yiren Zhao and Robert Mullins and Nicolas Papernot},
  year   = {2024},
  eprint = {2402.06957},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.06957v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.06957.svg)](https://codeofpaper.com/paper/2402.06957)

Discussion