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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 轉(zhuǎn)身離別 一瞬 五味瓶掀翻 面無情心已淚 不忍話別 就此南去匆匆 掰開纖纖玉手 濕透桃花玉面 相視無言 空眼望長天...
    知微知彰閱讀 205評(píng)論 0 1
  • 道德是約束自己的,可是,似乎中國人向來拿“道德”兩個(gè)字來約束別人。這就是道德綁架。 我是個(gè)教師。以前的一個(gè)...
    美人魚熙寶閱讀 692評(píng)論 0 2
  • 我先從我跟月的聊天說起。 月是我以前公司的一個(gè)同事。她兩個(gè)多月前還沒從原來的公司離職的,她說老板讓所有的高管都加入...
    此時(shí)的寶丹閱讀 1,963評(píng)論 0 2
  • 這是我來正定的第三個(gè)星期了。真的不知道該說點(diǎn)什么了,剛才還想好了一筐的話,現(xiàn)在提起筆來,卻不知道該寫點(diǎn)啥。 當(dāng)初數(shù)...
    漠北雁閱讀 191評(píng)論 0 1
  • 前幾天在紋繡的群里,看到一個(gè)群友說了一些關(guān)于如何做出更好的眉毛的點(diǎn)撥,她的核心點(diǎn)就是,慢就是快。也就是說,做一遍眉...
    亦如是閱讀 834評(píng)論 0 2

友情鏈接更多精彩內(nèi)容