TRIGS: Trojan Identification from Gradient-based Signatures

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Hussein, Mohamed E., Janakiraman, Sudharshan Subramaniam, AbdAlmageed, Wael
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915057287299072
author Hussein, Mohamed E.
Janakiraman, Sudharshan Subramaniam
AbdAlmageed, Wael
author_facet Hussein, Mohamed E.
Janakiraman, Sudharshan Subramaniam
AbdAlmageed, Wael
contents Training machine learning models can be very expensive or even unaffordable. This may be, for example, due to data limitations, such as unavailability or being too large, or computational power limitations. Therefore, it is a common practice to rely on open-source pre-trained models whenever possible.However, this practice is alarming from a security perspective. Pre-trained models can be infected with Trojan attacks, in which the attacker embeds a trigger in the model such that the model's behavior can be controlled by the attacker when the trigger is present in the input. In this paper, we present a novel method for detecting Trojan models. Our method creates a signature for a model based on activation optimization. A classifier is then trained to detect a Trojan model given its signature. We call our method TRIGS for TRojan Identification from Gradient-based Signatures. TRIGS achieves state-of-the-art performance on two public datasets of convolutional models. Additionally, we introduce a new challenging dataset of ImageNet models based on the vision transformer architecture. TRIGS delivers the best performance on the new dataset, surpassing the baseline methods by a large margin. Our experiments also show that TRIGS requires only a small amount of clean samples to achieve good performance, and works reasonably well even if the defender does not have prior knowledge about the attacker's model architecture. Our code and data are publicly available.
format Preprint
id arxiv_https___arxiv_org_abs_2306_04877
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle TRIGS: Trojan Identification from Gradient-based Signatures
Hussein, Mohamed E.
Janakiraman, Sudharshan Subramaniam
AbdAlmageed, Wael
Computer Vision and Pattern Recognition
Cryptography and Security
Machine Learning
I.2.6; I.2.10; I.5.1
Training machine learning models can be very expensive or even unaffordable. This may be, for example, due to data limitations, such as unavailability or being too large, or computational power limitations. Therefore, it is a common practice to rely on open-source pre-trained models whenever possible.However, this practice is alarming from a security perspective. Pre-trained models can be infected with Trojan attacks, in which the attacker embeds a trigger in the model such that the model's behavior can be controlled by the attacker when the trigger is present in the input. In this paper, we present a novel method for detecting Trojan models. Our method creates a signature for a model based on activation optimization. A classifier is then trained to detect a Trojan model given its signature. We call our method TRIGS for TRojan Identification from Gradient-based Signatures. TRIGS achieves state-of-the-art performance on two public datasets of convolutional models. Additionally, we introduce a new challenging dataset of ImageNet models based on the vision transformer architecture. TRIGS delivers the best performance on the new dataset, surpassing the baseline methods by a large margin. Our experiments also show that TRIGS requires only a small amount of clean samples to achieve good performance, and works reasonably well even if the defender does not have prior knowledge about the attacker's model architecture. Our code and data are publicly available.
title TRIGS: Trojan Identification from Gradient-based Signatures
topic Computer Vision and Pattern Recognition
Cryptography and Security
Machine Learning
I.2.6; I.2.10; I.5.1
url https://arxiv.org/abs/2306.04877