Diversity Transfer Network for Few-Shot Learning

Mengting Chen, Yuxin Fang, Xinggang Wang, Heng Luo, Yifeng Geng, Xinyu Zhang, Chang Huang, Wenyu Liu, Bo Wang

Abstract

The Diversity Transfer Network (DTN) is a generative framework for few-shot learning that "borrows" intra-class variations from known categories to hallucinate diverse samples for novel ones. By integrating feature generation and meta-classification into a single-stage, end-to-end network and using a structured training curriculum (OAT), DTN achieves state-of-the-art performance on standard benchmarks with faster and more stable convergence than previous generative methods.

Introduction

Deep neural networks are notoriously data-hungry, yet humans can learn new concepts from just one or two examples. This "Few-Shot Learning" (FSL) is difficult because a single image cannot represent the full diversity of a category (e.g., different poses, lighting, or backgrounds). While many FSL methods focus on better metric learning or meta-learning, generation-based approaches try to solve the root cause: the lack of data. However, previous generative models often required complex, multi-stage training pipelines or relied on inefficient reconstruction losses.

Methods

The authors introduce two primary innovations: the Diversity Transfer Network (DTN) and Organized Auxiliary task co-Training (OAT).

Diversity Transfer Network (DTN)

The core idea is Diversity Transfer. DTN takes the "offset" (the difference in latent space) between two different reference features from a known class and applies that offset to a support feature of a novel class to create a new, "hallucinated" feature.

The DTN architecture integrates feature extraction, generation, and meta-classification into a single-stage pipeline.
  • The Generator ($G$): It extracts diversity from a reference pair and composites it with the support feature.
  • Single-Stage Meta-Classification: DTN is trained end-to-end. The generator is optimized specifically to minimize the classification error of "query" images, ensuring generated samples are discriminatively useful.

Organized Auxiliary task co-Training (OAT)

To stabilize training, OAT introduces a structured curriculum that gradually shifts focus from standard classification across all known training classes (auxiliary task) to the more complex meta-learning task. This ensures the feature extractor learns a solid foundation before tackling few-shot scenarios, reducing accuracy fluctuations during training.

Results and Discussion

The model was evaluated on standard FSL benchmarks: miniImageNet, CIFAR100, and CUB.

Performance Comparison

DTN outperformed previous feature-generation methods. On miniImageNet (5-way 1-shot), it achieved 63.45% accuracy using a ResNet-12 backbone, establishing a new state-of-the-art for generative FSL.

Comparison of DTN with state-of-the-art methods on the miniImageNet benchmark.

Key Insights

  • Classification over Reconstruction: Optimizing the generator via meta-classification loss produces features that are discriminatively useful, even without pixel-perfect reconstruction.
  • Universal Diversity: Latent diversity (e.g., orientation changes) learned from one class is often transferable to others.
  • Proxy-based Classification: Averaging original support features with generated ones creates a robust "proxy" class center, significantly improving nearest-neighbor classification.
  • Ablation on Hallucination: Generating 64 samples per support image provided the best balance, successfully "filling" the local distribution of the category.

Conclusion

DTN provides a simple yet effective single-stage framework for few-shot learning through diversity transfer. By focusing on discriminative utility rather than image reconstruction and employing a stable training curriculum, it achieves superior performance and efficiency. Future work may explore more sophisticated sampling strategies for reference pairs and broader applications in semi-supervised learning.

Summary updated

BibTeX
@inproceedings{chen2020diversity,
  author = {Mengting Chen and Yuxin Fang and Xinggang Wang and Heng Luo and Yifeng Geng and Xinyu Zhang and Chang Huang and Wenyu Liu and Bo Wang},
  title = {{Diversity Transfer Network for Few-Shot Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6628},
}
Figure