Unsupervised Few-shot Learning via Distribution Shift-based Augmentation

Tiexin Qin, Wenbin Li, Yinghuan Shi, Yang GaoarXiv 2020

Abstract

Unsupervised Few-shot Learning (UFL) aims to learn novel categories from minimal examples without labeled data. Current methods often suffer from overfitting by using symmetric data augmentations for support and query sets, leading models to memorize low-level features. We present ULDA (Unsupervised Few-shot Learning via Distribution Shift-based Augmentation), a framework that introduces intentional distribution shifts between support and query sets. By employing asymmetric augmentations and novel mixing strategies, ULDA forces models to learn robust semantic representations. Our approach achieves state-of-the-art performance on miniImageNet and tieredImageNet, significantly narrowing the gap between unsupervised and supervised few-shot learning.

Introduction

Few-shot learning (FSL) represents a critical milestone in artificial intelligence, aiming to match human-level efficiency in learning new concepts from limited data. While supervised FSL has seen significant progress, it relies on large labeled auxiliary datasets. In contrast, Unsupervised Few-shot Learning (UFL) leverages the abundance of unlabeled data by creating synthetic "pseudo-tasks." However, existing UFL frameworks often struggle with generalization due to the high similarity between training and testing instances within these tasks.

The Challenge of Overfitting in UFL

Standard UFL methods typically generate support and query sets by applying similar augmentations to the same base image. This symmetry allows models to "cheat" by matching low-level pixel patterns or textures rather than learning high-level semantic features. Consequently, while these models perform well on synthetic training tasks, they fail to generalize to real-world, unseen data.

Methodology: The ULDA Framework

ULDA addresses this by enforcing asymmetric augmentation. Instead of identical processing, the framework applies distinct augmentation operators to the support and query sets.

The ULDA framework overview, illustrating the generation of support and query sets through asymmetric distribution shifts.

Distribution Shift-based Augmentation

The core of ULDA is the use of different augmentation policies ($A^S$ and $A^Q$). For instance, the support set might undergo complex "AutoAugment" policies, while the query set is subjected to standard rotations and crops. This discrepancy forces the model to identify the semantic "anchor" that remains invariant across different visual distributions.

Distribution Shift-based Task Internal Mixing (DSTIM)

ULDA introduces DSTIM, a novel strategy to further diversify tasks. Beyond standard linear mixing ($TIM_{add}$), the authors propose a subtraction operator ($TIM_{sub}$). By subtracting one image from another, the model is presented with high-contrast, edge-like features that are visually distinct from the original inputs, preventing reliance on simple color or texture shortcuts.

Key Insights: Diversity Over Similarity

The central finding of this research is that increasing the difficulty of the synthetic tasks through distribution shifts directly improves model robustness.

Table 1: Performance comparison of symmetric vs. asymmetric augmentation strategies. Asymmetric pairings (bold) consistently outperform symmetric ones.

As shown in the experimental results, using different augmentations for support and query sets (e.g., Traditional Augmentation vs. AutoAugment) consistently yields higher accuracy than using the same augmentation for both. This confirms that a deliberate distribution shift prevents the model from over-relying on low-level shortcuts.

Results and Performance

ULDA sets new state-of-the-art benchmarks for unsupervised few-shot learning:

  • miniImageNet: Achieved 40.71% (1-shot) and 55.41% (5-shot) accuracy, outperforming previous leaders like UMTRA and CACTUs.
  • tieredImageNet: Reached 41.77% (1-shot) and 56.78% (5-shot), demonstrating scalability to larger, more complex datasets.
  • Ablation Studies: Confirmed that each component—asymmetric augmentation, rotation-based self-supervised loss, and DSTIM—contributes to the overall performance gain.

Conclusion and Future Directions

ULDA demonstrates that "making the homework harder" through distribution shifts is a powerful paradigm for unsupervised learning. While current augmentation pairings are selected empirically, future research could explore automated methods for generating optimal shifts, perhaps using Generative Adversarial Networks (GANs). Additionally, extending this framework to more complex tasks like unsupervised object detection remains a promising avenue for future work.

Summary updated

BibTeX
@misc{qin2020unsupervised,
  author = {Tiexin Qin and Wenbin Li and Yinghuan Shi and Yang Gao},
  title = {{Unsupervised Few-shot Learning via Distribution Shift-based Augmentation}},
  year = {2020},
  eprint = {2004.05805},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.05805},
}
Figure