journal article·2025-08-28Open access

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

Saman Marandi, Yu-Shu Hu, Mohammad Modarres

Applied Sciences· Volume 15· Issue 17

Abstract

This paper presents a hybrid diagnostic framework that integrates Knowledge Graphs (KGs) with Large Language Models (LLMs) to support fault diagnosis in complex, high-reliability systems such as nuclear power plants. The framework is based on the Dynamic Master Logic (DML) model, which organizes system functions, components, and dependencies into a hierarchical KG for logic-based reasoning. LLMs act as high-level facilitators by automating the extraction of DML logic from unstructured technical documentation, linking functional models with language-based reasoning, and interpreting user queries in natural language. For diagnostic queries, the LLM agent selects and invokes predefined tools that perform upward or downward propagation in the KG using DML logic, while explanatory queries retrieve and contextualize relevant KG segments to generate user-friendly interpretations. This ensures that reasoning remains transparent and grounded in the system structure. This approach reduces the manual effort needed to construct functional models and enables natural language queries to deliver diagnostic insights. In a case study on an auxiliary feedwater system used in the nuclear pressurized water reactors, the framework achieved over 90 percent accuracy in model element extraction and consistently interpreted both diagnostic and explanatory queries. The results validate the effectiveness of LLMs in automating model construction and delivering explainable AI-assisted health monitoring.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Data Processing Techniques · Risk and Safety Analysis · Software System Performance and Reliability

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Center for Risk and Reliability, A.J. Clark School of Engineering, University of Maryland, College Park, MD 20742, USA

DML Inc., Zhubei, Hsinchu 30274, Taiwan

References (40)

