mlsanityData to 14 Oct 2026

Optimizing Latent Dimension Allocation in Hierarchical VAEs: Balancing Attenuation and Information Retention for OOD Detection

arXiv 2506.10089 ↗First posted 11 Jun 2025cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Out-of-distribution (OOD) detection is a critical task in machine learning, particularly for safety-critical applications where unexpected inputs must be reliably flagged. While hierarchical variational autoencoders (HVAEs) offer improved representational capacity over traditional VAEs, their performance is highly sensitive to how latent dimensions are distributed across layers. Existing approaches often allocate latent capacity arbitrarily, leading to ineffective representations or posterior collapse. In this work, we introduce a theoretically grounded framework for optimizing latent dimension allocation in HVAEs, drawing on principles from information theory to formalize the trade-off between information loss and representational attenuation. We prove the existence of an optimal allocation ratio rast under a fixed latent budget, and empirically show that tuning this ratio consistently improves OOD detection performance across datasets and architectures. Our approach outperforms baseline HVAE configurations and provides practical guidance for principled latent structure design, leading to more robust OOD detection with deep generative models.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 26 of its 48 references that are in the map. First posted on arXiv 11 Jun 2025.

Builds on

26 of 48 references.

References · 26

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
  5. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
  6. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  7. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  8. 2020NVAE: A Deep Hierarchical Variational Autoencodercited by 637
  9. 2015Generating Sentences from a Continuous Spacecited by 612
  10. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  11. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  12. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
14 more
  1. 2016Ladder Variational Autoencoderscited by 318
  2. 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
  3. 2019BIVA: A Very Deep Hierarchy of Latent Variables for Generative Modelingcited by 109
  4. 2021Understanding Failures in Out-of-Distribution Detection with Deep Generative Modelscited by 89
  5. 2018Constrained Generation of Semantically Valid Graphs via Regularizing Variational Autoencoderscited by 74
  6. 2021Hierarchical VAEs Know What They Don't Knowcited by 58
  7. 2014An exact mapping between the Variational Renormalization Group and Deep Learningcited by 56
  8. 2022RankFeat: Rank-1 Feature Removal for Out-of-distribution Detectioncited by 52
  9. 2021Consistency Regularization for Variational Auto-Encoderscited by 51
  10. 2018Avoiding Latent Variable Collapse With Generative Skip Modelscited by 47
  11. 2019Dimensionality compression and expansion in Deep Neural Networkscited by 38
  12. 2020Further Analysis of Outlier Detection with Deep Generative Modelscited by 31
  13. 2020Learning Autoencoders with Relational Regularizationcited by 20
  14. 2019Rate-Regularization and Generalization in VAEscited by 1

Built on by

Not cited yet.