Manuscript Offprint
arXiv:2610.27322VampPrior Unleashed
Abstract
Deep latent variable models (DLVMs) underpin many modern analysis pipelines, for example in single-cell genomics, yet their prior distributions have received markedly little attention. The VampPrior approximates the optimal prior (the aggregate posterior) and often attains high model evidence. Here, we identify two key limitations of the VampPrior: it ties prior and posterior uncertainty to a single amortized covariance and clusters poorly due to its fixed uniform mixture weights. We unleash the VampPrior by decoupling its prior and posterior covariances, resolving the conflict of generating high prior and low posterior entropy with the same shared parameters and substantially improving model evidence. We then replace the uniform mixture with a Dirichlet process. When combined, our proposals provide higher model evidence than the VampPrior and robust non-parametric clustering. Augmenting single cell Variational Inference (scVI) with our prior improves single-cell integration and clustering across six atlases while significantly raising model evidence. Our approach changes only the prior and thus can be applied to any DLVM with a continuous latent space.
1 INTRODUCTION
Deep latent variable models (DLVMs) underpin many of the popular single-cell models of the last decade: scVI (Lopez, Regier, et al. 2018) and scANVI (Xu et al. 2021) for scRNA-seq; PeakVI (Ashuach, Reidenbach, et al. 2022) and PoissonVI (Martens et al. 2024) for ATAC-seq; MethylVI and MethylANVI (Weinberger et al. 2026) for scBS-seq; totalVI (Gayoso et al. 2021) for Cite-seq; MultiVI (Ashuach, Gabitto, et al. 2023) for single-cell multi-omics; and DestVI (Lopez, Li, et al. 2022), ResolVI (Ergen and Yosef 2025), and scVIVA (Levy et al. 2025) for spatial transcriptomics. Single-cell analyses benefit from explicit probabilistic modeling to handle sparse, noisy, and over-dispersed count data; batch effects (nuisance technical variation); and partially labeled data. DLVMs provide an integrated low-dimensional, batch-effect-free representation of the data that enables downstream tasks such as clustering, visualization, trajectory inference, and differential expression analysis. Despite widespread adoption of DLVMs by biologists, there has been little innovation in the prior distributions used in these models. Prior choice governs the geometry of the latent space, affecting posterior collapse, representation quality, and, critically for single-cell applications, the recovery of discrete cell-type clusters and continuous differentiation trajectories. Roughly half of the aforementioned methods employ a standard normal prior, while the other half employ a Gaussian mixture model (GMM) prior. DestVI is the only method to leverage the VampPrior (Tomczak and Welling 2018) (albeit alongside a standard normal prior).
Observing an awkward tradeoff between a GMM prior's clustering quality and the VampPrior's model evidence, Stirn and Knowles (2025) introduced the VampPrior Mixture Model (VMM). They tune the VMM to achieve state-of-the-art clustering but find there its model evidence lags behind the VampPrior's, suggesting the model is a less faithful descriptor of the observed data. This paper asks, "Can we have the best of both worlds?" and "How can we easily traverse the tradeoff between structure and model evidence?" We propose a new nonparametric prior that definitively shifts the Pareto frontier of the clustering-quality and model-evidence tradeoff. At their most-balanced operating points, our approach outperforms the VMM at both clustering and model evidence.
Our technical contributions are twofold. First, we recognize the VampPrior's decision to model prior and posterior variance with the same shared parameters hamstrings its modeling performance since the same covariance parameterizing function has the conflict-ing tasks of producing both low entropy posteriors that drive predictive performance and a higher entropy prior that governs the marginal likelihood. Our VampPrior-Unleashed frees the VampPrior from this artificial constraint by decoupling the VampPrior's component covariances from the encoder network. We find that this additional degree of freedom greatly improves model evidence. Second, we replace the VampPrior's uniform mixture with a Dirichlet process (DP) mixture to encourage fewer active components. Empirically, we observe that a DP VampPrior (without decoupled covariances) exacerbates evidence degradation making our proposed covariance decoupling even more valuable if using a DP. In contrast, at its most-balanced operating point our DP-VampPrior-Unleashed (a DP-mixture VampPrior with decoupled covariances) yields a well-structured latent distribution with cohesive, parsimonious clusters and significantly higher evidence than even the VampPrior's highest attainable—a substantial achievement given the VampPrior already approximates the optimal prior for the evidence lower bound (ELBO). Conveniently, adjusting the DP's concentration traverses the Pareto frontier without needing to specify the number of mixture components a priori.
Augmenting scVI with our DP-VampPrior-Unleashed prior improves its single-cell integration benchmark (scIB) Luecken et al. (2022) metrics while attaining state-of-the-art levels of marginal likelihood enabling higher-fidelity downstream differential expression analyses. We emphasize that our contributions apply to any continuous latent-space DLVM despite our experimental focus on single-cell data. We anticipate many more applications may benefit from our approach in biology and beyond.
2.1 Deep Latent Variable Models
DLVMs are a class of generative models that explicitly parameterize the likelihood of observed variables with neural networks operating on latent variables. The variational autoencoder (VAE) (Kingma and Welling 2014; Rezende, Mohamed, and Wierstra 2014) is a DLVM that provides computationally efficient variational inference (VI) of low-dimensional, latent Gaussian variables Z that explain observed high-dimensional data X. Kingma and Welling (2014) choose as the prior, some suitable likelihood (e.g., Bernoulli or Normal) parameterized by neural network f with parameters operating on z, and posit amortized variational family (encoding distribution), where neural network g with parameters maps x onto the posterior parameter space. They then fit and using black box VI (Ranganath, Gerrish, and D. Blei 2014) with reparameterization gradients (Williams 1992) to maximize the evidence lower bound (ELBO) on the marginal likelihood of the data,
(1)
2.2 The VampPrior
Hoffman and Johnson (2016) and Tomczak and Welling (2018) identify the prior that maximizes eq. (1) as the aggregate posterior,
taken over the N training points. Motivated by Empirical Bayes, Tomczak and Welling (2018) approximate using randomly selected (without replacement) training data points (pseudo-inputs) instead of all N for computational tractability. They call their approximation to the Empirical Bayes solution the VampPrior and define it as a uniform mixture of K variational posteriors,
To train a VAE with a VampPrior, one sets according to eq. (3) and maximizes eq. (1) w.r.t. , , and —training the pseudo-inputs (prior parameters) alongside the encoder and decoder parameters. Despite our observed weakness in its approximation, the VampPrior often achieves higher marginal likelihoods than other priors (Tomczak and Welling 2018; Stirn and Knowles 2025).
2.3 Dirichlet Process Mixtures
A Dirichlet Process (DP), , is a stochastic process whose realizations are themselves probability distributions. A positive concentration parameter and a base distribution parameterize a DP. A realization is almost surely discrete taking the form , where is a point mass at , itself drawn independently from . Sethuraman's stick-breaking construction (Sethuraman 1994) explicitly characterizes the construction of the infinite sequence of mixture weights, : after sampling the stick-breaking proportions one sets . Informally, starting with an initial stick of length one, each iterative break takes a proportion of what remains. The
GEM (Griffiths-Engen-McCloskey) distribution (Griffiths 1980; Engen 1975; McCloskey 1965) characterizes the joint distribution and ensures that the infinite sequence of weights sums to one almost surely and naturally encourages a sparse, size-biased allocation of probability mass across latent clusters. For this reason, a DP is a popular choice in Bayesian nonparametrics when the number of mixture components is unknown a priori.
3 METHODS
3.1 Unleashing the VampPrior
To the best of our knowledge, we are the first to recognize that the VampPrior's choice to model both prior and posterior variance with the same shared parameters results in conflict between the desiderata of low entropy posteriors and a high entropy prior. We demonstrate empirically that this constricted construction is suboptimal from a marginal likelihood perspective and therefore propose decoupling the VampPrior's component variances from the encoder network to resolve this conflict. Concretely, we propose replacing eq. (3) with,
Here, denotes the encoder's mean output when operating on pseudo-input , and is the -th of trainable covariance matrices. With exclusively a prior parameter, the prior is free to increase entropy as needed to approximate the Empirical Bayes solution (eq. (2)) leaving 's covariance free to reduce entropy and drive predictive performance. We show this decoupling substantially improves evidence relative to the original VampPrior.
While the covariance is decoupled, the amortized mean function, , remains shared between prior and posterior. When initializing pseudo-inputs by sampling from the training data, the decoupled VampPrior retains the VampPrior's property of well-initialized prior components. Equation (4) contains the original VampPrior as a special case when for all .
3.2 A Dirichlet Process VampPrior
Tomczak and Welling (2018) observe that increasing K increases the ELBO of a VAE with a VampPrior; this makes sense since increasing the entropy of the VampPrior requires either increasing the component entropy or increasing the number of components. In other words, increasing K reduces the burden on the encoder to produce high entropy priors while maintaining low entropy posteriors. Indeed, in the limit there is no prior-posterior conflict. Reducing K exacerbates this burden. Often one uses a large K (several hundred) to better approximate the aggregate posterior, but it is this regime where the VampPrior's cluster assignments become less meaningful. With the additional degree of freedom afforded by our proposal to decouple covariance, we can now effectively reduce the number of prior components by replacing the uniform mixture in eqs. (3) and (4) with a DP mixture using a stick-breaking construction,
Here, denotes the prior's -th component distribution, which can be either for the original VampPrior (eq. (3)) or for the VampPrior with decoupled covariance (eq. (4)). Sampling the cluster assignment allows us to index a prior component distribution rather than marginalizing over all components as eqs. (3) and (4) have to do without an expanded model.
Following D. M. Blei and Jordan (2004), we approximate the generative DP with a truncated variational family, defining the approximate posterior on stick-breaking proportions for with variational parameters . For , (sampled) posterior mixture proportions follow eq. (6). The final break ( ) deterministically takes the remainder of the stick with . When estimating the log marginal likelihood of the data with an Importance Weighted Autoencoder (IWAE) estimator (Burda, Grosse, and Salakhutdinov 2016), this deterministic construction of avoids the mathematical issues associated with a Dirac delta proposal distribution. We optimally update
where the expectation of integrates analytically after substituting 's stick-breaking construction from (eq. (6)). With all priors and variational families defined we can write down the VAE's ELBO for a VampPrior with a DP mixture as:
We jointly optimize eq. (9) w.r.t. , , , , and, in the case of decoupled covariance, .
Using a truncated mixture for the variational family only requires defining prior components, enabling us to use either the VampPrior's components in eq. (3) or our decoupled components in eq. (4). Specifically, we can set (eq. (8)) to for the original VampPrior or to for our VampPrior-Unleashed.
3.3 Related Work
Figure 4 (section A) situates our contributions within a lineage of VAE priors. The motivations underlying these developments are generally centered around structured latent representations, flexible prior modeling, or both. From the VAE's (Kingma and Welling 2014) standard normal prior, Jiang et al. (2017) replace with a parametric GMM prior (VaDE), which Stirn and Knowles (2025) extend to a Bayesian GMM with a Dirichlet prior to flexibly model the number of clusters. Tomczak and Welling (2018) approximate the aggregate posterior (eq. (2)). The VampPrior Mixture Model (VMM) (Stirn and Knowles 2025) unifies both branches by amortizing their Bayesian GMM's component means through the encoder, thereby containing the VampPrior as a special case while retaining an approximate DP mixture. Stirn and Knowles (2025) report their VMM dominates both VaDE and their Bayesian GMM at both log marginal likelihood and NMI. We therefore consider the VMM as the best representative of this lineage and exclude their Bayesian GMM and VaDE from our experiments.
4 EXPERIMENTS
Our experiments investigate how prior selection affects various DLVMs' performances across different datasets and domains. Throughout, we explore the tradeoff between marginal likelihood and clustering quality. We estimate the marginal likelihood using the IWAE bound (Burda, Grosse, and Salakhutdinov 2016) with 5,000 samples per data point. We choose normalized mutual information (NMI) to measure clustering quality. Section B.1 elaborates further and includes an IWAE bound for global latent variables. Commonly, one initializes VampPrior pseudo-inputs with randomly selected training data. We consider two additional strategies for initializing the pseudo-inputs: noise and stratified sampling via coarse labels, which are often available in scRNA-seq. Section B.2 motivates and details these strategies.
4.1 Unleashing the VampPrior
We isolate the effect of decoupling the VampPrior's component covariances from the encoder by comparing the difference in performance of the VampPrior (eq. (3)) and our VampPrior-Unleashed (eq. (4)) in a VAE. Figure 1 sweeps the number of components K on FashionMNIST. In addition to the per-datum marginal likelihood and NMI (first and last panel), we examine distortion (negative of eq. (1)'s first term) and rate (eq. (1)'s second term) (Alemi et al. 2018) as well as marginal Kullback–Leibler (KL) divergence (Hoffman and Johnson 2016) to distinguish log marginal differences. Section C.1 contains FashionMNIST sweeps for different u initialization strategies (fig. 5) and the corresponding MNIST sweeps (fig. 6).
The results are unambiguous and diagnostic of the conflict identified in section 3.1. Across two datasets, three pseudo-input initialization strategies, and (36 configurations in total), the decoupled variant attains the better mean on every configuration for every metric. Differences are significant in 31/36 configurations for log marginal, 32/36 for distortion, and 36/36 for rate, marginal KL, and NMI. With data u-initialization, log marginal's per-datum gain broadly grows with K—peaking at +2.1 nats at K = 100 on FashionMNIST (fig. 1) and +2.8 nats at K = 80 on MNIST (fig. 6a). The largest observed gain is +3.6 nats at K = 100 on MNIST under random u-initialization (fig. 6c). Exponentiating these per-datum differences and multiplying by 60,000 (number of samples) results in decisive Bayes factors (Kass and Raftery 1995) favoring the VampPrior-Unleashed.
The rate and distortion panels explain evidence gains and confirm our core hypothesis. Decoupling lowers rate for by roughly 0.8–1.7 nats. Freed from inflating for prior entropy, the encoder emits sharper posteriors that are now cheaper to code under a prior whose components can widen on their own. Distortion also falls making the decoupled model simultaneously better on both ELBO terms (eq. (1)). This zero-tradeoff behavior indicates a con-

VampPrior VampPrior-Unleashed
Figure 1: Effect of varying the number of components K on FashionMNIST with u initialized from randomly selected training data. Lines and bands are means standard error over 20 seeds. Dashed connectors mark configurations at which the seed-paired one-sided Wilcoxon signed-rank test rejects at p < 0.05; arrows indicate the direction of improvement.
straint relaxation rather than a repositioned operating point on a fixed rate-distortion curve. The marginal KL panels captures the cost a chosen prior incurs relative to the optimal prior (eq. (2)). While the optimal prior is different for every model since it depends on the final encoder, it is clear decoupling better approximates its own optimal prior.
4.2 Clustering with the VampPrior
Improved evidence does not necessarily make a prior more useful for downstream tasks that motivate DLVMs in single-cell analysis, in particular clustering. In section 4.1, the number of active components for both the VampPrior and the VampPrior-Unleashed is always in . Accordingly, NMI consistently peaks near and then decays monotonically. While decoupling shifts the whole NMI curve upward, it leaves its shape intact, because the pathology lies with the fixed uniform mixture weights and not the component variances. Figure 2 makes this failure mode concrete on a 2D anisotropic GMM with three well-separated components modeled by a 1D latent with available components. Both the VampPrior (fig. 2a) and the VampPrior-Unleashed (fig. 2b) spend all 40 components, fragmenting each true cluster into a haze of arbitrary sub-assignments; the usage-weighted densities show no component going unused. The DP VampPrior-Unleashed (fig. 2c) prunes the same 40 available components down to exactly three, one per true cluster, and recovers the generative partition.
Figures 7 and 8 (section C.2) sweep the concentration with the truncation held at and isolate the effect of covariance decoupling in the DP setting. As with the sweeps (figs. 1, 5 and 6), our decoupled DP VampPrior-Unleashed consistently outperforms its non-decoupled counterpart on the same panel of metrics across a wide range of values on all datasets and under all initializations. The typical per-datum log marginal gain is +2 to +4 nats indicating a decisive improvement in model evidence. Furthermore, is the parsimony dial the DP promises; e.g., in fig. 8c our DP VampPrior-Unleashed on average activates 1 component at , 6.6 components at , 15.8 at , 40.6 at , and 99.2 at .
4.3 Trading Evidence for Structure
Sections 4.1 and 4.2 establish that decoupling helps at fixed hyperparameter values, but each section's priors have their own hyperparameter axis (K and ). To compare priors across these different axes, we construct an evidence-clustering plane, where the set of configurations tested for each prior produce a set of points. The VMM, where we mimic Stirn and Knowles (2025)'s parameterization via batch size, can also be analyzed in this plane. Figure 3 plots every configuration's (per-datum log marginal, NMI) point and traces the Pareto frontier for each prior. Table 1 quantitatively summarizes those frontiers. We normalize the plane to a unit square (grey box, fig. 3) where the bottom-left corner is the origin. Hypervolume is the area covered by the staircase integral of non-dominated points—a conservative estimate for the true Pareto frontier as estimated by the solid lines in fig. 3. is the frontier point closest to the normalized ideal (1, 1)—top-right corner of the grey box. The minimum distance from the normalized ideal (1, 1) indicates how close a prior's Pareto frontier can get to this ideal.
Both decoupled variants dominate their coupled counterparts on hypervolume and distance to the ideal (tables 1 and 3). Decoupling more than triples hypervolume on MNIST: from 0.242 to 0.856 for the uniform mixture and from 0.191 to 0.888 for the DP mixture. The coupled DP is the weakest prior we tested on both datasets and is statistically indistinguishable from the original VampPrior, confirming our covariance decoupling is what makes the DP viable.
Comparison to the VMM is more nuanced. Our



(a) VampPrior
(b) VampPrior-Unleashed
(c) DP VampPrior-Unleashed
Figure 2: Modeling a 2D anisotropic GMM (three well-separated components) with a 1D latent and K = 40 available components. Top: data colored by cluster assignment. Middle and bottom: the prior's component densities weighted by the mixture proportions and by realized test-set usage, respectively. Only our DP VampPrior-Unleashed (c) recovers the three true clusters.

Figure 3: Evidence–NMI Pareto frontiers. Each point is one hyperparameter configuration averaged over 20 seeds; large points are the non-dominated configurations and the line connecting them interpolates the Pareto frontier. The dashed box spans the standard normal VAE (origin, ×) to the best per-datum log marginal and NMI attained by any prior. Configurations whose mean log marginal or NMI falls outside the grey box, i.e., worse than the standard normal VAE on either axis, are excluded before the frontier is computed. Stars mark each prior’s , the frontier point closest to the normalized ideal (top-right corner of grey box after normalization to unit box). Both our VampPrior-Unleashed and DP-VampPrior-Unleashed offer sizable frontier advancements.
Table 1: Pareto summary statistics with [2.5, 97.5] bootstrap intervals over 10,000 samples. Boldface marks the best prior per column together with every prior statistically indistinguishable from it ( in table 3, section D).
| Dataset | Prior | Hypervolume | Min | Max Log marginal | Max NMI |
|---|---|---|---|---|---|
| MNIST | VampPrior | 0.242 [0.115, 0.423] | 0.729 [0.517, 0.887] | 126.092 [125.740, 127.199] | 0.695 [0.654, 0.701] |
| VampPrior-Unleashed | 0.856 [0.677, 0.883] | 0.278 [0.178, 0.347] | 129.249 [128.494, 130.120] | 0.796 [0.788, 0.810] | |
| DP-VampPrior | 0.191 [0.066, 0.380] | 0.789 [0.569, 0.939] | 125.768 [125.501, 126.876] | 0.683 [0.664, 0.693] | |
| DP-VampPrior-Unleashed | 0.888 [0.741, 0.917] | 0.130 [0.091, 0.260] | 129.185 [128.752, 130.128] | 0.790 [0.786, 0.802] | |
| VMM | 0.599 [0.482, 0.820] | 0.430 [0.203, 0.523] | 127.484 [127.320, 128.762] | 0.862 [0.856, 0.867] | |
| FashionMNIST | VampPrior | 0.439 [0.359, 0.556] | 0.542 [0.409, 0.623] | 157.038 [156.678, 157.780] | 0.599 [0.597, 0.602] |
| VampPrior-Unleashed | 0.933 [0.846, 0.952] | 0.176 [0.130, 0.201] | 160.055 [159.461, 160.691] | 0.631 [0.625, 0.644] | |
| DP-VampPrior | 0.403 [0.333, 0.522] | 0.584 [0.448, 0.652] | 156.737 [156.483, 157.443] | 0.585 [0.581, 0.591] | |
| DP-VampPrior-Unleashed | 0.889 [0.765, 0.963] | 0.168 [0.087, 0.246] | 159.625 [159.020, 160.520] | 0.624 [0.620, 0.633] | |
| VMM | 0.723 [0.628, 0.840] | 0.259 [0.172, 0.351] | 158.800 [158.412, 159.463] | 0.635 [0.630, 0.639] |
DP-VampPrior-Unleashed attains a larger hypervolume and a closer best-compromise point on both datasets. Its maximum per-datum evidence exceeds the VMM's by 1.7 nats on MNIST and 0.8 on FashionMNIST, delivering decisive Bayes factors. Crucially, at the best-compromise point , the two priors' NMIs are statistically indistinguishable on both datasets, while the DP-VampPrior-Unleashed's log marginal is significantly higher on MNIST (table 3). In other words, at an operating point that one might pragmatically select, our prior matches the VMM's clustering while extracting materially more evidence from the same architecture. The VMM nonetheless retains the highest achievable NMI, which Stirn and Knowles (2025) explicitly designed it for. Yet, on FashionMNIST, the margin is negligible relative to our VampPrior-Unleashed and DP-VampPrior-Unleashed. However, on MNIST the VMM's 0.862 NMI is a genuine win. We regard this as the honest form of our contribution: our proposals are not uniformly best at clustering but offer a strictly better Pareto frontier.
Comparing our decoupled variants to each other, the DP mixture is statistically indistinguishable from the uniform mixture on every frontier statistic and both datasets (). This result is expected: the uniform mixture reaches its frontier by tuning , and its NMI collapses as grows too large, requiring the number of clusters to be known a priori. In contrast, the DP reaches the same frontier from a single generous truncation of , pruning to as few as 16 active components on its own with reasonable values. After all, matching a tuned model without tuning is the goal of Bayesian nonparametric modeling.
4.4 scRNA-seq
The canonical DLVM for scRNA-seq is scVI (Lopez, Regier, et al. 2018), a VAE that conditions on a batch label (e.g., donor or patient) and uses a zero- inflated negative binomial (ZINB) likelihood suitable for sparse, over-dispersed scRNA-seq counts. For the -th cell, scVI observes read counts , a library size , and batch label and posits,
We replace scVI's standard normal prior with our DP VampPrior-Unleashed and leave the encoder, decoder, and likelihood untouched, so that any change in performance is attributable to the prior alone. We favor our DP variant for its demonstrated ability to preserve latent structure across a wide range of concentrations (section 4.3) without committing to the number of available components a priori.
For our scRNA-seq evaluation, we follow OpenProblems.bio. We use the same six publicly available atlases and report scIB metrics (Luecken et al. 2022) alongside our measured log marginal and NMI in table 2. See section B.1.3 for a summary of the scIB metrics. Documentation for scVI notes little difference in providing the batch label to the encoder or not (encode covariates column, table 2)—the decoder always sees the batch label. Recognizing the true posterior has this dependence, we test scVI's standard-normal baseline in both settings and our DP VampPrior-Unleashed with covariate encoding enabled.
Most notably, our method improves scIB's aggregate total score on every atlas by increasing biological conservation as measured by the underlying metrics and their aggregate. KMeans adjusted Rand Index (ARI)/NMI and silhouette-label are the big drivers of this improvement under our prior. These metrics, particularly benefit from enhanced biological structure captured in the latent space, which our DP VampPrior-Unleashed is designed to preserve. Crucially, this structure does not come at the expense
Table 2: Summary statistics for scRNA-seq experiments. Entries are means standard deviation over 3 seeds. Boldface marks, per column, the best mean and every prior tied with it at the reported precision; this is a descriptive convention, not a significance claim.
| Dataset | Prior | Encode covariates | Our metrics | Bio conservation | Batch correction | Aggregate | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Log Marginal | NMI | Isolated labels | KMeans ARI | KMeans NMI | Silhouette label | cLISI | BRAS | Graph connectivity | KBET | iLISI | Batch correction | Bio conservation | Total | |||
| DKD | StandardNormal | False | ||||||||||||||
| VMM | True | |||||||||||||||
| DP-VampPrior-Unleashed | True | |||||||||||||||
| True | ||||||||||||||||
| Immune Cell Atlas | StandardNormal | False | ||||||||||||||
| True | False | |||||||||||||||
| DP-VampPrior-Unleashed | True | |||||||||||||||
| GTEx | StandardNormal | False | ||||||||||||||
| VMM | True | |||||||||||||||
| DP-VampPrior-Unleashed | True | |||||||||||||||
| True | ||||||||||||||||
| Mouse Pancreas Atlas | StandardNormal | False | ||||||||||||||
| True | False | |||||||||||||||
| VMM | True | |||||||||||||||
| DP-VampPrior-Unleashed | True | |||||||||||||||
| HypoMap | StandardNormal | False | ||||||||||||||
| True | False | |||||||||||||||
| DP-VampPrior-Unleashed | True | |||||||||||||||
| Tabula Sapiens | StandardNormal | False | ||||||||||||||
| True | False | |||||||||||||||
| DP-VampPrior-Unleashed | True | |||||||||||||||
of model evidence. Our prior attains a higher per-datum log marginal on five of six atlases—by up to +5.6 nats on Tabula Sapiens, and by +2 to +2.5 nats on the Immune Cell Atlas, GTEx, and HypoMap—and appears statistically indistinguishable on the Mouse Pancreas Atlas. Exponentiated over tens to hundreds of thousands of cells, these differences are decisive Bayes factors, mirroring the zero-tradeoff behavior in section 4.1. The VMM only completed all three seeds without hitting NaNs on DKD. Its other two appearances have ± NaN as the standard error, indicating only one seed completed successfully.
The one qualified exception may be batch correction, where the aggregate score is mixed and the pattern is metric-specific. kBET and iLISI, which reward batch mixing within a cell type, improve with our prior or tie on nearly every atlas, whereas BRAS and graph connectivity favor the standard normal throughout. A diffuse, structureless embedding trivially maximizes BRAS—since within-cell-type distances to same-batch and other-batch cells become indistinguishable—and similarly satisfies graph connectivity by collapsing cells into a single connected component regardless of biological structure. The authors of BRAS (Rautenstrauch and Ohler 2026) dispute the reliability of silhouette-based metrics for single-cell batch correction more broadly and note that BRAS remains sensitive to differential cell type composition between donors and should not be interpreted in isolation. Table 4 (section E) computes Cramér's for each dataset in table 2 and finds a high degree of association between cells and donors for two of the three datasets where our DP VampPrior-Unleashed did not achieve the best batch correction score. In other words, the standard normal prior appears to earn its winning batch-correction scores by discarding biological structure our prior is designed to retain.
5 CONCLUSION
Motivated by DLVMs widespread adoption in modern biological data analyses and the importance prior selection has, we seek a prior that provides optimal balance between model evidence and biological structure identification. Starting with the VampPrior, which approximates the optimal prior, we identify two key limitations that prohibit it from meeting these desiderata. First, we observe that the VampPrior forces a single amortized covariance to serve both a low-entropy posterior and a high-entropy prior, and that decoupling the component covariances from the encoder (our VampPrior-Unleashed) substantially raises model evidence by simultaneously improving rate and distortion. We then replace the uniform mixture of prior components with a Dirichlet process, yielding our DP-VampPrior-Unleashed, which prunes redundant components and recovers parsimonious, well-separated clusters and offers the best evidence-structure Pareto frontier via a single concentration parameter, thereby avoiding fixing the number of clusters a priori. Our DP-VampPrior-Unleashed when used within scVI substantially improves both model evidence and biological structure recovery across diverse single-cell atlases.
Our contributions apply to any continuous latent-space DLVM, and several extensions are natural. Expanding the DP VampPrior-Unleashed to a hierarchical Dirichlet process would share components across groups, providing patient- or sample-specific mixture proportions for multi-sample atlases and topic-model-style analyses. More broadly, because the prior is the only component we change, we anticipate the same evidence and structure gains for the many DLVMs—across ATAC-seq, methylation, multi-omics, and spatial transcriptomics—that often default to a standard normal or a fixed-size GMM prior.
REFERENCES
Alemi, Alexander et al. (July 2018). “Fixing a Broken ELBO”. In: Proceedings of the 35th International Conference on Machine Learning. Ed. by Jennifer Dy and Andreas Krause. Vol. 80. Proceedings of Machine Learning Research. PMLR, pp. 159–168.
Ashuach, Tal, Mariano I. Gabitto, et al. (Aug. 2023). "MultiVI: Deep Generative Model for the Integration of Multimodal Data". In: Nature Methods 20.8, pp. 1222–1231. ISSN: 1548-7105. DOI: 10.1038/s41592-023-01909-9.
Ashuach, Tal, Daniel A. Reidenbach, et al. (Mar. 2022). “PeakVI: A Deep Generative Model for Single-Cell Chromatin Accessibility Analysis”. In: Cell Reports Methods 2.3. ISSN: 2667-2375. DOI: 10.1016/j.crmeth.2022.100182. (Visited on 08/04/2026).
Blei, David M. and Michael I. Jordan (2004). “Variational Methods for the Dirichlet Process”. In: Proceedings of the Twenty-First International Conference on Machine Learning. ICML '04. Banff, Alberta, Canada: Association for Computing Machinery, p. 12. ISBN: 1-58113-838-5. DOI: 10.1145/1015330.1015439.
Burda, Yuri, Roger Grosse, and Ruslan Salakhutdinov (Nov. 2016). Importance Weighted Autoencoders. DOI: 10.48550/arXiv.1509.00519. arXiv:1509.00519 [cs.LG]. (Visited on 06/03/2026).
Büttner, Maren et al. (Jan. 2019). “A Test Metric for Assessing Single-Cell RNA-Seq Batch Correction”. In: Nature Methods 16.1, pp. 43–49. ISSN: 1548-7105. DOI: 10.1038/s41592-018-0254-1.
Cohen, Jacob (2013). Statistical Power Analysis for the Behavioral Sciences. routledge. ISBN: 1-134-74270-3.
Engen, Steinar (Dec. 1975). “A Note on the Geometric Series as a Species Frequency Model”. In: Biometrika 62.3, pp. 697–699. ISSN: 0006-3444. DOI: 10.1093/biomet/62.3.697. (Visited on 08/06/2026).
Ergen, Can and Nir Yosef (Jan. 2025). “ResolVI - Addressing Noise and Bias in Spatial Transcriptomics”. In: bioRxiv, p. 2025.01.20.634005. DOI: 10.1101/2025.01.20.634005.
Gayoso, Adam et al. (Mar. 2021). “Joint Probabilistic Modeling of Single-Cell Multi-Omic Data with totalVI”. In: Nature Methods 18.3, pp. 272–282. ISSN: 1548-7105. DOI: 10.1038/s41592-020-01050-x.
Griffiths, R.C. (Feb. 1980). “Lines of Descent in the Diffusion Approximation of Neutral Wright-Fisher Models”. In: Theoretical Population Biology 17.1, pp. 37–50. ISSN: 0040-5809. DOI: 10.1016/0040-5809(80)90013-1.
Hoffman, Matthew D and Matthew J Johnson (2016). "Elbo Surgery: Yet Another Way to Carve up the Variational Evidence Lower Bound". In: Workshop in Advances in Approximate Bayesian Inference, NIPS. Vol. 1.
Jiang, Zhuxi et al. (2017). “Variational Deep Embedding: An Unsupervised and Generative Approach to Clustering”. In: Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI-17, pp. 1965–1972. DOI: 10.24963/ijcai.2017/273.
Kass, Robert E. and Adrian E. Raftery (June 1995). "Bayes Factors". In: Journal of the American Statistical Association 90.430, pp. 773–795. ISSN: 0162-1459. DOI: 10.1080/01621459.1995.10476572.
Kingma, Diederik P. and Max Welling (2014). “Auto-Encoding Variational Bayes”. In: 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Conference Track Proceedings.
Levy, Nathan et al. (June 2025). scVIVA: A Probabilistic Framework for Representation of Cells and Their Environments in Spatial Transcriptomics. DOI: 10.1101/2025.06.01.657182. (Visited on 06/02/2026).
Lopez, Romain, Baoguo Li, et al. (Sept. 2022). "DestVI Identifies Continuums of Cell Types in Spatial Transcriptomics Data". In: Nature Biotechnology 40.9, pp. 1360–1369. ISSN: 1546-1696. DOI: 10.1038/s41587-022-01272-8.
Lopez, Romain, Jeffrey Regier, et al. (Dec. 2018). "Deep Generative Modeling for Single-Cell Transcriptomics". In: Nature Methods 15.12, pp. 1053–1058. ISSN: 1548-7105. DOI: 10.1038/s41592-018-0229-2.
Luecken, Malte D. et al. (Jan. 2022). “Benchmarking Atlas-Level Data Integration in Single-Cell Genomics”. In: Nature Methods 19.1, pp. 41–50. ISSN: 1548-7105. DOI: 10.1038/s41592-021-01336-8.
Martens, Laura D. et al. (Jan. 2024). “Modeling Fragment Counts Improves Single-Cell ATAC-Seq Analysis”. In: Nature Methods 21.1, pp. 28–31. ISSN: 1548-7105. DOI: 10.1038/s41592-023-02112-6.
McCloskey, John Williams (1965). “A Model for the Distribution of Individuals by Species in an Environment”. PhD thesis. Michigan State University.
Ranganath, Rajesh, Sean Gerrish, and David Blei (Apr. 2014). “Black Box Variational Inference”. In: Proceedings of the Seventeenth International Conference on Artificial Intelligence and Statistics. Ed. by Samuel Kaski and Jukka Corander. Vol. 33. Proceedings of Machine Learning Research. Reykjavik, Iceland: PMLR, pp. 814–822.
Rautenstrauch, Pia and Uwe Ohler (June 2026). "Shortcomings of Silhouette in Single-Cell Inte-gration Benchmarking". In: Nature Biotechnology 44.6, pp. 954–958. ISSN: 1546-1696. DOI: 10.1038/s41587-025-02743-4.
Rezende, Danilo Jimenez, Shakir Mohamed, and Daan Wierstra (June 2014). “Stochastic Backpropagation and Approximate Inference in Deep Generative Models”. In: Proceedings of the 31st International Conference on Machine Learning. Ed. by Eric P. Xing and Tony Jebara. Vol. 32. Proceedings of Machine Learning Research. Beijing, China: PMLR, pp. 1278–1286.
Sethuraman, Jayaram (1994). “A Constructive Definition of Dirichlet Priors”. In: Statistica Sinica 4.2, pp. 639–650. ISSN: 10170405, 19968507. JSTOR: 24305538. (Visited on 08/06/2026).
Stirn, Andrew A. and David A. Knowles (2025). “The VampPrior Mixture Model”. In: The 28th International Conference on Artificial Intelligence and Statistics.
Tomczak, Jakub and Max Welling (Apr. 2018). “VAE with a VampPrior”. In: Proceedings of the Twenty-First International Conference on Artificial Intelligence and Statistics. Ed. by Amos Storkey and Fernando Perez-Cruz. Vol. 84. Proceedings of Machine Learning Research. PMLR, pp. 1214–1223.
Weinberger, Ethan et al. (May 2026). “Probabilistic Modelling of Single-Cell Bisulfite Sequencing Data with MethylVI”. In: Nature Machine Intelligence 8.5, pp. 789–805. ISSN: 2522-5839. DOI: 10.1038/s42256-026-01225-9.
Williams, Ronald J. (May 1992). “Simple Statistical Gradient-Following Algorithms for Connectionist Reinforcement Learning”. In: Machine Learning 8.3, pp. 229–256. ISSN: 1573-0565. DOI: 10.1007/BF00992696.
Xu, Chenling et al. (Jan. 2021). “Probabilistic Harmonization and Annotation of Single-cell Transcriptomics Data with Deep Generative Models”. In: Molecular Systems Biology 17.1, MSB20209620. ISSN: 1744-4292. DOI: 10.15252/msb.20209620.
VampPrior Unleashed: Supplementary Materials
A PRIOR LINEAGE
Figure 4, which section 3.3 references, provides an overview of the evolution of VAE priors. Two branches emerge from a VAE with a standard normal prior: the top row replaces with increasingly flexible clustering priors, whereas the VampPrior approximates the aggregate posterior via eq. (3). The VMM joins the two branches. Our VampPrior-Unleashed and DP-VampPrior-Unleashed extend the VampPrior branch by decoupling prior variance from the encoder and, in the case of the latter, by adding a DP mixture. Arrows labeled “Contains” denote that the target is recovered as a special case.

Figure 4: Related work: a lineage of Variational Autoencoder (VAE) priors.
B EXPERIMENTAL SETUP
In sections 4.1 to 4.3, every model shares an identical encoder, decoder, latent dimension, likelihood, and optimization schedule, so that all differences are attributable to the prior alone. Furthermore, a seed ensures identical initialization and data shuffling across models, allowing for paired comparisons between models. For both FashionMNIST and MNIST, we use an architecture consistent with the VAE clustering literature (Jiang et al. 2017; Stirn and Knowles 2025). The encoder is a three-layer MLP (500 → 500 → 2000, with ELU activations) mapping onto a diagonal Gaussian. The decoder is the reversed three-layer MLP (2000 → 500 → 500 → dim_X, with ELU activations) mapping onto an isotropic Gaussian with a learned global variance. FashionMNIST and MNIST use 10 and 15 latent dimensions, respectively.
In section 4.4, we use OpenProblems.bio's default scVI settings for the encoder, decoder, latent dimension, likelihood, and optimization schedule. They recommend training on all the data without a separate validation set since they compute scIB metrics on the full dataset after 400 epochs of training. We, however, perform an 80/10/10 split into training, validation, and test sets in order to compute realistic estimates of the log marginal likelihood.
Our code is freely available at https://github.com/astirn/VampPrior-Unleashed. We used a variety of compute environments for our experiments. Most models and datasets can run on a modern laptop. For bulk experiment runs, we ran multiple training processes in parallel on an Nvidia L40 GPU.
B.1 Metrics
Sections 4.1 and 4.2 report four test-set quantities. Our primary measure of model evidence is the per-datum log marginal likelihood, estimated with an IWAE bound (Burda, Grosse, and Salakhutdinov 2016). We decompose the ELBO into its distortion and rate (Alemi et al. 2018) to expose how a prior buys its evidence: distortion measures reconstruction and rate measures , the cost in nats of coding the posterior under the prior. We also compute the marginal KL (Hoffman and Johnson 2016), which measures the divergence between the aggregated posterior and the prior. Finally, we report the NMI between each model's MAP cluster assignment and the held-out class labels.
B.1.1 Log Marginal Likelihood
Let denote the test dataset. We consider models with both local latent variables (one per observation) and a global latent variable shared across all observations. For our DP variants, the global variable are the stick-breaking proportions that determine the mixing proportions. In all cases, we use samples and compute the per-datum log marginal likelihood using the checkpoint corresponding to the highest validation ELBO.
Standard IWAE (No Global Latent Variable) When the prior has no global parameters, the importance-weighted estimate of the log marginal likelihood is the standard IWAE bound (Burda, Grosse, and Salakhutdinov 2016):
Averaging eq. (10) for gives the per-datum log marginal estimate.
Two-level Importance Sampling with a Global Latent Variable. When the prior factorizes as , the dataset marginal is
We estimate eq. (11) with a nested importance sampler using the variational posterior as the proposal distribution for the outer integral and for each inner integral. We first draw global samples and compute log importance weights
Then, for each and each datapoint , we draw local samples and form the inner log importance weight sum
Because observations are conditionally independent given V, the joint inner estimate decomposes as , so the per-datum sums are accumulated batch-by-batch for each outer sample . The dataset's log marginal is then estimated as
which we divide by N to obtain the per-datum log marginal estimate.
B.1.2 Normalized Mutual Information
We deliberately choose NMI over ARI as our clustering criterion. ARI is built from pairwise co-assignment agreements, so splitting a true class into two coherent sub-clusters breaks a quadratic number of within-class pairs and is penalized almost as harshly as merging two distinct classes. NMI's information-theoretic framing instead asks how much of the label variable a partition determines, and a refinement of the true partition retains that information. Since no prior herein is told the number of classes, a criterion should not conflate refinement with error, making NMI more appropriate than ARI in our setting. A sparsity-inducing prior should be free to discover a semantically meaningful substructure (e.g., sub-clustering a FashionMNIST SHIRT by sleeve length or a cell-type by disease state). Our choice is also conservative with respect to our claims: NMI punishes the VampPrior less harshly than ARI when it over-clusters.
In sections 4.1 to 4.3, we compute NMI on the full dataset set using the checkpoint corresponding to the highest validation NMI. In section 4.4, we compute NMI on the full dataset using the final checkpoint to mirror the evaluation protocol OpenProblems.bio uses for scIB metrics.
B.1.3 scIB Metrics
The single-cell Integration Benchmark (scIB) (Luecken et al. 2022) evaluates scRNA-seq integration methods along two complementary axes—biological conservation and batch correction—and combines them into an aggregate total. Each metric is rescaled to so that higher values are better. The aggregate score for each axis is the unweighted mean of its constituent metrics, and the total score is the weighted mean of the two axes: 0.6 for biological conservation and 0.4 for batch correction. Following OpenProblems.bio, we compute these metrics on the full dataset rather than a held-out subset, using the final model checkpoint. In the case of scVI, an embedding-based method, these metrics apply to the latent embedding rather than the predicted gene expression.
We chose scIB's k-means option for ARI and NMI over Leiden clustering. Using Leiden for clustering-based scores requires sweeping resolutions and picking the best match to ground truth, which can introduce bias and is computationally expensive. Furthermore, Leiden clustering has notorious run-to-run variability, making it less reliable for consistent evaluation especially with our limited number of runs (three per configuration due to computational constraints). In contrast, k-means clustering fixes the number of clusters in advance to the number of ground-truth cell types, which avoids the need for resolution sweeps and reduces computational overhead.
We omit the principal component regression (PCR) comparison, a default batch-correction scIB metric. PCR comparison scores the reduction in variance explained by batch and cannot distinguish removing batch effects from removing all structure, and therefore can reward discarding biological variation. Indeed, an embedding drawn from a standard normal attains a near-optimal PCR score, since an embedding with no gene-expression information cannot explain any batch variance—that is scVI with a standard normal prior that suffers posterior collapse trivially maximizes PCR. We found that PCR scores varied so widely across methods that batch-correction ranking was largely dominated by PCR.
Several of the scIB metrics below compute an average silhouette width (ASW). ASW measures the separation of clusters, where -1 indicates cluster overlap and 1 indicates well separated clusters. Given as the average distance between cell i and all other cells in the same cluster and as the minimum average distance between cell i and all cells in the nearest other cluster, the silhouette width for cell i is defined as
The ASW is the mean of over all cells.
Biological Conservation
• Isolated labels identifies cell types present in the fewest batches and measure whether these rare cell types remain distinct from other cell types after integration using ASW. This metric penalizes merging rare cell types into clusters of more populous cell types. The ASW is rescaled to via and averaged over the set of isolated labels.
• KMeans ARI is the ARI between k-means cluster assignments of the latent embeddings and the ground-truth cell-type labels. The scIB package sets k equal to the number of ground-truth cell types.
• KMeans NMI is the NMI between the same k-means partition and the cell-type labels. The scIB package sets k equal to the number of ground-truth cell types.
• Silhouette label is ASW with respect to cell-type labels in the latent space. ASW is rescaled from to via . Higher values indicate that cells lie closer to cells of their own type than to cells of the nearest other type.
- cLISI stands for cell-type Local Inverse Simpson's Index. To compute cLISI, scIB first finds the k-nearest neighbors of each cell. Then from each cell's neighbor list, the inverse Simpson's index is calculated to measure the diversity of cell-type labels within the neighborhood. Then, cLISI is rescaled as , where L is the number of cell-type labels, so that 1 indicates perfectly pure neighborhoods.
Batch Correction
• BRAS stands for Batch Removal Adapted Silhouette (Rautenstrauch and Ohler 2026) and replaces the batch ASW in the version of the scIB package we use (0.5.9). Whereas standard batch ASW measures a cell's separation from the nearest other batch only, BRAS uses the mean distance to cells of all other batches in lieu of in eq. (15). Per-cell scores are normalized to [0, 1], averaged within each cell type, and then averaged across cell types.
• Graph connectivity measures how well the k-nearest neighbor graph connects cells of the same type. In particular, it normalizes the size of the largest connected component within the subgraph of each cell type by the total number of cells of that type. This score is then averaged across all cell types. High values indicate that cells of the same type are connected across batches rather than split into batch-specific fragments.
-
kBET is the k-Nearest Neighbor Batch Effect Test (Büttner et al. 2019) and compares the label composition of each cell's neighborhood to the global composition. For each cell type, kBET rewards a batch (i.e., donor) composition that matches the global composition—that is cell-type neighborhoods should have samples from all batches.
-
iLISI stands for integration Local Inverse Simpson's Index is the negative analog of cLISI and is with respect to batch labels rather than cell-type labels: (iLISI - 1)/(B - 1).
B.2 Pseudo-input Initialization
Because the VampPrior, VMM, and our proposed priors update pseudo-inputs u via gradient ascent, their initialization is itself an important hyperparameter. We consider three strategies. First and most familiar, data initialization draws u uniformly without replacement from the training set as Tomczak and Welling (2018) prescribe. Second, random ignores the data and initializes . Lastly, our stratified initialization performs stratified sampling of the data over class labels and then interleaves pseudo-input initializations according to the class label. This strategy ensures each class is represented in the first number-of-class-labels pseudo-inputs. In the face of a DP's exponential decaying mixture proportions, this strategy lowers the risk of redundant pseudo-inputs starving later components. From our perspective, this strategy is less about peeking at labels a priori and more about reducing seed-to-seed variance in the latent structure discovered. One could easily substitute pre-training clustering (e.g., k-means or Leiden clustering) assignments for the class labels in the stratified initialization. Another extension we did not explore is to interleave pseudo-input initializations that respect label proportions.
Sections 4.1 and 4.2 consider all three initialization strategies. Figures 1 and 5 to 8 all specify which initialization strategy produced the result. Section 4.3 aggregates performance across the data and random strategies for the VampPrior, the VMM, and VampPrior-Unleashed and stratified and random for the DP variants (DP-VampPrior and DP-VampPrior-Unleashed). While stratified initialization peeks at the labels, it helps mitigate the risk of redundant pseudo-inputs dominating the mixture. In the event that class labels are not feasible other pre-clustering algorithms may be employed (e.g., k-means or Leiden clustering). We observe that random generally offered the highest per-datum log marginal, but had lower NMI—although random peak NMI across seeds often was in the inter-quartile range of the data and stratified strategies. As expected, models that have uniform mixture proportions—VampPrior, VMM, and VampPrior-Unleashed—had no theoretical benefit from stratified initialization in sections 4.1 and 4.2.
As the main text mentions, it is quite common that scRNA-seq datasets provide coarse cell-type labels. We use data initialization for VMM as they prescribe and stratified initialization for our DP-VampPrior-Unleashed.
B.3 Hyperparameter Grids
Section 4.1 sweeps the number of components over 20 seeds for the VampPrior and VampPrior-Unleashed for all three of our pseudo-input initialization strategies (section B.2). Section 4.2 sweeps the DP's concentration parameter over 20 seeds for the DP-VampPrior and DP-VampPrior-Unleashed for all three of our pseudo-input initialization strategies (section B.2). The variational stick-breaking distributions initialize to match the prior (i.e., Beta(1, ).
Section 4.3 reuses these parameter grids, but expands the DP-VampPrior and DP-VampPrior-Unleashed parameter space. This expansion supplements the original grid with and, for , initializes the variational stick-breaking distributions to begin with uniform mixture proportions. These additional values allow to the DP to explore solutions closer to the uniform mixture proportions used by the VampPrior and VampPrior-Unleashed and thereby approximate the log marginal's upper bound for the DP variants. Following Stirn and Knowles (2025), we adjust the prior's strength by setting a pseudo dataset size for ; this has the effect of up-weighting the prior's strength as the ratio of the pseudo dataset size to the actual dataset size. They suggest this method as an alternative to treating batch size as the dataset size when its inconvenient to do so. To limit the parameter space and run-to-run variance, we use data and random initialization strategies for all non-DP variants (VampPrior, VMM, and VampPrior-Unleashed) and stratified and random for the DP variants (DP-VampPrior and DP-VampPrior-Unleashed). For reasons section B.2 discusses, we think this was fair choice.
C ADDITIONAL HYPERPARAMETER SWEEPS
The figures below contain the additional sweeps referenced in sections 4.1 and 4.2. All figures share the conventions of fig. 1. Because each pair of variants share the hyperparameter settings and train on matched seeds, we pair the runs by seed, form the per-seed difference, and apply a one-sided Wilcoxon signed-rank test whose alternative is oriented by the metric (greater for log marginal and NMI, less for distortion, rate and marginal KL). Differences with p < 0.05 are annotated in the sweep figures by a dashed connector between the two conditional means, with triangles pointing in the direction of improvement for that metric (up for log marginal and NMI; down for distortion, rate and marginal KL). We report these tests unadjusted for multiplicity: each is a separate question about a separate model configuration rather than a family of tests supporting a single claim. Our conclusions rest on the consistency of the sign of the effect across the whole sweep rather than on any individual rejection.
C.1 Varying Number of VampPrior Components
Section 4.1 only contained fig. 1, which sweeps K over FashionMNIST with pseudo-inputs u initialized using the data strategy. Figure 5 contains the sweep for the stratified (fig. 5a) and random (fig. 5b) initialization strategies. Figure 6 contains sweeps for all three initialization strategies on the MNIST dataset.
C.2 Varying VampPrior DP Concentration
Figures 7 and 8 show the effect of varying the DP's concentration parameter on FashionMNIST and MNIST, respectively. Each plot has three subplots corresponding to the different initialization strategies: data, stratified, and random.

(a) u initialized from class-stratified training data

(b) u initialized from
Figure 5: Effect of varying the number of components K on FashionMNIST. Lines and bands are means standard error over 20 seeds. Dashed connectors mark configurations at which the seed-paired one-sided Wilcoxon signed-rank test rejects at p < 0.05; arrows indicate the direction of improvement.

VampPrior VampPrior-Unleashed
(a) u initialized from randomly selected training data

VampPrior VampPrior-Unleashed
(b) u initialized from class-stratified training data

VampPrior VampPrior-Unleashed
(c) u initialized from
Figure 6: Effect of varying the number of components K on MNIST. Lines and bands are means standard error over 20 seeds. Dashed connectors mark configurations at which the seed-paired one-sided Wilcoxon signed-rank test rejects at p < 0.05; arrows indicate the direction of improvement.

DP-VampPrior DP-VampPrior-Unleashed
(a) u initialized from randomly selected training data

DP-VampPrior DP-VampPrior-Unleashed
(b) u initialized from class-stratified training data

DP-VampPrior DP-VampPrior-Unleashed
(c) u initialized from
Figure 7: Effect of varying the concentration parameter on FashionMNIST with truncation set to . Lines and bands are means standard error over 20 seeds. Dashed connectors mark configurations at which the seed-paired one-sided Wilcoxon signed-rank test rejects at ; arrows indicate the direction of improvement.

DP-VampPrior DP-VampPrior-Unleashed
(a) u initialized from randomly selected training data

DP-VampPrior DP-VampPrior-Unleashed
(b) u initialized from class-stratified training data

DP-VampPrior DP-VampPrior-Unleashed
(c) u initialized from
Figure 8: Effect of varying the concentration parameter on MNIST with truncation set to . Lines and bands are means standard error over 20 seeds. Dashed connectors mark configurations at which the seed-paired one-sided Wilcoxon signed-rank test rejects at ; arrows indicate the direction of improvement.
D PAIRWISE PARETO COMPARISONS
We utilize a Pareto analysis of the evidence-NMI curve in section 4.3 because the priors do not always share the same hyperparameter axis. Due to the intricacies of this analysis, however, we use a nonparametric bootstrap to quantify uncertainty. Using 10,000 bootstrap replicates, we resample the 20 seeds per configuration for every prior with replacement. Specifically, there are 20 seeds per (prior, -initialization, hyperparameter) tuple, where the hyperparameter axis is for the VampPrior and VampPrior-Unleashed, for DP-VampPrior and DP-VampPrior-Unleashed, and pseudo dataset size for the VMM. Under this resampling, we recompute the entire downstream pipeline: the normalization bounds, the Pareto frontier, and every summary statistic derived therefrom. Bootstrapping the entire analysis pipeline is essential here, because the frontier statistics are extremum-like functionals of the per-configuration means and their sampling distributions are neither symmetric nor centered on the point estimate. Table 1 therefore reports the point estimate alongside its [2.5, 97.5] percentile interval. Each of the 10,000 replicates share a random state and resample the same 20 seeds per configuration for all (prior, -initialization, hyperparameter) tuples; this allows us to perform paired comparisons of the pipeline outputs across priors and compute the bootstrap probability that one prior exceeds another (i.e., ) in table 3. In table 1 we embolden the best prior per metric together with every prior we cannot distinguish from it (i.e. every prior whose paired comparison against the best satisfies ). Table 3 shows the paired bootstrap probabilities for all head-to-head comparisons.
Table 3: Paired bootstrap probabilities that the first prior of each comparison exceeds the second on every Pareto summary statistic reported in section 4.3. For 10,000 replicates with shared seeds for every (prior, -initialization, hyperparameter) tuple, we recompute the entire frontier pipeline to construct . Values below 0.025 or above 0.975 indicate a difference we can resolve; note that for the distance to the ideal, , smaller is better and the direction of the inequality is therefore reversed. Table 1 uses these probabilities to determine its boldface.
| Dataset | Comparison | ||||||
|---|---|---|---|---|---|---|---|
| MNIST | VampPrior – VampPrior-Unleashed | 0.000 | 1.000 | 0.000 | 0.531 | 0.000 | 0.000 |
| VampPrior – DP-VampPrior | 0.695 | 0.315 | 0.698 | 0.423 | 0.699 | 0.827 | |
| VampPrior – DP-VampPrior-Unleashed | 0.000 | 1.000 | 0.000 | 0.034 | 0.000 | 0.000 | |
| VampPrior – VMM | 0.000 | 1.000 | 0.001 | 0.003 | 0.001 | 0.000 | |
| VampPrior-Unleashed – DP-VampPrior | 1.000 | 0.000 | 1.000 | 0.537 | 1.000 | 1.000 | |
| VampPrior-Unleashed – DP-VampPrior-Unleashed | 0.272 | 0.970 | 0.471 | 0.064 | 0.433 | 0.782 | |
| VampPrior-Unleashed – VMM | 0.965 | 0.121 | 0.961 | 0.134 | 0.990 | 0.000 | |
| DP-VampPrior – DP-VampPrior-Unleashed | 0.000 | 1.000 | 0.000 | 0.027 | 0.000 | 0.000 | |
| DP-VampPrior – VMM | 0.000 | 1.000 | 0.000 | 0.001 | 0.000 | 0.000 | |
| DP-VampPrior-Unleashed – VMM | 0.994 | 0.006 | 0.989 | 0.560 | 0.997 | 0.000 | |
| FashionMNIST | VampPrior – VampPrior-Unleashed | 0.000 | 1.000 | 0.000 | 0.359 | 0.000 | 0.000 |
| VampPrior – DP-VampPrior | 0.720 | 0.271 | 0.763 | 0.266 | 0.763 | 0.998 | |
| VampPrior – DP-VampPrior-Unleashed | 0.000 | 1.000 | 0.000 | 0.245 | 0.000 | 0.000 | |
| VampPrior – VMM | 0.000 | 1.000 | 0.000 | 0.459 | 0.000 | 0.000 | |
| VampPrior-Unleashed – DP-VampPrior | 1.000 | 0.000 | 1.000 | 0.304 | 1.000 | 1.000 | |
| VampPrior-Unleashed – DP-VampPrior-Unleashed | 0.725 | 0.613 | 0.755 | 0.131 | 0.788 | 0.836 | |
| VampPrior-Unleashed – VMM | 0.999 | 0.019 | 0.981 | 0.300 | 0.997 | 0.309 | |
| DP-VampPrior – DP-VampPrior-Unleashed | 0.000 | 1.000 | 0.000 | 0.271 | 0.000 | 0.000 | |
| DP-VampPrior – VMM | 0.000 | 1.000 | 0.000 | 0.475 | 0.000 | 0.000 | |
| DP-VampPrior-Unleashed – VMM | 0.993 | 0.018 | 0.904 | 0.629 | 0.955 | 0.027 |
E SCRNA-SEQ DATASETS
Table 4 characterizes how strongly donor identity is confounded with biological composition in each atlas. We quantify confoundment with Cramér's , which we compute from the test of independence on the contingency table of donor cell-type labels. Here, 0 indicates donors are unrelated to the biological labels and 1 indicates donor identity fully determines them; the degrees of freedom are those of that test. When is large, donors differ systematically in their cell-type composition, so batch-correction metrics that mix cells across batches, notably BRAS, can reward embeddings that blur biological structure; we therefore use only to contextualize the batch-correction columns of table 2.
Table 4: Summary of single-cell RNA-seq datasets used in this study, including the number of cells, number of donors, Cramér's statistic for the association between cell type and donor, for the donor-by-cell-type contingency table, and a qualitative assessment of association strength. Following Cohen (2013), association is Low, Moderate, or High when exceeds , , or , respectively.
| Dataset | # Cells | # Donors | Cramér's | Cohen's | Association |
|---|---|---|---|---|---|
| DKD | 39,176 | 11 | 0.145 | 10 | Moderate |
| Immune Cell Atlas | 329,762 | 12 | 0.227 | 11 | High |
| GTEx v9 | 209,126 | 16 | 0.480 | 15 | High |
| Mouse Pancreas Atlas | 301,796 | 56 | 0.381 | 12 | High |
| HypoMap | 384,925 | 24 | 0.055 | 12 | Low |
| Tabula Sapiens | 483,152 | 29 | 0.444 | 28 | High |