TL;DR
EWT (Efficient Wavelet-Transformer) is a new architecture that solves the high computational cost of using Transformers for image denoising. By performing feature extraction in the wavelet domain and using a hybrid "dual-stream" block that combines CNNs and Transformers, the authors achieved an 80% speedup and 60% reduction in GPU memory usage while maintaining state-of-the-art denoising quality.
What Problem Does This Paper Address?
In the world of image restoration, Transformers have recently taken the lead because they can model "long-range dependencies"—essentially understanding how distant parts of an image relate to one another to better distinguish noise from texture.
However, Transformers are notoriously "heavy." Their self-attention mechanism has quadratic complexity relative to image size, leading to massive GPU memory consumption and slow inference times. While Convolutional Neural Networks (CNNs) are much faster and better at capturing local details, they struggle with global context. The authors aim to bridge this gap: creating a model that has the global "brain" of a Transformer but the efficiency and local "eyes" of a CNN.
Methods
The EWT architecture introduces three clever innovations to balance performance and efficiency:
- Wavelet-Based Sampling: Instead of using standard pooling or strided convolutions (which discard information to reduce resolution), EWT uses the Discrete Wavelet Transform (DWT). DWT decomposes an image into four sub-bands (low-frequency and high-frequency components). This reduces the spatial resolution (making the Transformer faster) while mathematically preserving all image information. The Inverse Wavelet Transform (IWT) is used at the end to reconstruct the full-resolution clean image.
- Dual-stream Feature Extraction Block (DFEB): This is the core processing unit. It splits the workload into two parallel branches:
- Surface Branch (CNN): Uses a
ConvBlockto capture local features and, crucially, provide the positional information that Transformers naturally lack. - Fine-grained Branch (Transformer): Uses a window-based Transformer (inspired by Swin Transformer) to model global relationships.
- Multi-level Feature Aggregation (MFAM): The model stacks these DFEBs and uses dense connections to ensure that features from different levels of the network are effectively fused before the final reconstruction.
Datasets
- Training: The model was trained on the DIV2K dataset (800 high-quality images).
- Synthetic Evaluation (AWGN): Tested on standard benchmarks including Set12, BSD68, Kodak24, CBSD68, and Urban100 using various levels of Gaussian noise ($\sigma$ = 15, 25, 50).
- Real-World Evaluation: Tested on SIDD (Smartphone Image Denoising Dataset) and RNI15 to prove effectiveness against actual sensor noise rather than just mathematical simulations.
Key Insights and Ideas
- Reversibility is Key: The "aha moment" here is using Wavelets as a sampling unit. Because the Wavelet transform is reversible, the model can shrink the data to a size the Transformer can handle easily without the "information dilution" that usually happens during downsampling.
- CNNs as Positional Encoders: Most Transformers require complex manual "positional encodings" to understand where pixels are. The authors realized that by running a CNN branch in parallel, the natural inductive bias of convolutions handles the spatial location, allowing the Transformer branch to focus purely on feature relationships.
- Efficiency Doesn't Require Sacrifice: The results show that you don't need a massive, 100M+ parameter model to get top-tier results. By being smarter about where (the wavelet domain) and how (dual-stream) you process features, a 11.8M parameter model can beat much larger competitors.
Key Results
- Efficiency: Compared to the popular SwinIR model, EWT is 80% faster and uses 60% less GPU memory.
- Denoising Performance: On the CBSD68 color dataset ($\sigma=50$), EWT achieved a PSNR of 28.36dB, outperforming classic models like DnCNN and FFDNet, and matching or exceeding much heavier Transformer models.
- Real-World Noise: On the SIDD benchmark, EWT achieved 39.52dB, proving it is highly effective for practical smartphone photography applications.
- Model Size: EWT achieves these results with only 11.8M parameters, whereas competing models like DHDN use 168M.
Limitations and Future Work
The authors note that while increasing the "level" of the wavelet transform (e.g., downsampling by x4 or x8) further reduces memory usage, it eventually leads to a drop in denoising performance because the resolution becomes too low for the Transformer to capture fine textures.
The paper concludes by suggesting that the EWT architecture is a "general model." Future work will involve applying this efficient Wavelet-Transformer hybrid to other image restoration tasks like super-resolution, dehazing, and deraining, where the same efficiency-vs-performance trade-offs exist.
Summary updated