RobustBench / robustbench

RobustBench: a standardized adversarial robustness benchmark [NeurIPS 2021 Benchmarks and Datasets Track]
https://robustbench.github.io
Other
669 stars 99 forks source link

[New Model] <Huang2022Revisiting> #119

Closed zhichao-lu closed 1 year ago

zhichao-lu commented 1 year ago

Paper Information

Leaderboard Claim(s)

Add here the claim for your model(s). Copy and paste the following subsection for the number of models you want to add.

Model 1

Model Zoo:

fra31 commented 1 year ago

Hi,

sorry for the late reply, we'll add the models as soon as possible!

fra31 commented 1 year ago

I'm having some trouble trying to download the checkpoint. Also, there seem to be several checkpoints in the linked folder. Could you please provide a direct link to the download?

zhichao-lu commented 1 year ago

Sorry for the inconvenience, could you please try this link (https://drive.google.com/file/d/1Z7R_dZw-Ds0ofc7eqnHagIKNN2dnlJtU/view?usp=sharing)?

fra31 commented 1 year ago

This works fine, thanks! However, I'm getting only 81.50% clean accuracy. This is the model I'm using following the setup here:

stride_config = [1, 2, 2]
activations = ('ReLU', 'ReLU', 'ReLU')
normalizations = ('BatchNorm', 'BatchNorm', 'BatchNorm')
depth, width_mult = [27, 28, 13], [10, 14, 6]
block_types = ['basic_block', 'basic_block', 'basic_block']
scales, base_width, cardinality, se_reduction = None, None, None, None
channels = [16, 16 * width_mult[0], 32 * width_mult[1], 64 * width_mult[2]]
model = PreActResNet(
    num_classes=10,
    channel_configs=channels,
    depth_configs=depth,
    stride_config=stride_config,
    stem_stride=1,
    block_types=block_types,
    activations=activations,
    normalizations=normalizations,
    use_init=True,
    cardinality=cardinality,
    base_width=base_width,
    scales=scales,
    se_reduction=se_reduction,
    pre_process=True,
)

Is there any different configuration to use (the checkpoint can be successfully loaded)?

zhichao-lu commented 1 year ago

Could you please try this configuration file (https://drive.google.com/file/d/11cIXeMln7EQQaWkRPkyiN_bTKf9ku6pv/view?usp=sharing)?

Or simply change the activations to activations = ('SiLU', 'SiLU', 'SiLU')

fra31 commented 1 year ago

Changing the activations yields 91.42%, which is still a bit lower that what you report. I think the other parameters match your configuration, but please let me know if there's something else to change (here the current implementation).

zhichao-lu commented 1 year ago

It turns out that I shared the wrong checkpoint, sorry about that.

Here is the correct checkpoint (https://drive.google.com/file/d/1PSe1LOvX6r3_X6Vvc6oNYh-q4C10JfpJ/view?usp=sharing), and here is the output log we got (https://drive.google.com/file/d/14_O_2Dmt9PFoQlH2aEfNMYXz7C5UqX5G/view?usp=sharing)

Please use silu with this checkpoint.

Sorry again for all the inconvenience.

fra31 commented 1 year ago

No problem, the new checkpoint works fine, thanks!

fra31 commented 1 year ago

Added the model with https://github.com/RobustBench/robustbench/pull/125, please let me know if there's something to adjust.

fra31 commented 1 year ago

The leaderboard is updated as well https://github.com/RobustBench/robustbench.github.io/commit/e5f57c9d6a67cc5adcb803065cad312b564da78f.