Noise Dimension of GAN: An Image Compression Perspective
Ziran Zhu, Tongda Xu, Ling Li, Yan Wang
TL;DR
This work reframes GANs as discrete samplers and establishes a direct link between the required noise dimension and the bitrate needed to losslessly encode the source data. It introduces a divergence-entropy trade-off to characterize GAN performance under limited noise and provides a numerical approach (via disciplined convex-concave programming) for known source distributions. Theoretical results bound the minimum noise dimension by $n \ge \dfrac{H(X)}{26.55}$ per dimension (with refinements for bijective mappings) and connect the idealized zero-divergence case to source entropy. Empirically, the study confirms the trade-off on CIFAR10 and LSUN-Church, demonstrating how reducing noise dimension degrades sample quality (FID/KID) and how network capacity alters the achievable trade-off, with practical implications for compression-aware GAN design.
Abstract
Generative adversial network (GAN) is a type of generative model that maps a high-dimensional noise to samples in target distribution. However, the dimension of noise required in GAN is not well understood. Previous approaches view GAN as a mapping from a continuous distribution to another continous distribution. In this paper, we propose to view GAN as a discrete sampler instead. From this perspective, we build a connection between the minimum noise required and the bits to losslessly compress the images. Furthermore, to understand the behaviour of GAN when noise dimension is limited, we propose divergence-entropy trade-off. This trade-off depicts the best divergence we can achieve when noise is limited. And as rate distortion trade-off, it can be numerically solved when source distribution is known. Finally, we verifies our theory with experiments on image generation.
