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

自适应频率滤波器作为高效的全局令牌混合器

Adaptive Frequency Filters As Efficient Global Token Mixers

University of Science and Technology of China(中国科学技术大学);Microsoft Research Asia(微软亚洲研究院)

Zhipeng Huang, Zhizheng Zhang, Cuiling Lan, Zheng-Jun Zha, Yan Lu, Baining Guo

AI总结:

提出自适应频率滤波(AFF)令牌混合器,利用傅里叶变换实现高效全局信息融合,构建轻量级网络AFFNet,在视觉识别和密集预测任务上取得优越的精度-效率权衡。

摘要:

最近的视觉变换器、大核卷积神经网络和MLP凭借其在全局范围内的有效信息融合,在广泛的视觉任务中取得了显著成功。然而,它们的高效部署,尤其是在移动设备上,仍然面临显著挑战,这归因于自注意力机制、大核或全连接层的计算成本高昂。在这项工作中,我们将传统卷积定理应用于深度学习以解决此问题,并揭示自适应频率滤波器可以作为高效的全局令牌混合器。基于这一洞察,我们提出了自适应频率滤波(AFF)令牌混合器。该神经算子通过傅里叶变换将潜在表示转换到频域,并通过逐元素乘法执行语义自适应频率滤波,这在数学上等同于在原始潜在空间中执行令牌混合操作,其动态卷积核的大小与该潜在表示的空间分辨率相同。我们将AFF令牌混合器作为主要神经算子构建了一个轻量级神经网络,命名为AFFNet。大量实验证明了我们提出的AFF令牌混合器的有效性,并表明AFFNet在广泛的视觉任务(包括视觉识别和密集预测任务)上,与其他轻量级网络设计相比,实现了优越的准确性和效率权衡。

英文摘要:

Recent vision transformers, large-kernel CNNs and MLPs have attained remarkable successes in broad vision tasks thanks to their effective information fusion in the global scope. However, their efficient deployments, especially on mobile devices, still suffer from noteworthy challenges due to the heavy computational costs of self-attention mechanisms, large kernels, or fully connected layers. In this work, we apply conventional convolution theorem to deep learning for addressing this and reveal that adaptive frequency filters can serve as efficient global token mixers. With this insight, we propose Adaptive Frequency Filtering (AFF) token mixer. This neural operator transfers a latent representation to the frequency domain via a Fourier transform and performs semantic-adaptive frequency filtering via an elementwise multiplication, which mathematically equals to a token mixing operation in the original latent space with a dynamic convolution kernel as large as the spatial resolution of this latent representation. We take AFF token mixers as primary neural operators to build a lightweight neural network, dubbed AFFNet. Extensive experiments demonstrate the effectiveness of our proposed AFF token mixer and show that AFFNet achieve superior accuracy and efficiency trade-offs compared to other lightweight network designs on broad visual tasks, including visual recognition and dense prediction tasks.

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

↑