gongzhitaao / adversarial-text

Generate adversarial text via gradient methods
https://gongzhitaao.org/adversarial-text
31 stars 8 forks source link

some problems with this project #2

Open xyf-lsy opened 4 years ago

xyf-lsy commented 4 years ago

Hello, I recently read your article carefully, but I am curious why the direct attack success rate in embedding is so low, and I also tried the round operation, but found that basically all the words are rounded back to the original Words,I wonder what techniques did you use?

gongzhitaao commented 4 years ago

Hello, lousylove,

It's been a long time. I remember I tested with three methods, see some results here: https://gongzhitaao.org/adversarial-text/ I remember DeepFool was the best. On that page, the numbers are accuracies before and after knn rounding.