Abstract
Standard deep learning models typically assume a Euclidean latent space, which often fails to capture the intrinsic geometry of complex datasets. We present the Constant-Curvature Manifold Adversarial Autoencoder (CCM-AAE), a framework that enables learning on non-Euclidean surfaces such as spheres and hyperboloids. By integrating an adversarial training objective with a novel membership constraint, CCM-AAE provides a stable and flexible approach to modeling hierarchical and periodic data structures. Our results across MNIST, citation networks, and molecular graphs demonstrate superior performance and stability compared to traditional Euclidean and Variational Autoencoder baselines.
Introduction
The choice of latent space geometry is a critical inductive bias in representation learning. While Euclidean spaces are the default, many real-world data types—such as hierarchical trees or circular periodic signals—are more naturally embedded in hyperbolic or spherical manifolds. Previous attempts to utilize non-Euclidean Variational Autoencoders (VAEs) have encountered numerical instabilities in high dimensions and require complex, often intractable, probability priors.
To address these challenges, we introduce the CCM-AAE. This model leverages the adversarial training paradigm of Adversarial Autoencoders (AAEs) to bypass the need for explicit KL-divergence calculations, while introducing a "membership" constraint to ensure latent representations strictly adhere to the target manifold's geometry.
Methodology
The CCM-AAE architecture builds upon the standard AAE by incorporating geometric constraints directly into the learning objective.
Adversarial Learning and Membership Constraints
Unlike VAEs that rely on specific mathematical penalties to shape the latent space, the CCM-AAE employs a Discriminator network. The Encoder maps input data into a higher-dimensional space $\mathbb{R}^{d+1}$, which is then projected onto the manifold $\mathcal{M}$. The Discriminator's role is to distinguish between encoded points and samples drawn from a "true" distribution on the manifold.
A key innovation is the Membership Function $\mu(z)$. This function acts as a soft constraint that rewards the Encoder for placing points precisely on the manifold's surface. This ensures that the learned representations respect the intended geometry without requiring rigid projections at every training step.
Experimental Evaluation
The CCM-AAE was evaluated across three distinct domains to test its versatility:
- MNIST Digit Classification: In semi-supervised tasks, the spherical CCM-AAE maintained high accuracy (~95%) even as latent dimensionality increased. This contrasts sharply with spherical VAEs ($\mathcal{S}$-VAEs), which often suffer from performance collapse in high-dimensional settings.
- Link Prediction (Cora & Citeseer): On citation networks, the spherical model achieved an Average Precision (AP) of 93.9% with only 8 latent dimensions, matching the performance of Euclidean models requiring 64 dimensions. This suggests that the underlying structure of these networks is more efficiently captured in a curved space.
- Molecule Generation (QM9): The model demonstrated exceptional performance in generating unique and novel molecular graphs. By avoiding the mode collapse typical of GAN-based approaches, the spherical CCM-AAE achieved the highest Joint Score among several competitive baselines.
Discussion and Key Insights
A primary advantage of the CCM-AAE is its stability in high dimensions. By utilizing an adversarial approach, the model avoids the numerical issues associated with specific distributions (like the von Mises-Fisher distribution) used in non-Euclidean VAEs.
Furthermore, the experiments highlight that curvature matters. The success of spherical models on MNIST suggests a naturally circular underlying representation for handwritten digits. The integration of the explicit membership function proved crucial; simply matching a distribution is insufficient for a network to effectively learn and respect non-Euclidean geometry.
Limitations and Future Work
While effective, the model faces computational overhead when sampling from hyperbolic spaces due to the necessity of computing exponential maps. Future research could explore making the curvature $\kappa$ a learnable parameter, allowing the model to autonomously determine the optimal geometry for a given dataset. Additionally, while the model excels at novelty in molecule generation, further refinements to the decoder architecture could improve the chemical validity of generated structures.
Summary updated