Abstract
Normalizing Flows (NFs) are powerful generative models that learn complex data distributions through bijective mappings. However, they often struggle to account for the "manifold hypothesis," which posits that high-dimensional data typically resides on a lower-dimensional manifold. While Manifold Learning Flows (MLFs) attempt to address this by utilizing injective mappings to a reduced latent space, they frequently produce degenerate or entangled representations. This paper introduces Canonical Manifold Learning Flows (CMF), a novel framework that encourages the discovery of a sparse, orthogonal, and non-degenerate latent basis. By regularizing the off-diagonal elements of the manifold's metric tensor, CMF achieves superior density estimation and sample quality compared to existing manifold flow techniques.
1. Introduction
In generative modeling, the manifold hypothesis suggests that high-dimensional data—such as natural images—is concentrated around a low-dimensional subspace. Standard Normalizing Flows (NFs) are inherently bijective, requiring the latent space to share the same dimensionality as the input space. This constraint is often inefficient, forcing the model to represent noise or irrelevant high-frequency components.
To bridge this gap, Manifold Learning Flows (MLFs) have been developed to map data into a lower-dimensional latent space ($d < D$). However, these models often suffer from "messy" latent representations where dimensions are highly correlated or redundant. This paper presents Canonical Manifold Learning Flows (CMF), which utilizes Riemannian geometry to enforce a "canonical" basis, leading to more interpretable and efficient generative models.
2. The Problem of Degeneracy in Manifold Flows
Existing MLFs use injective transformations to embed a low-dimensional latent space into a high-dimensional observation space. While this reduces dimensionality, it does not guarantee that the learned basis is optimal. In many cases, the model becomes degenerate: multiple latent dimensions may describe the same underlying feature, or the basis vectors may be non-orthogonal. This entanglement complicates latent space interpolation and can lead to sub-optimal density estimation and overfitting, particularly when the intrinsic dimensionality of the data is unknown.
3. Canonical Manifold Learning Flows (CMF)
3.1 The Metric Tensor and the Canonical Objective
The core innovation of CMF lies in the use of the Riemannian metric tensor, $G = J^T J$, where $J$ is the Jacobian of the transformation from the latent space to the data space. The diagonal elements of $G$ represent the sensitivity or "weight" of each latent dimension, while the off-diagonal elements represent the correlation or mixing between these dimensions.
To resolve the issue of entanglement, the authors propose a regularization term that minimizes the $\ell_1$-norm of the off-diagonal elements of the metric tensor:
$$\mathcal{R}(G) = \sum_{i \neq j} |G_{ij}|$$
By adding this penalty to the standard maximum likelihood loss, the model is incentivized to achieve two simultaneous goals:
- Orthogonality: Driving the dot products of the basis vectors toward zero, ensuring that each latent dimension captures independent information.
- Sparsity: Effectively "shutting off" unnecessary latent dimensions by driving their magnitude toward zero.
3.2 Computational Efficiency
Directly computing the full Jacobian product is computationally expensive, scaling at $O(d^3)$. To maintain scalability, CMF utilizes the Hutchinson trace estimator and conjugate gradient methods. These techniques allow for efficient approximation of the regularization term, ensuring that CMF introduces minimal overhead compared to standard rectangular flows.
4. Experimental Evaluation
4.1 Simulated and Tabular Data
The authors tested CMF on simulated manifolds, including a 3D hollow sphere and a Möbius band. In these experiments, CMF demonstrated a unique ability for automatic dimensionality selection. When provided with more latent dimensions than the manifold's intrinsic dimensionality, CMF successfully identified the primary dimensions and drove the influence of redundant dimensions to near-zero. On tabular benchmarks (POWER, GAS, HEMPMASS, and MINIBOONE), CMF achieved the best performance on three out of four datasets, demonstrating its versatility beyond image data.
4.2 Image Generation and FID Scores
CMF was evaluated on several image datasets, including MNIST, Fashion-MNIST, and CelebA. The results indicate that CMF consistently produces higher-quality samples with lower Frechet Inception Distances (FID) than baseline models like Rectangular Normalizing Flows (RNF) and MFlow. For instance, on MNIST with a latent dimension of 10, CMF achieved an FID of 63.4, significantly outperforming RNF's 68.8. Qualitative analysis further confirmed that CMF learns a more structured latent space, with clearly defined, perpendicular components compared to the "tangled" manifolds observed in traditional MLFs.
5. Limitations and Conclusion
While CMF represents a significant advancement in manifold learning, it faces certain challenges. The calculation of the Jacobian-transpose-Jacobian product, though optimized, remains demanding for extremely high-dimensional latent spaces. Additionally, like other flows based on homeomorphisms, CMF may struggle with topological mismatches where the latent space and the data manifold have different global structures (e.g., holes).
In conclusion, Canonical Manifold Learning Flows provide a mathematically grounded approach to learning clean, non-degenerate representations of data manifolds. By enforcing orthogonality and sparsity through the metric tensor, CMF offers a robust framework for efficient generative modeling and automated dimensionality discovery.
Summary updated