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

Is the labeling correct? #8

Open
hideyuki-oiso opened this issue Dec 10, 2023 · 1 comment
Open

Is the labeling correct? #8

hideyuki-oiso opened this issue Dec 10, 2023 · 1 comment

Comments

@hideyuki-oiso
Copy link

hideyuki-oiso commented Dec 10, 2023

The results in your paper are excellent, and I would like to reproduce them.
However, I have a question about Narcissus.ipynb.

Poi_warm_up_loader variable is received train_target, but the label of this dataset is still the label in CIFAR-10 ("2" for target class in the code).
However, during training of surrogate model, the CIFAR-10 and TinyImageNet data concatenated, and the label of the instances of the CIFAR-10 target class was assigned to "200".
Therefore, isn't it unintentional to train with train_target since the labels are different?

I have the same question about trigger_gen_loaders.

Please let me know if my interpretation is wrong.

Thank you.

@pmzzs
Copy link
Contributor

pmzzs commented Jan 17, 2024

It is fine to use any label in the surrogate model, the surrogate aims to make the model a feature extractor, and as the target class is included in the training dataset, the model will be able to distinguish from class to class.

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