Reproduce “Your Diffusion Model is Secretly a Certifiably Robust Classifier” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

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

About this paper

Huanran Chen, Yinpeng Dong, Shitong Shao, Zhongkai Hao, Xiao Yang, Hang Su, Jun Zhu

Researchers at Tsinghua University establish the first certified robustness for diffusion classifiers by deriving their Lipschitz constant and integrating them with randomized smoothing, achieving state-of-the-art certified accuracy on CIFAR-10 (e.g., 82.2% at ℓ2 radius 0.25) and ImageNet64x64 without requiring adversarial training. The work also introduces practical optimizations for efficiency and scalability.

Key insights

  • Diffusion classifiers inherently possess an O(1) Lipschitz constant, providing a theoretical foundation for their robustness.
  • Extending diffusion classifiers to classify noisy inputs through novel ELBO derivations enables tighter certified robustness when combined with randomized smoothing.
  • The Approximated Posterior Noised Diffusion Classifier (APNDC) effectively acts as an ensemble, yielding superior certified robustness with only a slight computational increase.
  • Computational efficiency techniques, such as variance reduction and a sift-and-refine algorithm, are critical for scaling certified robustness to larger datasets and more classes.

Summary by alphaXiv.

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