LogiCode: an LLM-Driven Framework for Logical Anomaly Detection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhang, Yiheng, Cao, Yunkang, Xu, Xiaohao, Shen, Weiming
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910476447776768
author Zhang, Yiheng
Cao, Yunkang
Xu, Xiaohao
Shen, Weiming
author_facet Zhang, Yiheng
Cao, Yunkang
Xu, Xiaohao
Shen, Weiming
contents This paper presents LogiCode, a novel framework that leverages Large Language Models (LLMs) for identifying logical anomalies in industrial settings, moving beyond traditional focus on structural inconsistencies. By harnessing LLMs for logical reasoning, LogiCode autonomously generates Python codes to pinpoint anomalies such as incorrect component quantities or missing elements, marking a significant leap forward in anomaly detection technologies. A custom dataset "LOCO-Annotations" and a benchmark "LogiBench" are introduced to evaluate the LogiCode's performance across various metrics including binary classification accuracy, code generation success rate, and precision in reasoning. Findings demonstrate LogiCode's enhanced interpretability, significantly improving the accuracy of logical anomaly detection and offering detailed explanations for identified anomalies. This represents a notable shift towards more intelligent, LLM-driven approaches in industrial anomaly detection, promising substantial impacts on industry-specific applications.
format Preprint
id arxiv_https___arxiv_org_abs_2406_04687
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LogiCode: an LLM-Driven Framework for Logical Anomaly Detection
Zhang, Yiheng
Cao, Yunkang
Xu, Xiaohao
Shen, Weiming
Machine Learning
Computer Vision and Pattern Recognition
This paper presents LogiCode, a novel framework that leverages Large Language Models (LLMs) for identifying logical anomalies in industrial settings, moving beyond traditional focus on structural inconsistencies. By harnessing LLMs for logical reasoning, LogiCode autonomously generates Python codes to pinpoint anomalies such as incorrect component quantities or missing elements, marking a significant leap forward in anomaly detection technologies. A custom dataset "LOCO-Annotations" and a benchmark "LogiBench" are introduced to evaluate the LogiCode's performance across various metrics including binary classification accuracy, code generation success rate, and precision in reasoning. Findings demonstrate LogiCode's enhanced interpretability, significantly improving the accuracy of logical anomaly detection and offering detailed explanations for identified anomalies. This represents a notable shift towards more intelligent, LLM-driven approaches in industrial anomaly detection, promising substantial impacts on industry-specific applications.
title LogiCode: an LLM-Driven Framework for Logical Anomaly Detection
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.04687