[Synthetic Anomaly 방식의 Anomaly Detection]

This entry is part 38 of 40 in the series Anomaly Detection

1. 들어가며

이번 글에서는 Synthetic Anomaly 방식의 Anomaly Detection 방법들을 살펴봅니다. 먼저 Synthetic Anomaly 방식의 큰 그림을 살펴보고요. 이어서 대표적인 방법들을 하나씩 간략하게 살펴보겠습니다. Anomaly Detection에 관한 기본적인 내용은 Anomaly Detection에 관한 모든 것 글을 참고해주세요.

2. 큰 그림

사실 Anomaly Detection의 어려움은 ‘Normal Data’만 학습할 수 있다는 전제에서 기인합니다. 다른 Task 들과 달리 단일 종류의 데이터를 학습한 뒤 학습 과정에서 본 적 없는 특성을 구분해내야 하기 때문이죠. 그렇다면 자연스럽게 ‘Anomaly를 만들어서라도 학습해주자’ 라는 생각이 드는데요. Synthetic Anomaly 방식들은 이러한 아이디어를 바탕으로 구현된 방법들입니다.

image 44
그림1. Synthetic Anomaly 방식의 Anomaly Detection

따라서 복잡한 Anomaly Detection 모델이 필요 없이 위와 같이 Image Classification 방식을 사용할 수 있습니다. 이때의 관건은 ‘Synthetic Anomaly를 얼마나 진짜 Anomaly와 비슷하게 만들어줄 수 있느냐’ 겠죠.

3. 대표적인 방법들

이런 아이디어를 구현한 대표적인 방법들을 살펴보겠습니다.

3-1. DRAEM

가장 먼저 DRAEM을 꼽을 수 있습니다. DRAEM의 전체 구조는 이렇습니다.

image 45
그림2. DRAEM

전체적인 구조는 Reconstruction 방식을 취하고 있는데요. 보통 Reconstruction 방식은 정상 이미지를 그대로 복원하도록 학습하죠. 반면 DRAEM에서는 정상 이미지로부터 합성한 Anomaly 이미지를 정상 이미지로 복원하도록 학습하는 모습을 볼 수 있습니다. 자세한 내용은 DRAEM 리뷰글을 참고해 주세요.

3-2. CutPaste

다음으로 살펴볼 논문은 CutPaste 입니다. 제목이 모든걸 말해주고 있는데요. 말 그대로 ‘자르고 붙이는’ 방법으로 Synthetic Anomal를 만들어주는 방법입니다.

image 46
그림3. CutPaste

위의 그림처럼 정상 이미지로부터 CutPaste 방식으로 Anomaly를 만들어준 뒤 Classification을 학습합니다. 이렇게 학습하면 Normal Feature와 Anomal Feature 분포는 다음과 같을 겁니다.

image 47
그림4. CutPaste 방식의 Feature 분포

이렇게 분포하고 있다면 Normal과 Anomal을 구분하기 수월하겠죠. 자세한 내용은 CutPaste 리뷰글을 참고해 주세요.

Series Navigation<< [22′ CVPR] Reverse Distillation AD : Anomaly Detection via Reverse Distillation from One-Class Embedding[21′ ICCV] DRAEM : A discriminatively trained reconstruction embedding for surface anomaly detection >>
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Scroll to Top