Skip to content

AdamtayZzz/TrojanAttack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

TrojanAttack

Implementation of the essay 2018NDSS Trojaning Attack on Neural Networks Based on Pytorch 1.4.0,Python 3.6.9

Mnist

Mnist.py : The model is from the offical pytorch example

Cifar10 & ResNet

This implementation is an experiment that try to generate trigger by maximizing the neurons on convolutinal layer

resnet.py : The implmentation of Resnet is created by Yerlan Idelbayev,please check the repo.

Main Idea

Assume that the filter is (In_channels,out_channel,kernel size).

Fistly,get the absolute value of weights

Secondly,get average weight of each kernel

Thirdly,select the most connected output channel

Lastly,maximize the neurons that match the position of the input trigger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages