TL;DR
Human quality-control inspectors don't just stare at hardware; they tilt it out of the glare, grab a magnifying glass for tiny cracks, and remember their past mistakes so they don't repeat them. EvoInspect brings this exact workflow to automated industrial inspection using a team of AI agents backed by a self-evolving memory bank. Instead of requiring expensive retraining whenever lighting shifts or a new product rolls down the line, the system learns continuously after deployment by storing successful image-cleanup recipes and turning past failures into corrective reasoning rules.
What Problem Does This Paper Address?
Automated visual inspection on factory floors—checking PCBs, bearings, or solar panels—is surprisingly brittle. Defects can be microscopic, hidden in low light, washed out by glossy reflections, or completely novel ("open-set" defects).
Current AI approaches struggle with a frustrating trade-off:
- Specialized object detectors (like YOLO) are fast and accurate on known defects, but stumble when faced with new defect types or slight changes in hardware geometry.
- End-to-end Vision-Language Models (VLMs) understand open-ended prompts, but frequently miss tiny defects in high-resolution images, burn through massive amounts of compute (visual tokens), and act as black boxes.
- Static "restore-then-detect" pipelines apply fixed image-cleanup filters that easily break when camera conditions or defect shapes change.
Crucially, none of these paradigms naturally accumulate experience after deployment without costly weight updates and fine-tuning.
Methods
EvoInspect breaks monolithic inspection into a modular, coarse-to-fine assembly line staffed by five specialized roles—combining standard vision backbones (Grounding DINO for localization and LoRA-tuned Qwen3.5-9B for reasoning) with two novel mechanisms: dynamic restoration and dual-track memory evolution.
Wait—let's trace an image through the pipeline (illustrated in detail below):
- Coarse-to-Fine Localization: First, the Defect Perceiver assesses global context and, if the image is large (>1024 px), slices it into an overlapping sliding-window grid so tiny defects aren't squashed. Next, the Grounding Executor proposes bounding boxes around suspicious areas and crops them out.
- Dynamic Defect-Detail Restoration: Rather than running a fixed filter, the Skill Consultant inspects each cropped patch and builds a custom sequence of cleanup operations—choosing from low-light enhancement, highlight suppression, super-resolution, and binarization—tailored to that specific defect's morphology.
- Structured Adjudication: The Structured Reasoner examines only the cleaned-up crops, outputting a final defect classification alongside an interpretable chain-of-thought (CoT) trace.
- Dual-Track Skill Evolution (The Secret Sauce): Offline, with all model weights frozen, the MemSkill Analyzer reviews past runs to update an external Skill Bank:
- Wins become habits: Successful runs are distilled into Mem(Strategies), mapping specific degradation profiles to winning image-restoration sequences.
- Failures become guardrails: Failed predictions are analyzed to pinpoint where reasoning went off the rails, generating explicit corrective rules stored in Skill(CoT) (only committed after verifying they fix related failures without breaking past successes).
Datasets
The authors train and evaluate EvoInspect across four established industrial inspection domains:
- Bearing surfaces
- Printed Circuit Boards (PCBs)
- Solar Electroluminescence (Solar EL)
- Magnetic Tiles
No new standalone benchmark datasets are introduced, though the authors construct specific evaluation splits to test tiny-defect localization (bounding boxes covering $\le 0.01\%$ of image area) and cross-model generalization (testing on unseen product variants within the same defect categories).
Key Insights and Ideas
- Learn from wins and losses differently: Treating successes and failures asymmetrically is a clever design choice. Successful trajectories tell you how to prepare the visual evidence (consolidating preprocessing plans), whereas failed trajectories tell you how not to get fooled (creating discriminative reasoning rules for confusable defects).
- Cropping solves the VLM token bottleneck: Feeding high-res industrial images directly into a VLM explodes visual-token counts and dilutes attention. Routing only localized defect crops to the reasoner slashes visual-token overhead (e.g., from ~978 tokens down to ~354 on PCBs) while simultaneously sharpening focus.
- Open-set adaptability beats closed-set memorization: When hardware geometry or surface textures shift across product lines, traditional supervised detectors crater. Decoupling localization, adaptive restoration, and knowledge-augmented reasoning lets the system transfer defect concepts to unseen hardware variants without touching model weights.
Key Results
- Tiny-Defect Recall: Adding adaptive slicing boosts coarse localization [email protected] from 0.7521 to 0.9315 on Bearing and 0.6047 to 0.9304 on PCB. On tiny defects ($\le 0.01\%$ area), [email protected] jumps by 39.8% (Bearing) and 57.6% (PCB), handily beating open VLMs and rivaling the dedicated YOLO26 detector.
- End-to-End Accuracy: Progressively turning on strategy memory and CoT skills lifts EvoInspect's accuracy across all four domains—reaching 82.15% (Bearing), 85.96% (PCB), 69.29% (Solar EL), and 74.11% (Magnetic Tile), outperforming all baseline VLMs (including Qwen3.5-9B and InternVL-3.5-8B) and matching or beating fully supervised YOLO26 on Bearing and Solar EL.
- Cross-Product Generalization: On unseen product models, YOLO26 drops to 19.2%–26.0% accuracy. EvoInspect with its Skill Bank achieves the highest generalization accuracy across every domain (e.g., 54.55% on PCB and 48.84% on Solar EL), without retraining.
- Scalable Memory: Even at 100% Skill Bank scale, memory retrieval takes ~1.91–2.20 ms (p50/p95) and reuses high-confidence restoration plans to cut Skill Consultant planning latency from 18.33s down to 4.17s per sample.
Limitations and Future Work
The authors note that orchestrating a multi-stage pipeline with sliding-window tiling and a 9B-parameter VLM reasoner inevitably increases overall system complexity, memory footprint, and end-to-end latency (~53s per sample, slightly slower than single-pass VLM inference at ~48s). However, because the architecture uses clean, modular interfaces, they show that plug-and-play token-compression tools (like VisionZip) can easily slot in to trim compute costs—pointing toward lighter, faster modular integrations in future deployments.
Summary updated