A Knowledge-Driven LLM-Based Decision-Support System for Explainable Defect Analysis and Mitigation Guidance in Laser Powder Bed Fusion

arXiv cs.AI / 5/5/2026

📰 NewsDeveloper Stack & InfrastructureIdeas & Deep AnalysisModels & Research

Key Points

  • The paper proposes a knowledge-driven decision-support system that combines structured defect knowledge with an LLM to deliver explainable diagnosis and mitigation guidance for laser powder bed fusion (LPBF) defects.
  • It builds a domain knowledge base of 27 LPBF defect types, organized into hierarchical categories with causal relationships, and uses it to support fuzzy natural-language queries and literature-grounded explanations.
  • An additional multimodal module leverages foundation-model-based image assessment to interpret representative microscopic defect images, using semantic alignment scoring and descriptor-guided understanding.
  • Evaluation on a literature-derived dataset shows the fully integrated system outperforms alternative configurations, reaching a macro-average F1 score of 0.808, with substantial inter-rater agreement (Cohen’s kappa) versus reference labels.
  • The authors conclude that ontology-guided knowledge representation can improve the consistency, interpretability, and practical usefulness of LLM-assisted defect analysis in safety-critical manufacturing contexts.

Abstract

This work presents a knowledge-driven decision-support system that integrates structured defect knowledge with LLM-based reasoning to provide explainable defect diagnosis and mitigation guidance in manufacturing, using LPBF as a representative, safety-critical case study. The proposed ontology-integrated LLM-based decision support system for LPBF defect analysis and mitigation guidance is built on a knowledge base containing 27 known LPBF defect types organized into hierarchical categories and causal relationships. The developed system supports fuzzy natural language queries for systematic knowledge retrieval, literature-supported explanation of defects, and guidance on defect causes and mitigation strategies derived from encoded process knowledge. Furthermore, a multimodal image-assessment module based on foundation models enables descriptor-guided interpretation of representative microscopic defect images through semantic alignment scoring. The proposed framework was evaluated through qualitative comparisons with general-purpose vision-language models, an ablation study, and an inter-rater reliability analysis. Evaluation on the literature-derived dataset showed that the fully integrated configuration outperformed the other three evaluated system configurations, achieving a macro-average F1 score of 0.808. Additionally, inter-rater reliability analysis using Cohen's kappa indicated substantial agreement between the model outputs and the literature-derived reference labels. These findings suggest that ontology-guided knowledge representation can improve the consistency, interpretability, and practical usefulness of LLM-assisted LPBF defect analysis.