공부정리/Computer Vision

생성모델 평가지표 - IS, FID

sillon 2024. 1. 12. 10:58
728x90
반응형

Inception Score : the higher, the better

  • Improved Techniques for Training GANs(Tim Salimans, 2016)에서 제안된 generated image sample quality 평가 지표
  • Inception image classifier를 활용해 'inception’이라는 명칭을 사용함
  • 2가지 특성을 통해 생성된 이미지의 품질을 평가. 아래 2가지를 만족할 수록 높은 score 획득

Pasted image 20240112105214.png

FID(Frechet Inception Distance) score : the lower, the better

  • Pre-trained Image classification model을 활용해 추출한 feature representation 간의 거리(distance)를 score로 활용
  • 거리(distance)는 프레쳇 거리(Frechet distance)로 측정
    • 프레쳇 거리(Frechet distance)는 곡선을 이루는 points의 위치와 순서를 고려해 두 곡선 간 유사도를 측정하는 지표
    • 예를 들어, 일변량 정규분포 간 프레쳇 거리는 아래와 같이 측정됨

• Feature 정보는 후반부 layer에서 추출한 high level representation을 활용

• FID score의 계산은 아래와 같은 순서로 진행

  1. Pretrained image classification model define(ex: inception model)
  2. Compute embedding(feature representation)
    2 - 1) Embedding of real image
    2 - 2) Embedding of generated image
  3. Calculate “Frechet distance” between 2 - 1) and 2 - 2)

이 글은 옵시디언 프로그램을 통해 티스토리에 게시되었습니다.

728x90
반응형