Prototypical contrastive learning with patch-based spatio-temporal alignment for multivariate time series anomaly detection
Multivariate time series (MTS) anomaly detection faces critical challenges, including complex sensor interdependencies, environmental noise, and the inefficiency of modeling long-range dependencies. Existing methods often fail to balance computational efficiency with fine-grained modeling of normal patterns. To address these issues, we propose P-ALIGN, a framework that integrates patch-based feature extraction with prototypical alignment and contrastive learning. Specifically, a patching mechanism is employed to capture long-term context with linear complexity, while an EmbedPatch encoder learns a set of normal prototypes as global reference points. By aligning latent features with these prototypes, P-ALIGN effectively suppresses noise and prevents the model from over-reconstructing anomalies. Furthermore, a Contrastive Fusion module is introduced to enlarge the discriminative gap between normal and abnormal distributions. Extensive experiments on six real-world benchmarks demonstrate that P-ALIGN consistently outperforms state-of-the-art methods, achieving an 11% improvement in F1-score and a 12.23% increase in the Normalized Affinity (NAff) metric.
Authors
- Chaoyi Yang (ORCID: https://orcid.org/0000-0002-7917-3136)
- Xijun Lin
- Xuewu Li (ORCID: https://orcid.org/0009-0004-9147-2974)
- Kunhuan Xu
- Gehua Fu
Institutions
- Guangdong Hydropower Planning & Design Institute (CN)
- China Southern Power Grid (China) (CN)
- Power Grid Corporation (India) (IN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-03-11
- DOI
- https://doi.org/10.1038/s41598-026-43236-x
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00