Lune

AAAI2024Top-tier venue

Few Shot Part Segmentation Reveals Compositional Logic for Industrial Anomaly Detection

Soopil Kim, Sion An, Philip Chikontwe, Myeongkyun Kang, Ehsan Adeli, Kilian M. Pohl, Sanghyun Park

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% AU-ROC in LA detection vs. 89.6% from competing methods.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SALAD - Semantics-Aware Logical Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • SALAD - Semantics-Aware Logical Anomaly Detection cites LogicAD: Explainable Anomaly Detection via VLM-based Text Feature Extraction
  • VT-FSL: Bridging Vision and Text with LLMs for Few-Shot Learning cites KNN Transformer with Pyramid Prompts for Few-Shot Learning
  • SoftPatch: Unsupervised Anomaly Detection with Noisy Data cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • Revisiting Multimodal Fusion for 3D Anomaly Detection from an Architectural Perspective cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • Revisiting Multimodal Fusion for 3D Anomaly Detection from an Architectural Perspective cites SoftPatch: Unsupervised Anomaly Detection with Noisy Data
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. LogicAD: Explainable Anomaly Detection via VLM-based Text Feature ExtractionEr Jin, Qihui Feng, Yongli Mou, Gerhard Lakemeyer et al.AAAI 2025 · 35 citations
  2. Revisiting Multimodal Fusion for 3D Anomaly Detection from an Architectural PerspectiveKaifang Long, Guoyang Xie, Lianbo Ma, Jiaqi Liu et al.AAAI 2025 · 17 citations
  3. VT-FSL: Bridging Vision and Text with LLMs for Few-Shot LearningWenhao Li, Qiangchang Wang, Xianjing Meng, Zhibin Wu et al.NeurIPS 2025 · 10 citations
  4. SALAD - Semantics-Aware Logical Anomaly DetectionMatic Fucka, Vitjan Zavrtanik, Danijel SkocajICCV 2025 · 9 citations
  5. KNN Transformer with Pyramid Prompts for Few-Shot LearningWenhao Li, Qiangchang Wang, Peng Zhao, Yilong YinACM MM 2024 · 3 citations

Builds on12

  1. Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations
  2. Label-Efficient Semantic Segmentation with Diffusion ModelsDmitry Baranchuk, Andrey Voynov, Ivan Rubachev, Valentin Khrulkov et al.ICLR 2022 · 700 citations
  3. Semi-Supervised Semantic Segmentation Using Unreliable Pseudo-LabelsYuchao Wang, Haochen Wang, Yujun Shen, Jingjing Fei et al.CVPR 2022 · 448 citations
  4. SoftPatch: Unsupervised Anomaly Detection with Noisy DataXi Jiang, Jianlin Liu, Jinbao Wang, Qiang Nie et al.NeurIPS 2022 · 118 citations
  5. Unsupervised Co-part Segmentation through AssemblyQingzhe Gao, Bin Wang, Libin Liu, Baoquan ChenICML 2021 · 16 citations

Related papers

  1. UniAD: Integrating Geometric and Semantic Cues for Unified Anomaly DetectionXiaodong Wang, Hongmin Hu, Fei Yan, Junwen Lu et al.ACM MM 2025 · 2 citations
  2. Logical Anomaly Detection with Text-based Logic via Component-Aware Contrastive Language-Image TrainingSeungeon Lee, Soopil Kim, Sion An, Sang-Chul Lee et al.KDD 2025
  3. UniVAD: A Training-free Unified Model for Few-shot Visual Anomaly DetectionZhaopeng Gu, Bingke Zhu, Guibo Zhu, Yingying Chen et al.CVPR 2025
  4. Commonality in Few: Few-Shot Multimodal Anomaly Detection via Hypergraph-Enhanced MemoryYuxuan Lin, Hanjing Yan, Xuan Tong, Yang Chang et al.AAAI 2026 · 1 citation
  5. MuSc: Zero-Shot Industrial Anomaly Classification and Segmentation with Mutual Scoring of the Unlabeled ImagesXurui Li, Ziming Huang, Feng Xue, Yu ZhouICLR 2024 · 76 citations
Dusk over the sea between two cliffs drawn in fine vertical lines