Giter VIP home page Giter VIP logo

Comments (3)

CHR-ray avatar CHR-ray commented on July 22, 2024

Hello WhoDunnett,
I actually considered this question before. The main concern is that if we use this definition, the poisoning ratio for dirty-label and clean-label would be based on different totals, which I believe would lead to some degree of ambiguity. So, I did not adopt this definition for attacks on clean-label. In order to maintain consistency in parameter definition, I sacrificed some convenience.

from backdoorbench.

WhoDunnett avatar WhoDunnett commented on July 22, 2024

Hi Ray,

Thank you for your reply. I do see how this could create confusion. However, I do believe this is how the poisoning ratio was defined by the authors of the SIG attack. In addition, it creates issues when the pratio multiplied by the length of the dataset is greater then the length of the number of samples in the given class. The reason I mention this is because I ran into this problem when using GTSRB.

from backdoorbench.

CHR-ray avatar CHR-ray commented on July 22, 2024

Hello WhoDunnett,
I agree with you that this is the poisoning ratio was defined by the authors. However, since all record and files are now saved with our pre-defined poisoning ratio, I do not think changing the implementation now is a good idea. So, I will add an explanation for all clean-label attack methods to avoid any further possible confusion. And sorry for inconvenience in applying these clean-label attack methods with GTSRB, you can first get the ratio of target class samples / all samples, and then calculate the poisoning ratio. As I have said before, In order to maintain consistency in our benchmark definition for all different attack methods, I sacrificed some convenience.

from backdoorbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.