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

How to generate adversarial examples? #29

Open
FinchNie opened this issue Apr 21, 2022 · 1 comment
Open

How to generate adversarial examples? #29

FinchNie opened this issue Apr 21, 2022 · 1 comment

Comments

@FinchNie
Copy link

FinchNie commented Apr 21, 2022

Hi, thanks for your great work.

I am confused about robustness to noisy interactions in this paper.

Towards this end, we contaminate the training set by adding a certain proportion of adversarial examples (i.e., 5%, 10%, 15%, 20% negative user-item interactions), while keeping the testing set unchanged.

I tried to sample from interations which don't show in train.txt and test.txt. But I didn't find too many differences between LightGCN and SGL. I wonder if it is proper to generate adversarial examples in this way.

Looking forward to your reply.

@wujcan
Copy link
Owner

wujcan commented Apr 21, 2022

Hi, thanks for your great work.

I am confused about robustness to noisy interactions in this paper.

Towards this end, we contaminate the training set by adding a certain proportion of adversarial examples (i.e., 5%, 10%, 15%, 20% negative user-item interactions), while keeping the testing set unchanged.

I tried to sample from interations which don't show in train.txt and test.txt. But I didn't find too many differences between LightGCN and SGL. I wonder if it is proper to generate adversarial examples in this way.

Looking forward to your reply.

I have uploaded the code (./add_noise.py) that generates contaminated training data, see the guidance here.

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