部分通道网络:计算更少,表现更好
Partial Channel Network: Compute Fewer, Perform Better
AI总结:
提出部分通道机制(PCM)与部分注意力卷积(PATConv),在减少参数与 FLOPs 的同时保持准确率,构建的 PartialNet 在 ImageNet-1K 与 COCO 上优于部分 SOTA 模型。
摘要:
设计一种使网络在不牺牲准确率和吞吐量的情况下保持低参数量和 FLOPs 的模块或机制仍然是一个挑战。为了应对这一挑战并利用特征图通道内的冗余,我们提出了一种新解决方案:部分通道机制(PCM)。具体而言,通过 split 操作,将特征图通道划分为不同部分,每个部分对应不同的操作,如卷积、注意力、池化和恒等映射。基于这一假设,我们引入了一种新颖的部分注意力卷积(PATConv),能够高效地将卷积与视觉注意力相结合。我们的探索表明,PATConv 可以完全替代常规卷积和常规视觉注意力,同时减少模型参数和 FLOPs。此外,PATConv 可衍生出三种新模块:部分通道注意力模块(PAT_ch)、部分空间注意力模块(PAT_sp)和部分自注意力模块(PAT_sf)。另外,我们提出了一种新颖的动态部分卷积(DPConv),能够自适应地学习不同层中拆分通道的比例,以实现更优的权衡。在 PATConv 和 DPConv 的基础上,我们提出了一种新的混合网络族,命名为 PartialNet,在 ImageNet-1K 分类任务上相比部分 SOTA 模型取得了更优的 top-1 准确率和推理速度,并在 COCO 数据集上的检测和分割任务中表现出色。
英文摘要:
Designing a module or mechanism that enables a network to maintain low parameters and FLOPs without sacrificing accuracy and throughput remains a challenge. To address this challenge and exploit the redundancy within feature map channels, we propose a new solution: partial channel mechanism (PCM). Specifically, through the split operation, the feature map channels are divided into different parts, with each part corresponding to different operations, such as convolution, attention, pooling, and identity mapping. Based on this assumption, we introduce a novel partial attention convolution (PATConv) that can efficiently combine convolution with visual attention. Our exploration indicates that the PATConv can completely replace both the regular convolution and the regular visual attention while reducing model parameters and FLOPs. Moreover, PATConv can derive three new types of blocks: Partial Channel-Attention block (PAT_ch), Partial Spatial-Attention block (PAT_sp), and Partial Self-Attention block (PAT_sf). In addition, we propose a novel dynamic partial convolution (DPConv) that can adaptively learn the proportion of split channels in different layers to achieve better trade-offs. Building on PATConv and DPConv, we propose a new hybrid network family, named PartialNet, which achieves superior top-1 accuracy and inference speed compared to some SOTA models on ImageNet-1K classification and excels in both detection and segmentation on the COCO dataset. Our code is available at https://github.com/haiduo/PartialNet.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。