Skip to content

What to do after the poisoning attack? #1636

Discussion options

You must be logged in to vote

Hi @EvilWatermelon

Yes, these poisoning attacks create and return a poisoned dataset or samples by calling the method poison.

PoisoningAttackBackdoor applies the poison to all samples and you have to mix them with benign samples yourself if you don't want to have all samples poisoned or use in combination with HiddenTriggerBackdoor and PoisoningAttackCleanLabelBackdoor which have arguments defining the fraction of samples that should be poisonous.

After generating the poisoned dataset you have to used it to train a model. Then evaluate the model on test datasets samples that are benign and on samples containing the backdoor.

This notebook contains the complete workflow: https://github.com…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@beat-buesser
Comment options

@EvilWatermelon
Comment options

@beat-buesser
Comment options

@EvilWatermelon
Comment options

@beat-buesser
Comment options

Answer selected by EvilWatermelon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants