[论文解读] MetaFormer: A Unified Meta Framework for Fine-Grained Recognition
MetaFormer 使用混合 ConvNet-Transformer 骨干,将视觉信息与多样化的元信息(地理信息、属性、文本)融合以进行细粒度识别,在若干 FGVC 基准上达到最先进结果,并作为强基线在有无元信息时都表现良好。
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.
研究动机与目标
- 利用多源元信息来扩展对 FGVC 任务的需求,而不仅仅是纯视觉信息。
- 提出一个统一、简单的框架,能够在没有任务特定花哨设计的情况下融合视觉与多种元信息。
- 在不同模型规模下,评估大规模预训练与元信息对 FGVC 表现的影响。
- 为 FGVC 提供仅使用视觉信息的强基线,以及在多数据集上加入元信息时的基线。
提出的方法
- 引入一个混合框架,其中卷积用于编码视觉信息,Transformer 层将视觉信息与元信息融合。
- 通过非线性嵌入对元信息进行编码(包括地理位置、属性和文本),并通过 Relative Transformer Layers 进行融合。
- 使用聚合层将来自不同阶段的类别标记合并以进行最终预测。
- 采用重叠补丁嵌入和分阶段的网络设计,以管理下采样和计算成本。
- 尝试多种预训练方案(ImageNet-1k、ImageNet-21k、iNaturalist),研究它们对 FGVC 表现的影响。
- 可视化模型对元信息的使用并分析预训练对下游 FGVC 任务的影响。
实验结果
研究问题
- RQ1一个统一的基于 Transformer 的框架是否能够在没有任务先验的情况下,有效地将视觉信息与多样的元信息融合用于 FGVC?
- RQ2在不同的预训练方案下,元信息如何影响 iNaturalist、CUB-200-2011、NABirds 等数据集的 FGVC 表现?
- RQ3大规模预训练在实现 FGVC 的 SotA 结果中起到何种作用?
- RQ4MetaFormer 是否为 FGVC 提供了强大的视觉信息基线,并在整合元信息时保持鲁棒性?
主要发现
- MetaFormer 在仅使用视觉信息时就达到 CUB-200-2011 和 NABirds 的最先进水平。
- 加入元信息后,在 iNaturalist 2017/2018/2021 上进一步提升,随着视觉能力提升,提升效果更加明显。
- 在更大规模的预训练模型(如 ImageNet-21k)下,MetaFormer 在 CUB-200-2011 上达到 92.3%,在 NABirds 上达到 92.7%,超越之前的 SotA 方法。
- 在 iNaturalist 2017/2018 上,MetaFormer-1 在 ImageNet-1k 预训练时分别达到 78.2% 和 81.9%,在 ImageNet-21k 预训练时达到更高的 79.4% 和 83.2%。
- MetaFormer 为 FGVC 提供了一个简单而强大的基线,并证明通过单一的 transformer 基融合机制可以灵活地集成元信息。
- 研究强调了预训练选择对 FGVC 表现的显著影响,领域相关的预训练(iNaturalist)有时甚至优于 ImageNet-21k。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。