Server Anomaly Detection Via Causal Temporal Convolution and Long-Range Temporal Dependency Modeling
Abstract
Effective server anomaly detection requires capturing both local temporal variations and dependencies across distant observations in multivariate monitoring data. Furthermore, anomalies affecting only a small subset of monitoring variables may be obscured when prediction errors are aggregated uniformly across all variables. To address these challenges, this paper proposes a forecasting-based anomaly detection framework that integrates causal dilated residual convolutions with causally masked multihead self-attention. The temporal encoder captures local patterns and long-range temporal dependencies within the historical observation window, while a temporal context fusion module combines the final encoded state with recent and global representations for multistep forecasting. During inference, anomaly scores are derived from horizon-weighted squared prediction errors through robust variable-wise normalization and sparse top- $q$ aggregation. Experiments on the Server Machine Dataset (SMD) yield a pooled F1-score of 0.9508. The proposed method has the highest reported F1-score among the ten methods listed in the comparison, subject to differences in evaluation settings. Ablation results further indicate that multihead self-attention, temporal context fusion, nonuniform forecast-horizon weighting, and sparse top- $q$ aggregation contribute to the observed detection performance.