Abstract
Temporal anomaly detection in dynamic systems – including industrial control and human gait – is usually posed as observation learning. Raw measurements are mapped to features, and an anomaly is declared when a reconstruction, forecasting, or distance-based score exceeds a threshold. Such scores capture the magnitude of measurement deviation. However, abnormal state transitions do not produce large measurement deviations. We argue that this observation-centric view conflates two distinct questions: what is observed and what state the system is in. In this paper, we redefine temporal anomaly detection as state geometry learning. We represent a state as a point in a geometric space, rather than as a latent variable used to predict future observations. This space captures normal system behavior. Our proposed framework, Hyperspherical State Geometry (HSG), maps temporal windows to directions on the unit hypersphere and characterizes normal states using von Mises–Fisher prototypes. It then decomposes the covariant acceleration of the resulting state trajectory into two complementary second-order descriptors: changes in speed and turning rate. These descriptors are provided through a detector-agnostic interface that can be used with off-the-shelf anomaly detectors. Across eight multivariate time-series benchmarks evaluated without point adjustment, HSG achieves the highest AUROC on four of the five multi-trace datasets and the best average rank across threshold-independent metrics. Its largest improvements occur on datasets with substantial inter-trace heterogeneity. Code and data are included in the supplementary material.
Highlights