Skip to main content
QUICK REVIEW

[Paper Review] Extending Defensive Distillation

Nicolas Papernot, Patrick McDaniel|arXiv (Cornell University)|May 15, 2017
Adversarial Robustness in Machine LearningComputer Science19 references84 citations
TL;DR

The paper proposes an extended defensive distillation approach that uses dropout-based uncertainty and an outlier class to improve robustness against adversarial examples, evaluated under white-box and black-box attacks.

ABSTRACT

Machine learning is vulnerable to adversarial examples: inputs carefully modified to force misclassification. Designing defenses against such inputs remains largely an open problem. In this work, we revisit defensive distillation---which is one of the mechanisms proposed to mitigate adversarial examples---to address its limitations. We view our results not only as an effective way of addressing some of the recently discovered attacks but also as reinforcing the importance of improved training techniques.

Motivation & Objective

  • Motivate the need for robust defenses against adversarial examples in machine learning.
  • Extend defensive distillation to address gradient masking and transferability weaknesses.
  • Introduce uncertainty-aware labeling and an outlier class during distilled model training.
  • Evaluate robustness under white-box and black-box attack scenarios using MNIST.
  • Assess trade-offs between accuracy, false positives, and detection/recovery of adversarial examples.

Proposed method

  • Train a first model f on standard data with original labels and use its predictions to label a second model f^d.
  • Maintain softmax temperature T=1 for the distilled model and augment its outputs with an outlier class.
  • Quantify predictive uncertainty of f using dropout-based multiple stochastic forward passes to obtain a mean and variance of logits.
  • Define a new labeling vector k(x) that couples the correct class probability with the normalized uncertainty to allocate probability mass to the outlier class.
  • Train f^d with the new labeling vectors and include an auxiliary loss term to penalize misranking of correct versus other classes, reinforcing uncertainty handling.
  • Evaluate robustness against white-box and black-box attacks (FGM, JSMA, AdaDelta) on MNIST with dropout configured at 0.2 before input and 0.5 after convolution.

Experimental results

Research questions

  • RQ1Does the extended defensive distillation reduce susceptibility to gradient-based and transferability attacks compared to original defensive distillation?
  • RQ2Can uncertainty-aware labeling and an outlier class improve detection and recovery of adversarial examples while preserving accuracy on legitimate inputs?
  • RQ3Is robustness maintained under both white-box and black-box threat models without relying on gradient masking?
  • RQ4What are the trade-offs between alpha (uncertainty weight), number of dropout passes N, and model performance on clean data and adversarial examples?

Key findings

  • The distilled model achieved 97.28% accuracy on legitimate inputs, versus 98.41% for the undefended baseline.
  • False positives remained below 1%.
  • Undefended models showed high misclassification rates on adversarial inputs (FGM 90.8%, JSMA 92.2%, AdaDelta 96.0%).
  • The extended defense improves robustness in a neighborhood around test points against white-box attacks and maintains comparable black-box robustness, mitigating gradient masking concerns.
  • Increasing alpha raises detection/recovery of adversarial examples but can raise false positives on legitimate inputs.
  • Using multiple dropout passes (around 20) for uncertainty estimates yields convergence in robustness metrics.

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.