Retrieval with Deep Learning: A Ranking loss Survey Part 1

A deep network trained with a ranking loss to enable searching and indexing.
Contrastive Loss formulation.
Triplet Loss formulation
Triplet loss tuple (anchor, positive, negative) and margin m. Hard, semi-hard and easy negatives highlighted in red, cyan and orange respectively.
Hard sampling promotes unimodal embedding by picking the farthest positive and nearest negative (a, p1, n). Semi-hard sampling picks (a, p2, n) and avoids any tuple (a, p, n) where n lies between a and p.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ahmed Taha

Ahmed Taha

I write reviews on computer vision papers. Writing tips are welcomed.