Skip to main content
QUICK REVIEW

[Paper Review] Certified Robustness for Top-k Predictions against Adversarial Perturbations via Randomized Smoothing

Jinyuan Jia, Xiaoyu Cao|arXiv (Cornell University)|Dec 20, 2019
Adversarial Robustness in Machine LearningComputer Science68 references34 citations
TL;DR

This paper derives a tight certified robustness radius for top-k predictions under Gaussian-randomized smoothing, extending certified robustness from top-1 to top-k and providing practical estimation algorithms and empirical validation on CIFAR-10 and ImageNet.

ABSTRACT

It is well-known that classifiers are vulnerable to adversarial perturbations. To defend against adversarial perturbations, various certified robustness results have been derived. However, existing certified robustnesses are limited to top-1 predictions. In many real-world applications, top-$k$ predictions are more relevant. In this work, we aim to derive certified robustness for top-$k$ predictions. In particular, our certified robustness is based on randomized smoothing, which turns any classifier to a new classifier via adding noise to an input example. We adopt randomized smoothing because it is scalable to large-scale neural networks and applicable to any classifier. We derive a tight robustness in $\ell_2$ norm for top-$k$ predictions when using randomized smoothing with Gaussian noise. We find that generalizing the certified robustness from top-1 to top-$k$ predictions faces significant technical challenges. We also empirically evaluate our method on CIFAR10 and ImageNet. For example, our method can obtain an ImageNet classifier with a certified top-5 accuracy of 62.8\% when the $\ell_2$-norms of the adversarial perturbations are less than 0.5 (=127/255). Our code is publicly available at: \url{https://github.com/jjy1994/Certify_Topk}.

Motivation & Objective

  • Motivate robustness guarantees for top-k predictions, which are more relevant in many applications than top-1.
  • Develop a theoretically tight certified radius for top-k predictions under Gaussian smoothing.
  • Provide practical algorithms to estimate probability bounds and compute certified radii.
  • Demonstrate empirical effectiveness on large-scale datasets (CIFAR-10 and ImageNet).

Proposed method

  • Use randomized smoothing with Gaussian noise to define a smoothed top-k classifier g_k.
  • Derive a tight certified radius R_l for a given label l and top-k set, solving a specific equation involving p_l and p_S_t.
  • Propose two Monte Carlo-based methods (BinoCP and SimuEM) to bound label probabilities p_i with confidence.
  • Develop an algorithm to compute a lower bound of the certified radius via binary search on the governing equation.
  • Present practical prediction and certification procedures (Algorithm 1 and Algorithm 2) with statistical guarantees.
  • Evaluate how parameters (k, sigma, n, alpha) affect the certified top-k accuracy on CIFAR-10 and ImageNet.

Experimental results

Research questions

  • RQ1Can certified robustness be extended from top-1 to top-k predictions under randomized smoothing?
  • RQ2What is the exact form and tightness of the certified radius for top-k predictions with Gaussian noise?
  • RQ3How can we reliably estimate label probability bounds to compute the certified radius in practice?
  • RQ4How do practical parameters (k, sigma, sample size n, confidence alpha) impact certified top-k accuracy on large datasets?

Key findings

  • Derived the first certified radius for top-k predictions under Gaussian randomized smoothing.
  • Proved the certified radius is tight for Gaussian smoothing (under specified conditions).
  • Showed ImageNet results: certified top-1 46.6%, top-3 57.8%, top-5 62.8% at ell2 radius 0.5 (sigma=0.5).
  • Showed CIFAR-10 results: certified top-1 45.2%, top-2 58.8%, top-3 67.2% at ell2 radius 0.5 (sigma=0.5).
  • Established practical estimation methods (SimuEM and BinoCP) for probability bounds with confidence guarantees.
  • Provided a prediction and certification workflow with provable guarantees (Algorithm 1 and Algorithm 2).

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.