Agentic Vision Framework for Real-Time Manufacturing Contamination Detection Using Patch-Based Lightweight Convolutional Neural Networks
Modern manufacturing quality control demands intelligent, adaptive inspection systems capable of real-time contamination detection with minimal computational overhead. We present a five-agent vision framework for material-aware contamination detection in manufacturing environments. The system comprises: a Material Classification Agent that identifies contamination type (fiber, sand, or mixed), three Material-Specific Detection Agents, each employing patch-based CNNs optimized for their respective material with dynamic patch size selection (128 px, 256 px, 384 px), and an Adaptation Agent that monitors performance and eliminates consistently failing patch size configurations. This hierarchical architecture enables intelligent routing to specialized detectors and continuous refinement through performance-driven adaptation. The Material Classification Agent achieves 98% accuracy in contamination type identification. Material-specific agents demonstrate F1-scores of 0.968 (fiber), 0.977 (sand), and 0.977 (mixed) with real-time inference (2.40–11.11 ms per 512 × 512 image). The Adaptation Agent implements selective patch size elimination: configurations failing quality thresholds (F1 < 0.5) across multiple evaluation cycles are removed from the detection pipeline. On the synthetic test split used in this study, comparative evaluation against PatchCore, WinCLIP, and PaDiM shows 3–45× higher F1-scores with superior accuracy–latency trade-offs, validating the efficacy of specialized material-aware architectures for manufacturing contamination detection.
Authors
- Haowen Pan (ORCID: https://orcid.org/0009-0005-8691-5862)
- Xuedong Ding
- Yuan Xing
Institutions
- University of Wisconsin–Stout (US)
- Changzhou Institute of Technology (CN)
Publication Details
- Journal
- Signals
- Published
- 2026-03-03
- DOI
- https://doi.org/10.3390/signals7020021
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00