arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.16280cs.AI
收藏

利用大型语言模型和知识图谱提升制造领域机器学习模型的可解释性

Using Large Language Models and Knowledge Graphs to Improve the Interpretability of Machine Learning Models in Manufacturing

University of Applied Sciences Ravensburg-Weingarten(拉文斯堡-魏宁根应用科学大学)

Thomas Bayer, Alexander Lohr, Sarah Weiß, Bernd Michelberger, Wolfram Höpken

AI总结:

本文提出利用知识图谱和大型语言模型提升制造领域机器学习模型的可解释性,通过结构化连接领域知识与模型洞察,生成用户友好的解释,实验证明其在实际制造环境中的有效性。

摘要:

解释机器学习(ML)结果的透明性和用户友好性仍然是可解释人工智能(XAI)中的挑战。本文提出一种方法,通过使用知识图谱(KG)来增强ML模型的可解释性。我们存储领域特定数据及其对应的ML结果和解释,建立领域知识与ML洞察之间的结构化连接。为了使这些洞察对用户可用,我们设计了一种选择性检索方法,从KG中提取相关三元组,并通过大型语言模型(LLM)处理以生成用户友好的ML结果解释。我们在制造环境中使用XAI问题库评估了我们的方法。除了标准问题外,我们引入了更多复杂、定制化的问题,以突出我们方法的优势。我们评估了33个问题,使用准确性和一致性等定量指标,以及清晰度和有用性等定性指标进行分析。我们的贡献是理论和实践的:从理论角度看,我们提出了一种新的方法,使LLM能够动态访问KG以提高ML结果的可解释性;从实践角度看,我们提供了实证证据,证明此类解释可以成功应用于实际制造环境,支持制造过程中的更好决策。

英文摘要:

Explaining Machine Learning (ML) results in a transparent and user-friendly manner remains a challenging task of Explainable Artificial Intelligence (XAI). In this paper, we present a method to enhance the interpretability of ML models by using a Knowledge Graph (KG). We store domain-specific data along with ML results and their corresponding explanations, establishing a structured connection between domain knowledge and ML insights. To make these insights accessible to users, we designed a selective retrieval method in which relevant triplets are extracted from the KG and processed by a Large Language Model (LLM) to generate user-friendly explanations of ML results. We evaluated our method in a manufacturing environment using the XAI Question Bank. Beyond standard questions, we introduce more complex, tailored questions that highlight the strengths of our approach. We evaluated 33 questions, analyzing responses using quantitative metrics such as accuracy and consistency, as well as qualitative ones such as clarity and usefulness. Our contribution is both theoretical and practical: from a theoretical perspective, we present a novel approach for effectively enabling LLMs to dynamically access a KG in order to improve the explainability of ML results. From a practical perspective, we provide empirical evidence showing that such explanations can be successfully applied in real-world manufacturing environments, supporting better decision-making in manufacturing processes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