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
TL;DR
This paper tackles the limitation of attention-based and heat-based vision models in propagating semantic information across spatial frequencies. It introduces a physics-inspired framework where semantic propagation follows the underdamped wave equation, yielding a frequency–time decoupled solution implemented as the Wave Propagation Operator ($O(N \log N)$) and integrated into the WaveFormer backbone. The WaveFormer family achieves competitive ImageNet accuracy and superior throughput while reducing FLOPs relative to attention-based models, demonstrated across image classification, object detection, and semantic segmentation (e.g., WaveFormer-Base reaches 84.2% Top-1 on ImageNet-1K with notable efficiency gains). The results indicate that wave-based propagation provides a complementary bias to heat-based methods, preserving both global coherence and high-frequency details essential for rich visual semantics, with practical implications for efficient, interpretable vision backbones.
Abstract
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.
