Pith. sign in

REVIEW 4 major objections 5 minor 1 cited by

Disentanglement Analysis in Deep Latent Variable Models Matching Aggregate Posterior Distributions

T0 review · 4 major / 5 minor · reviewed 2026-08-10 · deepseek-v4-flash

Pith's one-line read The paper argues that standard disentanglement metrics misjudge deep latent variable models whose generative factors are not aligned with the latent axes, and that the lost directions can be recovered with a PCA-based search.

desk verdict A useful PCA-based adaptation of disentanglement metrics for non-axis-aligned DLVMs, but the validation leaves the key min-variance assumption unexamined. read the letter →

arxiv 2501.15705 v1 pith:EZE5HPBM submitted 2025-01-26 cs.LG stat.ML

classification cs.LGstat.ML
keywords disentanglementdeeplatentvariablemodelsaggregateposteriormatchingvariationalautoencodermutualinformationgapPCAMIGFactorVAEmetricdirections
verification ladder T0 review T1 audit T2 compute T3 formal

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The reading

Deep latent variable models that match the distribution of encoded data (the aggregate posterior) to the prior, such as the AAE, WAE, and AVAE, can encode each generative factor along a direction that is not one of the coordinate axes. The paper argues that standard disentanglement metrics such as FactorVAE and mutual information gap (MIG) silently assume axis alignment, and therefore under-report how disentangled these models really are. It proposes a PCA-based procedure that, for each known generative factor, inspects latent encodings of data in which that factor is held fixed and the others vary, and extracts the direction of minimal variance as the factor's latent direction. Re-scoring the models along these recovered directions improves disentanglement scores across all studied methods, with the largest gains for the AVAE. The conclusion is that axis-aligned evaluation is a major source of apparent poor disentanglement in aggregate-posterior matching models.

What carries the argument

The load-bearing mechanism is Algorithm 1's min-variance eigenvector heuristic: with the i-th generative factor pinned to a fixed value and all other factors sampled freely, the latent encodings should spread in every direction except the one associated with Fi, so the smallest-variance principal component of those encodings is taken as Fi's latent direction. Repeating the procedure for N random fixed values and taking the leading eigenvector of the mean outer-product matrix stabilizes the estimate. These recovered directions then replace the coordinate axes in otherwise standard FactorVAE and MIG computations, which is what allows a model like the AVAE to score highly.

What would settle it

Run Algorithm 1 and the PCA MIG evaluation on a randomly initialized, untrained encoder over DSprites or 3D Shapes; if the estimated directions are stable or the reported PCA MIG remains high, the min-variance heuristic is picking up dataset structure rather than learned disentanglement, and the metric's claim to measure model representations fails. A complementary check is to replace the estimated directions with random unit vectors and see whether PCA MIG changes materially.

Watch

Extended reading notes

Core claim

On the paper's own terms, the central discovery is that any trained DLVM's generative factors can be associated with unit vectors in latent space, and these vectors need not coincide with cardinal axes. Algorithm 1 estimates, for each ground-truth factor Fi, the eigenvector with minimum variance from PCA on a batch of encodings in which Fi is fixed and other factors vary; repeating over multiple fixed values and averaging the outer products yields a robust direction. Replacing the coordinate axes with these directions in the FactorVAE and MIG evaluation procedures gives the PCA FactorVAE and PCA MIG metrics. On DSprites and 3D Shapes, the re-scoring lifts scores for nearly every model, with the AVAE improving from 0.08 to 0.67 in MIG on 3D Shapes; the paper reads this as evidence that axis-aligned metrics misjudge aggregate-posterior matching DLVMs.

Load-bearing premise

Algorithm 1 assumes that when a generative factor is held fixed while the others vary, the smallest-variance PCA direction of the encoded samples points along that factor's latent direction; if the encoder is entangled or an irrelevant latent dimension has near-zero variance, that direction can be arbitrary and the resulting scores would not reflect true factor encoding.

Editorial extensions

