Information Noise-Contrastive Estimation

InfoNCE (Information Noise-Contrastive Estimation) 손실은 대조 학습 (contrastive learning) 에서 널리 사용되는 손실 함수

비지도 학습 방식

InfoNCE 손실은 양의 쌍 (positive pairs) 간의 유사도를 최대화하고, 음의 쌍 (negative pairs) 간의 유사도를 최소화함으로써 학습

기준이 되는 anchor representation 에 대해서 positive sample 가 주어지고, 나머지 개의 negative samples 가 주어질때, 아래와 같이 loss 가 계산된다.

여기서 유사도는 dot productcosine similarity 같은 간단한 식을 사용한다.

B) References