AI Navigate

Anomaly detection in time-series via inductive biases in the latent space of conditional normalizing flows

arXiv cs.AI / 3/13/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper relocates anomaly detection to a latent space governed by explicit latent dynamics in a discrete-time state-space framework using conditional normalizing flows.
  • It introduces inductive biases to ensure latent representations evolve according to prescribed temporal dynamics, aligning anomaly definition with violations of these dynamics.
  • Anomaly detection is performed as a goodness-of-fit test in latent space, mapping observations into latent space and testing compliance with the latent evolution distribution.
  • This approach remains effective even where observation likelihood is high and provides interpretable diagnostics of model compliance, demonstrated on synthetic and real-world time-series across frequency, amplitude, and noise.
  • It reframes anomaly detection beyond marginal likelihood, addressing structural limitations of likelihood-based methods.

Abstract

Deep generative models for anomaly detection in multivariate time-series are typically trained by maximizing data likelihood. However, likelihood in observation space measures marginal density rather than conformity to structured temporal dynamics, and therefore can assign high probability to anomalous or out-of-distribution samples. We address this structural limitation by relocating the notion of anomaly to a prescribed latent space. We introduce explicit inductive biases in conditional normalizing flows, modeling time-series observations within a discrete-time state-space framework that constrains latent representations to evolve according to prescribed temporal dynamics. Under this formulation, expected behavior corresponds to compliance with a specified distribution over latent trajectories, while anomalies are defined as violations of these dynamics. Anomaly detection is consequently reduced to a statistically grounded compliance test, such that observations are mapped to latent space and evaluated via goodness-of-fit tests against the prescribed latent evolution. This yields a principled decision rule that remains effective even in regions of high observation likelihood. Experiments on synthetic and real-world time-series demonstrate reliable detection of anomalies in frequency, amplitude, and observation noise, while providing interpretable diagnostics of model compliance.