arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.07254cs.CV
收藏

Dynamic Mobile-Former:在核空间中用注意力与残差连接增强动态卷积

Dynamic Mobile-Former: Strengthening Dynamic Convolution with Attention and Residual Connection in Kernel Space

University of Seoul(首尔大学)

Seokju Yun, Youngmin Ro

AI总结:

本文提出 Dynamic Mobile-Former,通过轻量级注意力与输入相关/无关核拆分增强动态卷积,在 ImageNet-1K 和 COCO 上以更低计算量超越 PVT-Tiny 和 Mobile-Former。

摘要:

我们提出了 Dynamic Mobile-Former(DMF),通过将动态卷积与高效算子相协调,最大限度地发挥动态卷积的能力。我们的 Dynamic Mobile-Former 有效利用了 Dynamic MobileNet(配备动态卷积的 MobileNet)的优势,并借助轻量级注意力获取全局信息。Dynamic Mobile-Former 中的 Transformer 仅需少量随机初始化的 token 即可计算全局特征,因此计算效率很高。Dynamic MobileNet 与 Transformer 之间的桥接结构实现了局部特征与全局特征的双向融合。我们还通过将卷积核拆分为输入无关核和输入相关核,简化了原始动态卷积的优化过程。这使得优化可以在更宽的核空间中进行,从而提升了模型容量。通过整合轻量级注意力和增强型动态卷积,我们的 Dynamic Mobile-Former 不仅实现了高效率,还取得了强大的性能。我们在多个视觉任务上对 Dynamic Mobile-Former 进行了基准测试,结果表明它在图像分类、COCO 检测和实例分割上均取得了令人印象深刻的表现。例如,我们的 DMF 在 ImageNet-1K 上达到了 79.4% 的 top-1 准确率,比 PVT-Tiny 高出 4.3%,而 FLOPs 仅为后者的 1/4。此外,我们提出的 DMF-S 模型在 COCO 等具有挑战性的视觉数据集上表现良好,取得了 39.0% 的 mAP,比 Mobile-Former 508M 模型高出 1%,同时计算量减少了 3 GFLOPs。代码和模型可在 https://github.com/ysj9909/DMF 获取。

英文摘要:

We introduce Dynamic Mobile-Former(DMF), maximizes the capabilities of dynamic convolution by harmonizing it with efficient operators.Our Dynamic MobileFormer effectively utilizes the advantages of Dynamic MobileNet (MobileNet equipped with dynamic convolution) using global information from light-weight attention.A Transformer in Dynamic Mobile-Former only requires a few randomly initialized tokens to calculate global features, making it computationally efficient.And a bridge between Dynamic MobileNet and Transformer allows for bidirectional integration of local and global features.We also simplify the optimization process of vanilla dynamic convolution by splitting the convolution kernel into an input-agnostic kernel and an input-dependent kernel.This allows for optimization in a wider kernel space, resulting in enhanced capacity.By integrating lightweight attention and enhanced dynamic convolution, our Dynamic Mobile-Former achieves not only high efficiency, but also strong performance.We benchmark the Dynamic Mobile-Former on a series of vision tasks, and showcase that it achieves impressive performance on image classification, COCO detection, and instanace segmentation.For example, our DMF hits the top-1 accuracy of 79.4% on ImageNet-1K, much higher than PVT-Tiny by 4.3% with only 1/4 FLOPs.Additionally,our proposed DMF-S model performed well on challenging vision datasets such as COCO, achieving a 39.0% mAP,which is 1% higher than that of the Mobile-Former 508M model, despite using 3 GFLOPs less computations.Code and models are available at https://github.com/ysj9909/DMF

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

↑