Detecting logical anomalies in industrial settings remains a significant challenge for conventional anomaly detection methods. Unlike structural anomalies such as scratches or dents, logical anomalies involve violations of component relationships, quantities, and arrangements that require reasoning about complex constraints. In this paper, we propose a NeuroSymbolic Logical Anomaly Detection (NeSy-LAD) framework that combines deep learning-based component segmentation with symbolic rule extraction and logical reasoning. Our approach extracts interpretable rules from neural network activations and applies logical reasoning to detect and explain anomalies in industrial images. We evaluate our approach on the MVTec LOCO dataset, demonstrating its effectiveness in detecting logical anomalies across various product categories including breakfast boxes, juice bottles, screw bags, pushpins, and splicing connectors. Experimental results show that our approach not only achieves high detection accuracy but also provides human-readable explanations of detected anomalies, making it particularly valuable in industrial quality control settings.

NeSyLAD: A Neuro-Symbolic Approach for Unsupervised Logical Anomaly Detection

Malihe Dahmardeh
;
Mohsen Saadatpour;Francesco Setti
2025-01-01

Abstract

Detecting logical anomalies in industrial settings remains a significant challenge for conventional anomaly detection methods. Unlike structural anomalies such as scratches or dents, logical anomalies involve violations of component relationships, quantities, and arrangements that require reasoning about complex constraints. In this paper, we propose a NeuroSymbolic Logical Anomaly Detection (NeSy-LAD) framework that combines deep learning-based component segmentation with symbolic rule extraction and logical reasoning. Our approach extracts interpretable rules from neural network activations and applies logical reasoning to detect and explain anomalies in industrial images. We evaluate our approach on the MVTec LOCO dataset, demonstrating its effectiveness in detecting logical anomalies across various product categories including breakfast boxes, juice bottles, screw bags, pushpins, and splicing connectors. Experimental results show that our approach not only achieves high detection accuracy but also provides human-readable explanations of detected anomalies, making it particularly valuable in industrial quality control settings.
2025
nomaly detection , Neuro-symbolic AI , Logical reasoning , Industrial inspection , Interpretable AI
File in questo prodotto:
File Dimensione Formato  
ID-206-DAHMARDEH-MALIHE.pdf

solo utenti autorizzati

Licenza: Accesso ristretto
Dimensione 673.59 kB
Formato Adobe PDF
673.59 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11562/1177950
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact