Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low accuracy #19

Open
wangzeyu135798 opened this issue Jul 15, 2021 · 6 comments
Open

Low accuracy #19

wangzeyu135798 opened this issue Jul 15, 2021 · 6 comments

Comments

@wangzeyu135798
Copy link

Hi:
I use your published of this paper, I can't reproduce the result. For example, MUTAG, test accuracy is very low, about 70 percent while train accuracy is near to 1. There occurs overfitting I think. Do you meet this before and how to fix it ?

@weihua916
Copy link
Owner

weihua916 commented Jul 15, 2021

You need to tune the hyper-parameters. The default ones are one that is used in the paper. See the papers for the details.

@weihua916
Copy link
Owner

I just suggest everyone stop using these old datasets! The Open Graph Benchmark (https://ogb.stanford.edu/) offers much better datasets, where GIN and more advanced models have been extensively benchmarked.

@wangzeyu135798
Copy link
Author

Can you provide hyper-parameters for these datasets used in the paper? In ogb, these datasets doesn't exist.

@weihua916
Copy link
Owner

I did not record them :(

@weihua916
Copy link
Owner

weihua916 commented Jul 15, 2021

The hyper-parameters we tune for each dataset are: (1) the number of hidden units ∈ {16, 32} for
bioinformatics graphs and 64 for social graphs; (2) the batch size ∈ {32, 128}; (3) the dropout ratio
∈ {0, 0.5} after the dense layer (Srivastava et al., 2014); (4) the number of epochs, i.e., a single epoch
with the best cross-validation accuracy averaged over the 10 folds was selected.

For social networks we create node features as follows: for the REDDIT datasets, we set all node feature vectors to be the same (thus, features here are uninformative); for the other social graphs, we use one-hot encodings of node degrees (--degree_as_tag).

@wangzeyu135798
Copy link
Author

Thanks a lot! I will try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants