基于变压器的动态掩蔽对比学习和自适应路径的时间序列异常检测

IF 3 4区 计算机科学 Q2 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Expert Systems Pub Date : 2025-07-12 DOI:10.1111/exsy.70102
Qian Liang, Xiang Yin
{"title":"基于变压器的动态掩蔽对比学习和自适应路径的时间序列异常检测","authors":"Qian Liang,&nbsp;Xiang Yin","doi":"10.1111/exsy.70102","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Time Series Anomaly Detection (TSAD) has demonstrated broad applicability across various industries, including manufacturing, healthcare, and finance. Its primary objective is to identify unusual deviations in the test set by capturing the typical behavioral patterns of timing data. Despite their strong detection capabilities when labeled data is not available, current reconstruction-based approaches still struggle with anomalous interference and inadequate semantic information extraction at higher time series levels. To tackle these problems, we provide a multi-scale dual-domain patch attention contrast learning model (DMAP-DDCL) that incorporates adaptive path selection and adaptive dynamic context-aware masking. Dynamic context-aware masks are specifically used by DMAP-DDCL to improve the model's generalization ability and mitigate bias resulting from the influence of anomalous data during training. Multi-scale patch segmentation and dual attention to the segmented patches are introduced to capture local details and global correlations as time dependencies. By enlarging the contrast between the two data perspectives, global and local, DMAP-DDCL improves the capacity to differentiate between normal and abnormal patterns. In addition, we enhance the adaptive path of the multi-scale bi-domain attention network, which adapts the multi-scale modeling process to the temporal dynamics of the inputs and enhances the model's accuracy. According to experimental results, DMAP-DDCL performs better on five real datasets from various domains than eight state-of-the-art baselines. Specifically, our model enhances F1 and R_AUC_ROC by an average of 7.5% and 16.67%.</p>\n </div>","PeriodicalId":51053,"journal":{"name":"Expert Systems","volume":"42 8","pages":""},"PeriodicalIF":3.0000,"publicationDate":"2025-07-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Transformer-Based Contrastive Learning With Dynamic Masking and Adaptive Pathways for Time Series Anomaly Detection\",\"authors\":\"Qian Liang,&nbsp;Xiang Yin\",\"doi\":\"10.1111/exsy.70102\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n <p>Time Series Anomaly Detection (TSAD) has demonstrated broad applicability across various industries, including manufacturing, healthcare, and finance. Its primary objective is to identify unusual deviations in the test set by capturing the typical behavioral patterns of timing data. Despite their strong detection capabilities when labeled data is not available, current reconstruction-based approaches still struggle with anomalous interference and inadequate semantic information extraction at higher time series levels. To tackle these problems, we provide a multi-scale dual-domain patch attention contrast learning model (DMAP-DDCL) that incorporates adaptive path selection and adaptive dynamic context-aware masking. Dynamic context-aware masks are specifically used by DMAP-DDCL to improve the model's generalization ability and mitigate bias resulting from the influence of anomalous data during training. Multi-scale patch segmentation and dual attention to the segmented patches are introduced to capture local details and global correlations as time dependencies. By enlarging the contrast between the two data perspectives, global and local, DMAP-DDCL improves the capacity to differentiate between normal and abnormal patterns. In addition, we enhance the adaptive path of the multi-scale bi-domain attention network, which adapts the multi-scale modeling process to the temporal dynamics of the inputs and enhances the model's accuracy. According to experimental results, DMAP-DDCL performs better on five real datasets from various domains than eight state-of-the-art baselines. Specifically, our model enhances F1 and R_AUC_ROC by an average of 7.5% and 16.67%.</p>\\n </div>\",\"PeriodicalId\":51053,\"journal\":{\"name\":\"Expert Systems\",\"volume\":\"42 8\",\"pages\":\"\"},\"PeriodicalIF\":3.0000,\"publicationDate\":\"2025-07-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Expert Systems\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1111/exsy.70102\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/exsy.70102","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

摘要

时间序列异常检测(TSAD)已被证明广泛适用于各种行业,包括制造业、医疗保健和金融业。其主要目标是通过捕获计时数据的典型行为模式来识别测试集中的异常偏差。尽管当前基于重建的方法在没有标记数据时具有很强的检测能力,但在较高的时间序列水平上仍然存在异常干扰和语义信息提取不足的问题。为了解决这些问题,我们提供了一个多尺度双域补丁注意对比学习模型(DMAP-DDCL),该模型结合了自适应路径选择和自适应动态上下文感知屏蔽。DMAP-DDCL特别使用动态上下文感知掩码来提高模型的泛化能力,减轻训练过程中异常数据的影响所造成的偏差。引入多尺度补丁分割和对分割后的补丁的双重关注来捕捉局部细节和作为时间依赖的全局相关性。通过扩大全局和局部两种数据视角之间的对比,DMAP-DDCL提高了区分正常和异常模式的能力。此外,我们增强了多尺度双域注意网络的自适应路径,使多尺度建模过程适应输入的时间动态,提高了模型的准确性。根据实验结果,DMAP-DDCL在5个不同领域的真实数据集上的表现优于8个最先进的基线。具体来说,我们的模型平均提高了7.5%和16.67%的F1和R_AUC_ROC。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Transformer-Based Contrastive Learning With Dynamic Masking and Adaptive Pathways for Time Series Anomaly Detection

Time Series Anomaly Detection (TSAD) has demonstrated broad applicability across various industries, including manufacturing, healthcare, and finance. Its primary objective is to identify unusual deviations in the test set by capturing the typical behavioral patterns of timing data. Despite their strong detection capabilities when labeled data is not available, current reconstruction-based approaches still struggle with anomalous interference and inadequate semantic information extraction at higher time series levels. To tackle these problems, we provide a multi-scale dual-domain patch attention contrast learning model (DMAP-DDCL) that incorporates adaptive path selection and adaptive dynamic context-aware masking. Dynamic context-aware masks are specifically used by DMAP-DDCL to improve the model's generalization ability and mitigate bias resulting from the influence of anomalous data during training. Multi-scale patch segmentation and dual attention to the segmented patches are introduced to capture local details and global correlations as time dependencies. By enlarging the contrast between the two data perspectives, global and local, DMAP-DDCL improves the capacity to differentiate between normal and abnormal patterns. In addition, we enhance the adaptive path of the multi-scale bi-domain attention network, which adapts the multi-scale modeling process to the temporal dynamics of the inputs and enhances the model's accuracy. According to experimental results, DMAP-DDCL performs better on five real datasets from various domains than eight state-of-the-art baselines. Specifically, our model enhances F1 and R_AUC_ROC by an average of 7.5% and 16.67%.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Expert Systems
Expert Systems 工程技术-计算机:理论方法
CiteScore
7.40
自引率
6.10%
发文量
266
审稿时长
24 months
期刊介绍: Expert Systems: The Journal of Knowledge Engineering publishes papers dealing with all aspects of knowledge engineering, including individual methods and techniques in knowledge acquisition and representation, and their application in the construction of systems – including expert systems – based thereon. Detailed scientific evaluation is an essential part of any paper. As well as traditional application areas, such as Software and Requirements Engineering, Human-Computer Interaction, and Artificial Intelligence, we are aiming at the new and growing markets for these technologies, such as Business, Economy, Market Research, and Medical and Health Care. The shift towards this new focus will be marked by a series of special issues covering hot and emergent topics.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信