# Distillation as a Defense to Adversarial Perturbations against Deep Neural Networks

Source: [Distillation as a Defense to Adversarial Perturbations against Deep Neural Networks](<https://www.sota2.com/research/paper/68fa62621e209131ce9f8fbb>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-25T20:18:31.734Z

Authors: Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, Ananthram Swami

Published: 2015-11-14T04:51:04.000Z

## Abstract

Deep learning algorithms have been shown to perform extremely well on many classical machine learning problems. However, recent studies have shown that deep learning, like other machine learning techniques, is vulnerable to adversarial samples: inputs crafted to force a deep neural network (DNN) to provide adversary-selected outputs. Such attacks can seriously undermine the security of the system supported by the DNN, sometimes with devastating consequences. For example, autonomous vehicles can be crashed, illicit or illegal content can bypass content filters, or biometric authentication systems can be manipulated to allow improper access. In this work, we introduce a defensive mechanism called defensive distillation to reduce the effectiveness of adversarial samples on DNNs. We analytically investigate the generalizability and robustness properties granted by the use of defensive distillation when training DNNs. We also empirically study the effectiveness of our defense mechanisms on two DNNs placed in adversarial settings. The study shows that defensive distillation can reduce effectiveness of sample creation from 95% to less than 0.5% on a studied DNN. Such dramatic gains can be explained by the fact that distillation leads gradients used in adversarial sample creation to be reduced by a factor of 10^30. We also find that distillation increases the average minimum number of features that need to be modified to create adversarial samples by about 800% on one of the DNNs we tested.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Adversarial Robustness on CUB-200 (test)](<https://www.sota2.com/research/sota/adversarial-robustness-on-cub-200-test.md>): Adversarial Robustness; CUB-200 (test); HSJA (Naive) Median Distance: 2.65.

- [Attack Detection on IEEE 14-bus system](<https://www.sota2.com/research/sota/attack-detection-on-ieee-14-bus-system.md>): Attack Detection; IEEE 14-bus system; Accuracy: 45.7.

- [Attack Detection on IEEE 30-bus system](<https://www.sota2.com/research/sota/attack-detection-on-ieee-30-bus-system.md>): Attack Detection; IEEE 30-bus system; Accuracy: 42.6.

- [Attack Detection on IEEE 118-bus system](<https://www.sota2.com/research/sota/attack-detection-on-ieee-118-bus-system.md>): Attack Detection; IEEE 118-bus System; Accuracy: 40.2.

- [Attack Detection on IEEE 300-bus system](<https://www.sota2.com/research/sota/attack-detection-on-ieee-300-bus-system.md>): Attack Detection; IEEE 300-bus system; Accuracy: 48.3.

- [Adversarial Robustness on CIFAR-10 (L-inf, eps=4/255)](<https://www.sota2.com/research/sota/adversarial-robustness-on-cifar-10-l-inf-eps-4-255.md>): Adversarial Robustness; CIFAR-10 L-infinity, epsilon=4/255; Robust Accuracy (AA): 2.85.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/1511.04508>)

[PDF](<https://arxiv.org/pdf/1511.04508.pdf>)