If this is right

  • Standard FactorVAE and MIG scores systematically underestimate disentanglement for DLVMs that match the aggregate posterior to the prior; the PCA re-scoring gives consistent improvements across eight model variants on two datasets.
  • The AVAE, which closely matches the aggregate posterior, is the clearest beneficiary: its PCA MIG on 3D Shapes rises from 0.08 to 0.67, and its estimated latent directions are nearly mutually orthogonal.
  • Estimated latent directions that are orthogonal indicate well-separated generative factors; near-collinear directions indicate entanglement and low scores, as seen for the WAE.
  • Because the method only requires encodings and known factor labels, it applies to any trained DLVM, not just VAEs, without retraining or modifying the model.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • An implication the paper leaves implicit is that the same min-variance-direction search could serve as a diagnostic on real-world datasets where labels are unavailable, by comparing directions found from different attribute groupings for stability.
  • The procedure assumes the encoder maps each factor to a linear subspace; if true latent structure is curved or multi-modal, a single PCA direction per factor may be insufficient, and a piecewise or manifold-aware variant would be a natural test.
  • A direct stress test is to run Algorithm 1 on an untrained encoder: if it still yields high PCA MIG scores or stable directions, the metric is measuring dataset geometry rather than the model's learned representation.
Share X Bluesky LinkedIn Reddit HN

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, and a circularity audit.

Referee Report

4 major / 5 minor

Summary. The paper proposes a method for evaluating disentanglement in deep latent variable models (DLVMs) that does not assume the generative factors are aligned with cardinal latent axes. The method first estimates a latent direction for each ground-truth factor by fixing that factor, encoding the resulting samples, and taking the minimum-variance PCA eigenvector of the encoded set (Algorithm 1). These directions are then used to define two metrics, PCA FactorVAE and PCA MIG, which are evaluated on DSprites and 3D Shapes across several VAE variants, including aggregate-posterior matching models such as AVAE. Table I reports substantial improvements over the standard FactorVAE and MIG metrics, particularly for AVAE on 3D Shapes (PCA MIG 0.67 vs MIG 0.08).

Significance. The paper addresses a real gap: existing disentanglement metrics assume axis-aligned latent factors, and models that match the aggregate posterior to an isotropic prior may encode factors along rotated directions. If the proposed direction-finding procedure were validated, the PCA-based metrics could be a useful extension of FactorVAE and MIG to a broader class of DLVMs. The paper also provides a useful pairwise-angle diagnostic (Figure 2) and compares multiple models and seeds. However, as presented, the empirical claims are not independently supported: the direction-finding step uses the same labeled evaluation data that is later used for scoring, and no control is provided to show that the discovered directions are not spurious or overfit. The central claim therefore requires substantial additional validation before it can be accepted.

major comments (4)
  1. [Section II-B and II-C; Table I] The direction-discovery procedure in Algorithm 1 uses the ground-truth factor labels of the evaluation dataset to select latent directions, and the same labeled data is then used to compute the PCA FactorVAE and PCA MIG scores reported in Table I. This creates a form of label leakage: the metric is fit to the labels and then evaluated on the same labels, so the reported improvements (e.g., AVAE PCA MIG 0.67 vs MIG 0.08 on 3D Shapes) are not independent measurements of disentanglement. The authors should either split the data into a direction-discovery set and a separate evaluation set, or report cross-validated scores, to ensure that the directions are not overfitting the evaluation data.
  2. [Algorithm 1, lines 10-11] The key assumption is that when a generative factor is fixed, the minimum-variance PCA eigenvector of the encoded samples points along the latent direction encoding that factor. This assumption is not validated. If a latent dimension is unused or has near-zero variance (posterior collapse or dead units), that dimension will be selected as the minimum-variance direction regardless of which factor is fixed, and repeated runs may produce arbitrary directions in the near-zero subspace. The authors should provide a random-encoder baseline, an untrained-encoder control, or an analysis of the eigenvalue spectra to demonstrate that the discovered directions are not artifacts of low-variance or unused dimensions.
  3. [Algorithm 1, lines 15-20] The aggregation step estimates the final direction as the principal eigenvector of the mean outer product of per-trial minimum-variance eigenvectors. This step is not robust when the per-trial eigenvectors are poorly determined: when variances are near zero, the eigenvector direction can be arbitrary, and the sign ambiguity of eigenvectors is not addressed. The authors do not provide any statistical justification for this estimator, nor do they discuss conditions under which the principal eigenvector is uniquely defined. A simulation study with known factor directions and controlled noise would help establish whether the estimator recovers the intended directions.
  4. [Section III-A] The text states, 'Other than the regular VAE, we consider different variations of the VAE ... such as the FactorVAE, and beta-TCVAE, for comparison. We do not consider the FactorVAE as it uses a discriminator...' This is contradictory: FactorVAE is first listed as a method for comparison and then explicitly not considered. The reader cannot determine which methods were actually evaluated. Please clarify the list of benchmark methods and remove the contradiction.
