Pureformer: Transformer-Based Image Denoising

Arnim Gautam, Aditi Pawar, Aishwarya Joshi, Satya Narayan Tazi, Sachin Chaudhary, Praful Hambarde, Akshay Dudhane, Santosh Kumar Vipparthi, Subrahmanyam MuralaWorkshops @ CVPR 2025

Introduction

Image denoising remains a fundamental challenge in computer vision, serving as a critical preprocessing step for applications ranging from consumer photography to medical imaging. The primary difficulty lies in the "balancing act": effectively removing aggressive noise while preserving the high-frequency textures—such as hair, fabric, or fine architectural details—that define image realism.

While Convolutional Neural Networks (CNNs) have long been the standard, their limited receptive fields often struggle with global context. Conversely, recent Transformer-based models like Restormer offer global reach but often rely on fixed-size local windows and lack specialized refinement at the network's most compressed stage, leading to over-smoothed results. Pureformer addresses these limitations through a leaner, more efficient Transformer-based encoder-decoder architecture. By introducing a specialized Feature Enhancer Block (FEB) in the latent space, it captures complex multi-scale details that traditional models often lose during compression.

Architectural Design

Pureformer is designed as a four-level hierarchical encoder-decoder. It leverages two primary modules to balance computational efficiency with representative power:

  1. Multi-Dconv Head Transposed Attention (MDTA): Unlike standard self-attention that operates pixel-by-pixel, MDTA computes attention across channels. This allows the model to capture global context with significantly lower computational overhead, making it suitable for high-resolution images.
  2. Gated-Dconv Feed-Forward Network (GDFN): This module acts as a sophisticated gatekeeper, utilizing depthwise convolutions and gating mechanisms to control information flow, ensuring that only the most relevant features are propagated through the network.
The Pureformer architecture features a hierarchical encoder-decoder structure with a specialized Feature Enhancer Block at the latent bottleneck.

The Feature Enhancer Block (FEB)

The core innovation of Pureformer is the Feature Enhancer Block (FEB) situated in the latent space (the bottleneck). In most encoder-decoder architectures, the bottleneck simply passes compressed data from the encoder to the decoder. Pureformer instead processes this data through a Spatial Filter Bank consisting of parallel 3x3 and 5x5 convolutions.

This multi-scale approach allows the model to "see" the image at different granularities simultaneously. These features are then refined by a series of Transformer blocks. By enhancing features at the point of maximum compression, the decoder receives a much richer foundation for image reconstruction, which is pivotal for recovering fine textures in high-noise scenarios.

Experimental Evaluation

The model was trained on a robust dataset combination of DIV2K and LSDIR, totaling nearly 88,000 high-resolution images. Evaluation was conducted on standard benchmarks including BSD68 and Urban100, as well as the high-noise track ($\sigma = 50$) of the NTIRE 2025 Image Denoising Challenge.

Results and Efficiency

Pureformer demonstrates that architectural intelligence can outperform raw scaling. Despite having a significantly lower parameter count than its predecessors, it achieves state-of-the-art performance. On the Urban100 dataset ($\sigma=50$), Pureformer achieved a PSNR of 29.78 dB, surpassing both Restormer (29.31 dB) and PromptIR (29.39 dB).

Pureformer achieves superior performance with a fraction of the parameters and computational cost (GFLOPs) compared to leading models like Restormer and PromptIR.

The efficiency gains are particularly noteworthy. Pureformer utilizes only 11.76M parameters, which is less than half of Restormer's 26.13M and roughly a third of PromptIR's 35.59M. This was achieved in part by reducing the base channel dimension to 32. Furthermore, its computational load of 64.31 GFLOPs makes it highly suitable for real-time applications and deployment on edge devices. Visual results confirm these metrics, showing that Pureformer maintains sharp edges and granular textures where other models produce "waxy" or over-smoothed artifacts.

Conclusion

Pureformer represents a significant step forward in efficient image restoration. By focusing on latent space enhancement and optimizing channel dimensions, the authors have created a model that is both "leaner and meaner." While the current iteration excels at synthetic Gaussian noise, future research will focus on generalizing these techniques to real-world, signal-dependent noise and reducing reliance on large labeled datasets through self-supervised learning.

Summary updated

BibTeX
@inproceedings{gautam2025pureformer,
  author = {Arnim Gautam and Aditi Pawar and Aishwarya Joshi and Satya Narayan Tazi and Sachin Chaudhary and Praful Hambarde and Akshay Dudhane and Santosh Kumar Vipparthi and Subrahmanyam Murala},
  title = {{Pureformer: Transformer-Based Image Denoising}},
  booktitle = {Workshops @ CVPR},
  year = {2025},
}
Figure