arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.03624cs.CV
收藏

向教师学习:用于图像嵌入的紧凑网络

Learning Metrics from Teachers: Compact Networks for Image Embedding

Northwestern Polytechnical University(西北工业大学);Universitat Autonoma de Barcelona(巴塞罗那自治大学);Wide-Eyes Technologies(Wide-Eyes科技公司)

Lu Yu, Vacit Oguz Yazici, Xialei Liu, Joost van de Weijer, Yongmei Cheng, Arnau Ramisa

摘要:

度量学习网络被用于计算图像嵌入,这被广泛用于许多应用,如图像检索和人脸识别。在本文中,我们提出了使用网络蒸馏来有效地计算图像嵌入与小网络。网络蒸馏已成功地应用于改进图像分类,但几乎没有探索用于度量学习。为此,我们提出了两个新的损失函数,用于模拟深层教师网络与小型学生网络的通信。我们在几个数据集上评估了我们的系统,包括CUB-200-2011,Cars-196,Stanford Online Products,并表明使用小型学生网络计算的嵌入比使用类似大小的标准网络计算的嵌入表现得更好。在一个可用于移动设备的非常紧凑的网络(MobileNet-0.25)上的实验结果表明,该方法可以将Recall@1结果从27.5%提高到44.6%。此外,我们研究了嵌入蒸馏的各个方面,包括提示和注意层,半监督学习和交叉质量蒸馏。(Code可以在https://github.com/yulu0724/EmbeddingDistillation上找到。

英文摘要:

Metric learning networks are used to compute image embeddings, which are widely used in many applications such as image retrieval and face recognition. In this paper, we propose to use network distillation to efficiently compute image embeddings with small networks. Network distillation has been successfully applied to improve image classification, but has hardly been explored for metric learning. To do so, we propose two new loss functions that model the communication of a deep teacher network to a small student network. We evaluate our system in several datasets, including CUB-200-2011, Cars-196, Stanford Online Products and show that embeddings computed using small student networks perform significantly better than those computed using standard networks of similar size. Results on a very compact network (MobileNet-0.25), which can be used on mobile devices, show that the proposed method can greatly improve Recall@1 results from 27.5\% to 44.6\%. Furthermore, we investigate various aspects of distillation for embeddings, including hint and attention layers, semi-supervised learning and cross quality distillation. (Code is available at https://github.com/yulu0724/EmbeddingDistillation.)

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