Beyond Marginals: Learning Joint Spatio-Temporal Patterns for Multivariate Anomaly Detection

Padmaksha Roy, Almuatazbellah Boker, Lamine Mili
9/18/2025
cs.LG

No confident code implementation found for this paper.

Abstract

In this paper, we aim to improve multivariate anomaly detection (AD) by modeling the \textit{time-varying non-linear spatio-temporal correlations} found in multivariate time series data . In multivariate time series data, an anomaly may be indicated by the simultaneous deviation of interrelated time series from their expected collective behavior, even when no individual time series exhibits a clearly abnormal pattern on its own. In many existing approaches, time series variables are assumed to be (conditionally) independent, which oversimplifies real-world interactions. Our approach addresses this by modeling joint dependencies in the latent space and decoupling the modeling of \textit{marginal distributions, temporal dynamics, and inter-variable dependencies}. We use a transformer encoder to capture temporal patterns, and to model spatial (inter-variable) dependencies, we fit a multi-variate likelihood and a copula. The temporal and the spatial components are trained jointly in a latent space using a self-supervised contrastive learning objective to learn meaningful feature representations to separate normal and anomaly samples.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{roy2025beyond,
  title  = {Beyond Marginals: Learning Joint Spatio-Temporal Patterns for Multivariate Anomaly Detection},
  author = {Padmaksha Roy and Almuatazbellah Boker and Lamine Mili},
  year   = {2025},
  eprint = {2509.15033},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.15033v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.15033.svg)](https://codeofpaper.com/paper/2509.15033)

Discussion