LIDIA: Lightweight Learned Image Denoising with Instance Adaptation

Gregory Vaksman, Michael Elad, Peyman Milanfar

Introduction

Image denoising has traditionally been divided into two distinct paradigms: classical patch-based methods and modern deep learning approaches. Classical methods like BM3D are "unsupervised," relying on internal self-similarity within a single image to remove noise. While flexible, they often hit a performance ceiling. Conversely, deep learning models like DnCNN are "supervised" and "universal," learning from massive datasets. However, these models are often parameter-heavy and can be "blind" to the unique characteristics of specific, out-of-distribution images, such as rare astronomical photos or specialized textures.

LIDIA (Lightweight Learned Image Denoising with Instance Adaptation) bridges this gap. It is a hybrid framework that combines the efficiency of classical patch-based priors with the representational power of deep learning. By employing a lightweight architecture and a novel "instance adaptation" technique, LIDIA achieves near state-of-the-art results with up to 14x fewer parameters than standard deep denoisers.

Methods: Architecture and Adaptation

The core of LIDIA is a patch-based neural network architecture designed to mimic classical sparse coding while remaining computationally efficient.

Lightweight Architecture

To minimize parameter count, LIDIA utilizes Separable Linear (SL) Layers. Instead of standard fully connected layers, SL layers use separable transforms ($W_1 Z W_2 + B$), exploiting the spatial and similarity domains of image patches independently. This design allows the model to maintain high performance with only 61.6K parameters. Furthermore, the network employs Multi-Scale Processing, handling patches at two different scales simultaneously to better preserve large-scale structures and mitigate spatial artifacts.

The LIDIA architecture, featuring patch extraction, multi-scale processing, and a filtering network based on separable linear layers.

Instance Adaptation

The "secret sauce" of LIDIA is its ability to adapt a pre-trained universal model to a specific input image. The authors propose two adaptation strategies:

  1. External Adaptation: Fine-tuning the network on a small set of images similar to the target (e.g., images of the same category found online).
  2. Internal Adaptation: A self-supervised approach where the network is re-trained on its own denoised output. By adding synthetic noise to the initial "clean" estimate and tasking the network with removing it, the model learns the specific textures and redundancies inherent to that single image.

Key Results and Evaluation

LIDIA was evaluated on standard benchmarks like BSD68 and Urban100, as well as specialized cases like astronomical photography and scanned documents.

Performance and Efficiency

Despite its small size, LIDIA is highly competitive. On the BSD68 dataset ($\sigma=25$), LIDIA achieved a PSNR of 29.11 dB, trailing the much larger DnCNN (29.23 dB) by a negligible margin while significantly outperforming other lightweight models. In terms of efficiency, LIDIA's 61.6K parameters are a fraction of the 556K used by DnCNN or the 330K used by NLRN.

The Power of Adaptation

The impact of instance adaptation is most visible in out-of-distribution scenarios. For instance, on a scanned text document, external adaptation improved the PSNR by a massive 4 dB, removing artifacts that universal models typically struggle with. On the Urban100 dataset, internal adaptation provided a consistent boost of approximately 0.3 dB.

Comparison of denoising results on an astronomical image. Instance adaptation (d) significantly improves PSNR and visual quality over the universal model (before adaptation, c).

Insights and Limitations

LIDIA demonstrates that lightweight models do not have to be weak. By embedding classical priors—like patch-based processing and non-local self-similarity—directly into the network architecture, high performance is achievable without extreme depth. The success of internal adaptation via "re-noising" further proves that even a noisy image contains sufficient structural information to help a pre-trained network refine its weights for that specific instance.

However, some challenges remain. While the parameter count is low, the computational load (FLOPs) remains comparable to larger models due to patch extraction and k-nearest neighbor searches. Additionally, the adaptation process requires several minutes of fine-tuning per image, making it more suitable for high-quality archival restoration than real-time video processing. Future research may focus on predicting which images will benefit most from adaptation to optimize computational resources.

Summary updated

BibTeX
@inproceedings{vaksman2020lidia,
  author = {Gregory Vaksman and Michael Elad and Peyman Milanfar},
  title = {{LIDIA: Lightweight Learned Image Denoising with Instance Adaptation}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00270},
}
Figure