Hierarchical VAEs Know What They Don't Know
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
Deep generative models have been demonstrated as state-of-the-art density estimators. Yet, recent work has found that they often assign a higher likelihood to data from outside the training distribution. This seemingly paradoxical behavior has caused concerns over the quality of the attained density estimates. In the context of hierarchical variational autoencoders, we provide evidence to explain this behavior by out-of-distribution data having in-distribution low-level features. We argue that this is both expected and desirable behavior. With this insight in hand, we develop a fast, scalable and fully unsupervised likelihood-ratio score for OOD detection that requires data to be in-distribution across all feature-levels. We benchmark the method on a vast set of data and model combinations and achieve state-of-the-art results on out-of-distribution detection.
Results and benchmarks
Deep generative models have been demonstrated as state-of-the-art density estimators.
Benchmark evidence is limited
Evidence graph: 3 refs, 3 links.
Utility signals: depth 65/100, grounding 75/100, status medium.
Implementation
Historical official implementation (not recommended for new builds)
Only a historical official implementation is available
Use with caution for new projects; verify against current tooling and maintained community alternatives.
JakobHavtorn/hvae-oodd · 32 stars · Last push Jan 18, 2022
vlievin/biva-pytorch is the closest maintained adjacent implementation (Official implementation from Papers with Code). It is not paper-verified; validate algorithm and evaluation setup against the paper before trusting reported metrics. Community adoption signal: 84 GitHub stars.
Open JakobHavtorn/hvae-oodd- Adjacent implementations are not paper-verified
- Recommended repository is adjacent and not paper-verified.
- No direct maintained implementation is currently verified.
- Only historical official repository was found: JakobHavtorn/hvae-oodd.
- No maintained paper-verified implementation met reliability thresholds.
Compare implementation paths
Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.
- Maintenance
- Stale
- Confidence
- High
- Reproducibility
- Limited
- Stars
- 32
- Last push
- Jan 18, 2022 (1682d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No push in 12+ months
- No CI pipeline detected
- No Docker setup
- Maintenance
- Stale
- Confidence
- High
- Reproducibility
- Moderate
- Stars
- 84
- Last push
- Dec 8, 2022 (1358d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No push in 12+ months
- No CI pipeline detected
- No tagged releases
- Maintenance
- Stale
- Confidence
- High
- Reproducibility
- Limited
- Stars
- 29
- Last push
- Nov 6, 2019 (2487d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No push in 12+ months
- No CI pipeline detected
- No tagged releases
Reproduction readiness
Setup required
Dependencies pinned, manual setup needed
- JakobHavtorn/hvae-oodd has requirements.txt but requires manual environment setup.
- Last push was 1682 days ago, so expect possible dependency version conflicts.
- No Dockerfile, so you will set up the environment manually.
- No CI pipeline, so test coverage is unknown.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Quick start
git clone https://github.com/JakobHavtorn/hvae-oodd.git
pip install -r requirements.txt Validation caveat
Repositories and ecosystem
Closest related implementations
These are not paper-verified. Use them as reference points when no direct implementation is available.
- vlievin/biva-pytorch Adjacent · Confidence: Medium · 84 stars
Official implementation from Papers with Code
Official
- vlievin/biva-pytorchConfidence: High
Official PyTorch BIVA implementation (BIVA: A Very Deep Hierarchy of Latent Variables for Generative Modeling)
84 stars · 10 forks · Last push Dec 8, 2022 · MIT license
- larsmaaloee/BIVAConfidence: High
BIVA: A Very Deep Hierarchy of Latent Variables forGenerative Modeling
29 stars · 4 forks · Last push Nov 6, 2019 · MIT license
Community
No additional community repositories detected yet.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Models
Datasets
Spaces
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXData includes links from Papers with Code ( CC-BY-SA-4.0 ).