Search papers, labs, and topics across Lattice.
This paper addresses the memory bottlenecks of wavelet convolution (WTConv) by developing an I/O model that informs three algebraic reformulations aimed at optimizing data movement. The proposed methods include on-chip recomputation of Haar analysis, collapsing multi-level synthesis into a single pass, and integrating learned scales into convolution weights. As a result, the new implementation achieves a 2.55x reduction in HBM traffic and up to a 4.35x training speedup while halving peak memory usage, enhancing the practical efficiency of WTConv in deep learning applications.
A novel I/O-aware reformulation of wavelet convolution slashes memory usage and accelerates training speed, making it a game-changer for deep learning efficiency.
Wavelet convolution (WTConv) has emerged as an increasingly popular drop-in replacement for standard convolutions, expanding a network's receptive field exponentially with the number of decomposition levels while keeping the parameter count linear. However, its reference implementation is severely memory-bound due to excessive data movement through high-bandwidth memory (HBM). We develop an I/O model of WTConv to characterize this bottleneck and use it to guide three algebraic reformulations: (1) recomputing the inexpensive Haar analysis butterfly on chip, (2) collapsing the multi-level synthesis cascade into a single closed-form pass indexed by output-coordinate bits, and (3) folding learned per-channel scales into the convolution weights. Together, these reformulations enable an I/O-aware fused implementation that substantially reduces HBM traffic. We evaluate the WTConvNeXt configuration across decomposition levels and a broad range of tensor shapes. Despite performing comparable arithmetic, the reference WTConv is substantially slower than the depthwise convolution it replaces. Our reformulation reduces modeled HBM traffic by approximately $2.55\times$, yielding up to a $4.35\times$ training speedup over the reference while roughly halving peak memory usage. Thus, our reformulation preserves the benefits of WTConv while substantially reducing its execution time and memory footprint, removing the systems overhead that previously limited its practical efficiency.