基于LLM和GraphRAG的柴油发电机故障维保知识推理方法OA
A Knowledge Reasoning Method for Diesel Generator Fault Maintenance Based on LLM and GraphRAG
为提升柴油发电机故障诊断知识推理性能,基于大语言模型(LLM)与知识图谱增强型检索生成技术,提出了一种柴油发电机故障维保知识推理方法.研究数据取自于企业柴油发电机故障维保档案,通过LLM进行语义标准化处理,形成覆盖故障系统、故障类型、故障原因、解决对策的本体知识图谱.具体地,通过CRISPE框架提示工程驱使LLM实现实体与关系的自动抽取,构建结构化故障诊断知识图谱并集成图数据库.融合语义嵌入技术与图谱推理机制,构建知识索引网络,支持自然语言问答、故障逻辑溯源与专业维修指导等功能.实验结果表明,该方法的整体回答准确率达94%,且对核心问题的回答准确率均超过 90%.该方法在故障归因精准度、解决方法专业性及复杂故障场景适配性等方面显著优于传统RAG,以及ChatGPT-4o、DeepSeek等通用LLM,具备更高的领域适应性与推理能力.
To enhance the knowledge reasoning performance of diesel generator fault diagnosis,a fault maintenance knowledge reasoning method is proposed based on Large Language Models(LLM)and knowledge graph-enhanced Retrieval-Augmented Generation technology.The research data is extracted from enterprise diesel generator fault maintenance records,processed through LLM for semantic standardization to form an ontological knowledge graph covering fault systems,fault types,fault causes,and solution strategies.Specifically,the CRISPE framework prompt engineering is employed to drive the LLM to automatically extract entities and relationships,thereby build-ing a structured fault diagnosis knowledge graph thet is subsequently integrated into the graph database.By integra-ting semantic embedding technology with graph reasoning mechanisms,a knowledge indexing network is constructed to support functionalities such as natural language Q&A,fault logic tracing,and professional maintenance guid-ance.Experimental results demonstrate that the method achieves an overall answer accuracy rate of 94%,with accuracy rates exceeding 90%for core question types.This indicates that the method significantly outperforms tradi-tional RAG,as well as general LLM such as ChatGPT-4o and DeepSeek in terms of fault attribution precision,solu-tion professionalism,and adaptability to complex fault scenarios,exhibiting higher domain adaptability and reasoning capabilities.
何焱;雷思凡;郭梁柱;杨光富;牛炼
四川长宁天然气开发有限责任公司,四川 宜宾 610000四川长宁天然气开发有限责任公司,四川 宜宾 610000中国石油西南油气田分公司 蜀南气矿长宁页岩气运维项目部,四川 泸州 646000中国石油西南油气田分公司 蜀南气矿长宁页岩气运维项目部,四川 泸州 646000中国石油西南油气田分公司 蜀南气矿长宁页岩气运维项目部,四川 泸州 646000
信息技术与安全科学
大语言模型GraphRAG技术知识图谱故障诊断
large language modelGraphRAG technologyknowledge Graphfault diagnosis
《重庆科技大学学报(自然科学版)》 2026 (1)
90-99,10
四川长宁天然气开发有限责任公司科学研究与技术开发项目"场站应急电源远程启动的研究"(2025D716)
评论