Learning a Similarity Metric Discriminatively, with Application to Face Verification (Siamese network)
Training a similarity metric from data
FaceNet: A Unified Embedding for Face Recognition and Clustering
∣∣f(A(i))−f(P(i))∣∣22+α<∣∣f(A(i))−f(N(i))∣∣22 Triplet loss=[∣∣f(A(i))−f(P(i))∣∣22−∣∣f(A(i))−f(N(i))∣∣22+α]+ A(i) : anchor of i-th triplet, P(i): positive example of i-th triplet, N(i): negative example of i-th triplet, α: margin