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

被引:22
|
作者
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 条
  • [1] Multi-Task Network Anomaly Detection using Federated Learning
    Zhao, Ying
    Chen, Junjun
    Wu, Di
    Teng, Jian
    Yu, Shui
    [J]. SOICT 2019: PROCEEDINGS OF THE TENTH INTERNATIONAL SYMPOSIUM ON INFORMATION AND COMMUNICATION TECHNOLOGY, 2019, : 273 - 279
  • [2] Federated Multi-Task Learning
    Smith, Virginia
    Chiang, Chao-Kai
    Sanjabi, Maziar
    Talwalkar, Ameet
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 30 (NIPS 2017), 2017, 30
  • [3] Multi-task learning for video anomaly detection
    Chang, Xingya
    Zhang, Yuxin
    Xue, Dingyu
    Chen, Dongyue
    [J]. Journal of Visual Communication and Image Representation, 2022, 87
  • [4] Multi-task learning for video anomaly detection*
    Chang, Xingya
    Zhang, Yuxin
    Xue, Dingyu
    Chen, Dongyue
    [J]. JOURNAL OF VISUAL COMMUNICATION AND IMAGE REPRESENTATION, 2022, 87
  • [5] Deep Learning-Based Multi-classification for Malware Detection in IoT
    Wang, Zhiqiang
    Liu, Qian
    Wang, Zhuoyue
    Chi, Yaping
    [J]. JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2022, 31 (17)
  • [6] TWO-LEVEL MULTI-TASK METRIC LEARNING WITH APPLICATION TO MULTI-CLASSIFICATION
    Liu, Hong
    Zhang, Xuewu
    Wu, Pingping
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2015, : 2756 - 2760
  • [7] Multi-Task Learning-Based Immunofluorescence Classification of Kidney Disease
    Pan, Sai
    Fu, Yibing
    Chen, Pu
    Liu, Jiaona
    Liu, Weicen
    Wang, Xiaofei
    Cai, Guangyan
    Yin, Zhong
    Wu, Jie
    Tang, Li
    Wang, Yong
    Duan, Shuwei
    Dai, Ning
    Jiang, Lai
    Xu, Mai
    Chen, Xiangmei
    [J]. INTERNATIONAL JOURNAL OF ENVIRONMENTAL RESEARCH AND PUBLIC HEALTH, 2021, 18 (20)
  • [8] Federated Multi-task Graph Learning
    Liu, Yijing
    Han, Dongming
    Zhang, Jianwei
    Zhu, Haiyang
    Xu, Mingliang
    Chen, Wei
    [J]. ACM TRANSACTIONS ON INTELLIGENT SYSTEMS AND TECHNOLOGY, 2022, 13 (05)
  • [9] Multi-task Feature Learning Based Anomaly Detection of Network Dataflow
    Ren Hui-feng
    Yan Feng
    Dong Qing-chao
    [J]. 2020 CHINESE AUTOMATION CONGRESS (CAC 2020), 2020, : 4144 - 4147
  • [10] An Optimized Multi-Task Learning Model for Disaster Classification and Victim Detection in Federated Learning Environments
    Wong, Yi Jie
    Tham, Mau-Luen
    Kwan, Ban-Hoe
    Gnanamuthu, Ezra Morris Abraham
    Owada, Yasunori
    [J]. IEEE ACCESS, 2022, 10 : 115930 - 115944