Semantic Feature Augmentation in Few-shot Learning

Zitian Chen, Yanwei Fu, Yinda Zhang, Yu-Gang Jiang, Xiangyang Xue, Leonid Sigal

Abstract

Few-shot learning is a challenging task where models must learn to recognize new categories from very few examples. Traditional data augmentation techniques often fail to capture the complex intra-class variations necessary for robust generalization. This paper introduces dual TriNet, an architecture designed to augment training data by mapping visual features into a semantic "concept space." By perturbing features in this semantic domain and decoding them back into the visual feature space, the model generates diverse, non-linear augmentations. Experimental results on benchmarks like miniImageNet and CUB-200 demonstrate significant improvements over baseline models and standard augmentation methods.

Introduction: The Challenge of Data Starvation

The primary hurdle in few-shot learning is "data starvation." While humans can generalize from a single instance, deep learning models typically require vast amounts of data to establish robust decision boundaries. Standard solutions like image flipping or rotation are often too simplistic to capture true conceptual variation. Conversely, generative approaches like GANs are computationally intensive and may struggle to preserve discriminative details. The authors propose that the optimal space for "hallucinating" new data is the feature space, where semantic concepts and visual patterns intersect.

Methodology: The Dual TriNet Architecture

The core contribution is the dual TriNet, an encoder-decoder framework integrated with a ResNet-18 backbone.

The dual TriNet architecture maps multi-level visual features into a semantic space for augmentation before decoding them back into augmented visual features.

1. Multi-level Feature Extraction

Rather than relying solely on the final CNN layer, the model extracts features from four distinct stages of the ResNet. This approach captures a hierarchy of information, ranging from low-level textures to high-level object parts.

2. The Semantic Bridge and Augmentation

The Encoder-TriNet maps these multi-layer visual features into a shared semantic space, which can be defined by word vectors (e.g., word2vec), human-defined attributes, or SVD-derived subspaces. Once in this space, two primary augmentation strategies are employed:

  • Semantic Gaussian (SG): Random Gaussian noise is added to the semantic vector. Small perturbations in this continuous space result in semantically valid variations.
  • Semantic Neighborhood (SN): An instance's semantic vector is replaced with those of its linguistic "neighbors" (e.g., using "truck" features to help define "car").

3. Feature Decoding

The Decoder-TriNet projects these perturbed semantic vectors back into the visual feature space. Due to the non-linear nature of the mapping, simple semantic noise transforms into complex, non-Gaussian distributions in the feature space, providing a rich set of training data for the final classifier.

Experimental Results

The authors evaluated the dual TriNet on several benchmarks, including miniImageNet, CUB-200 (Birds), Cifar-100, and Caltech-256.

Key findings include:

  • Performance Gains: On miniImageNet (1-shot), accuracy improved from a baseline of 52.73% to 58.12%. On CUB-200, it rose from 66.54% to 69.61%.
  • Classifier Agnosticism: The augmented features significantly boosted the performance of simple classifiers like SVM and Logistic Regression, indicating that the quality of the data augmentation itself is a primary driver of success.
  • Multi-Level Synergy: Augmenting features across multiple layers (Multi-L) consistently outperformed single-layer augmentation, as it combines variations in both low-level textures and high-level abstract parts.

Conclusion and Future Work

The dual TriNet demonstrates that leveraging semantic continuity in linguistic models allows for more meaningful data augmentation in few-shot scenarios. By transforming semantic perturbations into complex visual feature variations, the model effectively "imagines" new instances in different poses or appearances. Future work may involve extending this approach to deeper backbones like ResNet-50 and applying semantic feature augmentation to tasks such as one-shot image segmentation or video analysis.

Summary updated

BibTeX
@article{chen2019semantic,
  author = {Zitian Chen and Yanwei Fu and Yinda Zhang and Yu-Gang Jiang and Xiangyang Xue and Leonid Sigal},
  title = {{Semantic Feature Augmentation in Few-shot Learning}},
  journal = {IEEE Trans. Image Process.},
  year = {2019},
  url = {https://openreview.net/forum?id=N2xFtw_N0Cs},
}
Figure