Abstract
Manifold learning seeks a low-dimensional representation that faithfully captures the essence of data. Current methods can successfully learn such representations but often lack a meaningful set of associated operations. Working towards operational representation learning, we endow the latent space of a large class of generative models with a random Riemannian metric, providing elementary operators. As computational tools are unavailable for random Riemannian manifolds, we study deterministic approximations and derive tight error bounds on expected distances.
The Problem of Arbitrary Latent Spaces
In manifold learning, the goal is to find a low-dimensional "latent space" that captures the essence of high-dimensional data, such as images or sensor readings. However, most current models, including Variational Autoencoders (VAEs) and Gaussian Process Latent Variable Models (GPLVMs), treat this latent space as a flat, Euclidean world.
This Euclidean assumption is fundamentally arbitrary. One can "swirl" or warp the latent space without changing the underlying data, yet doing so completely alters the Euclidean distances between points. This makes standard operations—like interpolating between points or measuring distance—mathematically groundless. To address this, we require a metric intrinsic to the data manifold itself, independent of the latent map's parameterization.
Stochastic Riemannian Geometry
We propose treating the generative mapping from the latent space to the data space as a smooth stochastic process. This allows for the definition of a random Riemannian metric on the latent space.
- Metric Definition: The metric is defined as a matrix-valued random field. Because the mapping is random, the distance between any two points is also a random variable.
- The Mean Manifold: Since calculating with random metrics is computationally intractable, we utilize the expected metric to create a deterministic "mean manifold."
- Taylor Expansion Analysis: We analyze how the length of a curve in the deterministic "mean manifold" relates to the "expected length" across all possible realizations of the random manifold using Taylor expansions of norms.
Key Insights and Results
The "Blessing" of High Dimensionality
While high dimensionality is often a "curse," here it acts as a blessing. As the ambient dimension ($n$) of the data increases, the variance of the random metric effectively "averages out," making the deterministic approximation increasingly accurate.
Theoretical Bound
We derived a formal bound for the relative error of the distance approximation: $$0 \le \frac{L_n - l_n}{L_n} \le \frac{A^2}{8nb^4}$$ where $L_n$ is the distance on the mean manifold and $l_n$ is the expected distance. This proves that the relative error vanishes at a rate of $O(1/n)$.
Empirical Validation
In experiments involving rotated bird images (a synthetic dataset in $\mathbb{R}^{14400}$), the measured relative error between the approximation and empirical samples followed the predicted $1/n$ decay curve almost perfectly as the data dimension increased. This justifies using deterministic Riemannian tools to solve problems in stochastic latent variable models.
Limitations and Future Work
While the deterministic approximation is tractable, it still requires computing Jacobians of the generative mapping, which can be expensive for large neural networks. Furthermore, the theory relies on "mean square smooth" stochastic processes. While this holds for Gaussian Processes with RBF kernels, further investigation is needed for other generative models and full integration into deep learning frameworks like VAEs.
Summary updated