ParC-Net:结合ConvNets和Transformer优点的位置感知圆卷积
ParC-Net: Position Aware Circular Convolution with Merits from ConvNets and Transformer
摘要:
最近,视觉Transformer开始显示出令人印象深刻的结果,这些结果显着优于基于大型卷积的模型。然而,在移动或资源受限设备的小型模型领域,ConvNet在性能和模型复杂度方面仍然有自己的优势。我们提出了ParC-Net,一个纯粹的基于ConvNet的骨干模型,通过将视觉Transformer的优点融合到ConvNet中,进一步加强了这些优势。具体来说,我们提出了位置感知循环卷积(ParC),这是一种轻量级卷积运算,它拥有全局感受野,同时像局部卷积一样产生位置敏感特征。我们将ParCs和挤压激发操作结合起来,形成一个类似模型块的元模型,它还具有类似Transformers的注意力机制。上述块可以以即插即用的方式用于替换ConvNets或Transformers中的相关块。实验结果表明,在常见的视觉任务和数据集上,所提ParC-Net模型比目前流行的轻量级ConvNets和基于视觉Transformer的模型具有更好的性能,同时具有更少的参数和更快的推理速度。对于ImageNet-1 k上的分类,ParC-Net使用约500万个参数实现了78.6%的top-1准确率,节省了11%的参数和13%的计算成本,但与MobileViT相比,精度提高了0.2%,推理速度提高了23%(基于ARM的Rockchip RK3288),并且与DeIT相比,仅使用了0.5倍的参数,但精度提高了2.7%。在MS-COCO目标检测和PASCAL VOC分割任务上,ParC-Net也表现出更好的性能。源代码可在https://github.com/hkzhang91/ParC-Net上获得
英文摘要:
Recently, vision transformers started to show impressive results which outperform large convolution based models significantly. However, in the area of small models for mobile or resource constrained devices, ConvNet still has its own advantages in both performance and model complexity. We propose ParC-Net, a pure ConvNet based backbone model that further strengthens these advantages by fusing the merits of vision transformers into ConvNets. Specifically, we propose position aware circular convolution (ParC), a light-weight convolution op which boasts a global receptive field while producing location sensitive features as in local convolutions. We combine the ParCs and squeeze-exictation ops to form a meta-former like model block, which further has the attention mechanism like transformers. The aforementioned block can be used in plug-and-play manner to replace relevant blocks in ConvNets or transformers. Experiment results show that the proposed ParC-Net achieves better performance than popular light-weight ConvNets and vision transformer based models in common vision tasks and datasets, while having fewer parameters and faster inference speed. For classification on ImageNet-1k, ParC-Net achieves 78.6% top-1 accuracy with about 5.0 million parameters, saving 11% parameters and 13% computational cost but gaining 0.2% higher accuracy and 23% faster inference speed (on ARM based Rockchip RK3288) compared with MobileViT, and uses only 0.5 times parameters but gaining 2.7% accuracy compared with DeIT. On MS-COCO object detection and PASCAL VOC segmentation tasks, ParC-Net also shows better performance. Source code is available at https://github.com/hkzhang91/ParC-Net
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。