Search papers, labs, and topics across Lattice.
This paper introduces a knowledge-graph-guided retrieval-augmented large language model (RAG-LLM) framework designed to enhance root cause analysis (RCA) in automotive hardware-in-the-loop (HiL) validation by converting raw multivariate time-series data into compact diagnostic evidence. By incorporating spatial and functional relationships through a knowledge graph, the framework retrieves historical cases to inform fault localization and provides interpretable explanations alongside ranked predictions. The method achieved remarkable Top-1 accuracies of 90% and 94% in two automotive case studies, demonstrating its effectiveness in producing explainable RCA while maintaining generalizability across different systems and conditions.
Achieving 90% accuracy in fault localization while providing interpretable explanations could revolutionize root cause analysis in automotive systems.
Hardware-in-the-Loop validation of automotive software systems generates large multivariate time-series recordings whose manual analysis is time-consuming and often limited to anomaly detection and fault classification rather than root-cause analysis. Although deep learning methods have shown strong performance in fault detection and classification, they usually require task-specific training or retraining when new fault locations, systems, or operating conditions are introduced. They also tend to treat localization as a classification task, without explicitly representing the spatial and functional relationships between fault locations, sensors, and downstream subsystem effects. This limits their generalizability and their usefulness for engineering root cause analysis and diagnosis. This paper proposes a knowledge-graph-guided retrieval-augmented large language model framework for RCA (root cause analysis) and fault localization in automotive HiL data. The method converts raw time-series recordings into compact diagnostic evidence, enriches this evidence with sensor-to-location and propagation knowledge, and retrieves similar historical cases to support the final reasoning step. The LLM is then used as a decision and explanation layer rather than as a direct time-series classifier, producing a ranked fault-location prediction together with an interpretable RCA explanation. The framework is evaluated on two automotive HiL case studies: an ASM gasoline engine and an electric vehicle system. The best-performing model achieves Top-1 accuracies of 90\% and 94\%, respectively, while recording-level aggregation reaches perfect file-level fault localization in the evaluated subset. These results demonstrate the potential of KG-guided RAG-LLM reasoning for explainable and generalizable HiL RCA.