Manuscript Offprint

arXiv:2610.33577

Variational Atlas Autoencoders and Self-Supervised Chart Selection

Arno Coomans, Merlin Nimier-David, Eugene d'Eon, Boris Bonev

ABSTRACT

Complex, high-dimensional data lie on manifolds that a single global latent coordinate system cannot represent without distortion. We introduce Variational Atlas Autoencoders, a mixture-of-charts framework that learns an atlas of local latent representations, each responsible for one region of the data manifold. The central difficulty in learning an atlas is deciding which chart should be responsible for which data point without labels. We show that this decision need not be a heuristic. By treating the chart index as a latent variable, the evidence lower bound yields the training objective and casts chart assignment as posterior inference, valid for any routing distribution. Within this framework, we propose latent-evidence routing, which assigns a point to a chart in proportion to the evidence of its encoding under that chart's latent prior. This has a simple interpretation: the closer a point lands to the center of a chart's latent space, and the more confidently it is placed there, the more likely it is to belong to that chart. Chart assignment thus emerges as posterior inference, depends on the encoder alone, and is fully self-supervised, so the charts discover structure in the data on their own, separating classes and subclasses such as distinct types of shoes or faces without access to labels. We further recover an atlas from the trained charts by identifying their overlaps and transition maps, enabling continuous interpolation within and across charts that stays close to the data manifold rather than traversing unsupported regions of latent space. Compared to capacity-matched baselines, Variational Atlas Autoencoders yields better-structured latent spaces and higher sample quality on image datasets including CelebA, while sampling requires evaluating only a single chart's decoder.

1 INTRODUCTION

Latent spaces learned by autoencoders underpin much of modern generative modeling, from latent diffusion (Rombach et al., 2022; Vahdat et al., 2021) to manifold-learning flows (Brehmer & Cranmer, 2020). These models are only as good as the learned coordinate system they are expressed in, and those coordinates almost always form a single global representation. Forcing all data into one representation is a design choice inherited from the autoencoder, not a property of the data.

Under the manifold hypothesis, data concentrate near a k-dimensional manifold M⊂Rd\mathcal{M} \subset \mathbb{R}^d with k≪dk \ll d (Fefferman et al., 2016; Brown et al., 2023), and an autoencoder can be viewed as an approximate chart of M\mathcal{M}: the encoder assigns coordinates to each data point, and the decoder maps them back. However, a single chart cannot cover every manifold without tearing or distortion. For example, a sphere cannot be flattened onto a plane, and data made of separate clusters, such as distinct classes, cannot be covered by one continuous latent space without filling the gaps between them. Autoencoders thus resort to non-smooth latent spaces whose interpolants decode to implausible samples (Arvanitidis et al., 2018; Oring et al., 2021). This is unavoidable for disconnected data: the image of a connected latent space is connected, so it must cross the gaps between components.

Differential geometry resolves this with an atlas: charts whose domains cover M, overlap, and are related by transition maps. Chart autoencoders (Schonsheck et al., 2019) and mixtures of VAEs (Ye & Bors, 2022; Alberti et al., 2024) move in this direction by giving each component its own encoder–decoder pair, but leave two problems open.

Without labels, the model must decide the responsibility of each chart for each data point on the manifold. We make this decision part of the probabilistic model by treating the chart index as a

Figure

Figure

Figure 1: Variational Atlas Autoencoders specialize to meaningful subsets of the data manifold with no label supervision. Left: a genus-2 surface covered by four 2D charts, colored by the chart claiming each region, shows that multiple charts avoid the distortion of a single global 2D latent space. Right: generated samples per chart on three image datasets. On MNIST (LeCun et al., 1998) and Fashion-MNIST (Xiao et al., 2017) (16-D latents), a chart typically covers one class or a related pair; on CelebA (Liu et al., 2015) (128-D latents), charts split by facial features, illumination, and background.

latent variable. Responsibility then enters the ELBO as the variational posterior q(c∣x)q(c|x), which we call the routing function, and since the bound holds for any choice of q(c∣x)q(c|x), the question becomes which router trains best. Routing by each chart's ELBO (Alberti et al., 2024) ties assignment to how well a chart already reconstructs a point, which can favour charts that improve early. On the other hand, separate latent spaces use disjoint coordinate systems, so interpolation is undefined across charts, limiting the connectivity of the model. Without a way to transition between charts, the model cannot interpolate between arbitrary points on the data manifold, hindering downstream applications expressed in this coordinate system, such as latent-space diffusion.

Contributions. Variational Atlas Autoencoders address both problems. (i) We formulate a variational mixture of charts, each a complete VAE, in which the training objective follows from the ELBO. (ii) We propose latent-evidence routing, which assigns a point to a chart in proportion to the evidence of its encoding under that chart's prior: the closer the encoding lies to the chart's centre, and the more confident it is, the higher its responsibility. It depends on the encoders alone, meaning it does not require reconstructions for routing. It discovers classes and subclasses without labels, such as sandals and heeled shoes in Fashion-MNIST. (iii) We turn the trained charts into an atlas by fitting overlaps (portals) where the router ties and building a chart transition graph, enabling interpolation within and across charts that stays close to the data manifold. (iv) On MNIST, Fashion-MNIST, and CelebA, our method achieves the best sample FID among parameter-matched VAE and VaDE baselines, while sampling requires only a single (smaller) decoder pass.

References (44)

  • Manifold learning by mixture models of VAEs for inverse problems
  • Latent space oddity: on the curvature of deep generative models
  • Geometrically enriched latent spaces
  • Grace Haaf, Yonatan Kahn, and Daniel A. Roberts
  • Flows for simultaneous manifold learning and density estimation
  • A. Brown, Anthony L. Caterini, Brendan Leigh Ross, Jesse C. Cresswell, and Gabriel Loaiza-Ganem
  • Testing the manifold hypothesis
  • The EM algorithm for mixtures of factor analyzers
  • Hoffman and Matthew J. Johnson
  • Variational deep embedding: An unsupervised and generative approach to clustering
  • Kingma and Max Welling
  • Gradient-based learning applied to document recognition
  • Deep learning face attributes in the wild
  • Autoencoder image interpolation by shaping the latent space
  • Unsupervised representation learning with deep convolutional generative adversarial networks
  • High-resolution image synthesis with latent diffusion models
  • Chart auto-encoders for manifold structured data (opens arXiv in a new tab)
  • Atlas generative models and geodesic interpolation
  • Rethinking the inception architecture for computer vision
  • Learning disconnected manifolds: a no GAN's land
  • Automatic alignment of local representations
  • Tipping and Christopher M. Bishop
  • Score-based generative modeling in latent space
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • Deep mixture generative autoencoders
  • Deep unsupervised clustering using mixture of autoencoders (opens arXiv in a new tab)
  • The unreasonable effectiveness of deep features as a perceptual metric
  • Everything in Sec
  • An atlas is a collection of charts $\{(U_c, \varphi_c)\}_{c=1}^C$ whose domains cover $\mathcal{M}$
  • the distribution of $f(\mathbf{u})$ for $\mathbf{u} \sim \mu$
  • Since these posterior distributions are generally intractable, we introduce the variational approximations $q_{\phi}(c \mid \mathbf{x})$ and $q_{\phi}(\mathbf{z}_c \mid c, \mathbf{x})$
  • 13 are generally intractable because the integral over the continuous latent variables cannot usually be computed in closed form
  • Using the factorization $p_{\theta}(\mathbf{x}, \mathbf{z}_c, c) = p_{\theta}(\mathbf{x} \mid \mathbf{z}_c, c) p(\mathbf{z}_c \mid c) p(c)$ and $q_{\phi}(c, \mathbf{z}_c \mid \mathbf{x}) = q_{\phi}(\mathbf{z}_c \mid c, \mathbf{x}) q_{\phi}(c \mid \mathbf{x})$, the ELBO can be written as
  • For image datasets, we use an architecture that can exploit their spatial structure more effectively
  • Reducing the size of the shared encoder/decoder model improves the generation speed, but comes with the trade-off that each chart needs to learn the mapping from ambient to latent space from scratch, effectively re-learning the feature extractor
  • For CelebA specifically, we replace it with a mix of L1 error in pixel space and LPIPS (Zhang et al., 2018), a common perceptual loss used by latent-diffusion autoencoders
  • The vanilla VAE control is simply $C = 1$ (Sec
  • D.1) in place of their original autoencoder
  • Lower is better; best in bold, second best underlined
  • >Dataset</td><td rowspan=
  • During training, every encoder is evaluated on each minibatch
  • Figure 7 depicts training samples and their reconstructions from the fully converged model
  • 0.0 0.2 0.4 0.6 0.8 1.0 Interpolation progress 0.00 0.01 0.02 0.03 0.04 Distance to surface Portal route Straight chord Portal Figure 8: Interpolation trajectories between two charts through a portal on the double-torus geom￾etry
  • Each grid represents samples generated from a distinct chart