Papers › Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series

Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series

16 Feb 2022ICLR 2022 4arXiv:2202.07857archive 2025-07-28

Enyan Dai, Jie Chen

Anomaly detection is a widely studied task for a broad variety of data types; among them, multiple time series appear frequently in applications, including for example, power grids and traffic networks. Detecting anomalies for multiple time series, however, is a challenging subject, owing to the intricate interdependencies among the constituent series. We hypothesize that anomalies occur in low density regions of a distribution and explore the use of normalizing flows for unsupervised anomaly detection, because of their superior quality in density estimation. Moreover, we propose a novel flow model by imposing a Bayesian network among constituent series. A Bayesian network is a directed acyclic graph (DAG) that models causal relationships; it factorizes the joint probability of the series into the product of easy-to-evaluate conditional probabilities. We call such a graph-augmented normalizing flow approach GANF and propose joint estimation of the DAG with flow parameters. We conduct extensive experiments on real-world datasets and demonstrate the effectiveness of GANF for density estimation, anomaly detection, and identification of time series distribution drift.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2202.07857")

Code

Syntology Ran 8 of 24 code samples harvested from 3 repositories linked to this paper; 16 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 7 ran; community (archive-listed): 5 samples from 1 repository, 0 ran; found in paper text by Syntology: 9 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

enyandai/ganf officialmentioned in paperpytorch report
D3-AI/Orion mentioned on GitHubtfMIT report
signals-dev/Orion mentioned on GitHubtfMIT report
sintel-dev/orion mentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

24 samples harvested; 8 ran; 1 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
6ran
16unverified

Licence: 10 of the 24 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BatchNorm enyandai/ganf/models/GANF.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 161cda5cabbb68c3 · report
GNN enyandai/ganf/models/GANF.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 9115fcfda4b932e3 · report
LinearMaskedCoupling enyandai/ganf/models/GANF.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 892f63ab6c5f2f84 · report
MADE enyandai/ganf/models/GANF.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · b5885c7b74843b05 · report
MaskedLinear enyandai/ganf/models/GANF.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 466de1ea4db58ebc · report
RealNVP enyandai/ganf/models/GANF.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 0b745b7baaf925c0 · report
create_masks enyandai/ganf/models/GANF.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · e1243b39051334f9 · report
FlowSequential enyandai/ganf/models/GANF.py official repository unverified no licence file found · pointer only · 213315d48b01e0a7 · report
GANF enyandai/ganf/models/GANF.py official repository unverified no licence file found · pointer only · 2a25b017dff45e00 · report
MAF enyandai/ganf/models/GANF.py official repository unverified no licence file found · pointer only · 02e105c797e3990c · report
download D3-AI/Orion/orion/data.py community (archive-listed) unverified MIT (permissive) · b1b2e280183a2f78 · report
format_csv D3-AI/Orion/orion/data.py community (archive-listed) unverified MIT (permissive) · fc4f07905e94f225 · report
get_f1_scores D3-AI/Orion/orion/results.py community (archive-listed) unverified MIT (permissive) · 1267f9f70dc9e57e · report
get_summary_page D3-AI/Orion/orion/results.py community (archive-listed) unverified MIT (permissive) · 6601ccd471fa6c41 · report
load_csv D3-AI/Orion/orion/data.py community (archive-listed) unverified MIT (permissive) · 04aff2c366db2eed · report
conv_out_size_same khalooei/ALOCC-CVPR2018/utils.py found in paper text by Syntology ran · honoured contract fingerprinted MIT (permissive) · 40125e1efb67fa92 · report
conv2d khalooei/ALOCC-CVPR2018/ops.py found in paper text by Syntology unverified MIT (permissive) · f0cb37d52c4b56e2 · report
conv_cond_concat khalooei/ALOCC-CVPR2018/ops.py found in paper text by Syntology unverified MIT (permissive) · 97a17fbee43a92bd · report
deconv2d khalooei/ALOCC-CVPR2018/ops.py found in paper text by Syntology unverified MIT (permissive) · f43eeb47efdaf9c4 · report
get_image khalooei/ALOCC-CVPR2018/utils.py found in paper text by Syntology unverified MIT (permissive) · a0b95d6b4e00d081 · report
get_image_Slicization khalooei/ALOCC-CVPR2018/utils.py found in paper text by Syntology unverified MIT (permissive) · 0ac44cb4f2a04c3e · report
get_noisy_data khalooei/ALOCC-CVPR2018/kh_tools.py found in paper text by Syntology unverified MIT (permissive) · 489e2c5f7ad2b380 · report
read_dataset_image_path khalooei/ALOCC-CVPR2018/kh_tools.py found in paper text by Syntology unverified MIT (permissive) · 3dff213b8ae5a2d4 · report
read_image_w_noise khalooei/ALOCC-CVPR2018/kh_tools.py found in paper text by Syntology unverified MIT (permissive) · 4c27080e85e975e7 · report

Tasks

Anomaly DetectionDensity EstimationTime SeriesTime Series AnalysisUnsupervised Anomaly Detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Anomaly Detection voraus-AD GANF Avg. Detection AUROC 79.9 #3 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Normalizing Flows

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections