PixMix: Dreamlike Pictures Comprehensively Improve Safety Measures

Dan Hendrycks, Andy Zou, Mantas Mazeika, Leonard Tang, Bo Li +2 more
12/9/2021
203 citations
cs.LGcs.CV

Official code: andyzoujm/pixmix (111 stars, Python, MIT, last commit 2022-07-05).

Abstract

In real-world applications of machine learning, reliable and safe systems must consider measures of performance beyond standard test set accuracy. These other goals include out-of-distribution (OOD) robustness, prediction consistency, resilience to adversaries, calibrated uncertainty estimates, and the ability to detect anomalous inputs.

Show full abstract

However, improving performance towards these goals is often a balancing act that today's methods cannot achieve without sacrificing performance on other safety axes. For instance, adversarial training improves adversarial robustness but sharply degrades other classifier performance metrics. Similarly, strong data augmentation and regularization techniques often improve OOD robustness but harm anomaly detection, raising the question of whether a Pareto improvement on all existing safety measures is possible. To meet this challenge, we design a new data augmentation strategy utilizing the natural structural complexity of pictures such as fractals, which outperforms numerous baselines, is near Pareto-optimal, and roundly improves safety measures.

View on arXivView PDF

Code Implementations(1)

andyzoujm/pixmixOfficial100%
MIT

PixMix: Dreamlike Pictures Comprehensively Improve Safety Measures (CVPR 2022)

11111PythonDec 4, 20214 years agoMIT

Similar Papers

Cite this paper

@article{hendrycks2021pixmix,
  title  = {PixMix: Dreamlike Pictures Comprehensively Improve Safety Measures},
  author = {Dan Hendrycks and Andy Zou and Mantas Mazeika and Leonard Tang and Bo Li and Dawn Song and Jacob Steinhardt},
  year   = {2021},
  eprint = {2112.05135},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.05135}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.05135.svg)](https://codeofpaper.com/paper/2112.05135)

Discussion