Omni-Kernel Network for Image Restoration

Yuning Cui, Wenqi Ren, Alois Knoll

Abstract

Image restoration tasks such as dehazing, desnowing, and deblurring require a delicate balance between capturing fine local textures and understanding broad global context. Traditional Convolutional Neural Networks (CNNs) often struggle with long-range dependencies due to limited receptive fields, while modern Transformers achieve global context at the cost of quadratic computational complexity. This paper introduces OKNet (Omni-Kernel Network), a novel convolutional architecture designed to bridge this gap. By utilizing "Omni-Kernel" modules that combine massive $63 \times 63$ depth-wise convolutions with frequency-domain processing, OKNet achieves a global receptive field with linear scaling. Experimental results across 11 benchmarks demonstrate that OKNet consistently outperforms state-of-the-art models while maintaining significantly higher efficiency.

Introduction

Restoring images from environmental degradations like haze or snow is a fundamental challenge in computer vision. Effective restoration requires the model to "see" the entire image to estimate global degradation patterns (like non-uniform haze) while simultaneously focusing on local details to recover lost textures.

Historically, CNNs have been the workhorse of image restoration due to their efficiency and inductive bias. However, their small kernels (typically $3 \times 3$) necessitate deep stacking to achieve a wide receptive field, which complicates optimization. Conversely, Transformers have gained popularity for their inherent global receptive fields via self-attention, but their $O(N^2)$ complexity makes them prohibitively slow for high-resolution image processing. OKNet addresses these limitations by rethinking kernel design to provide global context within a purely convolutional framework.

The Omni-Kernel Architecture

The core innovation of OKNet is the Omni-Kernel Module (OKM). To maintain efficiency, the authors employ a U-Net style encoder-decoder architecture and place the OKM at the bottleneck, where the feature map resolution is lowest.

The Omni-Kernel Module (OKM) architecture, featuring parallel local, large-scale, and global frequency-domain branches.

The OKM processes features through three specialized parallel branches:

  1. Large-Scale Branch: This branch uses exceptionally large $63 \times 63$ depth-wise convolutions to capture extensive spatial context. To handle directional degradations like rain or snow streaks, it also incorporates "strip" convolutions ($1 \times 63$ and $63 \times 1$).
  2. Global Frequency Branch: To achieve a truly global receptive field without the cost of self-attention, OKNet utilizes the Fast Fourier Transform (FFT). By operating in the frequency domain, a single operation can aggregate information from the entire spatial extent of the image. This branch implements Dual-Domain Channel Attention and Frequency-based Spatial Attention to refine global features.
  3. Local Branch: A $1 \times 1$ convolution ensures that point-wise local details are preserved, preventing the large-scale operations from over-smoothing fine textures.

Experimental Results

OKNet was evaluated on 11 benchmark datasets covering dehazing, desnowing, and deblurring. The results highlight a superior trade-off between restoration quality (measured in PSNR) and computational cost (FLOPs and parameters).

Performance vs. efficiency comparison on dehazing (a) and deblurring (b) benchmarks, showing OKNet's superior trade-off.

On the SOTS-Indoor dehazing benchmark, OKNet outperformed the leading DehazeFormer-L by 0.74 dB while requiring only 14% of the FLOPs. Similarly, in defocus deblurring on the DPDD dataset, OKNet surpassed the well-known Restormer model while utilizing 46% fewer parameters. Notably, OKNet showed exceptional performance on the Nighttime Haze Removal (NHR) task, outperforming FocalNet by 2.57 dB, demonstrating its robustness against complex, non-uniform lighting and haze.

Conclusion

OKNet demonstrates that CNNs can achieve global context competitive with Transformers through strategic kernel design and frequency-domain integration. By placing the Omni-Kernel Module at the network bottleneck, OKNet captures massive receptive fields with linear complexity. This architecture sets a new standard for efficient, high-performance image restoration, proving that "near-sighted" CNNs can indeed be given a global view.

Summary updated

BibTeX
@inproceedings{cui2024omni,
  author = {Yuning Cui and Wenqi Ren and Alois Knoll},
  title = {{Omni-Kernel Network for Image Restoration}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i2.27907},
}
Figure