Skip to main content
QUICK REVIEW

[Paper Review] Human in the AI loop via xAI and Active Learning for Visual Inspection

Jože M. Rožanec, Elias Montini|arXiv (Cornell University)|Jul 3, 2023
Industrial Vision Systems and Defect DetectionEngineering3 citations
TL;DR

This paper proposes an AI-first human-in-the-loop framework for visual inspection in smart manufacturing, integrating active learning and explainable AI (XAI) to reduce labeling effort and enhance human-AI collaboration. By leveraging heatmaps, anomaly maps, and human digital twins, the system improves model interpretability and worker performance, with validated results from the EU H2020 STAR project demonstrating robustness against adversarial attacks and reduced human fatigue in inspection tasks.

ABSTRACT

Industrial revolutions have historically disrupted manufacturing by introducing automation into production. Increasing automation reshapes the role of the human worker. Advances in robotics and artificial intelligence open new frontiers of human-machine collaboration. Such collaboration can be realized considering two sub-fields of artificial intelligence: active learning and explainable artificial intelligence. Active learning aims to devise strategies that help obtain data that allows machine learning algorithms to learn better. On the other hand, explainable artificial intelligence aims to make the machine learning models intelligible to the human person. The present work first describes Industry 5.0, human-machine collaboration, and state-of-the-art regarding quality inspection, emphasizing visual inspection. Then it outlines how human-machine collaboration could be realized and enhanced in visual inspection. Finally, some of the results obtained in the EU H2020 STAR project regarding visual inspection are shared, considering artificial intelligence, human digital twins, and cybersecurity.

Motivation & Objective

  • To address the gap in systematic human-in-the-loop frameworks for industrial visual inspection by integrating active learning and XAI.
  • To reduce human labeling effort in visual inspection through few-shot learning and active learning strategies.
  • To enhance human-AI collaboration by aligning machine explanations (e.g., heatmaps, anomaly maps) with human perception and cognitive load.
  • To improve trust and accountability in AI-driven quality control through explainable AI and human digital twin monitoring.
  • To strengthen system resilience by evaluating adversarial robustness and implementing adversarial training in visual inspection pipelines.

Proposed method

  • Employs active learning to select the most informative samples for human annotation, minimizing labeling effort while maximizing model performance.
  • Uses XAI techniques such as class activation mapping (CAM) and anomaly detection maps to generate visual explanations for model predictions.
  • Integrates human digital twins (HDT) to monitor human fatigue and mental stress using AI models trained on physiological and behavioral features.
  • Applies adversarial training to enhance model robustness against adversarial attacks in visual inspection systems.
  • Develops predictive models to adapt XAI outputs (e.g., heatmaps) over time based on human perception and feedback dynamics.
  • Combines unsupervised anomaly detection with XAI to support data labeling and manual revision in low-data regimes.

Experimental results

Research questions

  • RQ1How can active learning and XAI be jointly designed to reduce labeling effort in industrial visual inspection?
  • RQ2To what extent do XAI-generated heatmaps and anomaly maps improve human perception and decision-making in defect detection?
  • RQ3How can human digital twins be used to monitor and adapt to human fatigue during prolonged visual inspection tasks?
  • RQ4What are the most effective defenses against adversarial attacks in industrial visual inspection systems?
  • RQ5How can the alignment between AI explanations and human cognitive processes be optimized to build trust in human-AI collaboration?

Key findings

  • Active learning significantly reduces the number of required human-labeled samples by prioritizing ambiguous or high-uncertainty instances for annotation.
  • XAI-generated heatmaps and anomaly maps improve human understanding of model predictions and support more accurate manual inspection decisions.
  • Human digital twin models trained on behavioral and physiological data successfully detect signs of fatigue and mental stress, enabling real-time workload adaptation.
  • Adversarial training proved robust against diverse adversarial attack methods, outperforming off-the-shelf defenses in maintaining model accuracy under attack.
  • The integration of XAI and active learning reduces labeling workload while maintaining or improving model performance in defect detection tasks.
  • Predictive adaptation of XAI outputs over time enhances alignment with human perception, reducing cognitive load and improving collaboration efficiency.

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.