HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Using Self-Supervised Learning Can Improve Model Robustness and Uncertainty

Dan Hendrycks; Mantas Mazeika; Saurav Kadavath; Dawn Song

Using Self-Supervised Learning Can Improve Model Robustness and Uncertainty

Abstract

Self-supervision provides effective representations for downstream tasks without requiring labels. However, existing approaches lag behind fully supervised training and are often not thought beneficial beyond obviating or reducing the need for annotations. We find that self-supervision can benefit robustness in a variety of ways, including robustness to adversarial examples, label corruption, and common input corruptions. Additionally, self-supervision greatly benefits out-of-distribution detection on difficult, near-distribution outliers, so much so that it exceeds the performance of fully supervised methods. These results demonstrate the promise of self-supervision for improving robustness and uncertainty estimation and establish these tasks as new axes of evaluation for future self-supervised learning research.

Code Repositories

feedbackward/addro
pytorch
Mentioned in GitHub
sooonwoo/RotNet-OOD
pytorch
Mentioned in GitHub
hendrycks/ss-ood
Official
pytorch
Mentioned in GitHub
drumpt/RotNet-OOD
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-anomaly-detection-on-1ROT+Trans
Network: ResNet-18
ROC-AUC: 74.5
anomaly-detection-on-anomaly-detection-on-2ROT+Trans
Network: ResNet-18
ROC-AUC: 86.3
anomaly-detection-on-one-class-cifar-10SSOOD
AUROC: 90.1
anomaly-detection-on-one-class-imagenet-30RotNet + Translation
AUROC: 77.9
anomaly-detection-on-one-class-imagenet-30RotNet + Translation + Self-Attention
AUROC: 84.8
anomaly-detection-on-one-class-imagenet-30RotNet
AUROC: 65.3
anomaly-detection-on-one-class-imagenet-30RotNet + Translation + Self-Attention + Resize
AUROC: 85.7
anomaly-detection-on-one-class-imagenet-30RotNet + Self-Attention
AUROC: 81.6
anomaly-detection-on-one-class-imagenet-30Supervised (OE)
AUROC: 56.1
out-of-distribution-detection-on-cifar-10WRN 40-2 + Rotation Prediction
AUROC: 96.2
FPR95: 16.0
out-of-distribution-detection-on-cifar-10-vsWRN 40-2 + Rotation Prediction
AUPR: 67.7
AUROC: 90.9

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