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

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容

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