Skip to main content
QUICK REVIEW

[Paper Review] Tree Structure-Aware Few-Shot Image Classification via Hierarchical Aggregation

Min Zhang, Siteng Huang|arXiv (Cornell University)|Jul 14, 2022
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes a plug-in Hierarchical Tree Structure-aware (HTS) method for few-shot image classification that models relationships between raw and augmented images via a tree structure and adaptively selects useful features using a gated aggregator. HTS significantly improves multiple few-shot learning methods, achieving new state-of-the-art performance on four benchmark datasets by leveraging pretext tasks more effectively through structured feature aggregation.

ABSTRACT

In this paper, we mainly focus on the problem of how to learn additional feature representations for few-shot image classification through pretext tasks (e.g., rotation or color permutation and so on). This additional knowledge generated by pretext tasks can further improve the performance of few-shot learning (FSL) as it differs from human-annotated supervision (i.e., class labels of FSL tasks). To solve this problem, we present a plug-in Hierarchical Tree Structure-aware (HTS) method, which not only learns the relationship of FSL and pretext tasks, but more importantly, can adaptively select and aggregate feature representations generated by pretext tasks to maximize the performance of FSL tasks. A hierarchical tree constructing component and a gated selection aggregating component is introduced to construct the tree structure and find richer transferable knowledge that can rapidly adapt to novel classes with a few labeled images. Extensive experiments show that our HTS can significantly enhance multiple few-shot methods to achieve new state-of-the-art performance on four benchmark datasets. The code is available at: https://github.com/remiMZ/HTS-ECCV22.

Motivation & Objective

  • To address the limitation of existing few-shot learning methods that indiscriminately use all augmented images from pretext tasks, which can degrade performance due to ambiguous semantic information.
  • To improve generalization in few-shot learning by learning transferable knowledge from pretext tasks beyond human-annotated labels.
  • To develop a flexible, plug-in framework that can adaptively select and aggregate feature representations from multiple pretext tasks based on their relevance to the few-shot classification task.
  • To model the hierarchical relationships among raw images and their augmentations using a tree structure that supports dynamic changes in pretext tasks or augmented data.

Proposed method

  • A hierarchical tree constructing component is introduced to model relationships between raw images and their augmentations from different pretext tasks, with nodes representing images and edges encoding feature similarity.
  • The tree structure uses multiple levels to represent features from different pretext tasks, enabling the model to learn task-specific and shared representations hierarchically.
  • A gated selection aggregating component based on TreeLSTM is used to dynamically weigh and aggregate features from different nodes in the tree, prioritizing informative and transferable representations.
  • The method operates under both data augmentation (DA) and self-supervised learning (SSL) settings, allowing it to be integrated with existing few-shot learning frameworks as a plug-in.
  • The model is trained using a multi-task objective that jointly optimizes the few-shot classification loss and the pretext task losses, with the tree structure guiding selective feature fusion.
  • The framework is compatible with standard backbones like Conv4 and ResNet12, and is applied end-to-end with global average pooling and a final fully connected layer for 64-dimensional embeddings.

Experimental results

Research questions

  • RQ1Can a structured representation of augmented images improve few-shot classification performance beyond standard data augmentation or self-supervised learning?
  • RQ2How can a model adaptively select the most useful feature representations from multiple pretext tasks to avoid negative transfer from ambiguous augmentations?
  • RQ3To what extent does modeling hierarchical relationships among augmented images enhance feature transferability and generalization in low-shot settings?
  • RQ4Does the proposed method generalize across diverse datasets and few-shot learning settings, including cross-domain scenarios?

Key findings

  • HTS achieves new state-of-the-art performance on four benchmark datasets: mini-ImageNet, tiered-ImageNet, CUB-200-2011, and CIFAR-FS under both 1-shot and 5-shot settings.
  • On mini-ImageNet, HTS improves the accuracy of ProtoNet by 2.1% under 5-way 1-shot and 1.8% under 5-way 5-shot settings when using rotation and color permutation pretext tasks.
  • The method demonstrates strong cross-domain generalization, outperforming ProtoNet across all domain shift settings in the cross-domain evaluation, including single-domain and off-diagonal domain shifts.
  • Grad-CAM visualizations show that HTS encourages attention on discriminative local object features, reducing semantic bias caused by pretext tasks compared to baseline models.
  • Ablation studies confirm that the hierarchical tree structure and gated aggregation are both essential, with the tree structure enabling better feature organization and the gate mechanism improving selection accuracy.
  • The method is robust across different pretext tasks—such as rotation and color permutation—showing consistent performance gains on all four datasets regardless of task type.

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.