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

用于高效视觉识别的动态 Perceiver

Dynamic Perceiver for Efficient Visual Recognition

Tsinghua University(清华大学);China Mobile Research Institute(中国移动研究院);Beijing Academy of Artificial Intelligence(北京人工智能研究院)

Yizeng Han, Dongchen Han, Zeyu Liu, Yulin Wang, Xuran Pan, Yifan Pu, Chao Deng, Junlan Feng, Shiji Song, Gao Huang

AI总结:

本文提出动态 Perceiver(Dyn-Perceiver),通过双分支架构解耦特征提取与早期分类,将早期出口仅置于分类分支,从而在图像分类、动作识别和目标检测中显著提升不同骨干网络的推理效率。

摘要:

早期退出已成为提高深度网络推理效率的一种有前景的方法。通过用多个分类器(出口)构建模型,可以在较早的出口为“简单”样本生成预测,从而无需执行更深的层。当前的多出口网络通常在中间层实现线性分类器,迫使低级特征封装高级语义。这种次优设计不可避免地损害了后续出口的性能。在本文中,我们提出 Dynamic Perceiver(Dyn-Perceiver),通过一种新颖的双分支架构解耦特征提取过程和早期分类任务。特征分支用于提取图像特征,而分类分支处理为分类任务分配的潜在编码。建立双向交叉注意力层以逐步融合两个分支的信息。早期出口仅放置在分类分支内,从而消除了低级特征中线性可分性的需要。Dyn-Perceiver 构成了一个通用且适应性强的框架,可以构建在各种架构之上。在图像分类、动作识别和目标检测上的实验表明,我们的方法显著提高了不同骨干网络的推理效率,在广泛的计算预算范围内优于众多竞争性方法。在 CPU 和 GPU 平台上的评估证实了 Dyn-Perceiver 卓越的实际效率。代码可在 https://www.github.com/LeapLabTHU/Dynamic_Perceiver 获取。

英文摘要:

Early exiting has become a promising approach to improving the inference efficiency of deep networks. By structuring models with multiple classifiers (exits), predictions for ``easy'' samples can be generated at earlier exits, negating the need for executing deeper layers. Current multi-exit networks typically implement linear classifiers at intermediate layers, compelling low-level features to encapsulate high-level semantics. This sub-optimal design invariably undermines the performance of later exits. In this paper, we propose Dynamic Perceiver (Dyn-Perceiver) to decouple the feature extraction procedure and the early classification task with a novel dual-branch architecture. A feature branch serves to extract image features, while a classification branch processes a latent code assigned for classification tasks. Bi-directional cross-attention layers are established to progressively fuse the information of both branches. Early exits are placed exclusively within the classification branch, thus eliminating the need for linear separability in low-level features. Dyn-Perceiver constitutes a versatile and adaptable framework that can be built upon various architectures. Experiments on image classification, action recognition, and object detection demonstrate that our method significantly improves the inference efficiency of different backbones, outperforming numerous competitive approaches across a broad range of computational budgets. Evaluation on both CPU and GPU platforms substantiate the superior practical efficiency of Dyn-Perceiver. Code is available at https://www.github.com/LeapLabTHU/Dynamic_Perceiver.

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

↑