Giter Site home page Giter Site logo

mims-harvard / gnndelete Goto Github PK

View Code? Open in Web Editor NEW
32.0 7.0 9.0 183 KB

General Strategy for Unlearning in Graph Neural Networks

Home Page: https://zitniklab.hms.harvard.edu/projects/GNNDelete

License: MIT License

Python 99.61% Shell 0.39%
geometric-deep-learning graph-learning graph-neural-networks knowledge-graph machine-unlearning representation-learning

gnndelete's People

Contributors

chengjiali avatar marinkaz avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gnndelete's Issues

Sequential Unlearning

I have trained a GCN model on the Cora dataset. For the initial testing of the edge deletion task, I deleted 285 edges of training data and trained the deletion neural network.

If I further want to delete more edges then how to proceed? Do I have to again train the deletion neural network for Sequential Unlearning? If yes then why don't we directly retrain the original model instead of training the del operator again and again!!

@chengjiali @marinkaz

Problems with MIA

The official implementation of MIA is inductive learning, but GCN is often transductive learning, and the training method is different, how to judge whether it is forgotten? Can you provide the code for MIA? Thank you!

execution failures in deletion tasks

Hi there,

Upon running the command python delete_gnn.py, I encountered the following error:

  File "/home/user/Documents/code/GNNDelete/delete_gnn.py", line 86, in main
    assert args.df != 'none'
AssertionError

Similarly, when I executed the command python delete_node.py, and python delete_node_feature.py, I was met with another error:

AttributeError: 'GlobalStorage' object has no attribute 'train_pos_edge_index'

Would you mind providing some suggestions?

File Missing Issue

There are 3 prevailing errors in these codes

  1. from train_mi import MLPAttacker( File may be missing)
  2. from .trainer.graph_editor import GraphEditorTrainer( same)
  3. from .s3io import read_txt_s3, scipy_loadmat_s3
    All modules not found error

Cannot find requirements.txt

The readme mentions:

Please install the required packages by running
pip install -r requirements.txt

Please tell where is the requirements.txt located?

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.