Skip to main content
QUICK REVIEW

[Paper Review] LTD: Low Temperature Distillation for Gradient Masking-free Adversarial Training

Erh–Chung Chen, Che–Rung Lee|arXiv (Cornell University)|Nov 3, 2021
Adversarial Robustness in Machine LearningComputer Science55 references11 citations
TL;DR

This paper proposes Low Temperature Distillation (LTD), a knowledge distillation-based method that improves adversarial robustness by using soft labels from a teacher model with a low temperature, avoiding gradient masking. LTD achieves 58.19% robust accuracy on CIFAR-10 and 42.08% on ImageNet without additional data, outperforming prior methods by leveraging smoother inter-class probability distributions.

ABSTRACT

Adversarial training is a widely adopted strategy to bolster the robustness of neural network models against adversarial attacks. This paper revisits the fundamental assumptions underlying image classification and suggests that representing data as one-hot labels is a key factor that leads to vulnerabilities. However, in real-world datasets, data ambiguity often arises, with samples exhibiting characteristics of multiple classes, rendering one-hot label representations imprecise. To address this, we introduce a novel approach, Low-Temperature Distillation (LTD), designed to refine label representations. Unlike previous approaches, LTD incorporates a relatively low temperature in the teacher model, while maintaining a fixed temperature for the student model during both training and inference. This strategy not only refines assumptions about data distribution but also strengthens model robustness and avoids the gradient masking problem commonly encountered in defensive distillation. Experimental results demonstrate the efficacy of the proposed method when combined with existing frameworks, achieving robust accuracy rates of 58.19%, 31.13%, and 42.08% on the CIFAR-10, CIFAR-100, and ImageNet datasets, respectively, without the need for additional data.

Motivation & Objective

  • To address the robustness gap between natural and robust accuracy in deep neural networks.
  • To identify one-hot label representation as a key factor undermining model robustness, especially for ambiguous images.
  • To propose a soft label-based training method that captures inter-class relationships without gradient masking.
  • To improve adversarial robustness using a modified distillation framework with distinct teacher and student temperatures.
  • To achieve state-of-the-art robust accuracy on CIFAR-10, CIFAR-100, and ImageNet without relying on additional unlabeled data.

Proposed method

  • LTD uses a knowledge distillation framework where the teacher model is trained with a low temperature to produce soft labels.
  • The student model is trained using cross-entropy loss with soft labels from the teacher, using a different, higher temperature than the teacher.
  • The method avoids gradient masking by not relying on defensive distillation’s temperature-based gradient smoothing.
  • Soft labels are generated from a well-trained teacher model, capturing inter-class relationships and semantic distances.
  • The approach is combined with adversarial training techniques like AWP to further boost robustness.
  • The framework is evaluated on Wide ResNet and ResNet-50 architectures across CIFAR-10, CIFAR-100, and ImageNet.

Experimental results

Research questions

  • RQ1Can replacing one-hot labels with soft labels improve adversarial robustness in deep neural networks?
  • RQ2Does using a low temperature in the teacher model enhance the quality of soft labels for robust generalization?
  • RQ3Can distinct temperatures for teacher and student models avoid gradient masking while improving robustness?
  • RQ4How does LTD compare to existing adversarial training methods in terms of robust accuracy without additional data?
  • RQ5Can LTD be effectively combined with other robust training techniques like AWP to further improve performance?

Key findings

  • LTD achieves 55.09% robust accuracy on CIFAR-10 using WRN-34-10 without additional data, outperforming baseline adversarial training.
  • When combined with AWP, LTD reaches 58.19% robust accuracy on CIFAR-10, setting a new state-of-the-art for methods without extra data.
  • On CIFAR-100, LTD achieves 31.13% robust accuracy, nearly the best result among data-free methods.
  • For ImageNet, LTD improves robust accuracy by approximately 4% compared to the same architecture without LTD.
  • The use of soft labels from a low-temperature teacher model significantly reduces the discrepancy between oracle distributions and model predictions.
  • Adversarially trained models make poor teachers due to low natural accuracy, so naturally trained models are preferred for soft label generation.

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.