arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.02377cs.CVcs.LG
收藏

NOAH:学习成对对象类别注意力用于图像分类

NOAH: Learning Pairwise Object Category Attentions for Image Classification

Intel Labs China(中国英特尔实验室);The Chinese University of Hong Kong(香港中文大学);CUHK-SenseTime Joint Lab(香港中文大学-商汤科技联合实验室)

Chao Li, Aojun Zhou, Anbang Yao

AI总结:

NOAH提出成对对象类别注意力(POCA)头部,通过局部到全局的特征拆分、变换与合并学习,提升多种DNN在图像分类上的性能,尤其在轻量级模型上显著。

摘要:

用于图像分类任务的现代深度神经网络(DNN)通常由两部分组成:用于特征提取的主干网络,以及用于特征编码和类别预测的头部网络。我们观察到,主流DNN的头部结构采用了类似的特征编码流程,利用全局特征依赖而忽略局部特征依赖。在本文中,我们重新审视特征编码问题,并提出非全局注意力头部(NOAH),它依赖于一种称为成对对象类别注意力(POCA)的新型点积注意力形式,高效利用空间密集的类别特定注意力来增强分类性能。NOAH引入了特征拆分、变换和合并操作的简洁组合,以在局部到全局尺度上学习POCA。作为一种即插即用的设计,NOAH可以轻松替换各种类型DNN的现有头部,在保持相似模型效率的同时提高分类性能。我们在包含25种DNN架构(涵盖卷积神经网络、视觉变换器和多层感知器)的ImageNet分类基准上验证了NOAH的有效性。总的来说,NOAH能够显著提升轻量级DNN的性能,例如,对MobileNetV2(0.5x)|Deit-Tiny(0.5x)|gMLP-Tiny(0.5x)分别实现了3.14%|5.3%|1.9%的top-1准确率提升。NOAH在应用于中型和大型DNN时也表现出良好的泛化能力。我们进一步表明,NOAH在其他流行的多类和多标签图像分类基准以及不同训练机制中保持其有效性,例如,在MS-COCO数据集上对大型ResNet101|ViT-Large分别实现了3.6%|1.1%的mAP提升。项目页面:https://github.com/OSVAI/NOAH。

英文摘要:

A modern deep neural network (DNN) for image classification tasks typically consists of two parts: a backbone for feature extraction, and a head for feature encoding and class predication. We observe that the head structures of mainstream DNNs adopt a similar feature encoding pipeline, exploiting global feature dependencies while disregarding local ones. In this paper, we revisit the feature encoding problem, and propose Non-glObal Attentive Head (NOAH) that relies on a new form of dot-product attention called pairwise object category attention (POCA), efficiently exploiting spatially dense category-specific attentions to augment classification performance. NOAH introduces a neat combination of feature split, transform and merge operations to learn POCAs at local to global scales. As a drop-in design, NOAH can be easily used to replace existing heads of various types of DNNs, improving classification performance while maintaining similar model efficiency. We validate the effectiveness of NOAH on ImageNet classification benchmark with 25 DNN architectures spanning convolutional neural networks, vision transformers and multi-layer perceptrons. In general, NOAH is able to significantly improve the performance of lightweight DNNs, e.g., showing 3.14\%|5.3\%|1.9\% top-1 accuracy improvement to MobileNetV2 (0.5x)|Deit-Tiny (0.5x)|gMLP-Tiny (0.5x). NOAH also generalizes well when applied to medium-size and large-size DNNs. We further show that NOAH retains its efficacy on other popular multi-class and multi-label image classification benchmarks as well as in different training regimes, e.g., showing 3.6\%|1.1\% mAP improvement to large ResNet101|ViT-Large on MS-COCO dataset. Project page: https://github.com/OSVAI/NOAH.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