Distance Metric Learning: Beyond 0/1 Loss
Praveen Krishnan
CVIT, IIIT Hyderabad
June 14, 2017
1
Distance Metric Learning: Beyond 0/1 Loss Praveen Krishnan CVIT, - - PowerPoint PPT Presentation
Distance Metric Learning: Beyond 0/1 Loss Praveen Krishnan CVIT, IIIT Hyderabad June 14, 2017 1 Outline Distances and Similarities Distance Metric Learning Mahalanobis Distances Metric Learning Formulation Mahalanobis metric for clustering
1
2
1 p .
3
Image Credit: Brian Kulis, ECCV’10 Tutorial on Distance Functions and Metric Learning. 4
5
6
7
◮ Learn weightings over the features, then use standard distance
◮ In addition to scaling of features, also rotates the data ◮ For transformations to r < d dimensions, this is linear
◮ Neural nets ◮ Kernelization of linear transformations Slide Credit: Brian Kulis, ECCV’10 Tutorial on Distance Functions and Metric Learning. 8
9
10
Image Credit: Brian Kulis, ECCV’10 Tutorial on Distance Functions and Metric Learning. 11
12
13
13
◮ A set of constraints on the distance ◮ A regularizer on the distance / objective function
F.
A≥0 r(A) + λ C
14
15
15
16
◮ Promotes local distance notion instead of global similarity.
17
18
19
20
20
21
22
23
24
25
26
27
28
29
30
31
32
◮ Defined a-priori using supervised knowledge. ◮ Doesn’t enable utilizing shared structure among different
◮ Local similarity given by LMNN [Weinberger et. al. 2009],
◮ Target neighbors are determined a-priori and never updated
◮ Penalizing individual pairs of triplets does not employ sufficient
33
34
35
1...Ic K
k
k
36
1 2σ2 ||rn−µ(rn)||2 2−α
1 2σ2 ||rn−µ(rn)||2 2 }
37
◮ Sample a seed cluster I1 ∼ pI(.) ◮ Retrieve M − 1 nearest impostor clusters of I2, . . . IM of I1 ◮ For each cluster IM, m = 1 . . . M, sample D examples
1 , . . . , xm D ∼ pIM(.)
38
39
40
41