Coder Social home page Coder Social logo

link-zju / privgraph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from minchen00/privgraph

1.0 0.0 0.0 3.93 MB

Official implementation of "PrivGraph: Differentially Private Graph Data Publication by Exploiting Community Information" (USENIX Security 2023)

Python 100.00%

privgraph's Introduction

PrivGraph

Implementation of PrivGraph: Differentially Private Graph Data Publication by Exploiting Community Information.

Requirements

numpy >= 1.20.1
pandas >= 1.2.4
networkx >= 2.5
scikit-learn >= 0.24.1
python-louvain >= 0.15
python >= 3.8

Contents

The project contains 3 folders and 6 files.

  1. data (folder): All datasets are in this folder.
  2. comm (folder): This folder is used for community discovery.
  3. result (folder): This folder is used to store the results and contains four examples of synthetic graphs.
  4. main.py (file): The file is used to obtain the results of PrivGraph for End-to-End experiments.
  5. main_vary_N.py (file): The file is used to obtain the results for different number of nodes.
  6. main_vary_eps.py (file): The file is used to obtain the results for different privacy budget allocations.
  7. main_vary_t.py (file): The file is used to obtain the results for different resolution parameters.
  8. IM_spread.py (file): The file is used to obtain the results of influence maximization.
  9. utils.py (file): The file includes some functions that are needed for other files.

Run

###### Example 1: End to End ######
python main.py

###### Example 2: Impact of the number of nodes ######
python main_vary_N.py

###### Example 3: Impact of the privacy budget allocation ######
python main_vary_eps.py

###### Example 4: Impact of the resolution parameter ######
python main_vary_t.py

###### Example 5: Influence Maximization ######
python IM_spread.py

Citation

 @inproceedings{PrivGraph23,
    author = {Quan Yuan and Zhikun Zhang and Linkang Du and Min Chen and Peng Cheng and Mingyang Sun},
    title = {{PrivGraph: Differentially Private Graph Data Publication by Exploiting Community Information}},
    booktitle = {{USENIX Security}},
    publisher = {},
    year = {2023},
}

privgraph's People

Contributors

privacy-graph avatar minchen00 avatar

Stargazers

 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.