Reproduce “PixMix: Dreamlike Pictures Comprehensively Improve Safety Measures” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Dan Hendrycks, Andy Zou, Mantas Mazeika, Leonard Tang, Bo Li, Dawn Song, Jacob Steinhardt

PIXMIX, a data augmentation method from UC Berkeley, UIUC, and Harvard, comprehensively enhances model robustness and safety by mixing training images with "dreamlike" structurally complex pictures such as fractals and feature visualizations. This approach achieves improvements across five key machine learning safety metrics, including reducing Mean Corruption Error by 19.5% on CIFAR-100 and cutting calibration error in half on ImageNet-C, without degrading clean accuracy or requiring dedicated outlier datasets for anomaly detection.

Key insights

  • Introducing "structural complexity" via specific synthetic images (fractals, feature visualizations) into data augmentation can simultaneously improve multiple, often conflicting, ML safety measures.
  • A single data augmentation technique can achieve a near Pareto improvement across diverse ML safety metrics, challenging the prevailing notion of inherent trade-offs.
  • Feature visualizations, traditionally used for interpretability, can serve as effective sources for performance-enhancing data augmentation.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.