minor comments (5)
  1. [Abstract] The phrase 'variatonal autoencoder' in the abstract text contains a typo; it should read 'variational autoencoder'.
  2. [Section I] The sentence 'DLVMs learn a joint distribution distribution, pθ(x, z), ...' contains a duplicated word 'distribution'.
  3. [Table I] The color coding for improvements and drops (blue and red) may not be visible in grayscale print; consider adding symbols such as arrows or plus/minus signs.
  4. [Figure 2] The caption describes 'pairwise angle' but does not specify whether the angles are in degrees or radians, nor how the angles are computed from the estimated directions; please add this information.
  5. [Section IV] The conclusion states 'we show limitations in the existing metrics that rely on cardinal latent axes', but the paper does not directly compare against other non-axis-aligned disentanglement metrics such as DCI or the directional extension in DCI-ES; a brief discussion of related work would help position the contribution.

Circularity Check

1 steps flagged · score 5.0 of 10

Latent directions in Algorithm 1 are fit to the ground-truth labels and then used to predict/score the same labels, making the PCA-MIG/PCA-FactorVAE improvements partly by construction.

  1. fitted input called prediction [Section I (intro), Section II-B Algorithm 1 input, Section II-C evaluation]
    "We use the same labels to determine the latent directions (representing the latent factors) for any DLVM. ... In the PCA FactorVAE metric, we use a similarity measure between the ui and the set of latent directions, D, to predict the corresponding latent factor, F̂_i, and compare it to the true generative factor, F_i."

    Algorithm 1 takes ground-truth factor values V as input and constructs D from minimum-variance PCA directions on encodings in which each factor is fixed. Section II-C then uses D both to predict F̂_i from ui and to rotate Z before computing MIG, with the same F as target. The labels are used both to estimate the directions and as the evaluation ground truth on the same datasets; no held-out split or cross-validation is described. The reported gains (e.g., AVAE PCA-MIG 0.67 vs MIG 0.08 on 3D Shapes) are therefore inflated by this double use and are not an independent test of disentanglement.

full rationale

The proposed metric is not a derivation from first principles, but an evaluation procedure. The central circularity is the double use of the ground-truth generative factors: Algorithm 1 uses them to select latent directions (minimum-variance PCA eigenvectors), and Section II-C uses those same label-derived directions to predict the factors and to compute MIG on the same labeled data. This is a form of fitting a parameter (D) to the labels and then scoring against those labels, which biases the reported improvements over axis-aligned metrics. The paper explicitly acknowledges using the labels to determine the directions, but does not hold out a label set or cross-validate. The min-variance eigenvector assumption (that the smallest-variance direction encodes the fixed factor) is an additional validity risk, especially with dead latent dimensions, but that is a correctness concern rather than circularity. The self-citations to the authors' AVAE paper are not load-bearing for the metric's derivation; the empirical superiority claim for AVAE is partly entangled with the label-fitting bias, but the metric itself has independent content in allowing non-axis-aligned directions.

Assumptions & free parameters 2 free parameters · 4 assumptions · 0 invented entities

The central claim rests on the availability of ground-truth factors and on an unproven PCA heuristic. No new physical entities are introduced. The main free inputs are the evaluation hyperparameters N and L, which are not reported.

