[Paper Review] WaveMix: A Resource-efficient Neural Network for Image Analysis
WaveMix proposes a resource-efficient neural network for image analysis that leverages multi-level 2D discrete wavelet transforms (2D-DWT) to exploit image priors like scale-invariance, shift-invariance, and edge sparsity. By using lossless, parameter-free wavelet-based feature mixing and resolution-preserving blocks, WaveMix achieves state-of-the-art accuracy on image classification and semantic segmentation with significantly fewer parameters and lower GPU memory usage than CNNs, ViTs, and token mixers.
We propose a novel neural architecture for computer vision -- WaveMix -- that is resource-efficient and yet generalizable and scalable. While using fewer trainable parameters, GPU RAM, and computations, WaveMix networks achieve comparable or better accuracy than the state-of-the-art convolutional neural networks, vision transformers, and token mixers for several tasks. This efficiency can translate to savings in time, cost, and energy. To achieve these gains we used multi-level two-dimensional discrete wavelet transform (2D-DWT) in WaveMix blocks, which has the following advantages: (1) It reorganizes spatial information based on three strong image priors -- scale-invariance, shift-invariance, and sparseness of edges -- (2) in a lossless manner without adding parameters, (3) while also reducing the spatial sizes of feature maps, which reduces the memory and time required for forward and backward passes, and (4) expanding the receptive field faster than convolutions do. The whole architecture is a stack of self-similar and resolution-preserving WaveMix blocks, which allows architectural flexibility for various tasks and levels of resource availability. WaveMix establishes new benchmarks for segmentation on Cityscapes; and for classification on Galaxy 10 DECals, Places-365, five EMNIST datasets, and iNAT-mini and performs competitively on other benchmarks. Our code and trained models are publicly available.
Motivation & Objective
- To develop a neural network architecture that generalizes well across diverse vision tasks while minimizing computational and memory costs.
- To comprehensively exploit natural image priors—scale-invariance, shift-invariance, and edge sparsity—using wavelet transforms in deep learning.
- To create a flexible, scalable, and resolution-preserving architecture that avoids the rigidities of transformers and the limitations of standard CNNs.
- To demonstrate that wavelet-based feature mixing can outperform learnable or random filters in terms of accuracy and efficiency.
- To enable efficient adaptation to per-pixel tasks like segmentation and super-resolution without architectural overhauls.
Proposed method
- WaveMix employs self-similar, resolution-preserving blocks that process feature maps using multi-level 2D-DWT for lossless spatial downsampling and token mixing.
- The 2D-DWT operation reorganizes spatial information based on image priors, reducing feature map size without parameter addition and accelerating receptive field growth.
- Each WaveMix block applies channel mixing via fully connected layers on the low-pass subband output of the 2D-DWT, enabling efficient long-range interaction.
- The architecture uses inverse 2D-DWT or upsampling to restore original spatial resolution after mixing, preserving 2D structure throughout.
- Wavelet filters are fixed (e.g., Haar) rather than learnable, ensuring parameter efficiency and stability, with ablation studies confirming their superiority over random or Fourier-based alternatives.
- The framework is fully convolutional and supports variable input sizes and tasks without architectural changes, unlike transformers or U-Net-style models.
Experimental results
Research questions
- RQ1Can a wavelet-based architecture outperform CNNs and vision transformers in accuracy while using fewer parameters and less GPU memory?
- RQ2How effectively does 2D-DWT exploit image priors such as scale-invariance, shift-invariance, and edge sparsity in deep learning?
- RQ3Does replacing 2D-DWT with Fourier transform, random filters, or max pooling degrade performance and increase resource usage?
- RQ4How does the placement and order of 2D-DWT, channel mixing, and upsampling layers affect model performance and efficiency?
- RQ5Can WaveMix generalize across diverse vision tasks—including classification, segmentation, and super-resolution—without architectural re-design?
Key findings
- WaveMix achieves 82.70 mIoU on Cityscapes validation set with only 63M parameters, surpassing previous SOTA (82.40 mIoU at 85M parameters).
- On Places-365, WaveMix attains 56.45% accuracy with 28M parameters, outperforming the prior SOTA (56.32% at 31M parameters).
- For EMNIST Letters, WaveMix reaches 95.96% accuracy with just 4M parameters, matching the prior SOTA while using the same parameter count.
- On EMNIST Digits, WaveMix achieves 99.82% accuracy with 4M parameters, significantly reducing the prior SOTA’s 307M parameter count.
- WaveMix reduces GPU RAM usage by 62% when the 2D-DWT layer is removed, confirming its role in memory efficiency.
- Replacing 2D-DWT with 2D-DFT increases GPU RAM by 73% and reduces accuracy by 12%, demonstrating the superiority of wavelet-based downsampling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.