arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.21291cs.AI
收藏

利用知识图谱引导且大语言模型增强的框架进行复杂系统诊断

Complex System Diagnostics Using a Knowledge Graph-Informed and Large Language Model-Enhanced Framework

DML Inc.(DML公司)

Saman Marandi, Yu-Shu Hu, Mohammad Modarres

AI总结:

提出融合 DML 功能建模、KG-DML 知识图谱与 LLM 智能体的复杂系统诊断框架,通过外部结构化推理和 Graph-RAG 实现交互诊断,案例显示关键要素准确率超 90%。

摘要:

本文提出了一种新颖的诊断框架,该框架集成了知识图谱(KG)与大语言模型(LLM),以支持核电站等高可靠性系统的系统诊断。当系统变得过于复杂时,传统诊断建模会面临困难,这使得功能建模成为一种更具吸引力的方法。我们的方法引入了一个以 Dynamic Master Logic(DML)模型的功能建模原则为基础的诊断框架。该框架包含两个协同工作的 LLM 组件:一个是基于 LLM 的工作流,用于根据系统文档自动构建 DML 逻辑;另一个是 LLM 智能体,用于促进交互式诊断。生成的逻辑被编码到一个称为 KG-DML 的结构化知识图谱中,该图谱支持分层故障推理。专家知识或运行数据也可被纳入其中,以提高模型的精度和诊断深度。在交互阶段,用户提交自然语言查询,并由 LLM 智能体进行解释。该智能体为结构化推理选择合适的工具,包括在 KG-DML 上进行向上和向下传播。该 LLM 智能体并非将知识图谱内容嵌入每个提示中,而是区分诊断任务和解释任务。对于诊断,智能体选择并执行执行结构化 KG 推理的外部工具。对于一般查询,则采用基于图的检索增强生成(Graph-RAG)方法,检索相关 KG 片段并将其嵌入提示中,以生成自然的解释。一项针对辅助给水系统的案例研究证明了该框架的有效性,其在关键要素上的准确率超过 90%,并且工具和参数提取保持一致,从而支持其在安全关键诊断中的应用。

英文摘要:

In this paper, we present a novel diagnostic framework that integrates Knowledge Graphs (KGs) and Large Language Models (LLMs) to support system diagnostics in high-reliability systems such as nuclear power plants. Traditional diagnostic modeling struggles when systems become too complex, making functional modeling a more attractive approach. Our approach introduces a diagnostic framework grounded in the functional modeling principles of the Dynamic Master Logic (DML) model. It incorporates two coordinated LLM components, including an LLM-based workflow for automated construction of DML logic from system documentation and an LLM agent that facilitates interactive diagnostics. The generated logic is encoded into a structured KG, referred to as KG-DML, which supports hierarchical fault reasoning. Expert knowledge or operational data can also be incorporated to refine the model's precision and diagnostic depth. In the interaction phase, users submit natural language queries, which are interpreted by the LLM agent. The agent selects appropriate tools for structured reasoning, including upward and downward propagation across the KG-DML. Rather than embedding KG content into every prompt, the LLM agent distinguishes between diagnostic and interpretive tasks. For diagnostics, the agent selects and executes external tools that perform structured KG reasoning. For general queries, a Graph-based Retrieval-Augmented Generation (Graph-RAG) approach is used, retrieving relevant KG segments and embedding them into the prompt to generate natural explanations. A case study on an auxiliary feedwater system demonstrated the framework's effectiveness, with over 90% accuracy in key elements and consistent tool and argument extraction, supporting its use in safety-critical diagnostics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