Compare Torchattacks performance with other libraries
masterTorchattacks is benchmarked against other popular adversarial attack libraries like Foolbox, ART, and Rai-toolbox.
Key performance takeaways from CIFAR10 benchmarks:
- PGD (Linf): Torchattacks is noted as the Fastest.
- CW (L2): Torchattacks provides the Highest Success Rate and is the Fastest.
- PGD (L2): Torchattacks is the Fastest.
- CW (L2) Optimization: Because the binary search for the constant
ccan be time-consuming,torchattackssupportsMultiAttackto perform a grid search forcinstead.
Note: Foolbox returns accuracy and adversarial images simultaneously, so its actual image generation time may be shorter than recorded.