Self-Denoising Neural Networks for Few Shot Learning

Steven Schwarcz, Sai Saketh Rambhatla, Rama ChellappaarXiv 2021 · OpenReview

TL;DR

This paper introduces Self-Denoising Neural Networks (SDNNs), a novel architecture that enhances few-shot learning by injecting noise at multiple stages of a neural network during training and simultaneously training it to be robust to this noise. SDNNs achieve state-of-the-art results on several few-shot image recognition benchmarks and also improve performance on action detection tasks, demonstrating their broad applicability.

What Problem Does This Paper Address?

Deep learning models typically require vast amounts of labeled data to achieve high performance. However, in many real-world scenarios, obtaining such large datasets is impractical or impossible. This is particularly true for "few-shot learning," where the goal is to train a model to recognize new classes using only a handful of examples (e.g., one or five per class). Traditional supervised learning methods fail in this low-data regime, necessitating specialized techniques. While existing few-shot learning methods have made progress, there's a continuous need for simpler, more effective, and broadly applicable approaches that can improve performance without requiring entirely new architectures or complex training procedures.

Methods

The core innovation is the Self-Denoising Neural Network (SDNN) architecture. Instead of adding a separate denoising module, SDNNs integrate denoising directly into the training of existing neural networks. Here's how it works:

  • Noise Injection: During training, additive Gaussian noise or dropout noise is applied to the feature maps before each block of a standard convolutional neural network (like ResNet or Wide-ResNet).
  • Auxiliary Losses: Crucially, after each block where noise was added, an auxiliary classification loss is introduced. This forces the network to produce classification outputs that are consistent, even with the noisy intermediate features. This is the "self-denoising" aspect – the network learns to produce robust features that are useful for classification despite the injected noise.
  • No Noise at Inference: During inference, no noise is added. The network then leverages its learned robustness to produce refined, more representative features.
  • Simplicity and Applicability: The SDNN architecture is designed to be a simple modification to existing networks. It requires minimal architectural changes and can be applied to various modern deep learning architectures.

Datasets

The paper evaluates SDNNs on several standard few-shot learning benchmarks for image recognition:

  • miniImageNet: A subset of ImageNet with 100 classes, used with a common split of 64 base classes for training, 16 for validation, and 20 for testing.
  • tieredImageNet: A larger dataset with 608 classes, also sampled from ImageNet, with splits of 351, 97, and 160 classes for training, validation, and testing, respectively.
  • CIFAR-FS: A dataset derived from CIFAR-100, with 64 base classes, 16 validation classes, and 20 novel test classes.

Additionally, the method is evaluated on the ActEV SDL Surprise Activities challenge for human action detection in video.

Key Insights and Ideas

  • Denoising as a Regularizer: The paper highlights that the benefit of denoising in few-shot learning isn't about perfect reconstruction but about making features more robust and closer to the true data manifold.
  • Auxiliary Losses are Critical: Simply adding noise to a network during training has minimal impact. The key to SDNNs' success is the combination of noise injection and auxiliary classification losses that enforce consistent performance across noisy and clean features.
  • Orthogonality and Composability: SDNNs are presented as a general technique that can be easily combined with other few-shot learning methods (like rotation prediction tasks, as shown with BF3S) to achieve further performance gains, suggesting they don't interfere with existing orthogonal approaches.
  • Deeper Layers Benefit Most: Experiments suggest that adding noise to later layers of a network yields greater performance improvements, likely because these layers capture more semantic information.
  • Non-Spatial Noise is Important: For additive Gaussian noise, using "non-spatial" noise (where the same noise value is applied across spatial dimensions of a feature map) is crucial for effective denoising, especially when combined with pooling operations.

Key Results

  • State-of-the-Art Performance: SDNNs, using Wide-ResNet-28-10, outperform previous state-of-the-art methods on miniImageNet, tieredImageNet, and CIFAR-FS for both 1-shot and 5-shot learning. For example, on miniImageNet, the Gaussian SDNN achieves 62.12% 1-shot accuracy and 78.97% 5-shot accuracy.
  • Improved Action Detection: The SDNN approach also shows significant improvements in human action detection on the ActEV SDL Surprise Activities challenge, achieving a better nAUDC score (0.691) compared to a baseline Cosine Classifier (0.745).
  • Effectiveness of Components: Ablation studies confirm that both noise injection and auxiliary losses are necessary for optimal performance, with the combination being most effective.
  • Parameter Sensitivity: Performance is sensitive to the level of noise (e.g., optimal σ for Gaussian noise is around 0.06) and dropout probability (optimal is around 0.1).

Limitations and Future Work

  • Noise Level Tuning: The optimal noise level (e.g., σ for Gaussian noise, probability for dropout) needs to be tuned for each specific task and architecture.
  • Deeper Networks: While the paper shows benefits in deeper networks, the optimal placement of noise injection (e.g., which layers) might require further investigation for different architectures.
  • Computational Cost: While the architectural changes are minimal, adding auxiliary losses and noise injection during training does increase computational overhead, though the paper doesn't quantify this extensively.
  • Future Work: The authors suggest exploring SDNNs with other few-shot learning techniques and investigating their application to even more complex tasks and architectures. They also note that the "Gaussian SDNN + BF3S" experiment suggests that SDNNs can be effectively combined with other methods, opening avenues for further research in this direction.

Summary updated

Abstract

In this paper, we introduce a new architecture for few shot learning, the task of teaching a neural network from as few as one or five labeled examples. Inspired by the theoretical results of Alaine et al that Denoising Autoencoders refine features to lie closer to the true data manifold, we present a new training scheme that adds noise at multiple stages of an existing neural architecture while simultaneously learning to be robust to this added noise. This architecture, which we call a Self-Denoising Neural Network (SDNN), can be applied easily to most modern convolutional neural architectures, and can be used as a supplement to many existing few-shot learning techniques. We empirically show that SDNNs out-perform previous state-of-the-art methods for few shot image recognition using the Wide-ResNet architecture on the \textit{mini}ImageNet, tiered-ImageNet, and CIFAR-FS few shot learning datasets. We also perform a series of ablation experiments to empirically justify the construction of the SDNN architecture. Finally, we show that SDNNs even improve few shot performance on the task of human action detection in video using experiments on the ActEV SDL Surprise Activities challenge.
BibTeX
@misc{schwarcz2021self,
  author = {Steven Schwarcz and Sai Saketh Rambhatla and Rama Chellappa},
  title = {{Self-Denoising Neural Networks for Few Shot Learning}},
  year = {2021},
  eprint = {2110.13386},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.13386},
}
Figure