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] <Liu2023Comprehensive> #132

Closed sunrise6513 closed 1 year ago

sunrise6513 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 2

Model 3

Model 4

Model Zoo:

fra31 commented 1 year ago

Hi,

thanks for the submission! Could you please let me know which model definitions and image preprocessing are used?

sunrise6513 commented 1 year ago

The model definitions and image preprocessing are shown below: mu = (0.485, 0.456, 0.406) sigma = (0.229, 0.224, 0.225) [('Liu2023Comprehensive_ConvB', { 'model': lambda: normalize_model(timm.create_model( 'convnext_base', pretrained=False), mu, sigma), 'gdrive_id': None, 'preprocessing': 'Res256Crop224' }), ('Liu2023Comprehensive_ConvL', { 'model': lambda: normalize_model(timm.create_model( 'convnext_large', pretrained=False), mu, sigma), 'gdrive_id': None, 'preprocessing': 'Res256Crop224' }), ('Liu2023Comprehensive_SwinB', { 'model': lambda: normalize_model(timm.create_model( 'swin_base_patch4_window7_224', pretrained=False), mu, sigma), 'gdrive_id': None, 'preprocessing': 'Res256Crop224' }), ('Liu2023Comprehensive_SwinL', { 'model': lambda: normalize_model(timm.create_model( 'swin_large_patch4_window7_224', pretrained=False), mu, sigma), 'gdrive_id': None, 'preprocessing': 'Res256Crop224' })]

fra31 commented 1 year ago

Adding the models I noticed that using bicubic interpolation for preprocessing instead of bilinear (default value) yields slightly higher clean accuracy (0.5-0.8%). Is it possible that it was used for training?

sunrise6513 commented 1 year ago

Sorry, the preprocessing should be BicubicRes256Crop224 for all models.

sunrise6513 commented 1 year ago

May I ask when will the final result be updated to the leaderboard?

fra31 commented 1 year ago

I had to rerun the evaluation with the different preprocessing, I'll update the leaderboard in the next couple of days.

sunrise6513 commented 1 year ago

Ok, thanks for your effort.

fra31 commented 1 year ago

Added the models with https://github.com/RobustBench/robustbench/pull/136, please let me know if there's anything to change.

sunrise6513 commented 1 year ago

No other changes, thanks. The only change is modifying preprocessing from Res256Crop224 to BicubicRes256Crop224.