Jiahao Yu , Xin Gao , Taizhi Wang , Heping Lu , Baofeng Li , Feng Zhai , Bing Xue , Zhihang Meng
{"title":"A feature matching-based method for few-shot multivariate time series anomaly detection with symmetric patch mask Siam Transformer","authors":"Jiahao Yu , Xin Gao , Taizhi Wang , Heping Lu , Baofeng Li , Feng Zhai , Bing Xue , Zhihang Meng","doi":"10.1016/j.engappai.2025.110894","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate anomaly detection of industrial system operating status based on multivariate time series data is an important means to ensure the stable operation of the system. However if there is insufficient training data for the objects to be detected, it is difficult for existing deep learning methods to learn a clear outline of the normal pattern of the data under unsupervised conditions, leading to the failure of anomaly detection. This paper proposes a feature matching-based method for few-shot multivariate time series anomaly detection with a symmetric patch mask Siam Transformer (SPMST). Using only a small number of normal samples from the target domain, SPMST realizes the rapid deployment of the universal representation model pre-trained on multiple public datasets to the target domain without the need for retraining or parameter adjustment for more categories. First, two augmented views of the original data are obtained by adding a symmetric patch mask to the augmented aligned multisource data. The Transformer model is then pre-trained with reconstruction and contrastive learning tasks to acquire robust latent representations. Second, the feature support set of the target domain is obtained based on the pre-trained representation model and the proposed clustering-based support set reduction strategy, avoiding excessive consumption of computing resources. Finally, the anomaly score is calculated by combining the feature matching loss, reconstruction loss, and contrastive loss. The experimental results show that SPMST, under few-shot conditions, is not weaker than 21 state-of-the-art baselines trained with a large amount of data on 5 representative cyber–physical system datasets.</div></div>","PeriodicalId":50523,"journal":{"name":"Engineering Applications of Artificial Intelligence","volume":"154 ","pages":""},"PeriodicalIF":7.5000,"publicationDate":"2025-05-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering Applications of Artificial Intelligence","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0952197625008942","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate anomaly detection of industrial system operating status based on multivariate time series data is an important means to ensure the stable operation of the system. However if there is insufficient training data for the objects to be detected, it is difficult for existing deep learning methods to learn a clear outline of the normal pattern of the data under unsupervised conditions, leading to the failure of anomaly detection. This paper proposes a feature matching-based method for few-shot multivariate time series anomaly detection with a symmetric patch mask Siam Transformer (SPMST). Using only a small number of normal samples from the target domain, SPMST realizes the rapid deployment of the universal representation model pre-trained on multiple public datasets to the target domain without the need for retraining or parameter adjustment for more categories. First, two augmented views of the original data are obtained by adding a symmetric patch mask to the augmented aligned multisource data. The Transformer model is then pre-trained with reconstruction and contrastive learning tasks to acquire robust latent representations. Second, the feature support set of the target domain is obtained based on the pre-trained representation model and the proposed clustering-based support set reduction strategy, avoiding excessive consumption of computing resources. Finally, the anomaly score is calculated by combining the feature matching loss, reconstruction loss, and contrastive loss. The experimental results show that SPMST, under few-shot conditions, is not weaker than 21 state-of-the-art baselines trained with a large amount of data on 5 representative cyber–physical system datasets.
期刊介绍:
Artificial Intelligence (AI) is pivotal in driving the fourth industrial revolution, witnessing remarkable advancements across various machine learning methodologies. AI techniques have become indispensable tools for practicing engineers, enabling them to tackle previously insurmountable challenges. Engineering Applications of Artificial Intelligence serves as a global platform for the swift dissemination of research elucidating the practical application of AI methods across all engineering disciplines. Submitted papers are expected to present novel aspects of AI utilized in real-world engineering applications, validated using publicly available datasets to ensure the replicability of research outcomes. Join us in exploring the transformative potential of AI in engineering.