[논문 리뷰] Deep Verifier Networks: Verification of Deep Discriminative Models with Deep Generative Models
DVN들은 판별 모델의 예측을 모델링하여 p(x|y)를 disentangled conditional VAE로 추정함으로써 분류기를 재학습하지 않고도 robust한 out-of-distribution 및 adversarial 입력 탐지를 가능하게 한다.
AI Safety is a major concern in many deep learning applications such as autonomous driving. Given a trained deep learning model, an important natural problem is how to reliably verify the model's prediction. In this paper, we propose a novel framework -- deep verifier networks (DVN) to verify the inputs and outputs of deep discriminative models with deep generative models. Our proposed model is based on conditional variational auto-encoders with disentanglement constraints. We give both intuitive and theoretical justifications of the model. Our verifier network is trained independently with the prediction model, which eliminates the need of retraining the verifier network for a new model. We test the verifier network on out-of-distribution detection and adversarial example detection problems, as well as anomaly detection problems in structured prediction tasks such as image caption generation. We achieve state-of-the-art results in all of these problems.
연구 동기 및 목표
- 안전-critical 설정에서 딥 모델 예측에 대한 신뢰할 수 있는 검증의 필요성을 제시한다.
- 딥 생성 모델을 사용해 p(x|y)를 추정하고 입력-레이블 일치 여부를 검증하는 프레임워크를 제안한다.
- 잠재 공간에 레이블 정보가 보존되도록 disentangled한 조건부 VAE를 도입한다.
- 재학습 없이 OOD, adversarial, 잘못 분류된 입력의 탐지를 통합적으로 가능하게 한다.
제안 방법
- 수정된 조건부 변이 오토인코더를 사용해 p(x|y)의 근사로 VERIFIER q(x|y)를 학습한다.
- 잠재 z와 레이블 y 간의 상호정보를 최소화하는 disentanglement 제약을 적용해 y가 무시되지 않도록 한다.
- L_k라는 샘플 중요가중치 경계를 사용해 로그 p(x|y)를 추정하고 검증 점수를 매긴다.
- GAN 기반 판별자 D_z를 사용해 잠재 분포 q(z)를 가우시안 사전 p(z)와 정렬시키고 likelihood 추정을 보정한다.
- L_k를 검증 임계값 delta와 비교해 ID 또는 OOD로 입력을 라벨링하는 임계치를 설정한다.
실험 결과
연구 질문
- RQ1딥 베리파이어 네트워크가 분포 내 입력과 분포 외 입력을 재학습 없이 정확히 구분할 수 있는가?
- RQ2잠재 공간에서 disentangled한 VAE로 p(x|y)를 모델링하면 애드버서리 입력과 이상치에 대한 강건성이 태스크 간에 확보되는가?
- RQ3DVN 프레임워크를 이미지 캡션 같은 구조화된 예측에도 적용할 수 있는가?
- RQ4y와 z를 disentangle하는 것이 검증 성능에 어떤 영향을 미치는가?
- RQ5밀도 추정기(VAE 대 PixelCNN/Glow)의 선택이 OOD/적대적 탐지 성능에 어떤 영향을 미치는가?
주요 결과
- DVN은 여러 데이터셋과 백본에서 OOD 및 적대적 탐지 모두에서 최첨단 성능을 달성한다.
- y를 z로부터 disentangle하는 것이 중요하며 검증 지표를 크게 향상시킨다.
- VAE를 PixelCNN이나 Glow로 교체하면 일반적으로 DVN보다 낮은 성능을 보이며 제안된 접근법의 강건성이 강조된다.
- OOD 샘플이 필요하지 않은 재배치 데이터로 검증 임계치를 설정할 수 있어 실용성이 향상된다.
- DVN은 이미지 캡션과 같은 구조화된 예측 작업으로도 재학습 없이 일반화된다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.