Giter Site home page Giter Site logo

hcb's Introduction

HCB

ABOUT

This is the training source code for two threat models of HCB. There are two scenarios: data outsourcing and model outsourcing.

You can access training and test datasets at this link. The datasets include non-rainy images and rainy images, representing non-effective samples and effective samples, respectively. To run the code successfully, please ensure that you place these files in the "data" folder within the root directory.

This is for releasing the source code of our work "Watch Out! Simple Horizontal Class Backdoor Can Trivially Evade Defense". If you find it is useful and used for publication. Please kindly cite our work as:

@inproceedings{ma2024hcb,
  title={Watch Out! Simple Horizontal Class Backdoor Can Trivially Evade Defense},
  author={Ma, Hua and Wang, Shang and Gao, Yansong and Zhang, Zhi and Qiu, Huming and Xue, Minhui and Abuadbba, Alsharif and Fu, Anmin and Nepal, Surya and Abbott, Derek},
  booktitle={2024 ACM Conference on Computer and Communications Security (CCS)},
  year={2024},
  organization={ACM}
}

DEPENDENCIES

Our code is implemented and tested on PyTorch. Following packages are used by our code.

  • troch==1.7.1
  • torchvision==0.8.2
  • numpy==1.19.5

RUN

  1. The training and test phases on the data outsourcing scenario.
python GTSRB/Data/HCB_Data_Outsourcing.py
  1. The training and test phases on the model outsourcing scenario.
python GTSRB/Model/HCB_Model_Outsourcing.py

Other Tasks

To be continue...

hcb's People

Contributors

shihe98 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.