Skip to content
OpenTrain AIFor AI Companies

Hierarchical VAEs Know What They Don't Know

Jakob D. Havtorn, Jes Frellsen, Søren Hauberg, Lars MaaløePublished Feb 16, 2021
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few days
Plan setup time
Risk flags
1
Review before use

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

Freshness tier: cold
Deep generative models have been demonstrated as state-of-the-art density estimators.

Implementation

Historical official implementation (not recommended for new builds)

Why this implementation
Confidence: medium

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
Reproduction risks
  • 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.

JakobHavtorn/hvae-oodd
historical official
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
larsmaaloee/BIVA
alternative
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

Time to first repro: days
Last checked: Aug 22, 2026

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.
Open JakobHavtorn/hvae-oodd

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

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-pytorch
    Confidence: 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/BIVA
    Confidence: 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.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).