free parameters (2)
  • N (number of PCA repetitions per factor) = not reported
    Algorithm 1 requires choosing N, the number of times the fixed-factor PCA is repeated to estimate the direction. The paper does not report its value in the experiments, and the stability of the estimated directions depends on it.
  • L (number of samples per PCA) = not reported
    Algorithm 1 requires choosing L, the number of encoded samples used in each PCA. The paper does not report its value, and the quality of the minimum-variance eigenvector estimate depends on it.
assumptions (4)
  • domain assumption Ground-truth generative factors F and their value sets V are available for the evaluation dataset.
    Section II-B states the method uses known factors of variation, which limits the method to synthetic or labeled datasets.
  • ad hoc to paper When a generative factor is fixed, the minimum-variance PCA eigenvector of the encoded samples points along the latent direction of that factor.
    Algorithm 1 lines 10 to 11 choose the minimum-variance eigenvector as the representative of the fixed factor. This is a heuristic with no proof or validation against random encoders.
  • ad hoc to paper The principal eigenvector of the mean outer product of the per-trial eigenvectors is the best representative direction for a factor.
    Section II-B solves max sum (u*^T u_i)^2 and takes the top eigenvector of the averaged outer product. This is a reasonable subspace-averaging heuristic, but no theoretical guarantee is given.
  • standard math The standard normal prior N(0, I) is invariant to rotations.
    Section I uses this property to explain why non-VAE models can encode factors in non-axis-aligned directions.

how reviews work

0 comments
Cite this review

Pith. "Pith review of Disentanglement Analysis in Deep Latent Variable Models Matching Aggregate Posterior Distributions." pith.science (2026). https://pith.science/paper/EZE5HPBM

