Detect, Classify, Act: Categorizing Industrial Anomalies with Multi-Modal Large Language Models
Sassan Mokhtar, Arian Mousakhan, Silvio Galesso, Jawad Tayyub, Thomas Brox
TL;DR
This work tackles the need for semantic classification of industrial anomalies beyond mere detection by introducing VELM, a pipeline that couples a fast vision-based anomaly detector with a multimodal LLM classifier. To enable rigorous evaluation, it refines two standard benchmarks into MVTec-AC and VisA-AC with precise anomaly-class labels. Across MVTec-AD, MVTec-AC, and VisA-AC, VELM demonstrates strong anomaly-classification performance and highlights the critical role of accurate localization and carefully designed multimodal prompts. The approach offers a practical, flexible framework for real-world inspection by distinguishing defects from benign deviations and by enabling user-defined classification criteria without task-specific training.
Abstract
Recent advances in visual industrial anomaly detection have demonstrated exceptional performance in identifying and segmenting anomalous regions while maintaining fast inference speeds. However, anomaly classification-distinguishing different types of anomalies-remains largely unexplored despite its critical importance in real-world inspection tasks. To address this gap, we propose VELM, a novel LLM-based pipeline for anomaly classification. Given the critical importance of inference speed, we first apply an unsupervised anomaly detection method as a vision expert to assess the normality of an observation. If an anomaly is detected, the LLM then classifies its type. A key challenge in developing and evaluating anomaly classification models is the lack of precise annotations of anomaly classes in existing datasets. To address this limitation, we introduce MVTec-AC and VisA-AC, refined versions of the widely used MVTec-AD and VisA datasets, which include accurate anomaly class labels for rigorous evaluation. Our approach achieves a state-of-the-art anomaly classification accuracy of 80.4% on MVTec-AD, exceeding the prior baselines by 5%, and 84% on MVTec-AC, demonstrating the effectiveness of VELM in understanding and categorizing anomalies. We hope our methodology and benchmark inspire further research in anomaly classification, helping bridge the gap between detection and comprehensive anomaly characterization.
