Skip to main content
QUICK REVIEW

[Paper Review] MACER: Attack-free and Scalable Robust Training via Maximizing Certified Radius

Runtian Zhai, Dan Chen|arXiv (Cornell University)|Jan 8, 2020
Adversarial Robustness in Machine LearningComputer Science35 references66 citations
TL;DR

MACER trains robust deep networks without adversarial attacks by directly maximizing the certified radius from randomized smoothing, achieving provable l2-robustness with faster training and strong empirical results across CIFAR-10, ImageNet, MNIST, and SVHN.

ABSTRACT

Adversarial training is one of the most popular ways to learn robust models but is usually attack-dependent and time costly. In this paper, we propose the MACER algorithm, which learns robust models without using adversarial training but performs better than all existing provable l2-defenses. Recent work shows that randomized smoothing can be used to provide a certified l2 radius to smoothed classifiers, and our algorithm trains provably robust smoothed classifiers via MAximizing the CErtified Radius (MACER). The attack-free characteristic makes MACER faster to train and easier to optimize. In our experiments, we show that our method can be applied to modern deep neural networks on a wide range of datasets, including Cifar-10, ImageNet, MNIST, and SVHN. For all tasks, MACER spends less training time than state-of-the-art adversarial training algorithms, and the learned models achieve larger average certified radius.

Motivation & Objective

  • Motivate robust classification that provides provable guarantees without attack-dependent training.
  • Enable scalable training of deep networks with certified robustness under l2 perturbations.
  • Directly optimize the certified robustness radius to improve both accuracy and robustness.
  • Compare against adversarial training and certification-based baselines across multiple datasets.

Proposed method

  • Utilize smoothed classifiers g_theta defined via Gaussian smoothing of f_theta.
  • Compute certified radius CR(g_theta; x, y) using the Gaussian smoothing bound.
  • Formulate a joint objective l(g_theta; x, y) = l_C(g_theta; x, y) + l_R(g_theta; x, y).
  • Adopt surrogate losses: l_C as cross-entropy; l_R as a hinge loss on the certified radius.
  • Introduce Soft-RS to obtain a differentiable certified radius: CR(tilde g_theta; x, y) with expectations over Gaussian noise.
  • Optimize the empirical surrogate loss via Monte Carlo estimates of z_theta and the smoothed probabilities.
  • Provide an end-to-end algorithm (MACER) that alternates minibatch updates without inner adversarial loops.

Experimental results

Research questions

  • RQ1Can we achieve provable robustness without attack-based training by maximizing a certified radius?
  • RQ2Is randomized smoothing scalable to modern deep networks and large datasets while providing reliable robustness guarantees?
  • RQ3How does MACER compare to existing smoothed classifiers and adversarial training in terms of accuracy and average certified radius (ACR)?
  • RQ4What are practical surrogate losses and differentiable formulations that enable stable optimization of certified robustness?
  • RQ5How do hyperparameters (noise level sigma, k samples, lambda, gamma, beta) affect robustness-accuracy trade-offs across datasets?

Key findings

  • MACER consistently yields higher approximated certified test accuracy than CE-based training alone across CIFAR-10, ImageNet, MNIST, and SVHN.
  • On CIFAR-10, MACER achieves larger average certified radius (ACR) than baselines for comparable settings, with improvements around 3% in some sigma configurations.
  • On ImageNet, MACER attains comparable or better ACR than baselines while reducing training time; e.g., with sigma=0.25, MACER’s ACR is 0.544 versus 0.470 (Cohen) and 0.528 (Salman).
  • MACER runs faster than adversarial training since it avoids inner attack loops, demonstrated by substantially lower sec/epoch and total training hours in CIFAR-10 and ImageNet comparisons.
  • The Soft-RS formulation yields a differentiable certified radius, enabling stable optimization; the hinge-based robustness loss mitigates exploding gradients.
  • Training-time efficiency and robustness gains are demonstrated across large-scale datasets and architectures (e.g., ResNet variants on CIFAR-10 and ImageNet).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.