arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.08602cs.CVcs.AI
收藏

WaveFormer: 基于波动方程的频率-时间解耦视觉建模

WaveFormer: Frequency-Time Decoupled Vision Modeling with Wave Equation

Zishan Shu, Juntong Wu, Wei Yan, Xudong Liu, Hongyu Zhang, Chang Liu, Youdong Mao, Jie Chen

AI总结:

WaveFormer通过波动方程建模实现频率-时间解耦的视觉建模,提供更高的吞吐量和更低的计算成本,同时保持与注意力机制相当的准确性。

摘要:

视觉建模随着Transformer的快速发展而迅速进步,其注意力机制能够捕捉视觉依赖性,但缺乏对语义信息如何在空间上传播的系统性描述。我们从波动的角度重新审视这个问题:特征图被视为空间信号,其在内部传播时间(与网络深度对齐)上的演变由一个欠阻尼波动方程控制。在这一框架中,空间频率——从低频的全局布局到高频的边缘和纹理——被显式建模,其与传播时间的交互被控制而非隐式固定。我们推导出一个闭合形式的、频率-时间解耦的解决方案,并将其实现为波传播操作符(WPO),一个轻量级模块,能够在O(N log N)时间内建模全局交互,远低于注意力机制的时间复杂度。基于WPO,我们提出了一组WaveFormer模型作为标准ViT和CNN的直接替代品,在图像分类、目标检测和语义分割任务中均实现了竞争性的准确性,同时在吞吐量方面达到比基于注意力的替代方案高1.6倍,FLOPs减少30%。此外,我们的结果表明,波动传播引入了与热基方法互补的建模偏置,有效捕捉了全局一致性和高频细节,这对于丰富的视觉语义至关重要。代码可在:https://github.com/ZishanShu/WaveFormer上获得。

英文摘要:

Vision modeling has advanced rapidly with Transformers, whose attention mechanisms capture visual dependencies but lack a principled account of how semantic information propagates spatially. We revisit this problem from a wave-based perspective: feature maps are treated as spatial signals whose evolution over an internal propagation time (aligned with network depth) is governed by an underdamped wave equation. In this formulation, spatial frequency-from low-frequency global layout to high-frequency edges and textures-is modeled explicitly, and its interaction with propagation time is controlled rather than implicitly fixed. We derive a closed-form, frequency-time decoupled solution and implement it as the Wave Propagation Operator (WPO), a lightweight module that models global interactions in O(N log N) time-far lower than attention. Building on WPO, we propose a family of WaveFormer models as drop-in replacements for standard ViTs and CNNs, achieving competitive accuracy across image classification, object detection, and semantic segmentation, while delivering up to 1.6x higher throughput and 30% fewer FLOPs than attention-based alternatives. Furthermore, our results demonstrate that wave propagation introduces a complementary modeling bias to heat-based methods, effectively capturing both global coherence and high-frequency details essential for rich visual semantics. Codes are available at: https://github.com/ZishanShu/WaveFormer.

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

↑