Official implementation of WWW 2024 paper "Cooperative Classification and Rationalization for Graph Generalization".

Data download

  • Spurious-Motif: this dataset can be generated via spmotif_gen/spmotif.ipynb in DIR.
  • MNIST-75sp: this dataset can be downloaded here.
  • Open Graph Benchmark (OGBG): this dataset can be downloaded when running c2r.sh.

How to run C2R?

To train C2R on OGBG dataset:

sh c2r.sh

To train C2R on Spurious-Motif dataset:

# cd spmotif_codes
sh c2r.sh

To train C2R on MNIST-75sp dataset:

# cd mnist_codes
sh c2r.sh

Citation

@inproceedings{yue2024cooperative,
  title={Cooperative Classification and Rationalization for Graph Generalization},
  author={Yue, Linan and Liu, Qi and Liu, Ye and Gao, Weibo and Yao, Fangzhou and Li, Wenfeng},
  booktitle={Proceedings of the ACM Web Conference},
  volume={2024},
  year={2024}
}