Microservices Anomaly Detection Based on Adaptive Wavelet Convolutional Networks and Transformer

IF 6.2 2区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS
IEEE Transactions on Services Computing Pub Date : 2026-07-01 Epub Date: 2026-06-10 DOI:10.1109/TSC.2026.3701934
Wei Tang;Congfeng Jiang;Guangming Wang;Junming Liu
{"title":"Microservices Anomaly Detection Based on Adaptive Wavelet Convolutional Networks and Transformer","authors":"Wei Tang;Congfeng Jiang;Guangming Wang;Junming Liu","doi":"10.1109/TSC.2026.3701934","DOIUrl":null,"url":null,"abstract":"Microservice architecture, characterized by loose coupling, elastic scalability, and independent deployment, has become the de facto standard for cloud-native services. However, in production systems, the complex interaction topologies among microservices can easily trigger cascading failures, which severely compromise system reliability and operational stability. This paper proposes an anomaly detection method for microservices that integrates adaptive wavelet convolutional networks and Transformer architecture. Specifically, the proposed method leverages a wavelet convolutional network to preprocess time-series data, while a weighted inverse transformer combined with a frequency-band attention mechanism is utilized to capture multi-scale time–frequency features of different microservices. Moreover, a dual-branch GRU-Transformer structure is then used to model both long- and short-term dependencies as well as cross-metric correlations among services. Therefore, anomaly scores can be derived through the joint optimization of prediction and reconstruction models. To overcome the challenge of threshold determination, this paper also proposes a two-stage gradient-based optimization algorithm that adaptively converges the threshold range using finite differential methods. Experimental results show that the proposed method is effective on datasets such as SMD (Server Machine Dataset), ASD (Application Server Dataset) and the NASA Anomaly Detection Dataset SMAP, where its average F1 score on SMD exceeds that of existing approaches by 11.0%, while on the SMAP dataset, an accuracy of 96.40% is achieved. These results confirm that the proposed approach can effectively detect anomalies in industrial level microservices, thereby enhancing the stability and reliability of industrial service systems.","PeriodicalId":13255,"journal":{"name":"IEEE Transactions on Services Computing","volume":"19 4","pages":"2929-2942"},"PeriodicalIF":6.2000,"publicationDate":"2026-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=11557239","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Services Computing","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11557239/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/6/10 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Microservice architecture, characterized by loose coupling, elastic scalability, and independent deployment, has become the de facto standard for cloud-native services. However, in production systems, the complex interaction topologies among microservices can easily trigger cascading failures, which severely compromise system reliability and operational stability. This paper proposes an anomaly detection method for microservices that integrates adaptive wavelet convolutional networks and Transformer architecture. Specifically, the proposed method leverages a wavelet convolutional network to preprocess time-series data, while a weighted inverse transformer combined with a frequency-band attention mechanism is utilized to capture multi-scale time–frequency features of different microservices. Moreover, a dual-branch GRU-Transformer structure is then used to model both long- and short-term dependencies as well as cross-metric correlations among services. Therefore, anomaly scores can be derived through the joint optimization of prediction and reconstruction models. To overcome the challenge of threshold determination, this paper also proposes a two-stage gradient-based optimization algorithm that adaptively converges the threshold range using finite differential methods. Experimental results show that the proposed method is effective on datasets such as SMD (Server Machine Dataset), ASD (Application Server Dataset) and the NASA Anomaly Detection Dataset SMAP, where its average F1 score on SMD exceeds that of existing approaches by 11.0%, while on the SMAP dataset, an accuracy of 96.40% is achieved. These results confirm that the proposed approach can effectively detect anomalies in industrial level microservices, thereby enhancing the stability and reliability of industrial service systems.
基于自适应小波卷积网络和变压器的微服务异常检测
以松耦合、弹性可伸缩性和独立部署为特征的微服务架构已经成为云原生服务的事实上的标准。然而,在生产系统中,微服务之间复杂的交互拓扑很容易触发级联故障,从而严重损害系统的可靠性和运行稳定性。提出了一种将自适应小波卷积网络与Transformer结构相结合的微服务异常检测方法。具体而言,该方法利用小波卷积网络对时间序列数据进行预处理,同时利用加权逆变压器结合频带注意机制捕获不同微服务的多尺度时频特征。此外,然后使用双分支GRU-Transformer结构对长期和短期依赖关系以及服务之间的交叉度量相关性进行建模。因此,通过预测模型和重建模型的联合优化,可以得到异常分数。为了克服阈值确定的挑战,本文还提出了一种基于梯度的两阶段优化算法,该算法使用有限微分方法自适应收敛阈值范围。实验结果表明,该方法在SMD (Server Machine Dataset)、ASD (Application Server Dataset)和NASA异常检测数据集SMAP等数据集上是有效的,SMD上的平均F1分数比现有方法高出11.0%,而在SMAP数据集上的平均F1分数达到96.40%。结果表明,该方法可以有效地检测工业级微服务中的异常,从而提高工业服务系统的稳定性和可靠性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Services Computing
IEEE Transactions on Services Computing COMPUTER SCIENCE, INFORMATION SYSTEMS-COMPUTER SCIENCE, SOFTWARE ENGINEERING
CiteScore
11.50
自引率
6.20%
发文量
278
审稿时长
>12 weeks
期刊介绍: IEEE Transactions on Services Computing encompasses the computing and software aspects of the science and technology of services innovation research and development. It places emphasis on algorithmic, mathematical, statistical, and computational methods central to services computing. Topics covered include Service Oriented Architecture, Web Services, Business Process Integration, Solution Performance Management, and Services Operations and Management. The transactions address mathematical foundations, security, privacy, agreement, contract, discovery, negotiation, collaboration, and quality of service for web services. It also covers areas like composite web service creation, business and scientific applications, standards, utility models, business process modeling, integration, collaboration, and more in the realm of Services Computing.
×
引用
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学术官方微信
小红书