paper-with-me

홈 › Papers

TRIGS: Trojan Identification from Gradient-based Signatures

2023-06-08 · Mohamed E. Hussein, Sudharshan Subramaniam Janakiraman, Wael AbdAlmageed

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.

📄 PDF Abstract BibTeX arXiv:2306.04877

Code (1)

vimal-isi-edu/trigs 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Residual Connection 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Vision Transformer The Vision Transformer, or ViT, is a model for image classification that employs a Transformer-like architecture over…

Similar Papers 제목 키워드 기반

On Trojan Signatures in Large Language Models of Code

2024-02-23 · Aftab Hussain, Md Rafiqul Islam Rabin, Mohammad Amin Alipour

Trojan signatures, as described by Fields et al. (2021), are noticeable differences in the distribution of the trojaned class parameters (weights) and the non-trojaned class parameters of the trojaned model, that can be …

Binary ClassificationDefect Detection

Trojan Signatures in DNN Weights

2021-09-07 · Greg Fields, Mohammad Samragh, Mojan Javaheripi, Farinaz Koushanfar 외

Deep neural networks have been shown to be vulnerable to backdoor, or trojan, attacks where an adversary has embedded a trigger in the network at training time such that the model correctly classifies all standard inputs…

TRiGS: Temporal Rigid-Body Motion for Scalable 4D Gaussian Splatting

2026-04-01 · Suwoong Yeom, Joonsik Nam, Seunggyu Choi, Lucas Yunkyu Lee 외 arxiv

Recent 4D Gaussian Splatting (4DGS) methods achieve impressive dynamic scene reconstruction but often rely on piecewise linear velocity approximations and short temporal windows. This disjointed modeling leads to severe …

Unlearning Trojans in Large Language Models: A Comparison Between Natural Language and Source Code

2024-08-22 · Mahdi Kazemi, Aftab Hussain, Md Rafiqul Islam Rabin, Mohammad Amin Alipour 외

This work investigates the application of Machine Unlearning (MU) for mitigating the impact of trojans embedded in conventional large language models of natural language (Text-LLMs) and large language models of code (Cod…

Defect DetectionMachine UnlearningSentiment Analysis

Trojan Detection Through Pattern Recognition for Large Language Models

2025-01-20 · Vedant Bhasin, Matthew Yudin, Razvan Stefanescu, Rauf Izmailov

Trojan backdoors can be injected into large language models at various stages, including pretraining, fine-tuning, and in-context learning, posing a significant threat to the model's alignment. Due to the nature of causa…

Causal Language ModelingIn-Context LearningLanguage ModelingLanguage Modelling