@misc{pith2026250115705,
  author       = {Pith},
  title        = {Pith review of: Disentanglement Analysis in Deep Latent Variable Models Matching Aggregate Posterior Distributions},
  year         = {2026},
  howpublished = {\url{https://pith.science/paper/EZE5HPBM}},
  note         = {Machine review of arXiv:2501.15705}
}
read the original abstract

Deep latent variable models (DLVMs) are designed to learn meaningful representations in an unsupervised manner, such that the hidden explanatory factors are interpretable by independent latent variables (aka disentanglement). The variational autoencoder (VAE) is a popular DLVM widely studied in disentanglement analysis due to the modeling of the posterior distribution using a factorized Gaussian distribution that encourages the alignment of the latent factors with the latent axes. Several metrics have been proposed recently, assuming that the latent variables explaining the variation in data are aligned with the latent axes (cardinal directions). However, there are other DLVMs, such as the AAE and WAE-MMD (matching the aggregate posterior to the prior), where the latent variables might not be aligned with the latent axes. In this work, we propose a statistical method to evaluate disentanglement for any DLVMs in general. The proposed technique discovers the latent vectors representing the generative factors of a dataset that can be different from the cardinal latent axes. We empirically demonstrate the advantage of the method on two datasets.

Figures

Figures reproduced from arXiv: 2501.15705 by the authors.

Figure 1
Figure 1. Latent traversal of the 3D Shapes dataset [29] in the range [PITH_FULL_IMAGE:figures/full_fig_p003_1.png] view at source ↗
Figure 2
Figure 2. Pairwise angle between the latent directions (six directions) estimated by Algorithm 1 for different DLVMs using the corresponding latent representations [PITH_FULL_IMAGE:figures/full_fig_p004_2.png] view at source ↗

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. AdaSemSeg: An Adaptive Few-shot Semantic Segmentation of Seismic Facies

    cs.CV 2025-01 conditional novelty 4.0 of 10

    A shared Gaussian-process few-shot network, split into per-class binary tasks and initialized with SimCLR, labels seismic facies in apparently unseen datasets from just 1 or 5 annotated slices.

Reference graph

Works this paper leans on

31 extracted references · 23 canonical work pages · cited by 1 Pith paper

  1. [1]

    Auto-encoding variational bayes,

    D. P. Kingma and M. Welling, “Auto-encoding variational bayes,” International Conference on Learning Representations , 2014

  2. [2]

    Stochastic backprop- agation and approximate inference in deep generative models,

    D. J. Rezende, S. Mohamed, and D. Wierstra, “Stochastic backprop- agation and approximate inference in deep generative models,” in International Conference on Machine Learning , 2014, pp. 1278–1286

  3. [3]

    Variational autoencoders pursue pca directions (by accident),

    M. Rolinek, D. Zietlow, and G. Martius, “Variational autoencoders pursue pca directions (by accident),” in Proceedings IEEE Conf. on Computer Vision and Pattern Recognition (CVPR) , 2019

  4. [4]

    Score-based generative modeling through stochastic differ- ential equations,

    Y . Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, “Score-based generative modeling through stochastic differ- ential equations,” in International Conference on Learning Representa- tions, 2021

  5. [5]

    Matching aggregate posteriors in the variational autoencoder,

    S. Saha, S. Joshi, and R. Whitaker, “Matching aggregate posteriors in the variational autoencoder,” in International Conference on Pattern Recognition, 2024

  6. [6]

    Ard-vae: A statistical formulation to find the relevant latent dimensions of variational autoencoders,

    ——, “Ard-vae: A statistical formulation to find the relevant latent dimensions of variational autoencoders,” 2025. [Online]. Available: https://arxiv.org/abs/2501.10901

  7. [7]

    Representation learning: A review and new perspectives,

    Y . Bengio, A. Courville, and P. Vincent, “Representation learning: A review and new perspectives,” in IEEE Transactions on Pattern Analysis and Machine Intelligence , 2013

  8. [8]

    Recent advances in autoencoder-based representation learning,

    M. Tschannen, O. Bachem, and M. Lucic, “Recent advances in autoencoder-based representation learning,” in Workshop on Bayesian Deep Learning NeurIPS) , 2018

Show all 31 references
  1. [9]

    Few-shot segmentation of mi- croscopy images using gaussian process,

    S. Saha, O. Choi, and R. Whitaker, “Few-shot segmentation of mi- croscopy images using gaussian process,” in Medical Optical Imaging and Virtual Microscopy Image Analysis, MICCAI , 2022

  2. [10]

    Multitask training as regularization strategy for seismic image segmentation,

    S. Saha, W. Gazi, R. Mohammed, T. Rapstine, H. Powers, and R. Whitaker, “Multitask training as regularization strategy for seismic image segmentation,” IEEE Geoscience and Remote Sensing Letters , vol. 20, pp. 1–5, 2023

  3. [11]

    Real-time idling vehicles detection using combined audio-visual deep learning,

    X. Li, T. Mangin, S. Saha, E. Mohammed, Rehman Blanchard, D. Tang, H. Poppe, O. Choi, K. Kelly, and R. Whitaker, “Real-time idling vehicles detection using combined audio-visual deep learning,” in In Emerging Cutting-Edge Developments in Intelligent Traffic and Transportation ...

  4. [12]

    Joint audio-visual idling vehicle detection with streamlined input dependencies,

    X. Li, R. Mohammed, T. Mangin, S. Saha, R. T. Whitaker, K. E. Kelly, and T. Tasdizen, “Joint audio-visual idling vehicle detection with streamlined input dependencies,” 2024. [Online]. Available: https://arxiv.org/abs/2410.21170

  5. [13]

    Optimization as a model for few-shot learning,

    S. Ravi and H. Larochelle, “Optimization as a model for few-shot learning,” in International Conference on Learning Representations , 2017

  6. [14]

    Model-agnostic meta-learning for fast adaptation of deep networks,

    C. Finn, P. Abbeel, and S. Levine, “Model-agnostic meta-learning for fast adaptation of deep networks,” in International Conference on Machine Learning, vol. 70, 2017, pp. 1126–1135

  7. [15]

    Challenging common assumptions in the unsupervised learning of disentangled representations,

    F. Locatello, S. Bauer, M. Lucic, G. R ¨atsch, S. Gelly, B. Sch ¨olkopf, and O. Bachem, “Challenging common assumptions in the unsupervised learning of disentangled representations,” in International Conference on Machine Learning, 2019

  8. [16]

    β-vae: Learning basic visual concepts with a constrained variational framework,

    I. Higgins, L. Matthey, A. Pal, C. Burgess, X. Glorot, M. Botvinick, S. Mohamed, and A. Lerchner, “ β-vae: Learning basic visual concepts with a constrained variational framework,” in International Conference on Learning Representations , 2017

  9. [17]

    Disentangling by factorising,

    H. Kim and A. Mnih, “Disentangling by factorising,” in International Conference on Machine Learning , 2018

  10. [18]

    Isolating sources of disentanglement in vaes,

    R. T. Q. Chen, X. Li, R. Grosse, and D. Duvenaud, “Isolating sources of disentanglement in vaes,” in Conference on Neural Information Processing Systems, 2019

  11. [19]

    Variational inference of disentangled latent concepts from unlabeled observations,

    A. Kumar, P. Sattigeri, and A. Balakrishnan, “Variational inference of disentangled latent concepts from unlabeled observations,” in Interna- tional Conference on Learning Representations , 2018

  12. [20]

    A framework for the quantitative evaluation of disentangled representations,

    C. Eastwood and C. K. I. Williams, “A framework for the quantitative evaluation of disentangled representations,” in International Conference on Learning Representations , 2018

  13. [21]

    DCI-ES: An extended disentanglement framework with connections to identifiability,

    C. Eastwood, A. L. Nicolicioiu, J. V . K ¨ugelgen, A. Keki ´c, F. Tr ¨auble, A. Dittadi, and B. Sch ¨olkopf, “DCI-ES: An extended disentanglement framework with connections to identifiability,” in The Eleventh Interna- tional Conference on Learning Representations , 2023

  14. [22]

    Elbo surgery: yet another way to carve up the variational evidence lower bound

    M. D. Hoffman and M. J. Johnson, “Elbo surgery: yet another way to carve up the variational evidence lower bound.” in NIPS Workshop: Advances in Approximate Bayesian Inference , 2016

  15. [23]

    Understanding posterior collapse in generative latent variable models,

    J. Lucasz, G. Tuckery, R. Grossez, and M. Norouziy, “Understanding posterior collapse in generative latent variable models,” in International Conference on Learning Representations , 2019

  16. [24]

    Don’t blame the elbo! a linear vae perspective on posterior collapse,

    J. R. Lucas, G. Tucker, R. B. Grosse, and M. Norouzi, “Don’t blame the elbo! a linear vae perspective on posterior collapse,” in Conference on Neural Information Processing Systems , 2019

  17. [25]

    Distribution match- ing in variational inference,

    M. Rosca, B. Lakshminarayanan, and S. Mohamed, “Distribution match- ing in variational inference,”arxiv, 2018, preprint at https://arxiv.org/abs/ 1802.06847

  18. [26]

    Adver- sarial autoencoders,

    A. Makhzani, J. Shlens, N. Jaitly, I. Goodfellow, and B. Frey, “Adver- sarial autoencoders,” in International Conference on Learning Repre- sentations, 2016

  19. [27]

    Wasserstein auto-encoders,

    I. Tolstikhin, O. Bousquet, S. Gelly, and B. Schoelk ¨opf, “Wasserstein auto-encoders,” in International Conference on Learning Representa- tions, 2018

  20. [28]

    Gens: generative encoding networks,

    S. Saha, S. Elhabian, and R. Whitaker, “Gens: generative encoding networks,” Machine Learning, vol. 111, p. 4003–4038, 2022

  21. [29]

    3d shapes dataset,

    C. Burgess and H. Kim, “3d shapes dataset,” https://github.com/deepmind/3d-shapes/, 2018

  22. [30]

    From variational to deterministic autoencoders,

    P. Ghosh, M. S. M. Sajjadi, A. Vergari, M. Black, and B. Scholk ¨opf, “From variational to deterministic autoencoders,” in International Con- ference on Learning Representations , 2020

  23. [31]

    dsprites: Disentanglement testing sprites dataset,

    L. Matthey, I. Higgins, D. Hassabis, and A. Lerch- ner, “dsprites: Disentanglement testing sprites dataset,” https://github.com/deepmind/dsprites-dataset/, 2017

Pith tools

Reviewed August 10, 2026 · model on record in the stance chip above.