HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

PRIME: A few primitives can boost robustness to common corruptions

Apostolos Modas Rahul Rade Guillermo Ortiz-Jiménez Seyed-Mohsen Moosavi-Dezfooli Pascal Frossard

PRIME: A few primitives can boost robustness to common corruptions

Abstract

Despite their impressive performance on image classification tasks, deep networks have a hard time generalizing to unforeseen corruptions of their data. To fix this vulnerability, prior works have built complex data augmentation strategies, combining multiple methods to enrich the training data. However, introducing intricate design choices or heuristics makes it hard to understand which elements of these methods are indeed crucial for improving robustness. In this work, we take a step back and follow a principled approach to achieve robustness to common corruptions. We propose PRIME, a general data augmentation scheme that relies on simple yet rich families of max-entropy image transformations. PRIME outperforms the prior art in terms of corruption robustness, while its simplicity and plug-and-play nature enable combination with other methods to further boost their robustness. We analyze PRIME to shed light on the importance of the mixing strategy on synthesizing corrupted images, and to reveal the robustness-accuracy trade-offs arising in the context of common corruptions. Finally, we show that the computational efficiency of our method allows it to be easily used in both on-line and off-line data augmentation schemes.

Code Repositories

amodas/PRIME-augmentations
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
domain-generalization-on-imagenet-cPRIME (ResNet-50)
Top 1 Accuracy: 55.0
mean Corruption Error (mCE): 57.5
domain-generalization-on-imagenet-cPRIME with JSD (ResNet-50)
Top 1 Accuracy: 56.4
mean Corruption Error (mCE): 55.5
domain-generalization-on-imagenet-cPRIME + DeepAugment (ResNet-50)
Top 1 Accuracy: 59.9
mean Corruption Error (mCE): 51.3
domain-generalization-on-imagenet-rPRIME with JSD (ResNet-50)
Top-1 Error Rate: 53.7
domain-generalization-on-imagenet-rPRIME (ResNet-50)
Top-1 Error Rate: 57.1

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp