Self-Supervised Multi-Scale Spatiotemporal Dependency TCN-Transformer for Time Series Anomaly Detection
Abstract
SMST-AD is a self-supervised reconstruction framework for multivariate time-series anomaly detection that extends our previous STAM-AD model. It retains the Global/Local temporal backbone, adaptive temporal masking, synthetic anomaly insertion, and bounded anomaly loss. The extension uses parallel dilated local TCNs with independent Transformer encoders and an explicit variable-attention branch. A Pearson-correlation mask provides a fixed linear dependency prior, while anomaly-aware regularization encourages anomalous variables to retain information within the anomalous set during aggregation. Synthetic perturbations provide the training labels without requiring manually annotated faults. We evaluate SMST-AD on six public benchmarks and on constructed anomalies in real power-grid measurements, with ten independent training runs per dataset. On SMAP, SMST-AD achieves mean F1 0.9288, compared with 0.7786 for STAM-AD. In the industrial scenario, its mean F1 is 0.9318. These results demonstrate the effectiveness of SMST-AD for time-series anomaly detection.