Strong Linear Baselines Strike Back: Closed-Form Linear Models as Gaussian Process Conditional Density Estimators for TSAD
Aleksandr Yugay, Hang Cui, Changhua Pei, Alexey Zaytsev
TL;DR
This work argues that closed-form linear models, specifically ordinary least squares (OLS) and reduced-rank regression (RRR) applied to lagged time-series features, provide a powerful baseline for time series anomaly detection (TSAD). The authors show that anomaly scores based on squared residuals align with finite-history Gaussian process conditional densities, offering a principled probabilistic interpretation and enabling efficient, robust detection. Across extensive univariate and multivariate benchmarks, OLS (and RR for multivariate data) consistently match or outperform state-of-the-art deep detectors while requiring dramatically fewer computational resources. The results, complemented by a theoretical link to Gaussian processes and a practical case for stronger linear baselines, advocate re-evaluating TSAD progress through principled, analytically solvable baselines and richer temporal benchmarks.
Abstract
Research in time series anomaly detection (TSAD) has largely focused on developing increasingly sophisticated, hard-to-train, and expensive-to-infer neural architectures. We revisit this paradigm and show that a simple linear autoregressive anomaly score with the closed-form solution provided by ordinary least squares (OLS) regression consistently matches or outperforms state-of-the-art deep detectors. From a theoretical perspective, we show that linear models capture a broad class of anomaly types, estimating a finite-history Gaussian process conditional density. From a practical side, across extensive univariate and multivariate benchmarks, the proposed approach achieves superior accuracy while requiring orders of magnitude fewer computational resources. Thus, future research should consistently include strong linear baselines and, more importantly, develop new benchmarks with richer temporal structures pinpointing the advantages of deep learning models.
