Next Article in Journal
Mitigating Microbiologically Influenced Corrosion of Iron Caused by Sulphate-Reducing Bacteria Using ZnO Nanoparticles
Previous Article in Journal
Heat Extraction Performance Evaluation of Horizontal Wells in Hydrothermal Reservoirs and Multivariate Sensitivity Analysis Based on the XGBoost-SHAP Algorithm
Previous Article in Special Issue
Design and Evaluation of LLDPE/Epoxy Composite Tiles with YOLOv8-Based Defect Detection for Flooring Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Explainable Few-Shot Anomaly Detection for Real-Time Automotive Quality Control

1
Department of Mechanical Engineering, North Carolina Agricultural and Technical State University, Greensboro, NC 27411, USA
2
Department of Computer Science, North Carolina Agricultural and Technical State University, Greensboro, NC 27411, USA
3
Department of Mechatronics Engineering, Faculty of Engineering, The Built Environment and Technology, Nelson Mandela University, Port Elizabeth 6000, South Africa
*
Authors to whom correspondence should be addressed.
Processes 2025, 13(10), 3238; https://doi.org/10.3390/pr13103238 (registering DOI)
Submission received: 1 September 2025 / Revised: 20 September 2025 / Accepted: 9 October 2025 / Published: 11 October 2025

Abstract

Automotive manufacturing quality control faces persistent challenges such as limited defect samples, cross-domain variability, and the demand for interpretable decision-making. This work presents an explainable few-shot anomaly detection framework that integrates EfficientNet-based feature extraction, adaptive prototype learning, and component-specific attention mechanisms to address these requirements. The system is designed for rapid adaptation to novel defect types while maintaining interpretability through a multi-modal explainable AI module that combines visual, quantitative, and textual outputs. Evaluation on automotive datasets demonstrates promising performance on evaluated automotive components, achieving 99.4% accuracy for engine wiring inspection and 98.8% for gear inspection, with improvements of 5.2–7.6% over state-of-the-art baselines, including traditional unsupervised methods (PaDiM, PatchCore), advanced approaches (FastFlow, CFA, DRAEM), and few-shot supervised methods (ProtoNet, MatchingNet, RelationNet, FEAT), and with only 0.63% cross-domain degradation between wiring and gear inspection tasks. The architecture operates under real-time industrial constraints, with an average inference time of 18.2 ms, throughput of 60 components per minute, and memory usage below 2 GB on RTX 3080 hardware. Ablation studies confirm the importance of prototype learning (−4.52%), component analyzers (−2.79%), and attention mechanisms (−2.21%), with K = 5 few-shot configuration providing the best trade-off between accuracy and adaptability. Beyond performance, the framework produces interpretable defect localization, root-cause analysis, and severity-based recommendations designed for manufacturing integration with execution systems via standardized industrial protocols. These results demonstrate a practical and scalable approach for intelligent quality control, enabling robust, interpretable, and adaptive inspection within the evaluated automotive components.

Share and Cite

MDPI and ACS Style

Mawah, S.C.; Aga, D.T.; Hatefi, S.; Smith, F.; Yihun, Y. Explainable Few-Shot Anomaly Detection for Real-Time Automotive Quality Control. Processes 2025, 13, 3238. https://doi.org/10.3390/pr13103238

AMA Style

Mawah SC, Aga DT, Hatefi S, Smith F, Yihun Y. Explainable Few-Shot Anomaly Detection for Real-Time Automotive Quality Control. Processes. 2025; 13(10):3238. https://doi.org/10.3390/pr13103238

Chicago/Turabian Style

Mawah, Safeh Clinton, Dagmawit Tadesse Aga, Shahrokh Hatefi, Farouk Smith, and Yimesker Yihun. 2025. "Explainable Few-Shot Anomaly Detection for Real-Time Automotive Quality Control" Processes 13, no. 10: 3238. https://doi.org/10.3390/pr13103238

APA Style

Mawah, S. C., Aga, D. T., Hatefi, S., Smith, F., & Yihun, Y. (2025). Explainable Few-Shot Anomaly Detection for Real-Time Automotive Quality Control. Processes, 13(10), 3238. https://doi.org/10.3390/pr13103238

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop