Digital Repository at the University of Maryland
Integrating Large Language Models and Dynamic Master Logic for Knowledge System Graph-Based Modeling and Fault Diagnosis
Abstract
dc:description.abstractFault detection and diagnosis are essential for maintaining the reliability and safety of complex engineering systems, particularly in safety-critical domains such as nuclear power. Dynamic Master Logic (DML) is one functional modeling framework that provides a structured way to represent how system objectives, functions, and components interact, making it well suited for analyzing fault propagation and supporting diagnostic reasoning. However, constructing these models is labor-intensive and typically requires expert interpretation of large volumes of technical documentation, limiting their scalability in practice. This dissertation develops a hybrid framework integrating DML, Knowledge Graph (KG) representations, and Large Language Models (LLMs). Dynamic Master Logic models are represented as KGs, enabling explicit representation of system structure and dependencies. An LLM agent queries the model through natural language, while predefined tools perform upward and downward propagation through the functional hierarchy. To support scalable model construction, a retrieval-augmented, layer-by-layer extraction workflow is developed to derive functional relationships directly from engineering documentation. An evaluation framework is introduced that combines element-level precision and recall, gate level consistency checks, and an aggregate integrity score that captures structural completeness and dependency preservation. Evaluated on two nuclear power plant subsystems, the approach achieved over 90% extraction accuracy across element types and a peak integrity score of 90.38, with performance remaining stable across construction configurations. The interaction layer correctly interpreted and executed diagnostic queries with above 96% accuracy across task types. The framework also addresses relationships that cannot be resolved through predefined gate logic. A hybrid architecture is introduced in which LLMs are embedded within the DML model as constrained smart gates, selectively invoked to infer indeterminate node states and relationships from unstructured evidence such as maintenance logs and engineering reports, while preserving causal traceability. This architecture demonstrates that LLMs can function as active reasoning participants within a structured symbolic framework rather than as standalone systems, illustrating a principled division of labor between statistical and symbolic AI components. Overall, this work demonstrates that symbolic functional modeling frameworks can serve as governing structures within which LLM-informed reasoning is embedded and constrained, advancing the case for AI assisted construction, maintenance, and diagnostic interaction with functional system models in safety-critical engineering domains.
Degree
thesis:*- Department dc:contributor.department
- Reliability Engineering
- Grantor dc:publisher
- Digital Repository at the University of Maryland
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Marandi, Saman
- Advisor dc:contributor.advisor
-
- Modarres, Mohammad
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier
- https://doi.org/10.13016/u40t-oxjt