Show source-provided references
1. Function Modeling Using the System State Flow Diagram10.1017/S0890060417000294 ↗
2. Modarres, M., Irehvije, R., and Lind, M. (1995, January 25–29). A Comparison of Three Functional Modeling Methods. Proceedings of the Topical Meeting on Computer-Based Human Support Systems: Technology, Methods, and Future, Philadelphia, PA, USA.
3. Time-Dependent System Knowledge Representation Based on Dynamic Master Logic Diagrams10.1016/0967-0661(95)00211-5 ↗
4. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2023). Attention Is All You Need. arXiv.
5. Wolf, Y., Wies, N., Avnery, O., Levine, Y., and Shashua, A. (2023). Fundamental Limitations of Alignment in Large Language Models. arXiv.
6. Ji, Z., Lee, N., Frieske, R., Yu, T., Su, D., Xu, Y., Ishii, E., Bang, Y., Chen, D., and Dai, W. (2022). Survey of Hallucination in Natural Language Generation. arXiv.10.1145/3571730 ↗
7. Hogan, A., Blomqvist, E., Cochez, M., d’Amato, C., de Melo, G., Gutierrez, C., Gayo, J.E.L., Kirrane, S., Neumaier, S., and Polleres, A. (2020). Knowledge Graphs. arXiv.10.1145/3447772 ↗
8. Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., and Wu, X. (2023). Unifying Large Language Models and Knowledge Graphs: A Roadmap. arXiv.
9. Kau, A., He, X., Nambissan, A., Astudillo, A., Yin, H., and Aryani, A. (2024). Combining Knowledge Graphs and Large Language Models. arXiv.10.59350/mk9dg-4r198 ↗
10. Ericson, C.A. (2016). Hazard Analysis Techniques for System Safety, Wiley. [2nd ed.].
11. Stamatelatos, M., and Vesely, W.E. (2002). Fault Tree Handbook with Aerospace Applications.
12. Pan, K., Liu, H., Gou, X., Huang, R., Ye, D., Wang, H., Glowacz, A., and Kong, J. (2022). Towards a Systematic Description of Fault Tree Analysis Studies Using Informetric Mapping. Sustainability, 14.10.3390/su141811430 ↗
13. The Application of Event Tree Analysis in a Work Accident at Maintenance Operations10.1051/matecconf/201712111013 ↗
14. Event-Tree Analysis Using Binary Decision Diagrams10.1109/24.877343 ↗
15. A New Risk Assessment Method Based on Belief Rule Base and Fault Tree Analysis
16. Complex System Reliability Modelling with Dynamic Object-Oriented Bayesian Networks (DOOBN)10.1016/j.ress.2005.03.006 ↗
17. Application of Goal Tree-Success Tree Model as the Knowledge-Base of Operator Advisory Systems10.1016/0029-5493(87)90304-9 ↗
18. Wu, J., Zhang, X., Song, M., and Lind, M. (2023, January 3–8). Challenges in Functional Modelling for Safety and Risk Analysis. Proceedings of the 33rd European Safety and Reliability Conference, Southampton, UK.10.3850/978-981-18-8071-1_P132-cd ↗
19. Evaluating System Behavior through Dynamic Master Logic Diagram (DMLD) Modeling10.1016/S0951-8320(98)00066-0 ↗
20. Function-Centered Modeling of Engineering Systems Using the Goal Tree–Success Tree Technique and Functional Primitives10.1016/S0951-8320(98)00062-3 ↗
21. Logic-Based Hierarchies for Modeling Behavior of Complex Dynamic Systems with Applications10.1007/978-3-7908-1866-6_17 ↗
22. Modarres, M. (1999). Functional Modeling of Complex Systems with Applications. Annual Reliability and Maintainability Symposium 1999 Proceedings, IEEE.10.1109/RAMS.1999.744153 ↗
23. Reliability Assessment of Generic Geared Wind Turbines by GTST-MLD Model and Monte Carlo Simulation10.1016/j.renene.2015.04.035 ↗
24. A Sequential Decision Problem Formulation and Deep Reinforcement Learning Solution of the Optimization of O&M of Cyber-Physical Energy Systems (CPESs) for Reliable and Safe Power Production and Supply10.1016/j.ress.2023.109231 ↗
25. Maio, F.D. (2019, January 22–26). Simulation-Based Goal Tree Success Tree for the Risk Analysis of Cyber-Physical Systems. Proceedings of the 29th European Safety and Reliability Conference, Hannover, Germany.
26. Extended GTST-MLD for Aerospace System Safety Analysis10.1111/j.1539-6924.2011.01718.x ↗
27. Modarres, M., and Kececi, N. (1998, January 13–18). Software Development Life Cycle Model to Ensure Software Quality. Proceedings of the International PSAM IV Conference, New York, NY, USA.
28. Covello, V.T., Lave, L.B., Moghissi, A., and Uppuluri, V.R.R. (1987). Integrated Economic Risk Management in a Nuclear Power Plant. Uncertainty in Risk Assessment, Risk Management, and Decision Making, Springer.10.1007/978-1-4684-5317-1 ↗
29. Dave, A.J., Nguyen, T.N., and Vilim, R.B. (2024). Integrating LLMs for Explainable Fault Diagnosis in Complex Systems. arXiv.
30. Qaid, H.A.A.M., Zhang, B., Li, D., Ng, S.-K., and Li, W. (2024). FD-LLM: Large Language Model for Fault Diagnosis of Machines. arXiv.10.2139/ssrn.5231028 ↗
31. Chen, J., Qian, J., Zhang, X., and Song, Z. (2024). Root-KGD: A Novel Framework for Root Cause Diagnosis Based on Knowledge Graph and Industrial Data. arXiv.10.2139/ssrn.4933706 ↗
32. An Automatic Machine Fault Identification Method Using the Knowledge Graph–Embedded Large Language Model10.1007/s00170-025-15555-2 ↗
33. Research on Knowledge Graph-Driven Equipment Fault Diagnosis Method for Intelligent Manufacturing10.1007/s00170-024-12998-x ↗
34. Joint Knowledge Graph and Large Language Model for Fault Diagnosis and Its Application in Aviation Assembly10.1109/TII.2024.3366977 ↗
35. Sun, T., Zeng, F., and Liu, X. (2024, January 1–5). A Fault Analysis and Reasoning Method for Vehicle Information Systems Based on Knowledge Graphs. Proceedings of the 2024 IEEE 24th International Conference on Software Quality, Reliability, and Security Companion (QRS-C), Cambridge, UK.10.1109/QRS-C63300.2024.00123 ↗
36. Xie, X., Wang, J., Han, Y., and Li, W. (2024). Knowledge Graph-Based In-Context Learning for Advanced Fault Diagnosis in Sensor Networks. Sensors, 24.10.3390/s24248086 ↗
37. (2025, March 03). Neo4j, Inc. Neo4j GitHub Repository. Available online: https://github.com/neo4j/neo4j.
38. Modarres, M., Kaminskiy, M., and Krivtsov, V. (2017). Reliability Engineering and Risk Analysis: A Practical Guide, CRC Press, Taylor & Francis Group. [3rd ed.].10.1201/9781315382425 ↗
39. Elfring, J., Torta, E., and Van De Molengraft, R. (2021). Particle Filters: A Hands-On Tutorial. Sensors, 21.10.3390/s21020438 ↗
40. Doucet, A., Freitas, N., and Gordon, N. (2001). Sequential Monte Carlo Methods in Practice, Springer.10.1007/978-1-4757-3437-9 ↗