Awesome
Backdoor-Attacks-Crowd-Counting
Paper Link
This work is supported by Hubei Engineering Research Center on Big Data Security. We greatly thank our supervisors Professor Pan Zhou and Professor Xinjun Ma for providing us with valuable guidance in every stage of the writing of this thesis. From our views, the hardest part of backdooring these crowd counting models is how to control the connection between the predicted density map and the original input image with it's ground truth value.
- This is the official implementation code of paper submitted to ACM MM 2022.
- We are the first to experimentally demonstrate the feasibility of backdooring regression-based crowd counting.
Requirement
- Install pytorch 1.5.0+
- Python 3.6+
- Install tensorboardX
Data Setup
- follow the CSRNet repo's Data Setup to build the dataset CSRnet
- download the trigger pattern from the trigger files: Data/trigger files
- Download ShanghaiTech Dataset from Dropbox or Drive
The Targeted Models
CSRNet: https://github.com/CommissarMa/CSRNet-pytorch
CAN: https://github.com/CommissarMa/Context-Aware_Crowd_Counting-pytorch
BayesianCC: https://github.com/ZhihengCV/Bayesian-Crowd-Counting
SFA: https://github.com/Pongpisit-Thanasutives/Variations-of-SFANet-for-Crowd-Counting
KDMG: https://github.com/BigTeacher-777/DA-Net-Crowd-Counting
Injection Trigger & Density Map altering
- Run the data_preparation.py