Coder Social home page Coder Social logo

mona's Introduction

MONA: An Efficient and Scalable Strategy for Targeted k-Nodes Collapse

1. Overview

We offer the descriptions of files or folders in this part.

  • caches: Results of k-core decomposition for each dataset for avoiding duplicate computations.
  • datasets: Used datasets in our paper.
  • methods: Proposed methods and used baselines, including Optimal, MONA, Random, Degree, COREATTACK, KC-Edge.
  • interface_attack: The interface to implement our methods.

2. Requirements

numpy >= 1.20.3
networkx >= 2.6.3

3. Abstract

The concept of k-core plays a significant role in measuring the cohesiveness and the engagement of a network. And recent studies have shown the vulnerability of k-core under adversarial attacks. However, there are few researchers concentrating on the vulnerability of individual nodes within k-core. Therefore, in this paper, we make the attempt to study Targeted k-Nodes Collapse Problem (TNsCP), which focuses on removing a minimal-size set of edges to make target k-nodes collapse. For this purpose, we first propose a novel algorithm named MOD for candidate reduction, and we further propose an efficient strategy named MONA, based on MOD, to address TNsCP. The extensive experiments validate the effectiveness and scalability of MONA compared with several baselines.

3. Run the code

To implement attack methods, we could run the following command.

python interface_attack.py --dataset [dataset_name] --method [method_name] --b [b]

  • [dataset_name]: Tested dataset, e.g., usair/deezereu/crawl.
  • [method_name]: Tested method, e.g., optimal/mona/random.
  • [b]: The number of target nodes, e.g., 2/4/6.

mona's People

Contributors

yocenly avatar

Stargazers

 avatar

Watchers

 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.