Normalization Equivariance for Arbitrary Backbones, with Application to Image Denoising

Youssef Saied, François Fleuret

TL;DR

This paper introduces Wrapped Normalization Equivariance (WNE), a simple, parameter-free wrapper that makes any image-to-image neural network robust to changes in input scale and brightness. The authors prove that this "normalize-process-denormalize" strategy isn't just a heuristic—it is the mathematically complete way to represent all normalization-equivariant functions, allowing modern architectures like Transformers to achieve state-of-the-art robustness in blind denoising with zero GPU overhead.

What Problem Does This Paper Address?

In image restoration tasks like denoising, models often suffer from distribution shift. If you train a deep learning model to remove a specific level of noise (e.g., $\sigma=10$), it often performs poorly when faced with much higher or lower noise levels at test time.

To solve this, researchers use Normalization Equivariance (NE). A function is NE if scaling and shifting its input results in the same scale and shift in its output: $f(ay + b\mathbf{1}) = af(y) + b\mathbf{1}$. This property is desirable because it makes the model invariant to "nuisance" factors like global contrast and brightness.

However, existing methods to enforce NE are restrictive. They require "architecture-level" constraints—modifying every internal layer to be bias-free or using special affine-constrained convolutions. This approach has two major downsides:

  1. Incompatibility: It rules out standard components of modern architectures, such as the Softmax attention in Transformers or LayerNorm, which do not commute with affine shifts.
  2. Efficiency: These custom layers often add significant runtime overhead.

Methods

The authors propose Wrapped Normalization Equivariance (WNE). Instead of policing the internals of the network, they wrap an arbitrary "backbone" model ($g_\theta$) in a three-step analytic process:

  1. Normalize: Compute the instance mean $\mu(y)$ and standard deviation $\text{std}(y)$ of the noisy input $y$. Transform the input to a normalized manifold: $\tilde{y} = (y - \mu(y)\mathbf{1}) / \text{std}(y)$.
  2. Process: Pass the normalized input $\tilde{y}$ through any standard backbone (CNN, SwinIR, Restormer, etc.).
  3. Denormalize: Scale and shift the backbone's output back using the original input statistics: $\hat{x} = \text{std}(y) g_\theta(\tilde{y}) + \mu(y)\mathbf{1}$.

The "Aha!" Moment: The authors provide a mathematical proof (Characterization 1) showing that every normalization-equivariant function can be written in this form. This means you lose no expressive power by using the wrapper instead of complex internal architectural constraints.

Datasets

The models were trained and evaluated using standard benchmarks in the image restoration community:

  • Training: A large-scale corpus of 8,694 images including BSD400, the Waterloo Exploration Database, DIV2K, and Flickr2K.
  • Evaluation: The classic Set12 and BSD68 datasets for synthetic Additive White Gaussian Noise (AWGN).
  • Real-World Noise: The SIDD (Smartphone Image Denoising Dataset) was used to validate the method on real sensor noise.
  • Color Denoising: Evaluated on CBSD68.

Key Insights and Ideas

  • Internal Constraints are Unnecessary: You don't need to build a "special" network to get NE. A simple wrapper around a standard, high-performance backbone (like a Transformer) is mathematically sufficient.
  • The $\Delta$-Driven Robustness: The authors analyze why NE helps. They show that denoising difficulty is primarily determined by a normalized distance $\Delta$ between the noisy input and the clean target. Because WNE maps all inputs to a shared "difficulty" space, a model trained at one noise level effectively learns how to handle the normalized geometry of noise at any level.
  • Asymmetric Generalization: The study finds that models trained on low noise generalize to high noise better than vice versa. This is because low-noise training covers a wider range of the normalized "difficulty" distribution ($\Delta$).
  • Transformer Compatibility: Because the wrapper is external, it allows the first-ever application of exact NE to Transformer backbones like SwinIR and Restormer without breaking their internal attention mechanisms.

Key Results

  • Robustness to Mismatch: In "blind" denoising tests (training at $\sigma=10$, testing up to $\sigma=90$), WNE-wrapped models remained stable and effective, while standard "unwrapped" baselines saw their performance collapse.
  • Zero Overhead: On a GPU (NVIDIA RTX 4090), WNE added 0.00x measurable overhead to inference time. In contrast, previous architectural NE methods were up to 1.6x slower due to their specialized layers.
  • State-of-the-Art Performance: WNE matched the robustness trends of previous architectural methods on CNNs and extended those benefits to Transformers, which previously couldn't easily support NE.
  • Iterative Reuse: In inverse problems (like image inpainting), a WNE-denoiser trained at a single noise level could be reused across a complex sampling schedule, outperforming the baseline by over 17 dB.

Limitations and Future Work

  • Numerical Stability: The ideal wrapper requires $\text{std}(y) > 0$. For nearly constant inputs (where $\text{std}(y) \approx 0$), the authors use a small epsilon ($\epsilon$) for stability, which makes the model "approximately" NE in that specific regime.
  • Peak Performance vs. Robustness: The authors note that WNE focuses on robustness under distribution shift. While it remains competitive at the "matched" noise level, it doesn't necessarily beat a specialized, non-equivariant model tuned for one specific noise level; its value is in its versatility.
  • Future Directions: The authors suggest applying WNE to broader image restoration tasks beyond denoising and exploring its use in preconditioned Plug-and-Play (PnP) methods and diffusion-based models.

Summary updated

BibTeX
@inproceedings{saied2026normalization,
  author = {Youssef Saied and François Fleuret},
  title = {{Normalization Equivariance for Arbitrary Backbones, with Application to Image Denoising}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=CKhydx7QgH},
}
Figure