Skip to content
ML감자
Go back

Deep Anomaly Detection with Outlier Exposure

Deep Anomaly Detection with Outlier Exposure 논문을 읽고 정리한 포스트입니다.


Introduction

목적 : Auxiliary dataset(보조 데이터셋)을 활용하여 OOD Detection 성능을 높이자.

Heuristic?

Out-of-Distribution Detection with Deep Networks.

  1. A baseline for detecting misclassified and out-of-distribution examples in neural networks, 2017.

    • Maximum Softmax Probability (MSP)

    • OOD detection이라는 task를 처음으로 정의하고 단순 soft-max 값을 OOD score로 사용하는 방식을 향후 연구의 baseline 모델로 제시함

  2. Learning confidence for out-of-distribution detection in neural networks, 2018.

    • Confidence Branch.

    • 아래 그림과 같이 네트워크 구조와 loss function을 변형하여 모델이 confidence score(OOD score의 반대 개념)을 산출할 수 있도록 함

      image-20211204014147799

  3. Enhancing the reliability of out-of-distribution image detection in neural networks, 2018.

    • Enhancing out-of-distribution detector.

    • in-distribution examples에는 out-of-distribution examples 보다 더 높은 softmax score를 줘서 정확하게 분류 방법을 제안함

  4. Training confidence-calibrated classifiers for detecting out-of-distribution samples, 2018

    • Synthetic Outliers.

    • GAN을 이용하여 out of distribution 데이터를 인공적으로 생성한 후 이를 활용하여 모델 을 재학습하여 OOD를 탐지하는 방식을 제안함

Outlier Exposure

image-20211203234656371

Experimental

Dataset

[Din]: SVHN, CIFAR-10&100, Tiny ImageNet, Places365, 20Newsgroups, TREC, SST

[Dout−oe]: 80 Million Tiny Images, ImageNet-22K, WikiText-2

[Dout−test]: SVHN, CIFAR-10&100, Tiny ImageNet, Places365, 20Newsgroups, TREC, SST

Dout−oe, Dout−test 이 두개의 데이터 셋은 겹치면 안되므로(disjoint) 겹치는 데이터의 경우 다 제거해주었다고 한다.

image-20211204023405443

성능지표

1. FPRN(False Positive Rate at N% True Positive Rate)

2. AUROC

3. AUPR

Maximum Softmax Probability (MSP)

image-20211203234656371

image-20211204022542242

실험결과

image-20211204022806086

Confidence Branch

실험결과

image-20211204022829898

Synthetic Outliers

실험결과

image-20211204022900553

Discussion

Choosing Dout_oe

image-20211204024532243

Conclusion


Share this post on:

Previous Post
Docker로 쾌적한 딥러닝 실험 환경 구성하기
Next Post
하반기 스터디 대잔치