Multi-task federated learning-based system anomaly detection and multi-classification for microservices architecture

被引:31
|
作者
Hao, Junfeng [1 ]
Chen, Peng [1 ]
Chen, Juan [1 ]
Li, Xi [1 ]
机构
[1] Xihua Univ, Sch Comp & Software Engn, Chengdu 610039, Peoples R China
基金
中国国家自然科学基金;
关键词
Microservices architecture; Multi-task federated learning; Feature fusion; System anomaly detection and classification;
D O I
10.1016/j.future.2024.05.006
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The microservices architecture is extensively utilized in cloud -based application development, characterized by the construction of applications through a series of functionally independent, small, autonomous services. This architectural approach is renowned for its attributes such as high cohesion, availability, low coupling, and exceptional scalability. The detection of runtime system point anomalies in microservices architectures is crucial for enhancing the Quality of Service(QoS). Furthermore, identifying the classes of detected anomalies is critical in practical applications. However, given the highly dynamic nature of microservices systems as a distributed computing architecture, conducting real-time system anomaly detection on distributed independent microservices poses a challenging task. To address these challenges, we propose the System Anomaly Detection and Multi -Classification based on Multi -Task Feature Fusion Federated Learning (SADMC-MT-FF-FL) framework. Initially, we introduce a distributed learning framework based on Multi -task Federated Learning (MT -FL) to construct multi -classification anomaly detection models for each microservice. Secondly, to identify complex system anomaly patterns and features during the runtime of microservices, we develop a feature extractor based on External Attention Mechanism and Multi -channel Residual Structure (EA -MRS). Finally, we design a Local-Global Feature -based Parallel Knowledge Transfer (LGF-PKT) framework, utilizing parallel knowledge transfer to parallelize weight updates for local and global features. To validate the effectiveness of our approach, we conducted comprehensive comparative experiments on the microservices benchmark platforms Sock -Shop and Train -Ticket. The experimental results on anomaly detection for multiclassification systems demonstrate that SADMC-MT-FF-FL outperforms the best baseline method by 28.3% and 27.8% for Macro F1 and Micro F1 on Train -Ticket, and by 8.8% and 8.6% on Sock -Shop, respectively. Additionally, we conducted comparison experiments on three public datasets, SWaT, SMD, and SKAB. The F1 scores were 0.5% higher than those of the centralized methods on SMD, respectively, 6% and 2.8% higher than those of the federated learning based method on SWaT and SKAB. Source codes are available at: https://github.com/icclab-xhu1/SADMC-MT-FF-FL.
引用
收藏
页码:77 / 90
页数:14
相关论文
共 50 条
  • [41] Hateful Memes Detection Based on Multi-Task Learning
    Ma, Zhiyu
    Yao, Shaowen
    Wu, Liwen
    Gao, Song
    Zhang, Yunqi
    MATHEMATICS, 2022, 10 (23)
  • [42] Unsupervised domain adaptation: A multi-task learning-based method
    Zhang, Jing
    Li, Wanqing
    Ogunbona, Philip
    KNOWLEDGE-BASED SYSTEMS, 2019, 186
  • [43] Multi-label emotion classification based on adversarial multi-task learning
    Lin, Nankai
    Fu, Sihui
    Lin, Xiaotian
    Wang, Lianxi
    INFORMATION PROCESSING & MANAGEMENT, 2022, 59 (06)
  • [44] MTL-FFDET: A Multi-Task Learning-Based Model for Forest Fire Detection
    Lu, Kangjie
    Huang, Jingwen
    Li, Junhui
    Zhou, Jiashun
    Chen, Xianliang
    Liu, Yunfei
    FORESTS, 2022, 13 (09):
  • [45] MULTI-TASK LEARNING FOR PEDESTRIAN BODY PARTS DETECTION AND MULTI-ATTRIBUTE CLASSIFICATION
    Lou, Miaomiao
    Chen, Lin
    Guo, Feng
    2019 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA & EXPO WORKSHOPS (ICMEW), 2019, : 549 - 554
  • [46] Multi-task Multi-modal Models for Collective Anomaly Detection
    Ide, Tsuyoshi
    Phan, Dzung T.
    Kalagnanam, Jayant
    2017 17TH IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM), 2017, : 177 - 186
  • [47] MCAD: Multi-classification anomaly detection with relational knowledge distillation
    Li Z.
    Ge Y.
    Yue X.
    Meng L.
    Neural Computing and Applications, 2024, 36 (23) : 14543 - 14557
  • [48] A Unified Multi-Task Learning Architecture for Fast and Accurate Pedestrian Detection
    Zhou, Chengju
    Wu, Meiqing
    Lam, Siew-Kei
    IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2022, 23 (02) : 982 - 996
  • [49] Variance error of multi-classification based anomaly detection for time series data
    Wang, Baoquan
    Jiang, Tonghai
    Zhou, Xi
    Ma, Bo
    Zhao, Fan
    Wang, Yi
    JOURNAL OF COMPUTATIONAL METHODS IN SCIENCES AND ENGINEERING, 2021, 21 (04) : 875 - 890
  • [50] Collaborative monitoring method for cutter anomaly detection and RUL prediction based on multi-task learning
    Shao, Xufeng
    Nie, Xiaoyin
    Shi, Hui
    Zhao, Zhicheng
    Chen, Gaohua
    Xie, Gang
    JOURNAL OF MECHANICAL SCIENCE AND TECHNOLOGY, 2025, 39 (03) : 1059 - 1072