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.
Fault Detection and Diagnosis (FDD) in complex industrial systems requires methods that can handle uncertain operating conditions, soft thresholds, evolving sensor behavior, and increasing volumes of heterogeneous data. Traditional model-based or rule-driven approaches offer interpretability but lack adaptability, while purely data-driven and Large Language Model (LLM)-based methods often struggle with consistency, traceability, and causal grounding. Dynamic Master Logic (DML) provides a causal and temporal reasoning structure with fuzzy rules that capture gradual drift, soft limits, and asynchronous sensor signals while preserving traceability and deterministic evidence propagation. Building on this foundation, this paper presents a DML–LLM hybrid architecture that integrates targeted LLM inference to interpret unstructured information such as logs, notes, or retrieved documents under controlled prompts that maintain domain constraints. The combined system integrates Bayesian updating, deterministic routing, and semantic interpretation into a unified FDD pipeline. In a semiconductor manufacturing case study, the proposed framework reduced time to detection (TTD) from 7.4 h to 1.2 h and improved the F1 score from 0.59 to 0.83 when compared with conventional Statistical Process Control (SPC) and Fault Detection and Classification (FDC) workflows. Provenance completeness increased from 18% to 96%, while engineer triage time was reduced from 72 min to 18 min per event. These results demonstrate that the hybrid framework provides a scalable and explainable approach to anomaly detection and fault diagnosis in sensor-rich industrial environments.
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.
3 November 2026 in Process Safety and Environmental Protection