Skip to main content
QUICK REVIEW

[논문 리뷰] MuSc: Zero-Shot Industrial Anomaly Classification and Segmentation with Mutual Scoring of the Unlabeled Images

Xurui Li, Ziming Huang|arXiv (Cornell University)|2024. 01. 30.
Anomaly Detection Techniques and ApplicationsComputer Science인용 수 6
한 줄 요약

MuSc는 라벨이 없는 테스트 이미지 간의 상호 점수 매김(mutual scoring)을 사용하여 학습 데이터나 프롬프트 없이 제로샷 이상치 분류 및 세분화를 수행하며, MVTec AD 및 VisA에서 제로샷 최첨단 성능을 달성합니다.

ABSTRACT

This paper studies zero-shot anomaly classification (AC) and segmentation (AS) in industrial vision. We reveal that the abundant normal and abnormal cues implicit in unlabeled test images can be exploited for anomaly determination, which is ignored by prior methods. Our key observation is that for the industrial product images, the normal image patches could find a relatively large number of similar patches in other unlabeled images, while the abnormal ones only have a few similar patches. We leverage such a discriminative characteristic to design a novel zero-shot AC/AS method by Mutual Scoring (MuSc) of the unlabeled images, which does not need any training or prompts. Specifically, we perform Local Neighborhood Aggregation with Multiple Degrees (LNAMD) to obtain the patch features that are capable of representing anomalies in varying sizes. Then we propose the Mutual Scoring Mechanism (MSM) to leverage the unlabeled test images to assign the anomaly score to each other. Furthermore, we present an optimization approach named Re-scoring with Constrained Image-level Neighborhood (RsCIN) for image-level anomaly classification to suppress the false positives caused by noises in normal images. The superior performance on the challenging MVTec AD and VisA datasets demonstrates the effectiveness of our approach. Compared with the state-of-the-art zero-shot approaches, MuSc achieves a $ extbf{21.1%}$ PRO absolute gain (from 72.7% to 93.8%) on MVTec AD, a $ extbf{19.4%}$ pixel-AP gain and a $ extbf{14.7%}$ pixel-AUROC gain on VisA. In addition, our zero-shot approach outperforms most of the few-shot approaches and is comparable to some one-class methods. Code is available at https://github.com/xrli-U/MuSc.

연구 동기 및 목표

  • 라벨이 없는 테스트 이미지에 풍부한 신호를 활용하여 제로샷 AC/AS를 고무한다.
  • 다양한 크기에 걸친 이상 탐지가 가능하도록 패치 단위 표현을 개발한다.
  • 라벨이 없는 이미지들만 사용하여 이상 점수를 할당하는 상호 점수 매김 메커니즘을 도입한다.
  • 정상 이미지 노이즈로 인한 거짓 양성을 줄이기 위해 이미지 수준의 이상 분류를 최적화한다.

제안 방법

  • 다중 스케일에서 패치 토큰을 인코딩하기 위해 Local Neighborhood Aggregation with Multiple Degrees (LNAMD)을 사용한다.
  • 라벨이 없는 이미지들이 서로의 패치를 점수 매겨 이상 가능성을 추론하는 Mutual Scoring Mechanism (MSM)을 적용한다.
  • 여러 ViT 스테이지와 집계 정도에 걸쳐 평균화하여 패치 수준의 이상 점수를 계산한다.
  • 인접 이웃 그래프를 사용하여 이미지 수준의 이상 분류를 다듬기 위한 Constrained Image-level Neighborhood(RsCIN)으로 재점수를 도입한다.
  • 이미지 수준 점수를 재정의할 때 국지적 이웃에 영향을 제한하기 위해 Multi-window Mask Operation (MMO)를 선택적으로 사용한다.
  • 시맨틱 분할 및 분류 전에 패치 수준 특징을 집계하고 ViT-L/14-336 프리트레인 백본을 사용한다.

실험 결과

연구 질문

  • RQ1라벨이 없는 테스트 이미지가 제로샷 AC/AS에서 정상 패치와 이상 패치를 구분할 충분한 신호를 제공할 수 있는가?
  • RQ2여러 이웃 정도에서 패치 특징을 집계하는 것이 서로 다른 크기에 걸친 이상 탐지 성능을 향상시키는가?
  • RQ3라벨이 없는 데이터를 활용한 상호 점수 매김 체계가 라벨링된 학습 데이터 없이도 신뢰할 수 있는 픽셀 수준 세분화를 제공할 수 있는가?
  • RQ4제한된 이웃을 가진 이미지 수준 재점수가 전반적인 이상 분류 성능을 향상시키는가?
  • RQ5표준 산업 이상 탐지 데이터셋에서 MuSc가 기존의 제로샷 및 파샷 방법들과 어떻게 비교되는가?

주요 결과

  • MuSc는 제로샷 조건에서 MVTec AD에서 AC에 대해 97.8 AUROC 및 97.5 F1-max, AS에 대해 97.3 AP를 달성하여 여러 제로샷 베이스라인을 능가한다.
  • MuSc는 VisA에서 제로샷으로 AS에 대해 98.8 AUROC 및 92.7 AP를 달성하여 대부분의 제로샷 경쟁자들을 능가한다.
  • 이상 세분화에서 MuSc는 MVTec AD에서 두 번째로 좋은 제로샷 방법에 비해 PRO를 21.1pp, AP를 21.9pp 향상시킨다.
  • MuSc는 비교 가능한 작업에서 많은 소수 샷 방법들(예: 4-shot)보다 우수하며, 일부 전체 샷 방법들과도 경쟁력 있다.
  • 배치 연구는 다중 집계 차수(r ∈ {1,3,5})를 사용하고 최소 비율 샘플링이 포함된 MSM이 AC/AS 성능을 최적으로 만든다는 것을 보여준다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.