Saved in:
Bibliographic Details
Main Authors: Zhang, Xufei, Zhou, Xinjiao, Deng, Ziling, Geng, Dongdong, Wang, Jianxiong
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2602.03530
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917245335109632
author Zhang, Xufei
Zhou, Xinjiao
Deng, Ziling
Geng, Dongdong
Wang, Jianxiong
author_facet Zhang, Xufei
Zhou, Xinjiao
Deng, Ziling
Geng, Dongdong
Wang, Jianxiong
contents 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 (VLMs) to logic-sensitive reasoning. Training is stabilized by a difficulty-aware resampling strategy that emphasizes challenging subqueries and long tail constraint types. Extensive experiments demonstrate that LogiCls delivers robust, interpretable, and accurate industrial logical anomaly classification, providing both the predicted violation categories and their evidence trails.
format Preprint
id arxiv_https___arxiv_org_abs_2602_03530
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Interpretable Logical Anomaly Classification via Constraint Decomposition and Instruction Fine-Tuning
Zhang, Xufei
Zhou, Xinjiao
Deng, Ziling
Geng, Dongdong
Wang, Jianxiong
Computer Vision and Pattern Recognition
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 (VLMs) to logic-sensitive reasoning. Training is stabilized by a difficulty-aware resampling strategy that emphasizes challenging subqueries and long tail constraint types. Extensive experiments demonstrate that LogiCls delivers robust, interpretable, and accurate industrial logical anomaly classification, providing both the predicted violation categories and their evidence trails.
title Interpretable Logical Anomaly Classification via Constraint Decomposition and Instruction Fine-Tuning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2602.03530