Uniform Interpolation Constrained Geodesic Learning on Data Manifold

Cong Geng, Jia Wang, Li Chen, Wenbo Bao, Chu Chu, Zhiyong GaoarXiv 2020

Abstract

In this paper, we propose a method to learn a minimizing geodesic within a data manifold. Along the learned geodesic, our method can generate high-quality interpolations between two given data samples. Specifically, we use an autoencoder network to map data samples into latent space and perform interpolation via an interpolation network. We add prior geometric information to regularize our autoencoder for the convexity of representations so that for any given interpolation approach, the generated interpolations remain within the distribution of the data manifold. Before the learning of a geodesic, a proper Riemannian metric should be defined. Therefore, we induce a Riemannian metric by the canonical metric in the Euclidean space which the data manifold is isometrically immersed in. Based on this defined Riemannian metric, we introduce a constant speed loss and a minimizing geodesic loss to regularize the interpolation network to generate uniform interpolation along the learned geodesic on the manifold. We provide a theoretical analysis of our model and use image translation as an example to demonstrate the effectiveness of our method.

Introduction

A fundamental challenge in deep learning is achieving smooth transitions between data points—for example, morphing one face into another. While linear interpolation in latent space is common, real-world data typically resides on a "manifold," a curved, lower-dimensional surface embedded in high-dimensional space. Standard models like Variational Autoencoders (VAEs) or GANs often fail to capture this curvature perfectly. Linear interpolation frequently "cuts the corner," passing through regions of the latent space that do not correspond to real data, resulting in blurry or unrealistic intermediate images. Furthermore, existing methods rarely guarantee a uniform transition; the morphing might vary in speed, making the interpolation look unnatural or jerky.

Methodology

The proposed framework addresses these issues through a two-stage approach that combines classical manifold learning with modern deep learning objectives.

1. Manifold Reconstruction with Geometric Priors

Instead of allowing an autoencoder to learn a latent space freely, the authors regularize it using Local Tangent Space Alignment (LTSA). This technique helps the encoder "unfold" curved structures into a flat, convex latent representation. This ensures that the space between data points is actually filled with valid representations, preventing the model from interpolating through "empty" regions of the manifold.

Comparison of manifold unfolding for the Swiss-roll dataset. Our method (f) demonstrates superior convexity and uniformity in the latent space compared to baselines like AAE, GAIA, and ACAI.

2. Geodesic Learning via an Interpolation Network

To find the optimal path between two points, a small network learns a cubic polynomial curve $c(t)$. This curve is optimized using a triple-loss objective:

  • Constant-Speed Loss ($L_{conspeed}$): Ensures the interpolation moves at a steady pace from start to finish.
  • Geodesic Loss ($L_{geo}$): Based on Riemannian geometry, this forces the path's acceleration to be orthogonal to the manifold's tangent space, essentially keeping the path "on the tracks."
  • Minimizing Loss ($L_{min}$): Ensures the path is the shortest possible distance on the manifold.

Experimental Evaluation

The method was evaluated on both synthetic and real-world datasets, including 3D manifolds (Swiss-roll and Semi-sphere) and image datasets (MNIST and Fashion-MNIST).

Key Insights and Results

  • Geometric Accuracy: On the semi-sphere dataset, the learned path was nearly identical to the theoretical geodesic (a great circle). The estimated curve length (1.1028) was remarkably close to the theoretical ideal (1.0776).
  • Superior Morphing: In MNIST tests, linear interpolation between a '2' and a '4' often passed through a '1' or created "ghosting" artifacts. The proposed geodesic method created a smooth, semantically logical transformation directly from '2' to '4'.
  • Semantic Invariance: A significant finding is that geodesic interpolation is invariant to the specific autoencoder used. Whether using a VAE or an AAE, the geodesic path remains semantically consistent, whereas linear interpolation varies wildly between models.
  • Computational Efficiency: By using difference approximations for derivatives, the authors made the complex Riemannian calculations computationally feasible for standard neural network training.

Conclusion

This research demonstrates that "unfolding" complex data structures is essential for robust interpolation. By forcing the latent space to respect geodesic distances and constant speeds, the model creates a map where transitions are safer and more predictable. While the manifold reconstruction method faces challenges with very high dimensionality, the proposed uniform interpolation constraints offer a significant step forward for generative modeling and video frame interpolation tasks.

Summary updated

BibTeX
@misc{geng2020uniform,
  author = {Cong Geng and Jia Wang and Li Chen and Wenbo Bao and Chu Chu and Zhiyong Gao},
  title = {{Uniform Interpolation Constrained Geodesic Learning on Data Manifold}},
  year = {2020},
  eprint = {2002.04829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.04829},
}
Figure