Interpretable Logical Anomaly Classification via Constraint Decomposition and Instruction Fine-Tuning
Xufei Zhang, Xinjiao Zhou, Ziling Deng, Dongdong Geng, Jianxiong Wang

TL;DR
This paper introduces LogiCls, a vision-language framework for fine-grained logical anomaly classification in industrial images, combining anomaly detection with violation explanation through a decomposed, instruction-guided reasoning process.
Contribution
The work presents a novel approach that decomposes complex logical constraints into verifiable subqueries, coupled with a data-centric instruction synthesis pipeline for enhanced reasoning and interpretability.
Findings
LogiCls achieves robust and accurate anomaly classification.
The framework provides interpretable violation evidence.
It effectively handles diverse and complex logical constraints.
Abstract
Logical anomalies are violations of predefined constraints on object quantity, spatial layout, and compositional relationships in industrial images. While prior work largely treats anomaly detection as a binary decision, such formulations cannot indicate which logical rule is broken and therefore offer limited value for quality assurance. We introduce Logical Anomaly Classification (LAC), a task that unifies anomaly detection and fine-grained violation classification in a single inference step. To tackle LAC, we propose LogiCls, a vision-language framework that decomposes complex logical constraints into a sequence of verifiable subqueries. We further present a data-centric instruction synthesis pipeline that generates chain-of-thought (CoT) supervision for these subqueries, coupling precise grounding annotations with diverse image-text augmentations to adapt vision language models…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Machine Learning and Data Classification · Explainable Artificial Intelligence (XAI)
