Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LogiCo: A Unified Framework for Logical and Structural Anomaly Detection

About

Current anomaly detection methods primarily focus on structural anomalies, while paying insufficient attention to anomalies that violate logical constraints. Conversely, top-performing logical anomaly detection approaches address this by modeling global semantic consistency, but perform poorly on subtle structural anomalies due to inadequate detection granularity. In this paper, we propose LogiCo, a unified framework for Logical and structural anomaly detection via Component-level feature reconstruction. Unlike existing methods that rely on explicit global semantic modeling, LogiCo employs a novel component-level feature reconstruction technique to capture inter-component logical constraints. Specifically, LogiCo maps pre-trained image features into a discrete component-level feature space and performs collaborative feature reconstruction at both component and patch levels, enabling it to effectively detect both logical and structural anomalies. Furthermore, to address the specific challenge of count-related logical anomalies, we integrate a segmentation-map discriminator that extends the model's capability to identify quantitative inconsistencies. LogiCo achieves state-of-the-art performance on both logical and structural anomaly detection across four benchmarks, including MVTec-LOCO, MVTec-AD, VisA, and Real-IAD, demonstrating its superiority and practical feasibility. The code is available at https://github.com/cnulab/LogiCo.

Ximiao Zhang, Min Xu, Xiuzhuang Zhou• 2026

Related benchmarks

TaskDatasetResultRank
Anomaly LocalizationMVTec AD
Pixel AUROC98.7
543
Anomaly DetectionMVTec LOCO
I-AUROC (Structural)96.2
36
Anomaly LocalizationMvtec LOCO AD
Logical Pixel sPRO76.2
18
Anomaly Detection and LocalizationMVTec LOCO
I-AUC96.3
9
Anomaly Detection and LocalizationVisA
I-AUC98.5
9
Showing 5 of 5 rows

Other info

Follow for update