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

ML-Decoder:可扩展的多功能分类头

ML-Decoder: Scalable and Versatile Classification Head

DAMO Academy, Alibaba Group(阿里巴巴集团达摩院)

Tal Ridnik, Gilad Sharir, Avi Ben-Cohen, Emanuel Ben-Baruch, Asaf Noy

摘要:

在本文中,我们介绍了ML解码器,一个新的注意力为基础的分类头。ML-Decoder通过查询预测类标签的存在,与全局平均池化相比,能够更好地利用空间数据。通过重新设计解码器的结构,并使用一种新的组解码方案,ML解码器是高效的,并可以扩展到数千类。与使用更大的主干相比,ML解码器始终提供更好的速度-准确性权衡。ML-Decoder也是通用的-它可以用作各种分类头的直接替代品,并在使用单词查询时推广到看不见的类。新的查询增强进一步提高了其泛化能力。使用ML解码器,我们在几个分类任务上实现了最先进的结果:在MS-COCO多标签上,我们达到了91.4% mAP;在NUS-WIDE zero-shot上,我们达到了31.1% mAP;在ImageNet单标签上,我们使用vanilla ResNet 50主干达到了80.7%的新最高分数,没有额外的数据或蒸馏。公共代码可在https://github.com/Alibaba-MIIL/ML_Decoder上获得

英文摘要:

In this paper, we introduce ML-Decoder, a new attention-based classification head. ML-Decoder predicts the existence of class labels via queries, and enables better utilization of spatial data compared to global average pooling. By redesigning the decoder architecture, and using a novel group-decoding scheme, ML-Decoder is highly efficient, and can scale well to thousands of classes. Compared to using a larger backbone, ML-Decoder consistently provides a better speed-accuracy trade-off. ML-Decoder is also versatile - it can be used as a drop-in replacement for various classification heads, and generalize to unseen classes when operated with word queries. Novel query augmentations further improve its generalization ability. Using ML-Decoder, we achieve state-of-the-art results on several classification tasks: on MS-COCO multi-label, we reach 91.4% mAP; on NUS-WIDE zero-shot, we reach 31.1% ZSL mAP; and on ImageNet single-label, we reach with vanilla ResNet50 backbone a new top score of 80.7%, without extra data or distillation. Public code is available at: https://github.com/Alibaba-MIIL/ML_Decoder

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

↑