It’s late, the coffee is cold, and somewhere on a factory floor, a welding robot is producing scrap instead of parts. The manual says to change the electrodes. The technician does it. The robot still produces scrap. Now what?
This is the "ghost in the machine" problem of modern manufacturing. In a world of interconnected Industry 4.0 hardware, troubleshooting isn't just about reading a manual; it’s about following a trail of breadcrumbs across mechanical, electrical, and software domains.
A new paper from researchers at Bosch and several German universities introduces SuSi-RAG, a system designed to give AI the "expert intuition" needed to solve these puzzles.
TL;DR
Standard AI chatbots (using "Vector RAG") often fail at complex troubleshooting because they look for similar words rather than logical connections. SuSi-RAG solves this by combining Large Language Models with Knowledge Graphs, allowing the AI to follow causal chains—like tracing a "welding scrap" issue back to a faulty cylinder—with a staggering 96% accuracy in real-world production.
What Problem Does This Paper Address?
When an engineer asks a typical AI assistant for help, the system usually uses Retrieval-Augmented Generation (RAG). It turns the question into a mathematical vector (a list of numbers) and looks for documents with similar vectors.
However, as shown in Figure 1, maintenance has two "boss level" challenges that break standard RAG:
- Complex Causal Chains (C1): A failure in Station A might be caused by a sensor in Station B that tripped a logic gate in the controller. Vector search is "flat"; it struggles to hop through these logical steps.
- Cross-Domain Synthesis (C2): Solving a problem often requires mixing data from mechanical manuals, error code databases, and process logs.
If you ask a standard RAG system about welding scrap, it might just keep telling you how to change electrodes because those words appear together often, even if you've already told the system that step failed.
Methods
The authors propose a Hybrid Graph RAG architecture. Instead of just searching for similar text, SuSi-RAG treats maintenance knowledge as a web of interconnected entities.
The "SuSi" stands for Subgraph Similarity. Here’s the high-level workflow:
- Query Decomposition: When a user asks a question, an LLM breaks it down into a "maintenance subgraph"—identifying the specific station, the phenomenon (e.g., "axis stopped"), and the error code.
- The Doc-Matcher: This is the heart of the system. It compares the user’s mini-graph to thousands of "maintenance event" graphs in a Knowledge Graph (KG). It uses expert-weighted scoring: an exact match on a rare "Error Code" is weighted much more heavily than a match on a generic "Station Name."
- Hybrid Re-Ranking: The system doesn't ditch vector search entirely. It uses Reciprocal Rank Fusion (RRF) to blend three signals: the graph similarity, traditional keyword search (BM25), and vector embeddings.
- The Feedback Loop: If the AI gives a bad answer, users can flag it as a "Knowledge Gap." This triggers a manual update to the Knowledge Graph, ensuring the system learns from its mistakes.
The full architecture, from document ingestion to the final answer, is detailed in Figure 2.
Datasets
The researchers evaluated SuSi-RAG using two primary sources:
- PoC Dataset: A curated set of 26 complex maintenance queries verified by human experts, covering diverse faults like sensor failures and software glitches.
- In-Use Production Data: The system was deployed on an active Bosch production line for eight months, handling 10,664 real-world interactions across 8,034 individual sessions.
- Ontology: They utilized the MMO (Maintenance Management Ontology), which defines how machines, components, and error codes relate to one another (see Figure 4).
Key Insights and Ideas
- Structure Trumps Semantics: In specialized domains like engineering, the relationship between entities (e.g., "Component X causes Error Y") is more informative than the linguistic similarity of the words used to describe them.
- The Penalty for "Partial Credit": The authors introduced a "penalty factor" for documents that only partially match a query. This prevents the system from hallucinating a solution just because one or two keywords matched.
- From Static to Evolving: By monitoring "Error Mapping Issues" (shown in the dashboard in Figure 6), the system transforms the Knowledge Graph from a static database into a "living" ecosystem that prioritizes new data based on what engineers are actually asking about.
Key Results
The jump in performance from a standard RAG baseline to SuSi-RAG is significant:
- Retrieval Accuracy: Top-1 retrieval accuracy (finding the right document on the first try) jumped from 61.5% to 96.2%.
- Answer Quality: Expert-rated correctness nearly doubled, rising from 44.9% to 84.1%.
- Real-World Reliability: In the eight-month production deployment, the system maintained an upper-bound accuracy of 96.25%, with a confirmed error rate of only 3.75%.
Limitations and Future Work
While the results are impressive, the authors note a few hurdles:
- The "Small N" Problem: The gold-standard evaluation was done on only 26 queries because expert-labeled data is incredibly expensive and time-consuming to produce.
- Proprietary Constraints: Because the data belongs to Bosch, the full dataset and code cannot be released publicly, which limits direct reproducibility by outside researchers.
- The Vision Gap: Currently, the system is text-and-graph based. The authors want to move toward multi-modal RAG, allowing the AI to "see" and interpret technical drawings or photos of broken parts to further aid troubleshooting.
Summary updated