TL;DR
Standard Generative Adversarial Networks (GANs) using Gaussian latent priors suffer from a "soap bubble" geometry in high dimensions: probability mass concentrates on a thin spherical shell, causing straight-line interpolations to pass through empty, untrained regions near the origin. By factoring latent codes into direction and radial distance and assigning the squared norm a dimension-independent Gamma prior, the authors ensure straight-line interpolation paths stay firmly within high-probability regions, dramatically improving interpolation fidelity and vector arithmetic.
What Problem Does This Paper Address?
A standard benchmark for generative models is latent space interpolation: walking in a straight line between two latent vectors $z_0$ and $z_1$ should produce smooth, semantically meaningful transitions in generated image space. However, when using a standard isotropic Gaussian prior $z \sim \mathcal{N}(0, \sigma^2 I)$ in high dimensions ($d$), the squared norm $\|z\|^2$ follows a Chi-squared distribution $\sigma^2 \chi^2(d)$. As dimension $d$ grows, probability mass concentrates tightly within a thin hyperspherical shell of radius $\approx \sigma\sqrt{d}$, leaving the interior near the origin almost completely void of training samples.
When interpolating linearly, the midpoint $(z_0 + z_1)/2$ drops into this low-density hollow core—its expected norm is shrunk by a factor of $1/\sqrt{2}$. The authors prove that the Kullback–Leibler (KL) divergence between the prior and the midpoint distribution grows linearly with latent dimension $d$, creating a severe train-test mismatch. While spherical linear interpolation (slerp) keeps norms constant along spherical geodesics, it results in unnecessarily long paths that visit unrelated concepts and ruins standard linear vector arithmetic (such as analogies).
Methods
The authors propose the Gamma Distance Model, which keeps the latent space isotropic while altering the radial density:
- Factored Latent Prior: Latent vectors are decomposed into a uniform directional vector on the unit sphere and an independent radial magnitude: $$v \sim \text{Uniform}(S^{d-1}), \quad r \sim P_r, \quad z = \sqrt{r}v$$
-
Dimension-Independent Radius: Rather than allowing the squared radius $r = \|z\|^2$ to scale with dimension $d$ (as $\chi^2(d)$ does), they set $P_r$ to a Gamma distribution with a fixed shape parameter: $$P_r = \Gamma\left(\frac{1}{2}, \theta\right), \quad \theta > 0$$ When $\theta = 2$, this matches the marginal norm distribution of a 1D Gaussian regardless of latent dimensionality $d$.
-
Bounded KL Divergence: Under this prior, the squared norm of midpoints also follows a Gamma distribution $\Gamma(1/2, \theta/2)$. Crucially, the KL divergence between the prior and midpoint distribution is bounded and constant for any dimension: $$\text{KL}(z \parallel z') = \frac{1}{2}(1 - \log 2) \approx 0.35$$
Datasets
The authors evaluated their approach on standard computer vision benchmarks:
- CelebA (faces, cropped to $118 \times 118$ and resized to $64 \times 64$)
- LSUN Kitchen and LSUN Bedroom
- MNIST (handwritten digits)
- SVHN (Street View House Numbers)
- CIFAR-10
No new datasets were introduced.
Key Insights and Ideas
- Linear interpolation fails due to geometry, not capacity: GAN generators fail at linear midpoint interpolation not because they lack expressiveness, but because straight paths cut through regions where the generator was literally never trained to produce anything coherent.
- The origin becomes a semantic average: Because the Gamma prior places significant density near the origin, vectors near $z=0$ decode into an "archetypal" or mean sample (e.g., a neutral, centered, forward-facing face) rather than pure noise or artifacts.
- Independence from dimensionality: By fixing the shape parameter of the Gamma distribution independently of $d$, models can scale to high-dimensional latent spaces without suffering sample collapse during traversals.
Key Results
- Interpolation Quality vs. Dimension: On CelebA and MNIST, straight-line traversals with a normal prior severely degraded into washed-out, unrecognizable artifacts around the midpoint as $d$ increased ($d = 10, 50, 200$). The discriminator confidence plummeted to near zero at the midpoint. With the Gamma prior, midpoints remained sharp, realistic, and semantically consistent across all tested dimensions up to $d=200$.
- Latent Vector Arithmetic: Evaluated using the Latent Algebra Score (LAS) measuring attribute analogies ($[A, B] - [a, B] + [a, b] \approx [A, b]$) on CelebA binary attributes:
- Normal Prior: $\text{LAS} = 0.007496$
- Gamma Prior: $\text{LAS} = 0.005638$ (lower is better, showing a ~25% reduction in error).
Limitations and Future Work
- Model Scope: Experiments are exclusively conducted on standard DCGAN architectures trained with RMSProp; evaluation on modern architectures (e.g., StyleGAN) or alternative generative families (diffusion models, continuous normalizing flows) was not explored.
- Curved Data Manifolds: While linear interpolation in the latent space is preserved, the mapping from latent space to data space remains highly nonlinear; the paper assumes linear code paths are sufficient for semantic continuity once density is corrected.
- Prior Tuning: The hyperparameter $\theta$ governs the noise spread, but systematic guidelines for tuning $\theta$ across differing domain distributions remain an open question.
Summary updated