GithubHelp home page GithubHelp logo

yudidong / gan-based-e2e-communications-system-for-defense-against-adversarial-attack Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 4.0 22 KB

A Robust Adversarial Network-Based End-to-End Communications System With Strong Generalization Ability Against Adversarial Attacks

Home Page: https://arxiv.org/abs/2103.02654

Python 100.00%
end-to-end-communications-system generative-adversarial-network adversarial-defense

gan-based-e2e-communications-system-for-defense-against-adversarial-attack's Introduction

This is an implement of our pre-print paper:

Yudi Dong and Huaxia Wang and Yu-Dong Yao, “A Robust Adversarial Network-Based End-to-End Communications System With Strong Generalization Ability Against Adversarial Attacks”, https://arxiv.org/abs/2103.02654

This paper has been accepted by IEEE ICC 2022.

TensorFlow Version

Our codes are based on TensorFlow-GPU 2.0

Main Function Files:

"gan_blackbox.py": BLER Peformance of our proposed method under black-box attacks

"gan_whitebox.py": BLER Peformance of our proposed method under white-box attacks

"regular_training_blackbox.py": BLER Peformance of regular training method under black-box attacks

"regular_training_whitebox.py": BLER Peformance of regular training method under white-box attacks

"adversarial_training_blackbox.py": BLER Peformance of adversarial training method under black-box attacks

"adversarial_training_whitebox.py": BLER Peformance of adversarial training method under white-box attacks

Class Function Files:

"classes/GAN_Classes.py": Implement for our proposed GAN-based end-to-end system

"classes/Autoencoder_Classes.py": Implement for the autoencoder end-to-end system

"classeshamming.py": Implement for the traditional communications system (BPSK, Hamming)

Other Files:

"UAP": perturbations used for black-box attacks

Coding Reference:

[1] https://github.com/meysamsadeghi/Security-and-Robustness-of-Deep-Learning-in-Wireless-Communication-Systems

gan-based-e2e-communications-system-for-defense-against-adversarial-attack's People

Contributors

yudidong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gan-based-e2e-communications-system-for-defense-against-adversarial-attack's Issues

Scale_factor calculate and Variable 'n'

Hello, I have a question about the variable 'n' . In your paper, you describe n si ''n refers to the number of channel uses''.So in your experiment, the shape of x and UAP is (1,2,n), right? But, when calculate the eps(scale_factor = np.sqrt( (PSR * self.n) / (np.linalg.norm(p)**2 + 0.00000001)) ) , if the length of channels used on UAP and x is different,while length can I used to calculate the scale_factor ?
Thank you so much!

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.