Entropy-Informed Weighting Channel Normalizing Flow

Wei Chen, Shian Du, Shigui Li, Delu Zeng, John W. Paisley · DOI

Abstract

Normalizing Flows (NFs) are powerful generative models capable of exact likelihood estimation and efficient sampling. However, their requirement for dimensionality preservation creates a significant memory bottleneck, typically addressed through multi-scale architectures that split channels into latent variables. Traditional splitting methods are static and "blind," often discarding critical structural information into the latent space too early. We propose the Entropy-Informed Weighting Channel Normalizing Flow (EIW-Flow), which utilizes an adaptive, feature-dependent shuffle operation. By reordering channels based on their entropy—partitioning noise-like, high-entropy data into the latent space while preserving low-entropy features for deeper processing—EIW-Flow achieves state-of-the-art density estimation across multiple benchmarks with minimal parameter overhead.

Introduction

Normalizing Flows (NFs) map complex data distributions to simple latent distributions (like Gaussians) through a sequence of invertible transformations. A major challenge in scaling NFs to high-resolution images is the "memory bottleneck": the latent space must maintain the same dimensions as the input. Multi-scale architectures, such as Real NVP and GLOW, mitigate this by progressively "splitting" channels—setting aside half as latent variables ($z$) and passing the remainder ($x$) to subsequent layers.

However, these splits are typically static. If structural features (e.g., edges or contours) are inadvertently assigned to the latent space early in the network, the model's expressiveness is compromised. EIW-Flow addresses this by making the split "smart" and data-aware through an entropy-informed mechanism.

Methodology: Entropy-Informed Weighting

The core of EIW-Flow is a regularized, feature-dependent Shuffle operation placed immediately before the split. This operation ensures that the channels most resembling Gaussian noise are the ones partitioned into the latent space.

The EIW-Flow architecture featuring the adaptive Shuffle operation within the multi-scale block.

The Shuffle Mechanism

The Shuffle operation is composed of three primary components:

  1. The Guider ($G$): An irreversible teacher network that calculates weights based on the information content (entropy) of the feature maps.
  2. The Solver ($S$): A reversible student network. To maintain the reversibility required by NFs, the Solver learns to predict weights using only channel counts, guided by the Guider’s output during training via knowledge distillation.
  3. The Shuffler ($S_F$): Reorders channels based on the weights provided by the Solver.

The Logic of Entropy

Following the Maximum Entropy Principle, variables that closely follow a Gaussian distribution exhibit higher entropy. EIW-Flow leverages this by shuffling high-entropy channels into the latent variable $z$. Conversely, low-entropy channels, which contain complex structural information, are propagated further into the network for refinement. This approach naturally aligns the architecture with the NF assumption that latent variables should be Gaussian.

Experiments and Results

The model was evaluated on standard benchmarks including CIFAR-10, CelebA, ImageNet (32x32 and 64x64), and high-resolution datasets like CelebA-HQ and LSUN Church (256x256).

The generative flow process in EIW-Flow, showing the transition from noise to structured image.

Performance and Efficiency

EIW-Flow achieved state-of-the-art (SOTA) density estimation results. It recorded bits-per-dimension (bits/dim) scores of 2.97 on CIFAR-10 and 1.96 on CelebA, outperforming established models like DenseFlow and Flow++.

Crucially, this performance gain comes with minimal cost. The Shuffle operation adds only approximately 270k parameters to a model that typically contains ~130M parameters. Training and inference speeds remained within 1-3% of baseline "blind split" models, demonstrating high computational efficiency and scalability.

Conclusion

EIW-Flow demonstrates that incorporating information-theoretic principles into architectural design can significantly enhance generative model performance. By using entropy as a guide for channel partitioning, the model preserves structural information where it is most needed. Future work may explore non-Gaussian priors or the integration of entropy-guided shuffling into diffusion frameworks to optimize denoising steps.

Summary updated

BibTeX
@article{chen2026entropy,
  author = {Wei Chen and Shian Du and Shigui Li and Delu Zeng and John W. Paisley},
  title = {{Entropy-Informed Weighting Channel Normalizing Flow}},
  journal = {Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=LVJ1cterjy},
}
Figure