arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.13692cs.CV
收藏

使用基于注意力的聚合增强卷积网络

Augmenting Convolutional networks with attention-based aggregation

Meta AI;Sorbonne University(索邦大学);Inria(法国国家信息与自动化研究所)

Hugo Touvron, Matthieu Cord, Alaaeldin El-Nouby, Piotr Bojanowski, Armand Joulin, Gabriel Synnaeve, Hervé Jégou

摘要:

我们展示了如何使用基于注意力的全局映射来增强任何卷积网络,以实现非局部推理。我们用一个基于注意力的聚合层代替最终的平均池,该聚合层类似于一个单一的Transformer块,它对补丁如何参与分类决策进行加权。我们将这个学习的聚合层插入一个简单的基于补丁的卷积网络,由2个参数(宽度和深度)参数化。与金字塔设计相比,该架构家族在所有层上保持输入补丁分辨率。它产生了令人惊讶的竞争力的准确性和复杂性之间的权衡,特别是在内存消耗方面,我们的实验所示的各种计算机视觉任务:对象分类,图像分割和检测。

英文摘要:

We show how to augment any convolutional network with an attention-based global map to achieve non-local reasoning. We replace the final average pooling by an attention-based aggregation layer akin to a single transformer block, that weights how the patches are involved in the classification decision. We plug this learned aggregation layer with a simplistic patch-based convolutional network parametrized by 2 parameters (width and depth). In contrast with a pyramidal design, this architecture family maintains the input patch resolution across all the layers. It yields surprisingly competitive trade-offs between accuracy and complexity, in particular in terms of memory consumption, as shown by our experiments on various computer vision tasks: object classification, image segmentation and detection.

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

↑