Few Shot Part Segmentation Reveals Compositional Logic for Industrial Anomaly Detection

Logical anomalies (LA) refer to data violating underlying logical constraints e.g., the quantity, arrangement, or composition of components within an image. Detecting accurately such anomalies requires models to reason about various component types through segmentation. However, curation of pixel-le...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kim, Soopil, An, Sion, Chikontwe, Philip, Kang, Myeongkyun, Adeli, Ehsan, Pohl, Kilian M, Park, Sang Hyun
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Kim, Soopil
An, Sion
Chikontwe, Philip
Kang, Myeongkyun
Adeli, Ehsan
Pohl, Kilian M
Park, Sang Hyun
description Logical anomalies (LA) refer to data violating underlying logical constraints e.g., the quantity, arrangement, or composition of components within an image. Detecting accurately such anomalies requires models to reason about various component types through segmentation. However, curation of pixel-level annotations for semantic segmentation is both time-consuming and expensive. Although there are some prior few-shot or unsupervised co-part segmentation algorithms, they often fail on images with industrial object. These images have components with similar textures and shapes, and a precise differentiation proves challenging. In this study, we introduce a novel component segmentation model for LA detection that leverages a few labeled samples and unlabeled images sharing logical constraints. To ensure consistent segmentation across unlabeled images, we employ a histogram matching loss in conjunction with an entropy loss. As segmentation predictions play a crucial role, we propose to enhance both local and global sample validity detection by capturing key aspects from visual semantics via three memory banks: class histograms, component composition embeddings and patch-level representations. For effective LA detection, we propose an adaptive scaling strategy to standardize anomaly scores from different memory banks in inference. Extensive experiments on the public benchmark MVTec LOCO AD reveal our method achieves 98.1% AUROC in LA detection vs. 89.6% from competing methods.
doi_str_mv 10.48550/arxiv.2312.13783
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2312_13783</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2312_13783</sourcerecordid><originalsourceid>FETCH-LOGICAL-a673-5fb1b160edf9704bbe78dfadbfa718647c1a3f36cf96e0636cc81f0fbd578ff73</originalsourceid><addsrcrecordid>eNotj0FOwzAURL1hgQoHYIUvkGDXie0uq0ChUiQQrcQysp3_i6UkrhxT6O1JCqsZjWZGeoTccZYXuizZg4k__pQvBV_mXCgtrsnHBr7p7jMk-mZiojs49DAkk3wY6DucwHQjrUJ_DKOfM9PROhy8oxgi3Q7t15iin8L1EHrTnekjJHBz8YZc4bSF239dkP3maV-9ZPXr87Za15mRSmQlWm65ZNDiSrHCWlC6RdNaNIprWSjHjUAhHa4kMDkZpzkytG2pNKISC3L_d3sha47R9yaem5mwuRCKXxleTYk</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Few Shot Part Segmentation Reveals Compositional Logic for Industrial Anomaly Detection</title><source>arXiv.org</source><creator>Kim, Soopil ; An, Sion ; Chikontwe, Philip ; Kang, Myeongkyun ; Adeli, Ehsan ; Pohl, Kilian M ; Park, Sang Hyun</creator><creatorcontrib>Kim, Soopil ; An, Sion ; Chikontwe, Philip ; Kang, Myeongkyun ; Adeli, Ehsan ; Pohl, Kilian M ; Park, Sang Hyun</creatorcontrib><description>Logical anomalies (LA) refer to data violating underlying logical constraints e.g., the quantity, arrangement, or composition of components within an image. Detecting accurately such anomalies requires models to reason about various component types through segmentation. However, curation of pixel-level annotations for semantic segmentation is both time-consuming and expensive. Although there are some prior few-shot or unsupervised co-part segmentation algorithms, they often fail on images with industrial object. These images have components with similar textures and shapes, and a precise differentiation proves challenging. In this study, we introduce a novel component segmentation model for LA detection that leverages a few labeled samples and unlabeled images sharing logical constraints. To ensure consistent segmentation across unlabeled images, we employ a histogram matching loss in conjunction with an entropy loss. As segmentation predictions play a crucial role, we propose to enhance both local and global sample validity detection by capturing key aspects from visual semantics via three memory banks: class histograms, component composition embeddings and patch-level representations. For effective LA detection, we propose an adaptive scaling strategy to standardize anomaly scores from different memory banks in inference. Extensive experiments on the public benchmark MVTec LOCO AD reveal our method achieves 98.1% AUROC in LA detection vs. 89.6% from competing methods.</description><identifier>DOI: 10.48550/arxiv.2312.13783</identifier><language>eng</language><subject>Computer Science - Artificial Intelligence ; Computer Science - Computer Vision and Pattern Recognition ; Computer Science - Learning</subject><creationdate>2023-12</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2312.13783$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2312.13783$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Kim, Soopil</creatorcontrib><creatorcontrib>An, Sion</creatorcontrib><creatorcontrib>Chikontwe, Philip</creatorcontrib><creatorcontrib>Kang, Myeongkyun</creatorcontrib><creatorcontrib>Adeli, Ehsan</creatorcontrib><creatorcontrib>Pohl, Kilian M</creatorcontrib><creatorcontrib>Park, Sang Hyun</creatorcontrib><title>Few Shot Part Segmentation Reveals Compositional Logic for Industrial Anomaly Detection</title><description>Logical anomalies (LA) refer to data violating underlying logical constraints e.g., the quantity, arrangement, or composition of components within an image. Detecting accurately such anomalies requires models to reason about various component types through segmentation. However, curation of pixel-level annotations for semantic segmentation is both time-consuming and expensive. Although there are some prior few-shot or unsupervised co-part segmentation algorithms, they often fail on images with industrial object. These images have components with similar textures and shapes, and a precise differentiation proves challenging. In this study, we introduce a novel component segmentation model for LA detection that leverages a few labeled samples and unlabeled images sharing logical constraints. To ensure consistent segmentation across unlabeled images, we employ a histogram matching loss in conjunction with an entropy loss. As segmentation predictions play a crucial role, we propose to enhance both local and global sample validity detection by capturing key aspects from visual semantics via three memory banks: class histograms, component composition embeddings and patch-level representations. For effective LA detection, we propose an adaptive scaling strategy to standardize anomaly scores from different memory banks in inference. Extensive experiments on the public benchmark MVTec LOCO AD reveal our method achieves 98.1% AUROC in LA detection vs. 89.6% from competing methods.</description><subject>Computer Science - Artificial Intelligence</subject><subject>Computer Science - Computer Vision and Pattern Recognition</subject><subject>Computer Science - Learning</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2023</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj0FOwzAURL1hgQoHYIUvkGDXie0uq0ChUiQQrcQysp3_i6UkrhxT6O1JCqsZjWZGeoTccZYXuizZg4k__pQvBV_mXCgtrsnHBr7p7jMk-mZiojs49DAkk3wY6DucwHQjrUJ_DKOfM9PROhy8oxgi3Q7t15iin8L1EHrTnekjJHBz8YZc4bSF239dkP3maV-9ZPXr87Za15mRSmQlWm65ZNDiSrHCWlC6RdNaNIprWSjHjUAhHa4kMDkZpzkytG2pNKISC3L_d3sha47R9yaem5mwuRCKXxleTYk</recordid><startdate>20231221</startdate><enddate>20231221</enddate><creator>Kim, Soopil</creator><creator>An, Sion</creator><creator>Chikontwe, Philip</creator><creator>Kang, Myeongkyun</creator><creator>Adeli, Ehsan</creator><creator>Pohl, Kilian M</creator><creator>Park, Sang Hyun</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20231221</creationdate><title>Few Shot Part Segmentation Reveals Compositional Logic for Industrial Anomaly Detection</title><author>Kim, Soopil ; An, Sion ; Chikontwe, Philip ; Kang, Myeongkyun ; Adeli, Ehsan ; Pohl, Kilian M ; Park, Sang Hyun</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a673-5fb1b160edf9704bbe78dfadbfa718647c1a3f36cf96e0636cc81f0fbd578ff73</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2023</creationdate><topic>Computer Science - Artificial Intelligence</topic><topic>Computer Science - Computer Vision and Pattern Recognition</topic><topic>Computer Science - Learning</topic><toplevel>online_resources</toplevel><creatorcontrib>Kim, Soopil</creatorcontrib><creatorcontrib>An, Sion</creatorcontrib><creatorcontrib>Chikontwe, Philip</creatorcontrib><creatorcontrib>Kang, Myeongkyun</creatorcontrib><creatorcontrib>Adeli, Ehsan</creatorcontrib><creatorcontrib>Pohl, Kilian M</creatorcontrib><creatorcontrib>Park, Sang Hyun</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Kim, Soopil</au><au>An, Sion</au><au>Chikontwe, Philip</au><au>Kang, Myeongkyun</au><au>Adeli, Ehsan</au><au>Pohl, Kilian M</au><au>Park, Sang Hyun</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Few Shot Part Segmentation Reveals Compositional Logic for Industrial Anomaly Detection</atitle><date>2023-12-21</date><risdate>2023</risdate><abstract>Logical anomalies (LA) refer to data violating underlying logical constraints e.g., the quantity, arrangement, or composition of components within an image. Detecting accurately such anomalies requires models to reason about various component types through segmentation. However, curation of pixel-level annotations for semantic segmentation is both time-consuming and expensive. Although there are some prior few-shot or unsupervised co-part segmentation algorithms, they often fail on images with industrial object. These images have components with similar textures and shapes, and a precise differentiation proves challenging. In this study, we introduce a novel component segmentation model for LA detection that leverages a few labeled samples and unlabeled images sharing logical constraints. To ensure consistent segmentation across unlabeled images, we employ a histogram matching loss in conjunction with an entropy loss. As segmentation predictions play a crucial role, we propose to enhance both local and global sample validity detection by capturing key aspects from visual semantics via three memory banks: class histograms, component composition embeddings and patch-level representations. For effective LA detection, we propose an adaptive scaling strategy to standardize anomaly scores from different memory banks in inference. Extensive experiments on the public benchmark MVTec LOCO AD reveal our method achieves 98.1% AUROC in LA detection vs. 89.6% from competing methods.</abstract><doi>10.48550/arxiv.2312.13783</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2312.13783
ispartof
issn
language eng
recordid cdi_arxiv_primary_2312_13783
source arXiv.org
subjects Computer Science - Artificial Intelligence
Computer Science - Computer Vision and Pattern Recognition
Computer Science - Learning
title Few Shot Part Segmentation Reveals Compositional Logic for Industrial Anomaly Detection
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-06T22%3A19%3A54IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Few%20Shot%20Part%20Segmentation%20Reveals%20Compositional%20Logic%20for%20Industrial%20Anomaly%20Detection&rft.au=Kim,%20Soopil&rft.date=2023-12-21&rft_id=info:doi/10.48550/arxiv.2312.13783&rft_dat=%3Carxiv_GOX%3E2312_13783%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true