Skip to content

Adding Gaussian noise to gradient values of back propagation in order to make differntial privacy

Notifications You must be signed in to change notification settings

xiyueyiwan/COMP551_Project4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMP551_Project4

Adding Gaussian noise to gradient values of back propagation in order to make "Differential Privacy"


The code for implementing MLP is taken from Theano's tutorial page


  • Use "mlp1.py" to train the original MLP model for MNIST dataset.
  • Put "mnist.pkl.gz" file in your code directory
  • No noise added to this model

  • Use "mlp1_dp.py" to adding different level of noise to model
  • First we clip gradinet values
  • We add different level of Gaussian to Gradient values
  • keep a copy of "mnist.pkl.gz" file in your code directory

Use "plotter.py" to plot your final results

About

Adding Gaussian noise to gradient values of back propagation in order to make differntial privacy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%