BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain
Tianyu Gu
Faculty Researcher · NYU Stern School of Business
Open-access research dispatch from NYU Stern School of Business, indexed under AI & Foundation Models (2,910 peer citations).
Deep learning-based techniques have achieved state-of-the-art performance on a wide variety of recognition and classification tasks. However, these networks are typically computationally expensive to train, requiring weeks of computation on many GPUs; as a result, many users outsource the training procedure to the cloud or rely on pre-trained models that are then fine-tuned for a specific task. In this paper we show that outsourced training introduces new security risks: an adversary can create a maliciously trained network (a backdoored neural network, or a \emph{BadNet}) that has state-of-the-art performance on the user's training and validation samples, but behaves badly on specific attacker-chosen inputs.
We first explore the properties of BadNets in a toy example, by creating a backdoored handwritten digit classifier. Next, we demonstrate backdoors in a more realistic scenario by creating a U.S. street sign classifier that identifies stop signs as speed limits when a special sticker is added to the stop sign; we then show in addition that the backdoor in our US street sign detector can persist even if the network is later retrained for another task and cause a drop in accuracy of {25}\% on average when the backdoor trigger is present.
These results demonstrate that backdoors in neural networks are both powerful and---because the behavior of neural networks is difficult to explicate---stealthy. This work provides motivation for further research into techniques for verifying and inspecting neural networks, just as we have developed tools for verifying and debugging software.
Originally published at arXiv
By Tianyu Gu (NYU Stern School of Business) · 2017-08-22 · CC-BY.
Add a Worked Example, Practitioner Field Note, or Counter-Thesis
More from NYU Stern School of Business & Related Topics
All 46 works from NYU Stern School of Business →Discovering the systematic errors made by machine learning models
Discovering systematic errors with cross-modal embeddings In this blog post, we introduce Domino, a new approach for discovering systematic errors made by…
BAIR at CoRL 2026
The Conference on Robot Learning (CoRL) takes place November 9–12, 2026, in Austin, Texas. BAIR faculty, postdocs and students will be presenting research…
How Alan Greenspan’s stint as President Ford’s top economic adviser cemented his passion for public service and prepared him to lead the Fed
The Fed chair who served under five US presidents was more practical and less ideological than his detractors claimed.
Trump Fed pick Kevin Warsh could shake up the central bank with his ‘family fight’ model
The US Federal Reserve has never before been this transparent about its policymaking process − but that might not be a good thing.