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

FwNet-ECA:一种通过傅里叶滤波操作增强具有全局感受野的窗口注意力的分类模型

FwNet-ECA: A Classification Model Enhancing Window Attention with Global Receptive Fields via Fourier Filtering Operations

Capital University of Economics and Business(首都经济贸易大学);Peking University(北京大学)

Shengtian Mian, Ya Wang, Nannan Gu, Yuping Wang, Xiaoqing Li

AI总结:

本文提出FwNet-ECA模型,通过傅里叶变换与滤波器增强建立全局感受野并引入ECA模块,在保持准确率的同时降低了参数量与计算开销,为视觉任务提供了更高效的注意力机制替代方案。

摘要:

窗口注意力机制被引入以缓解全局注意力机制中固有的计算量过大问题。在本文中,我们提出了FwNet-ECA,一种利用傅里叶变换结合可学习权重矩阵来增强图像频谱特征的新方法。该方法通过滤波器增强(Filter Enhancement)建立全局感受野,并避免了使用移动窗口注意力。此外,我们引入了高效通道注意力(ECA)模块以改善不同通道间的通信。我们的方法不依赖物理移位的窗口,而是利用频域增强来隐式地桥接跨空间区域的信息。我们在iCartoonFace数据集上验证了模型,并在ImageNet上进行了下游任务,结果表明与移位窗口方法相比,我们的模型在保持具有竞争力的准确率的同时,实现了更低的参数量和计算开销。此外,我们的可视化操作清楚地表明,滤波器增强技术在特征图相对较大的模型浅层中取得了更大的效果。这项工作为在视觉处理任务中利用注意力机制提供了一种更高效的替代方案,缓解了与窗口注意力模型相关的挑战。代码可在https://github.com/qingxiaoli/FwNet-ECA获取。

英文摘要:

Windowed attention mechanisms were introduced to mitigate the issue of excessive computation inherent in global attention mechanisms. In this paper, we present FwNet-ECA, a novel method that utilizes Fourier transforms paired with learnable weight matrices to enhance the spectral features of images. This method establishes a global receptive field through Filter Enhancement and avoids the use of moving window attention. Additionally, we incorporate the Efficient Channel Attention (ECA) module to improve communication between different channels. Instead of relying on physically shifted windows, our approach leverages frequency domain enhancement to implicitly bridge information across spatial regions. We validate our model on the iCartoonFace dataset and conduct downstream tasks on ImageNet, demonstrating that our model achieves lower parameter counts and computational overheads compared to shifted window approaches, while maintaining competitive accuracy. Furthermore, our visualization operations clearly demonstrated that the Filter Enhancement technique achieves greater effectiveness in the model's shallow layers, where feature maps are relatively larger. This work offers a more efficient and effective alternative for leveraging attention mechanisms in visual processing tasks, alleviating the challenges associated with windowed attention models. Code is available at https://github.com/qingxiaoli/FwNet-ECA

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

↑