[Paper Review] An Interactive Explanatory AI System for Industrial Quality Control
This paper presents an interactive, human-in-the-loop AI system for industrial quality control that combines convolutional neural networks (CNNs) for defect detection with inductive logic programming (ILP) for explainable, verbalized reasoning. The system integrates user feedback to iteratively refine classifications and justifications, ensuring transparency, expert control, and improved decision accuracy through neural-symbolic integration.
Machine learning based image classification algorithms, such as deep neural network approaches, will be increasingly employed in critical settings such as quality control in industry, where transparency and comprehensibility of decisions are crucial. Therefore, we aim to extend the defect detection task towards an interactive human-in-the-loop approach that allows us to integrate rich background knowledge and the inference of complex relationships going beyond traditional purely data-driven approaches. We propose an approach for an interactive support system for classifications in an industrial quality control setting that combines the advantages of both (explainable) knowledge-driven and data-driven machine learning methods, in particular inductive logic programming and convolutional neural networks, with human expertise and control. The resulting system can assist domain experts with decisions, provide transparent explanations for results, and integrate feedback from users; thus reducing workload for humans while both respecting their expertise and without removing their agency or accountability.
Motivation & Objective
- To address the lack of transparency and explainability in purely data-driven deep learning models used in industrial quality control.
- To integrate human expertise and feedback into an AI system that supports, rather than replaces, domain experts in classifying defective components.
- To combine the pattern recognition power of deep learning with the interpretability of knowledge-based ILP for reliable, explainable defect classification.
- To develop a system that dynamically updates its knowledge based on user feedback, maintaining accountability and reducing human workload.
- To demonstrate a proof-of-concept of neural-symbolic integration in a real-world industrial defect detection scenario.
Proposed method
- A CNN is trained on 7,348 images of cast metal components with 86 manually annotated defect masks to detect and localize defects.
- Defects are segmented into connected components (superpixels), and geometric and spatial properties (e.g., size, location) are extracted for symbolic representation.
- Each image is converted into a set of Prolog Horn clauses, representing defect properties as predicates for input to the ILP system (Aleph).
- An ILP system trains on relabeled data (defective or acceptable) to generate a classification hypothesis expressed as logical rules.
- The system generates human-readable verbal explanations for classifications and justifications, which are presented to users alongside the image and mask.
- Users provide feedback on classification and individual justifications—accepting, rejecting, or modifying them—triggering incremental updates to the ILP model via retraining on augmented data.
Experimental results
Research questions
- RQ1Can a hybrid system combining deep learning and inductive logic programming improve transparency and explainability in industrial defect detection?
- RQ2How can human-in-the-loop feedback be effectively integrated into an AI system to refine both classification and justification logic?
- RQ3To what extent can ILP-based verbal explanations support domain experts in making accurate, accountable decisions in quality control?
- RQ4Can the system handle the 'right for the wrong reasons' scenario by using dummy examples to correct flawed justifications?
- RQ5How does the integration of visual and symbolic reasoning enhance decision quality and user trust in industrial AI applications?
Key findings
- The system successfully combines CNN-based defect detection with ILP-generated verbal explanations, enabling transparent and interpretable classification of industrial components.
- User feedback on both classification and individual justifications is effectively captured and used to update the ILP model, enabling incremental learning and refinement.
- The use of dummy examples allows the system to correct incorrect justifications (e.g., 'right for the wrong reasons') by discouraging the learning of flawed logical rules.
- The system maintains high usability and interactivity through a web-based interface that displays images, masks, classifications, and explanations with interactive feedback controls.
- The approach enables domain experts to retain agency and accountability while reducing cognitive load through AI-assisted, explainable decision support.
- The demonstrator, available via public GitLab repository, confirms the feasibility of neural-symbolic integration in real industrial quality control settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.