NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Flow+Diff: Unifying Flow and Diffusion Representations for Multivariate Time Series Anomaly Detection

Van Kwan Zhi Koh, Songnan Lin, Zhiping Lin, Bihan Wen

NeurIPS page · OpenReview · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Time Series Anomaly Detection · Type: new method · Keywords: multivariate time series anomaly detection, normalizing flow, diffusion model, latent space discrepancy, subtle anomaly detection

Areas: Generative Models (Diffusion & Flows) › Flow Matching and Diffusion › Flow Matching for Time Series

Summary

Flow+Diff unifies normalizing flow and diffusion representations to detect subtle anomalies in multivariate time series by measuring latent-space discrepancy.

Explained to a 5-year-old

Sometimes a machine sees many numbers that go together, like a song's notes. It tries to guess the next numbers, but small changes can be hidden. The new idea makes the machine create two pictures of the numbers: one using a special rule that keeps everything connected, and another using a random guessing game that only knows normal numbers. When the two pictures don't match, the machine says something is weird. This helps find tiny problems that were hard to see before.

Explained to a 5-year-old, longer

A computer can look at a bunch of numbers that change over time, like how a temperature changes during a day. To find something strange, it usually tries to rebuild those numbers and sees if they match. But if only a few numbers are a little off, the overall match can still look normal. The new idea uses two different ways to understand the numbers. One way is like a smooth rule that keeps all the numbers linked together, like a rope connecting them. The other way is like a game where the computer learns what normal numbers look like by guessing and fixing them many times. When a new set of numbers comes in, the rope method makes a picture, and the guessing game makes another picture that should look like normal data. If those two pictures are very different, the computer knows something is unusual. This difference helps spot tiny problems that the old method missed. After spotting the problem, the rope method can also turn the picture back into the original numbers, so we can see which numbers were weird. This makes it easier to understand why something went wrong. Overall, the new method is better at finding small mistakes in many kinds of data.

For a technical reader

The paper proposes a framework that learns two latent representations of multivariate time-series data: one via a normalizing flow that preserves temporal and inter-feature dependencies, and another via a diffusion model that captures the normal data distribution through stochastic denoising. For a new input, the flow maps it to a latent point while the diffusion model generates a normal-aligned reconstruction; the discrepancy between these two points serves as the anomaly score. This latent-space comparison is more sensitive to subtle deviations than traditional reconstruction-error methods, which can be masked by well-reconstructed data. The flow’s invertibility also enables time-domain reconstruction for interpretability. Experiments on six benchmark datasets show state-of-the-art performance on four of them.

Problem

Existing reconstruction-based anomaly detection methods often miss subtle anomalies because overall reconstruction error remains low when only a few features deviate slightly, making reliable detection difficult.

Method

The approach learns two complementary latent representations: one via a normalizing flow that provides an invertible mapping preserving temporal and inter-feature dependencies, and another via a diffusion model that learns the normal data distribution in latent space through stochastic denoising. For a given input, the normalizing flow maps it to a latent point while the diffusion model generates a normal-aligned representation; the discrepancy between these two is used as the anomaly score. The invertibility of the flow also enables reconstruction in the time domain for interpretability.

Results

The approach achieves state-of-the-art performance on four out of six benchmark datasets, outperforming competitive baselines.

Contributions

It introduces a unified latent-space discrepancy framework that combines normalizing flow and diffusion representations for more sensitive anomaly detection, and provides time-domain reconstruction for interpretability.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction