Skip to main content
QUICK REVIEW

[Paper Review] Controlling Over-generalization and its Effect on Adversarial Examples Generation and Detection

Mahdieh Abbasi, Arezoo Rajabi|arXiv (Cornell University)|Aug 21, 2018
Adversarial Robustness in Machine LearningComputer Science27 references8 citations
TL;DR

This paper proposes an augmented convolutional neural network (CNN) with an additional 'dustbin' class to control over-generalization, improving robustness against both out-of-distribution samples and adversarial examples. By training on representative natural out-of-distribution data and interpolated in-distribution samples, the model achieves higher rejection rates for hostile inputs while maintaining in-distribution accuracy, effectively disentangling adversarial and out-of-distribution samples from legitimate classes.

ABSTRACT

Convolutional Neural Networks (CNNs) significantly improve the state-of-the-art for many applications, especially in computer vision. However, CNNs still suffer from a tendency to confidently classify out-distribution samples from unknown classes into pre-defined known classes. Further, they are also vulnerable to adversarial examples. We are relating these two issues through the tendency of CNNs to over-generalize for areas of the input space not covered well by the training set. We show that a CNN augmented with an extra output class can act as a simple yet effective end-to-end model for controlling over-generalization. As an appropriate training set for the extra class, we introduce two resources that are computationally efficient to obtain: a representative natural out-distribution set and interpolated in-distribution samples. To help select a representative natural out-distribution set among available ones, we propose a simple measurement to assess an out-distribution set's fitness. We also demonstrate that training such an augmented CNN with representative out-distribution natural datasets and some interpolated samples allows it to better handle a wide range of unseen out-distribution samples and black-box adversarial examples without training it on any adversaries. Finally, we show that generation of white-box adversarial attacks using our proposed augmented CNN can become harder, as the attack algorithms have to get around the rejection regions when generating actual adversaries.

Motivation & Objective

  • To address the shared root cause of CNN vulnerability to adversarial examples and high-confidence misclassification of out-of-distribution samples: over-generalization.
  • To develop a unified, end-to-end solution that simultaneously improves detection of both adversarial examples and out-of-distribution inputs.
  • To identify computationally efficient, representative natural out-distribution datasets as effective training data for the dustbin class.
  • To demonstrate that training on natural out-of-distribution data and interpolated samples reduces over-generalization without requiring adversarial examples in training.
  • To show that the augmented CNN increases the difficulty of generating successful white-box adversarial attacks by introducing rejection regions.

Proposed method

  • Augment a standard CNN with an additional 'dustbin' class to explicitly model out-of-distribution and adversarial samples.
  • Train the augmented CNN using a representative natural out-distribution dataset and interpolated in-distribution samples to form the dustbin class.
  • Introduce a fitness measurement to evaluate and select the most suitable natural out-distribution set for training the dustbin class.
  • Use the resulting model to detect out-of-distribution samples and adversarial examples by classifying them into the dustbin class instead of misclassifying them into in-distribution classes.
  • Leverage the model’s learned feature space to make white-box adversarial attack generation harder, as attackers must now evade the dustbin rejection region.
  • Compare performance against threshold-based methods (OpenMax, Calibrated CNN) and standard CNNs on multiple in-distribution and out-of-distribution benchmarks.

Experimental results

Research questions

  • RQ1Can over-generalization be effectively controlled in CNNs by introducing a dedicated dustbin class for out-of-distribution and adversarial samples?
  • RQ2How can a representative natural out-distribution dataset be selected efficiently to train the dustbin class?
  • RQ3Does training an augmented CNN on natural out-of-distribution data and interpolated samples improve detection of both out-of-distribution samples and adversarial examples?
  • RQ4To what extent does the augmented CNN reduce misclassification of adversarial examples and out-of-distribution inputs compared to baseline models?
  • RQ5Can the augmented CNN make white-box adversarial attack generation more difficult by creating effective rejection regions?

Key findings

  • The augmented CNN trained on a representative natural out-distribution set and interpolated samples achieved a 99.98% rejection rate on NotMNIST (seen) and 100% on Omniglot (unseen), outperforming OpenMax and Calibrated CNN.
  • On CIFAR-10, the augmented model achieved 0.00% error and 100% rejection on unseen out-of-distribution sets, significantly outperforming threshold-based baselines.
  • For CIFAR-100, the augmented model achieved 1.52% error and 98.35% rejection on TinyImageNet (seen), while Calibrated CNN failed to converge due to high class count.
  • The model maintained high in-distribution accuracy (e.g., 97.05% on CIFAR-10) while reducing misclassification of out-of-distribution samples.
  • White-box adversarial attacks on the augmented CNN required more perturbation magnitude and were less effective, as attackers had to navigate around the dustbin rejection region.
  • The fitness measurement for out-distribution sets enabled effective selection of training data, directly improving model robustness and generalization.

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.