Transition-constant Normalization for Image Enhancement

Jie Huang, Man Zhou, JingHao Zhang, Gang Yang, Mingde Yao, Chongyi Li, Zhiwei Xiong, Feng Zhao

TL;DR

Standard normalization layers like Instance Normalization (IN) are highly effective at adjusting image style (such as lightness or contrast) but inherently destroy the spatial information needed for high-quality image reconstruction. This paper introduces Transition-Constant Normalization (TCN), a parameter-free, invertible normalization operation that perfectly preserves information flow while normalizing style. TCN yields "free" performance boosts across a wide variety of image enhancement tasks without adding computational overhead.

What Problem Does This Paper Address?

Image enhancement tasks—like brightening low-light photos, correcting exposure, or dehazing—fundamentally involve adjusting an image's "style" (its lightness, contrast, and color) while preserving its underlying structural content.

In deep learning, Instance Normalization (IN) is the go-to tool for style manipulation because it normalizes the statistical distribution of features. However, the authors identify a critical flaw: standard normalization is "transition-inconstant."

Mathematically, the Jacobian determinant of a standard normalization operation is zero, meaning the operation is non-invertible. When a network normalizes a feature map, it permanently bottlenecks the information flow, making it harder for later layers to accurately reconstruct the final enhanced image. The challenge is to design a normalization layer that captures style statistics without throwing away the underlying structural information.

Information loss in standard normalization vs. TCN

Methods

To solve the information loss problem, the authors propose Transition-Constant Normalization (TCN). Inspired by invertible neural networks, TCN reorganizes the normalization process into a two-stream, invertible architecture:

  1. Subsampling & Splitting: The input feature map is spatially subsampled (using a pixel unshuffle operation) and split into two separate streams (Stream 1 and Stream 2) along the channel dimension. Because of the unshuffle, both streams share the same statistical properties.
  2. Invertible Normalization:
  3. The mean and variance of Stream 2 are calculated.
  4. Stream 1 is normalized using the statistics of Stream 2.
  5. Stream 2 is then updated by subtracting the newly normalized Stream 1.
  6. Recombination: The two streams are concatenated and restored to their original spatial resolution using a pixel shuffle operation.

Because this bipartite transformation has a non-zero Jacobian determinant, it is fully invertible. The network gets the benefit of normalized features without losing any forward information.

Architecture of Transition-Constant Normalization and its variants

The authors provide three ways to use TCN:

  • Original TCN: A completely parameter-free, plug-and-play module that can be dropped into existing networks.
  • Affined TCN: Adds learnable scaling and shifting parameters (similar to standard batch/instance norm).
  • Skip TCN: Designed for encoder-decoder architectures, it splits the features into a lightness-invariant stream (passed down the encoder) and a lightness-variant stream (skipped directly to the decoder).

Datasets

The authors evaluated TCN across a massive suite of tasks and datasets:

  • Low-light Enhancement: LOL, Huawei, MIT-FiveK
  • Exposure Correction: MSEC, SICE
  • SDR-to-HDR Translation: SRITM, HDRTV
  • Image Dehazing: RESIDE (Indoor and Outdoor)
  • Medical Segmentation (Extension): Medical Segmentation Decathlon
  • Pan-sharpening (Extension): WorldView II

Key Insights and Ideas

  • Normalization as an Information Bottleneck: The realization that standard normalization layers mathematically destroy information (det(Jacobian) = 0) perfectly explains why simply adding Instance Norm to enhancement networks often yields mixed or degraded results.
  • Self-Normalizing Streams: By splitting a feature map via pixel unshuffling, you create two statistically identical sub-maps. Using one to normalize the other is a brilliant hack to apply normalization while maintaining an invertible affine coupling structure.
  • Style vs. Content Routing: The "Skip TCN" variant provides an elegant architectural pattern. By explicitly separating lightness-invariant features from lightness-variant features, the network doesn't have to struggle to learn how to pass high-frequency structural details through a style-altering bottleneck.

Key Results

Adding TCN to existing baseline networks consistently improved performance, often without adding a single learnable parameter:

  • Low-Light Enhancement: Adding the Original TCN to the DRBN baseline on the MIT-FiveK dataset improved PSNR from 22.11 dB to 23.98 dB (+1.87 dB) with zero additional parameters or FLOPs.
  • Exposure Correction: On the SICE dataset, adding Affined TCN to the DRBN baseline improved PSNR from 17.65 dB to 20.85 dB.
  • Efficiency: The authors built a custom lightweight network ("TCN-Net") using Skip TCN. It achieved highly competitive results (23.47 dB PSNR on FiveK) while being incredibly tiny: only 0.012M parameters and 0.97G FLOPs.
  • Beyond Enhancement: TCN isn't just for lighting. Replacing standard normalization with TCN in a U-Net for medical heart segmentation improved the Dice score from 0.9162 to 0.9204, proving its general utility in domain-gap problems.

Limitations and Future Work

  • Focus on Instance Normalization: The paper primarily formulates TCN around the statistics of Instance Normalization (IN) because IN is best suited for style/lightness tasks. While they provide mathematical formulations for Batch, Layer, and Group Norm variants, these are less thoroughly explored.
  • Future Applications: The authors note that TCN could be highly beneficial for "all-in-one" image restoration tasks (where a single model handles rain, noise, and low light simultaneously) and image fusion tasks, which they plan to explore in future work.
  • Subjective Preferences: As a broader impact note, the authors acknowledge that "perfect" exposure correction might eliminate stylistic low-light effects that a user actually wanted to keep, suggesting a need for user-guided enhancement in the future.

Summary updated

BibTeX
@inproceedings{huang2023transition,
  author = {Jie Huang and Man Zhou and JingHao Zhang and Gang Yang and Mingde Yao and Chongyi Li and Zhiwei Xiong and Feng Zhao},
  title = {{Transition-constant Normalization for Image Enhancement}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=GEWzHeHpLr},
}
Figure