基于大语言模型知识蒸馏的微服务系统根因定位方法

By employing knowledge distillation of large language models and training graph neural networks with multimodal data, the problem of balancing accuracy and efficiency in microservice fault root cause localization is solved, achieving efficient and accurate fault localization.

CN122044942BActive Publication Date: 2026-07-17ANHUI UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ANHUI UNIV
Filing Date
2026-04-16
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing methods for locating the root cause of microservice failures based on graph neural networks struggle to balance accuracy and efficiency. Furthermore, large language models suffer from high inference costs and significant latency in real-time fault diagnosis, making them difficult to apply directly.

Method used

We employ a knowledge distillation approach based on a large language model. By constructing a knowledge distillation architecture for student and teacher models and training it with multimodal data, we utilize graph neural networks for fault root cause localization, including a multimodal graph encoder and a root cause locator. We adopt progressive training and hard sample selection strategies to reduce training costs and improve accuracy.

Benefits of technology

While ensuring lightweight models and fast inference speed, the accuracy and efficiency of microservice fault root cause localization have been improved, achieving high-precision and efficient automated root cause localization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122044942B_ABST
    Figure CN122044942B_ABST
Patent Text Reader

Abstract

本发明属于软件服务领域,具体涉及一种基于大语言模型知识蒸馏的微服务系统根因定位方法。该方法包括对微服务系统监控采集的多模态数据进行预处理,以提取原始节点特征和系统行为图。将包含原始节点特征的系统行为图作为样本并添加真实根因标签,进而构建样本数据集。利用不同模态的图编码分支和根因定位器构建学生模型,并以大语言模型为教师模型构成基于知识蒸馏的训练框架。采用包含硬标签交叉熵损失、软标签蒸馏损失与特征对齐损失的联合损失函数,对学生模型进行渐进式训练。保留训练后的模型参数,将采集到的多模态原始数据预处理后输入到学生模型以实现根因定位。本发明解决了现有微服务故障根因定位方法难以兼顾精度和效率的问题。
Need to check novelty before this filing date? Find Prior Art