Code Monkey home page Code Monkey logo

graduation-project's Introduction

PrivacyNet: An End-to-end Approach for Preserving Image Privacy

This repository provides a Keras implementation in addressing the Privacy-Utility Trade-off for large scale image data. The private content is specified by a subset of training labels (private labels), and the public content is represented by the rest of the training labels (public labels). PrivacyNet learns an image-to-image translation, which desensitizes the original images, but ensures the image utility and authenticity. On the desensitized images, the predictions on the private labels should be no more than random guesses. On the contrary, when predicting public labels, the performance should be close to the original performance.

Network Architecture:

alt text

Reversed MNIST data:

We reverse the MNIST data by changing the original white digits on the black background to black digits with white backgrounds. Then, we set whether the image is reversed as the private content, and the digit number as the public content. The desensitized images with different privacy levels are shown below. alt text The private and public accuracy when testing on the desensitized images are:

Privacy level Private Public
Ground Truth 100.0% 96.97%
0.01 50.00% 95.32%
0.1 50.00% 92.10%
1 50.00% 96.11%
10 50.00% 92.37%

CelebA human face data:

In this experiment, the private label is the gender information, and the public labels are wearing heavy makeup, wearing lipsticks, Arched Eyebrows, Wavy Hair, No beard. alt text The private accuracy and the public accuracy when predicting on the private and public labels are:

Privacy level Private Public
Ground Truth 97.83% 88.54%
0.5 87.69% 87.33%
1 71.61% 86.61%
2 57.18% 81.68%
4 56.23% 83.59%

Getting Started

graduation-project's People

Contributors

tomzhao2016 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.