Constructing Dynamic Master Logic Models as Knowledge Graphs for Complex System Diagnostics Using Retrieval-Augmented Large Language Models

2026-08-12Artificial Intelligence

Artificial Intelligence
AI summary

The authors developed a way to automatically build detailed system behavior models called Dynamic Master Logic (DML) from technical descriptions, using advanced language models and information retrieval techniques. Their method organizes system functions and components into a Knowledge Graph, helping diagnose issues and understand how failures spread through the system. They tested this approach on a large and complex nuclear reactor cooling system, showing it could reliably reconstruct the model multiple times. This work helps turn dense technical documents into useful, computer-friendly models for safety and reliability analysis.

Dynamic Master Logic (DML)Knowledge GraphRetrieval-Augmented GenerationLarge Language ModelsDiagnostic ReasoningSafety AssessmentFailure PropagationBoiling Water ReactorSystem Modeling
Authors
Saman Marandi, Yu-Shu Hu, Mohammad Modarres
Abstract
Dynamic Master Logic (DML) provides a hierarchical framework for representing system behavior by linking functional objectives to underlying structural elements. However, DML construction typically relies on expert interpretation of technical documentation, limiting scalability for complex systems. This study presents a framework for automated construction of DML models from system descriptions and their representation as Knowledge Graphs (KG-DML), using Retrieval-Augmented Generation and Large Language Models as enabling tools. Building on prior work with small-scale systems, the framework extends automated KG-DML construction and evaluation to substantially larger and more complex systems. Model construction proceeds across the DML hierarchy using targeted retrieval while preserving functional dependencies and explicit logical relationships. The resulting KG-DML supports diagnostic reasoning, safety assessment, upward failure propagation, and downward dependency tracing. A multi-level validation methodology evaluates layer-specific precision and recall, logical gate consistency, and overall structural integrity. Application to the Low-Pressure Coolant Injection system of a decommissioned Boiling Water Reactor demonstrates consistent reconstruction across repeated runs. The results show that automated KG-DML construction can transform technical documentation into executable functional models for diagnostic and reliability analysis.