Top 3 VRAE Anomaly Scoring Metrics

Variational Recurrent Autoencoders (VRAEs) primarily use Reconstruction Probability/Error, KL Divergence in the latent space, and the Evidence Lower Bound (ELBO) as their core metrics for probabilistic anomaly scoring. Reconstruction probability is considered a more principled score than simple reconstruction error due to its theoretical background and inclusion of variability.

The top 3

  1. Reconstruction Error: The VRAE's Struggle to Recreate Anomalies: This fundamental metric quantifies the difference between the original input and its VRAE-reconstructed version. High reconstruction error indicates an anomaly, as the model, trained on normal data, struggles to accurately reproduce unseen or outlier patterns, thus highlighting deviations from learned normality.
  2. Reconstruction Probability: A Principled Likelihood Score: Beyond simple error, reconstruction probability measures how likely the original input is under the VRAE's learned generative distribution. A lower probability indicates an anomaly, offering a more theoretically grounded score that accounts for the inherent variability in data, unlike traditional reconstruction error.
  3. Latent Space Divergence: Outliers in the Encoded Realm: This metric assesses how much the encoded latent representation of an input deviates from the VRAE's prior distribution, typically a standard Gaussian. Anomalous data tends to map to regions of the latent space far from this prior, resulting in a high Kullback-Leibler (KL) divergence or Mahalanobis distance, signaling an anomaly.

Sources

Open the full topic