SCLBD/BackdoorBench

Is there an error in the calculation of outlier score in spectral.py

Opened this issue · 2 comments

According to the algorithm description in original paper,the outlier score should be calculated as follows:
image
However,you just calculate it by $\mathcal{R} \left( x_{\mathrm{i}} \right) $ in your code:
image

Hello, in reference to the website backdoor_data_poisoning, the author gives a brief code which is written in the form of as we have.

Thank you for your reply,have you tried replacing full_cov with centered_cov to see the effect? I