ADClaw: A Programmable Visual Agent for Industrial Anomaly Detection and Understanding

Xinyi Wu, Rongxin Gao, YuHui Lin, Yonglin Hong, Chu Li +5 more
11/25/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Industrial anomaly detection (IAD), the task of identifying and localizing deviations from normal product conditions, is essential to automated quality inspection in manufacturing. Many vision-language models for IAD rely on large domain-specific datasets for fine-tuning and make predictions in a single pass, leaving no opportunity to re-examine ambiguous regions.

Show full abstract

Although tool-using agents can revisit these regions, predefined tool interfaces limit how they can combine intermediate results in a follow-up check. When such checks are insufficient, models may miss subtle defects or misidentify the defect type. To address this limitation, we introduce ADClaw, an inspection agent that uses executable code to test anomaly hypotheses without task-specific fine-tuning. For each hypothesis, a Structured Normality Prior identifies the applicable rules and retrieves normal visual references for the inspection target. Guided by this prior, the agent writes and executes code in a persistent Inspection Workbench to combine masks, anomaly maps, and measurements from earlier steps into a new test of the suspected defect. After each check, Hypothesis-Guided Evidence Reasoning assesses whether the evidence supports the suspected defect and its location, using gaps or inconsistencies in that evidence to guide the next code action. ADClaw achieves competitive results in detection and localization across 2D and 3D industrial anomaly detection benchmarks and in anomaly understanding on MMAD.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2026adclaw,
  title  = {ADClaw: A Programmable Visual Agent for Industrial Anomaly Detection and Understanding},
  author = {Xinyi Wu and Rongxin Gao and YuHui Lin and Yonglin Hong and Chu Li and Wei Li and Dingzhao Li and Shijia Zhao and Chaopeng Li and Haixin Sun},
  year   = {2026},
  eprint = {2611.34591},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.34591v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.34591.svg)](https://codeofpaper.com/paper/2611.34591)

Discussion