SDVDiag: Using Context-Aware Causality Mining for the Diagnosis of Connected Vehicle Functions
Authors: Matthias Weiß, Falk Dettinger, Elias Detrois, Nasser Jazdi, Michael Weyrich
Organizations: Institute of Industrial Automation and Software Engineering (IAS), University of Stuttgart, Pfaffenwaldring 47, 70550 Stuttgart, Germany
Real-world implementations of connected vehicle functions are spreading steadily, yet operating these functions reliably remains challenging due to their distributed nature and the complexity of the underlying cloud, edge, and networking infrastructure. Quick diagnosis of problems and understanding the error chains that lead to failures is essential for reducing downtime. However, diagnosing these systems is still largely performed manually, as automated analysis techniques are predominantly data-driven and struggle with hidden relationships and the integration of context information. This paper addresses this gap by introducing a multimodal approach that integrates human feedback and system-specific information into the causal analysis process. Reinforcement Learning from Human Feedback is employed to continuously train a causality mining model while incorporating expert knowledge. Additional modules leverage distributed tracing data to prune false-positive causal links and enable the injection of domain-specific relationships to further refine the causal graph.Evaluation is performed using an automated valet parking application operated in a connected vehicle test field. Results demonstrate a significant increase in precision from 14% to 100% for the detection of causal edges and improved system interpretability compared to purely data-driven approaches, highlighting the potential for system operators in the connected vehicle domain.
Figures & tables
Fig. 1 : Overview of the continuous analysis pipeline.
Fig. 2 : Automated Valet Parking application overview.
Fig. 3 : Causal Graph (a) before and (b) after the refinement via context.
Graph Version
Edges
Precision
Recall
F1
Ground Truth (expected)
19
–
–
–
Raw (Base Policy)
137
14%
100%
24%
Feedback-adjusted
49
32%
84%
47%
Pruned (final)
16
100%
84%
91%
TABLE I : Comparison of graph versions against ground truth.
Fig. 4 : Resulting root-cause analysis for the given error scenario.
Fault diagnosis identifies, localizes, and explains failures in engineered and computational systems using sensor data, logs, models, and domain knowledge.