TOAN: Target-Oriented Alignment Network for Fine-Grained Image Categorization With Few Labeled Samples

Huaxi Huang, Junjie Zhang, Litao Yu, Jian Zhang, Qiang Wu, Chang XuIEEE TCSVT 2020 · DOI

TL;DR

This paper introduces TOAN, a novel network designed for fine-grained image categorization when only a few labeled examples are available (few-shot learning). TOAN tackles the challenge of high intra-class variation and low inter-class differences by aligning support image features to query images and then extracting discriminative, compositional features.

What Problem Does This Paper Address?

Fine-grained image categorization (FGIC) aims to distinguish between very similar sub-categories, like different breeds of dogs or models of cars. Traditional FGIC methods rely on large datasets to learn these subtle differences. However, in many real-world scenarios, obtaining such extensive labeled data is difficult or impossible. This paper focuses on the "Fine-Grained Few-Shot Classification" (FGFS) problem, where each category has only a handful of labeled examples. The core challenge in FGFS is the high intra-class variance (e.g., a bird can be in many different poses or lighting conditions within the same species) combined with very low inter-class variance (different species might look very similar). This makes it hard for models to learn robust representations that can generalize to new, unseen examples.

Methods

TOAN addresses the FGFS challenges through two main novel components:

  • Target-Oriented Matching Mechanism (TOMM): This module aims to reduce intra-class variance. Instead of using a fixed template for a class, TOMM treats each query image as a "target" and uses a cross-correction attention mechanism to spatially align the features of the support images with the query image. This effectively "warps" the support image features to match the query's pose and perspective, making them more comparable.
  • Group Pair-wise Bilinear Pooling (GPBP): To enhance inter-class discrimination, GPBP extracts discriminative features. It combines the idea of "compositionality" (breaking down concepts into simpler parts) with second-order pooling. GPBP first groups convolutional features, assuming different groups capture distinct semantic patterns. Then, it applies pair-wise bilinear pooling to these grouped features, creating a richer representation that captures both local and global visual properties. This is a departure from previous methods that often focused solely on global features.

Datasets

The authors evaluated TOAN on four widely-used fine-grained benchmark datasets:

  • Caltech-UCSD Birds-200-2011 (CUB)
  • Stanford Dogs (DOGS)
  • Stanford Cars (CARS)
  • North America Birds (NABirds)

They used standard data splits for these datasets, common in FGIC research.

Key Insights and Ideas

  • Query as the Template: The idea of using the query image itself as a target for aligning support features is a clever way to handle the limited number of support samples in FGFS. It avoids the need to select a "perfect" template from a small set.
  • Compositionality for Fine-Grained Details: Leveraging compositional concepts through grouped features is a promising direction for capturing the subtle, part-based differences crucial in fine-grained recognition.
  • Synergy between TOMM and GPBP: The paper demonstrates that TOMM and GPBP are not just additive but synergistic. TOMM's alignment prepares the features for GPBP's discriminative analysis, leading to better overall performance.
  • Intra-class Variance is a Major Hurdle: The ablation studies strongly suggest that addressing intra-class variance (via TOMM) is as critical, if not more so, than focusing solely on inter-class discrimination in FGFS.

Key Results

TOAN achieved state-of-the-art performance on the evaluated fine-grained datasets. For instance, on the CUB dataset, TOAN achieved 65.34% accuracy in the 5-way-1-shot setting and 80.43% in the 5-way-5-shot setting, outperforming previous methods. Replacing the standard ConvNet-64 backbone with a deeper ResNet-256 further boosted performance. Ablation studies showed that TOMM alone provided significant improvements (around 5% on average) across various baseline models, and the combination of TOMM and GPBP in TOAN yielded the best results.

Limitations and Future Work

  • Computational Complexity: The TOMM operation has a complexity of O((hw)²), where h and w are the spatial dimensions of the feature map. While the authors note that deeper backbones can reduce this complexity, it remains a consideration.
  • Generalization to Other Tasks: The authors suggest that TOAN's core mechanisms (target-oriented matching and group-wise bilinear pooling) could be extended to other weakly-supervised tasks like object detection, localization, and segmentation, which they plan to investigate further.
  • Input Size and Backbone Influence: While larger input sizes and deeper backbones generally improve performance, there's an ongoing trade-off between performance and computational cost.

Summary updated

BibTeX
@article{huang2020toan,
  author = {Huaxi Huang and Junjie Zhang and Litao Yu and Jian Zhang and Qiang Wu and Chang Xu},
  title = {{TOAN: Target-Oriented Alignment Network for Fine-Grained Image Categorization With Few Labeled Samples}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2020},
  doi = {10.1109/tcsvt.2021.3065693},
}
Figure