DarkRank

Approach

We introduce a new type of knowledge – cross sample similarities for model compression and acceleration. This knowledge can be naturally derived from deep metric learning model. To transfer them, we bring the learning to rank technique into deep metric learning formulation.

we propose two methods for the transfer: soft transfer and hard transfer. For soft transfer method, we construct two probability distributions P(π ∈ P | X s ) and P(π ∈ P | X t ) over all possible permutations (or ranks) P of the mini-batch based on Eqn. 1. Then, we match these two distributions with KL divergence. For hard transfer method, we simply maximize the likelihood of the ranking π y which has the highest probability by teacher model. Formally, we have


where S(x) is a score function based on the distance between x and the query q, and pi denotes a permutation of a list of length n. We denote the embedded features of each mini-batch after an embedding function f(.) as X.

Experiment

References:
DarkRank: Accelerating Deep Metric Learning via Cross Sample Similarities Transfer,Yuntao Chen,2017,arXiv

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 转身离别 一瞬 五味瓶掀翻 面无情心已泪 不忍话别 就此南去匆匆 掰开纤纤玉手 湿透桃花玉面 相视无言 空眼望长天...
    知微知彰阅读 187评论 0 1
  • 道德是约束自己的,可是,似乎中国人向来拿“道德”两个字来约束别人。这就是道德绑架。 我是个教师。以前的一个...
    美人鱼熙宝阅读 668评论 0 2
  • 我先从我跟月的聊天说起。 月是我以前公司的一个同事。她两个多月前还没从原来的公司离职的,她说老板让所有的高管都加入...
    此时的宝丹阅读 1,874评论 0 2
  • 这是我来正定的第三个星期了。真的不知道该说点什么了,刚才还想好了一筐的话,现在提起笔来,却不知道该写点啥。 当初数...
    漠北雁阅读 181评论 0 1
  • 前几天在纹绣的群里,看到一个群友说了一些关于如何做出更好的眉毛的点拨,她的核心点就是,慢就是快。也就是说,做一遍眉...
    亦如是阅读 707评论 0 2