ADClaw: A Programmable Visual Agent for Industrial Anomaly Detection and Understanding
Xinyi Wu, Rongxin Gao, YuHui Lin, Yonglin Hong, Chu Li, Wei Li, Dingzhao Li, Shijia Zhao, Chaopeng Li, Haixin Sun
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. 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.
Create a lesson
Related papers
One Representation to Rule Them All -- Open-Vocabulary Change Detection from Text or Visual Examples
Shared title terminologycs.CVBlaž Rolih, Matic Fučka, Filip Wolf et al.
Modality-Shift Contrastive Decoding for Temporally Grounded Audio-Visual Understanding
Shared title terminologycs.CVMinyeong Jeong, Yeonju Kim, Yong Man Ro
Manga Page Parser: Comprehensive Visual Parsing through Local Story Understanding
Shared title terminologycs.CVYingxuan Li, Jiafeng Mao, Arata Furukawa et al.
OmniMeld: Enhancing Audio-Visual Understanding via Multi-Teacher On-Policy Distillation
Shared title terminologycs.CVDaili Hua, Yifan Dai, Bohan Zeng et al.
Neural Rendering Compiler: Generative Video Models as Programmable Renderers
Shared title terminologycs.CVYuxia Zhu, Xinglong Xu, Hao Liang et al.
Motion Beyond Pixels: Learning Future Visual Representations for Object-Centric Dynamics
Shared title terminologycs.CVChengzhi Zhao, Juelin Li, Zhennan Wang et al.