Details

Logical Anomaly Detection using Segmentation Transformers
ID Liang, Yunfei (Author), ID Skočaj, Danijel (Mentor) More about this mentor... This link opens in a new window, ID Fučka, Matic (Comentor)

.pdfPDF - Presentation file, Download (1011,63 KB)
MD5: 253741E9089923D0DFC298B648DF02F8

Abstract
Industrial visual inspection aims to detect and localize defects in manufactured products. This task is commonly addressed using anomaly detection methods that model the appearance of defect-free samples. Such methods perform well on structural anomalies, such as dents and scratches, they often struggle with logical anomalies. For logical anomalies, individual components appear normal in isolation but their composition may violate constraints of the category (when a component is missing, duplicated, or misplaced). To detect logical anomalies, we propose a two-branch method that uses Mask2Former-based component segmenter to model both local appearance and global composition. The structural branch extracts local information from the frozen backbone’s patch-level features and scores each patch against a coreset-reduced memory bank of defect-free patches. The compositional branch derives a descriptor from the predicted segmentation masks by pooling the same frozen features inside each component region, and compares each component against defect-free components of the same class in a class-partitioned memory bank. The regions correspondence with normality through their given class labels, without open-world object detection or inference-time bipartite matching. During inference, anomaly scores are obtained by comparing the local and compositional representations of a query image with those of defect-free training samples, and the two resulting maps are fused into a single prediction. On the MVTec LOCO dataset, the proposed method achieves an image-level AUROC of 95.7% using the component annotations released with PSAD and 92.9% using those released with SALAD.

Language:English
Keywords:Machine Learning, Deep Learning, Computer Vision, Anomaly Detection, Visual Inspection, Defect Detection
Work type:Master's thesis
Organization:FRI - Faculty of Computer and Information Science
Year:2026
PID:20.500.12556/RUL-190760 This link opens in a new window
Publication date in RUL:03.11.2026
Views:93
Downloads:15
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:Slovenian
Title:Detekcija logičnih anomalij s segmentacijskimi transformerji
Abstract:
Namen industrijske vizualne kontrole je detekcija in lokalizacija napak na proizvedenih izdelkih. Ta naloga se pogosto reˇsuje z nenadzorovanimi oziroma enorazrednimi metodami za detekcijo anomalij, ki obiˇcajno mod- ˇ elirajo videz vzorcev brez napak. Ceprav so takˇsne metode uspeˇsne pri strukturnih anomalijah, kot so udrtine in praske, imajo pogosto teˇzave z logiˇcnimi anomalijami. V teh primerih so posamezne komponente lahko videti obiˇcajne, vendar globalna sestava objekta krˇsi priˇcakovano omejitev, na primer kadar komponenta manjka, je podvojena ali napaˇcno postavljena. Za reˇsevanje tega problema predlagamo metodo z dvema vejama, ki uporablja segmentacijo komponent na osnovi arhitekture Mask2Former za modeliranje tako lokalnega videza kot globalne sestave. Strukturna veja izluˇsˇci lokalne informacije iz znaˇcilk zamrznjene hrbteniˇcne mreˇze na ravni slikovnih zaplat ter vsako zaplato primerja z reducirano pomnilniˇsko zbirko zaplat brez na- pak. Kompozicijska veja iz napovedanih segmentacijskih mask tvori opisnik tako, da zdruˇzi iste zamrznjene znaˇcilke znotraj posamezne regije kompo- nente, nato pa vsako komponento primerja s komponentami brez napak istega razreda v pomnilniˇski zbirki, razdeljeni po razredih. Ker regije vsebu- jejo oznake razredov, je ujemanje z normalnimi vzorci neposredno doloˇceno z razredom, brez potrebe po detekciji objektov ali bipartitnem ujemanju med napovedovanjem. V fazi napovedovanja se ocene anomalij pridobijo s primerjavo lokalnih in kompozicijskih predstavitev poizvedbene slike s predstavitvami vzorcev brez napak iz uˇcne mnoˇzice, pri ˇcemer se dobljeni karti anomalij zdruˇzita v eno samo napoved. Na podatkovni zbirki MVTec LOCO predlagana metoda doseˇze AUROC na ravni slike 95,7 % pri uporabi oznak komponent, objavl- jenih skupaj z metodo PSAD, in 92,9 % pri uporabi oznak, objavljenih skupaj z metodo SALAD.

Keywords:Strojno Uˇcenje, Globoko Uˇcenje, Raˇcunalniˇski Vid, Detekcija Anomalij, Industrijski Vizualni Pregled, Detekcija Napak

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back