Skip to main content
QUICK REVIEW

[Paper Review] Knowledge graph enhanced retrieval-augmented generation for failure mode and effects analysis

Lukas Bahr, Christoph Wehner|arXiv (Cornell University)|Jun 26, 2024
Advanced Decision-Making TechniquesComputer Science3 citations
TL;DR

This paper proposes a knowledge graph-enhanced retrieval-augmented generation (KG RAG) framework to improve failure mode and effects analysis (FMEA) by integrating a domain-specific FMEA ontology, vector embeddings from a knowledge graph, and LLM-based reasoning. The approach significantly enhances retrieval precision and recall for factual, analytical FMEA queries—particularly for numerical risk data—over traditional tabular or standard RAG methods.

ABSTRACT

Failure mode and effects analysis (FMEA) is an essential tool for mitigating potential failures, particularly during the ramp-up phases of new products. However, its effectiveness is often limited by the reasoning capabilities of the FMEA tools, which are usually tabular structured. Meanwhile, large language models (LLMs) offer novel prospects for advanced natural language processing tasks. However, LLMs face challenges in tasks that require factual knowledge, a gap that retrieval-augmented generation (RAG) approaches aim to fill. RAG retrieves information from a non-parametric data store and uses a language model to generate responses. Building on this concept, we propose to enhance the non-parametric data store with a knowledge graph (KG). By integrating a KG into the RAG framework, we aim to leverage analytical and semantic question-answering capabilities for FMEA data. This paper contributes by presenting set-theoretic standardization and a schema for FMEA data, an algorithm for creating vector embeddings from the FMEA-KG, and a KG-enhanced RAG framework. Our approach is validated through a user experience design study, and we measure the precision and performance of the context retrieval recall.

Motivation & Objective

  • To address the limitations of tabular FMEA tools, which lack reasoning and analytical capabilities, especially for complex, multi-stakeholder production environments.
  • To overcome LLMs' factual knowledge gaps in risk assessment by integrating retrieval-augmented generation (RAG) with knowledge graphs (KGs).
  • To enable analytical question-answering on FMEA data, such as identifying failure modes with the highest risk priority number, by leveraging symbolic structure and graph queries.
  • To improve context retrieval performance for numerical and semantic FMEA queries through a hybrid vector and graph-based retrieval mechanism.
  • To validate the framework’s usability and effectiveness via a human study focusing on retrieval recall, precision, and user-friendliness.

Proposed method

  • Design a novel, multi-label property knowledge graph (FMEA-KG) using a custom ontology to model FMEA observations, including failure modes, causes, effects, and risk scores.
  • Develop an algorithm to traverse the FMEA-KG and generate contextually rich vector embeddings for retrieval, preserving semantic and numerical relationships.
  • Integrate the KG into a RAG framework by combining vector similarity search with SPARQL-like graph queries to retrieve both semantic and analytical context.
  • Implement a chatbot interface that visualizes retrieved contexts and allows users to explore FMEA data through natural language queries.
  • Use a hybrid retrieval strategy: vector search for semantic similarity and graph query for analytical reasoning (e.g., 'find all failures with S > 5').
  • Conduct a human evaluation study with domain experts to assess retrieval performance (recall, precision) and user experience.
Figure 1: Screen capture of the FMEA chatbot. The user interface is kept simple. Clicking on context reveals the information retrieved from the FMEA-KG.
Figure 1: Screen capture of the FMEA chatbot. The user interface is kept simple. Clicking on context reveals the information retrieved from the FMEA-KG.

Experimental results

Research questions

  • RQ1Can a KG-enhanced RAG framework improve the retrieval of factual and analytical FMEA information compared to standard RAG or tabular FMEA?
  • RQ2How effective is the integration of symbolic graph queries with vector-based retrieval in handling numerical risk data (e.g., S, O, D scores)?
  • RQ3To what extent does the KG RAG framework improve user understanding and confidence in FMEA data interpretation?
  • RQ4How does the framework perform in retrieving complex, multi-fact queries involving risk prioritization or pattern generalization?
  • RQ5What is the impact of the KG on reducing hallucinations and improving factual consistency in LLM-generated responses?

Key findings

  • The KG RAG framework achieved significantly higher context recall and precision than standard RAG, particularly for analytical queries involving numerical risk scores.
  • In the human study, the KG RAG system correctly retrieved 14 failures with an S score over 5, while the base RAG model incorrectly reported only one such failure.
  • The integration of graph queries with vector search enabled reliable analytical reasoning, such as identifying high-risk failure modes based on composite risk scores.
  • Users reported improved confidence and usability due to the visualization of retrieved contexts and the ability to explore FMEA data through natural language.
  • The framework demonstrated reduced hallucination rates and better factual grounding by leveraging symbolic knowledge from the KG.
  • Experts noted that the chatbot interface could accelerate decision-making on the shop floor and improve cross-functional collaboration in risk mitigation.
Figure 2: Overview of the proposed ontology for the FMEA stating the literals and relations of the entities. The grey entities ( $n_{1}-n_{5}$ ) depict the information chunk that gets embedded as VectorEmbedding node.
Figure 2: Overview of the proposed ontology for the FMEA stating the literals and relations of the entities. The grey entities ( $n_{1}-n_{5}$ ) depict the information chunk that gets embedded as VectorEmbedding node.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.