Home

Awesome

Rayleigh Quotient Graph Neural Networks for Graph-level Anomaly Detection

Tested Environment

Datasets

Download zip files from TUDatasets and unzip them in datasets/.

Directory Structure

├── datasets
│   ├── MCF-7
│   │   ├── MCF-7_A.txt
│   │	├── MCF-7_graph_indicator.txt
│   │	├── MCF-7_graph_labels.txt
│   │	├── MCF-7_node_labels.txt
│   ├── dataset.py  
│   ├── datautils.py
│   ├── name.py

Use dataset.py to split train, val, and test sets.

Example

python dataset.py --data MCF-7 --trainsz 0.7 --testsz 0.15

Experiments

Parameters

Example

python main.py --data MCF-7 --lr 5e-3 --batchsize 512 --nepoch 100 --hdim 64 --width 4 --depth 6 --dropout 0.4 --normalize 1 --beta 0.999 --gamma 1.5 --decay 0 --seed 10 --patience 50

Citation

@inproceedings{rqgnn,
author = {Xiangyu, Dong and Xingyi, Zhang and Sibo, Wang},
title = {Rayleigh Quotient Graph Neural Networks for Graph-level Anomaly Detection},
year = {2024},
booktitle = {ICLR},
}