NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Structured Temporal Causality for Interpretable Multivariate Time Series Anomaly Detection

Dongchan Cho, Jiho Han, Keumyeong Kang, Minsang Kim, Honggyu Ryu, Namsoon Jung · DOI

Abstract

Real-world multivariate time series anomalies are rare and often unlabeled. Additionally, prevailing methods rely on increasingly complex architectures tuned to benchmarks, detecting only fragments of anomalous segments and overstating performance. In this paper, we introduce OracleAD, a simple and interpretable unsupervised framework for multivariate time series anomaly detection. OracleAD encodes each variable's past sequence into a single causal embedding to jointly predict the present time point and reconstruct the input window, effectively modeling temporal dynamics. These embeddings then undergo a self-attention mechanism to project them into a shared latent space and capture spatial relationships. These relationships are not static, since they are modeled by a property that emerges from each variable's temporal dynamics. The projected embeddings are aligned to a Stable Latent Structure (SLS) representing normal-state relationships. Anomalies are identified using a dual scoring mechanism based on prediction error and deviation from the SLS, enabling fine-grained anomaly diagnosis at each time point and across individual variables. Since any noticeable SLS deviation originates from embeddings that violate the learned temporal causality of normal data, OracleAD directly pinpoints the root-cause variables at the embedding level. OracleAD achieves state-of-the-art results across multiple real-world datasets and evaluation protocols, while remaining interpretable through SLS.

Introduction

Multivariate Time Series Anomaly Detection (MTSAD) is critical for industrial systems, healthcare, and cybersecurity. However, the field faces three major hurdles: complexity overload from "black-box" architectures, ignoring the "arrow of time" via bidirectional attention that looks into the future, and a lack of interpretability that prevents engineers from identifying root causes.

OracleAD addresses these by treating anomalies as a dual failure: a break in a variable's own temporal history and a disruption of its relationship with other variables. By comparing real-time data against a "Stable Latent Structure" (SLS) learned during normal operations, it provides highly accurate detection and transparent root-cause diagnosis.

Methods

OracleAD uses a modular, three-step approach to model temporal causality and relational structure.

The OracleAD model architecture, featuring independent LSTM encoders, multi-head self-attention, and the Stable Latent Structure (SLS) dissimilarity matrix.
  • Temporal Causality Modeling: Instead of processing all variables together, OracleAD uses independent LSTM encoders for each variable. This prevents the model from "entangling" unrelated patterns. These encoders are trained to both predict the next time point and reconstruct the past window.
  • Relational Attention: The model uses Multi-Head Self-Attention (MHSA) to allow these individual variable embeddings to interact, capturing the dynamic dependencies between sensors at any given moment.
  • Stable Latent Structure (SLS): During training on normal data, the model builds a dissimilarity matrix representing standard relationships between all variables. This SLS acts as a "fingerprint" of healthy system behavior.

Anomaly Scoring: At inference time, OracleAD calculates a dual score. The Prediction Score catches sudden temporal spikes, while the Deviation Score measures how much the current inter-variable relationships have drifted from the SLS. The final anomaly score is the product of these two, allowing the model to detect both brief shocks and long-term system failures.

Key Results

OracleAD consistently outperformed a wide range of baselines, including complex deep-learning models like Anomaly Transformer and DCdetector, across three major benchmarks: SMD (Server Machine Dataset), PSM (Pooled Server Metrics), and SWaT (Secure Water Treatment).

Performance comparison of OracleAD against various baselines across PSM, SMD, and SWaT datasets, showing significant improvements in F1 scores.
  • Accuracy: It achieved significant gains in F1 scores, notably a +19.95% improvement on the PSM dataset and +10.87% on SMD compared to the next best baseline.
  • Localization: Using the SLS-based deviation matrix, the model successfully identified the top-3 root-cause variables in almost all tested scenarios, matching ground-truth labels.
  • Efficiency: Despite the quadratic complexity of the attention mechanism, the model maintains practical training and inference speeds, making it feasible for real-time monitoring.

Conclusion and Future Work

OracleAD demonstrates that prioritizing temporal causality and structured relational modeling leads to both better performance and superior interpretability. Future work will focus on making the SLS more robust to "drifting" normal states and expanding the model to handle categorical or discrete signals common in industrial settings.

Summary updated

BibTeX
@inproceedings{cho2025structured,
  author = {Dongchan Cho and Jiho Han and Keumyeong Kang and Minsang Kim and Honggyu Ryu and Namsoon Jung},
  title = {{Structured Temporal Causality for Interpretable Multivariate Time Series Anomaly Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=V5kzCSeaXF},
}
Figure