Mapping the Multiverse of Latent Representations
Jeremy Wayland, Corinna Coupette, Bastian Rieck
TL;DR
Addressing reliability and robustness in latent-space ML, the paper treats representational variability across models, hyperparameters, and datasets as a multiverse. It introduces PRESTO, a topological multiverse framework that uses persistent homology to map embeddings, via four steps: embed data, project embeddings, compute persistence diagrams, and vectorize them into persistence landscapes. It defines $PD$ (Presto Distance) and $PV$ (Presto Variance) to quantify pairwise similarity and variability of latent spaces, with stability guarantees under projection. Through experiments on VAEs and transformers, PRESTO reveals distinct topological structure in latent spaces, enables sensitivity analysis and search-space compression, and supports cross-dataset transfer insights for robust model selection.
Abstract
Echoing recent calls to counter reliability and robustness concerns in machine learning via multiverse analysis, we present PRESTO, a principled framework for mapping the multiverse of machine-learning models that rely on latent representations. Although such models enjoy widespread adoption, the variability in their embeddings remains poorly understood, resulting in unnecessary complexity and untrustworthy representations. Our framework uses persistent homology to characterize the latent spaces arising from different combinations of diverse machine-learning methods, (hyper)parameter configurations, and datasets, allowing us to measure their pairwise (dis)similarity and statistically reason about their distributions. As we demonstrate both theoretically and empirically, our pipeline preserves desirable properties of collections of latent representations, and it can be leveraged to perform sensitivity analysis, detect anomalous embeddings, or efficiently and effectively navigate hyperparameter search spaces.
