Skip to main content
QUICK REVIEW

[Paper Review] MetaFormer: A Unified Meta Framework for Fine-Grained Recognition

Qishuai Diao, Yi Jiang|arXiv (Cornell University)|Mar 5, 2022
Domain Adaptation and Few-Shot LearningComputer Science27 citations
TL;DR

MetaFormer uses a hybrid ConvNet-Transformer backbone to fuse vision with diverse meta-information (geography, attributes, text) for fine-grained recognition, achieving state-of-the-art results on several FGVC benchmarks and serving as a strong baseline with or without meta-information.

ABSTRACT

Fine-Grained Visual Classification(FGVC) is the task that requires recognizing the objects belonging to multiple subordinate categories of a super-category. Recent state-of-the-art methods usually design sophisticated learning pipelines to tackle this task. However, visual information alone is often not sufficient to accurately differentiate between fine-grained visual categories. Nowadays, the meta-information (e.g., spatio-temporal prior, attribute, and text description) usually appears along with the images. This inspires us to ask the question: Is it possible to use a unified and simple framework to utilize various meta-information to assist in fine-grained identification? To answer this problem, we explore a unified and strong meta-framework(MetaFormer) for fine-grained visual classification. In practice, MetaFormer provides a simple yet effective approach to address the joint learning of vision and various meta-information. Moreover, MetaFormer also provides a strong baseline for FGVC without bells and whistles. Extensive experiments demonstrate that MetaFormer can effectively use various meta-information to improve the performance of fine-grained recognition. In a fair comparison, MetaFormer can outperform the current SotA approaches with only vision information on the iNaturalist2017 and iNaturalist2018 datasets. Adding meta-information, MetaFormer can exceed the current SotA approaches by 5.9% and 5.3%, respectively. Moreover, MetaFormer can achieve 92.3% and 92.7% on CUB-200-2011 and NABirds, which significantly outperforms the SotA approaches. The source code and pre-trained models are released athttps://github.com/dqshuai/MetaFormer.

Motivation & Objective

  • Motivate the need for leveraging multi-source meta-information beyond pure vision for FGVC tasks.
  • Propose a unified, simple framework that can fuse vision and various meta-information without task-specific bells-and-whistles.
  • Assess the impact of large-scale pre-training and meta-information under different model sizes on FGVC performance.
  • Provide strong baselines for FGVC using only vision information and with added meta-information across multiple datasets.

Proposed method

  • Introduce a hybrid framework where convolution encodes vision and transformer layers fuse vision with meta-information.
  • Encode meta-information via non-linear embeddings (including geolocation, attributes, and text) and fuse through Relative Transformer Layers.
  • Use an aggregate layer to combine class tokens from different stages for final prediction.
  • Employ overlapping patch embedding and a staged network design to manage downsampling and computational costs.
  • Experiment with various pre-training regimes (ImageNet-1k, ImageNet-21k, iNaturalist) to study their effect on FGVC performance.
  • Visualize model usage of meta-information and analyze pre-training impact on downstream FGVC tasks.

Experimental results

Research questions

  • RQ1Can a unified transformer-based framework effectively fuse vision with diverse meta-information for FGVC without task-specific priors?
  • RQ2How does meta-information influence FGVC performance across datasets like iNaturalist, CUB-200-2011, and NABirds under different pre-training regimes?
  • RQ3What is the role of large-scale pre-training in achieving SotA results for FGVC with MetaFormer?
  • RQ4Does MetaFormer provide strong vision-only baselines for FGVC and remain robust when meta-information is integrated?

Key findings

  • MetaFormer achieves state-of-the-art performance on CUB-200-2011 and NABirds with vision-only input.
  • Adding meta-information yields further gains across iNaturalist 2017/2018/2021, with improvements evident as visual ability increases.
  • With larger pre-trained models (e.g., ImageNet-21k), MetaFormer reaches 92.3% on CUB-200-2011 and 92.7% on NABirds, surpassing prior SotA methods.
  • On iNaturalist 2017/2018, MetaFormer-1 achieves 78.2% and 81.9% with ImageNet-1k pre-training, and higher with ImageNet-21k pre-training (79.4% and 83.2%).
  • MetaFormer provides a simple yet strong baseline for FGVC and demonstrates that meta-information can be flexibly integrated via a single transformer-based fusion mechanism.
  • The study highlights the significant impact of pre-training choices on FGVC performance, with domain-relevant pre-training (iNaturalist) sometimes surpassing ImageNet-21k.

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.