基于元学习的微服务系统异常轨迹跨系统分类
Cross-System Categorization of Abnormal Traces in Microservice-Based Systems via Meta-Learning
AI总结:
提出TraFaultDia框架,利用元学习在少量标记样本下自动将微服务系统异常轨迹分类为故障类别,跨系统准确率达84.77%-92.19%,实现根因自动识别。
摘要:
微服务系统(MSS)可能因各种故障类型而失效。尽管现有的AIOps方法在检测异常轨迹和定位责任服务方面表现出色,但诊断具体故障类型和失败原因仍需人工介入。本文提出TraFaultDia,一种新颖的AIOps框架,用于自动将MSS中的异常轨迹分类为故障类别。我们将分类过程视为一系列多类分类任务,其中每个任务代表针对某个MSS将异常轨迹分类为特定故障类别的尝试。TraFaultDia利用元学习,在来自某个MSS的少量标记实例上训练多个异常轨迹分类任务,从而能够快速适应新的、未见过的异常轨迹分类任务,这些任务同样仅需来自不同MSS的少量标记实例。TraFaultDia的使用场景具有可扩展性,具体取决于如何从MSS内的异常构建故障类别。我们在两个MSS(TrainTicket和OnlineBoutique)上使用开放数据集对TraFaultDia进行了评估,其中每个故障类别都与故障系统组件(服务/容器)和根因相关联。TraFaultDia自动将异常轨迹分类为这些故障类别,从而无需人工分析即可自动识别故障系统组件和根因。在相同MSS内训练时,每个类别提供10个标记实例,TraFaultDia在TrainTicket和OnlineBoutique的50个新分类任务上分别达到93.26%和85.20%的准确率。在跨系统场景中,当TraFaultDia应用于与其训练时不同的MSS时,对于各自系统的同一组50个新的、未见过的异常轨迹分类任务,TraFaultDia的平均准确率分别为92.19%和84.77%,同样每个系统中每个任务每个故障类别提供10个标记实例。
英文摘要:
Microservice-based systems (MSS) may fail with various fault types. While existing AIOps methods excel at detecting abnormal traces and locating the responsible service(s), human efforts are still required for diagnosing specific fault types and failure causes.This paper presents TraFaultDia, a novel AIOps framework to automatically classify abnormal traces into fault categories for MSS. We treat the classification process as a series of multi-class classification tasks, where each task represents an attempt to classify abnormal traces into specific fault categories for a MSS. TraFaultDia leverages meta-learning to train on several abnormal trace classification tasks with a few labeled instances from a MSS, enabling quick adaptation to new, unseen abnormal trace classification tasks with a few labeled instances across MSS. TraFaultDia's use cases are scalable depending on how fault categories are built from anomalies within MSS. We evaluated TraFaultDia on two MSS, TrainTicket and OnlineBoutique, with open datasets where each fault category is linked to faulty system components (service/pod) and a root cause. TraFaultDia automatically classifies abnormal traces into these fault categories, thus enabling the automatic identification of faulty system components and root causes without manual analysis. TraFaultDia achieves 93.26% and 85.20% accuracy on 50 new classification tasks for TrainTicket and OnlineBoutique, respectively, when trained within the same MSS with 10 labeled instances per category. In the cross-system context, when TraFaultDia is applied to a MSS different from the one it is trained on, TraFaultDia gets an average accuracy of 92.19% and 84.77% for the same set of 50 new, unseen abnormal trace classification tasks of the respective systems, also with 10 labeled instances provided for each fault category per task in each system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。