Abstract
Image denoising often faces a trade-off between the flexibility of dynamic kernels and the efficiency of static convolutions. This paper introduces Malleable Convolution (MalleConv), an efficient alternative that predicts kernels on a downsampled grid and applies them via a memory-efficient "on-the-fly slicing" operator. By exploiting local redundancy in natural images, the proposed MalleNet achieves state-of-the-art denoising quality while being up to 8.9× faster than top-performing models like SwinIR.
The Challenge of Content-Adaptive Denoising
Most image denoising networks rely on static convolutions, where the same set of weights is applied across the entire image. This is fundamentally sub-optimal because natural images are heterogeneous; the optimal way to denoise a smooth blue sky is very different from the way one would treat a highly textured stone wall.
While "dynamic convolutions" (or hypernetworks) attempt to solve this by generating unique kernels for every pixel, they are computationally expensive and memory-intensive. For mobile devices—which often have 12-megapixel sensors but very limited power and compute budgets—per-pixel kernel prediction is simply too slow. The challenge is to achieve the adaptive power of dynamic filters without the prohibitive computational cost.
Methods: Malleable Convolution
The authors introduce Malleable Convolution (MalleConv), which strikes a balance between static and per-pixel dynamic kernels by operating on a downsampled grid.
- Efficient Predictor Network: Instead of looking at the full-resolution image to decide on kernels, MalleConv uses a lightweight predictor network that operates on a downsampled version of the input. This provides a massive receptive field while keeping the FLOP count low.
- Spatially-Varying Kernels: The predictor outputs a grid of kernels at a much lower resolution than the original image (e.g., 1/8th scale). This exploits the fact that image content usually changes slowly in local neighborhoods.
- On-the-fly Slicing: To apply these low-res kernels to the high-res feature map, the authors developed a "slicing" operator. Instead of upsampling the kernels into a massive memory-hogging map, the operator bilinearly interpolates the necessary kernel weights and applies the convolution in a single, fused step. This minimizes memory I/O, which is often the real bottleneck in mobile hardware.
The authors also propose MalleNet, a pyramid-based architecture that integrates MalleConv blocks across multiple scales to handle noise efficiently.
Key Insights
Local Smoothness vs. Global Variance
The core motivation for MalleConv is that while images vary globally, they are locally redundant. As illustrated below, neighboring patches often share similar textures and structures, meaning a unique kernel for every single pixel is unnecessary. A small set of spatially-varying kernels shared across local patches is sufficient and much faster.
Overcoming the Memory Bottleneck
The paper highlights that the cost of dynamic filters isn't just the math (FLOPs), but the memory footprint of storing high-resolution kernel maps. Their "slicing" approach bypasses this entirely, making it highly suitable for hardware with limited memory bandwidth.
Plug-and-Play Performance
Replacing a single standard convolution layer in an existing backbone (like DnCNN or UNet) with one MalleConv layer significantly boosts performance. In an ablation study using the DnCNN backbone, adding MalleConv allowed a 2-layer network to perform nearly as well as a 15-layer static network, reducing latency from 21.69ms to 5.81ms.
Experimental Results
The model was evaluated using standard benchmarks including CBSD68, Kodak24, and real-world datasets like the Smartphone Image Denoising Dataset (SIDD) and the Darmstadt Noise Dataset (DND).
- Speed vs. Quality: MalleNet-XL achieves similar visual quality to SwinIR but is 8.9× faster.
- Real-World Performance: On the SIDD benchmark, MalleNet-R achieved a PSNR of 39.56 with a latency of only 13.58ms, significantly outperforming heavier models like MIRNet (192.61ms) and MPRNet.
Limitations and Future Work
While MalleConv provides a massive boost to lightweight or shallow architectures, the authors observed diminishing returns on very deep or wide networks that already possess high representational capacity. Future work may involve applying MalleConv to other restoration tasks like dehazing or super-resolution, and exploring hybrid approaches that combine MalleConv with attention modules or deformable convolutions.
Summary updated