arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.09230cs.CV
收藏

迈向更轻量的学生模型:面向高效图像检索的容量动态蒸馏

Towards a Smaller Student: Capacity Dynamic Distillation for Efficient Image Retrieval

South China University of Technology(华南理工大学);Huaqiao University(华侨大学);Singapore Management University(新加坡管理大学)

Yi Xie, Huaidong Zhang, Xuemiao Xu, Jianqing Zhu, Shengfeng He

AI总结:

针对轻量级学生模型训练早期表征能力不足导致检索性能下降的问题,提出容量动态蒸馏框架,通过动态调整模型容量与梯度重置机制,在图像检索任务中实现了更高的压缩率与准确率。

摘要:

以往基于知识蒸馏的高效图像检索方法采用轻量级网络作为学生模型以实现快速推理。然而,在最关键的训练早期阶段,轻量级学生模型缺乏足够的表征能力来进行有效的知识模仿,导致最终性能下降。为解决该问题,我们提出一种容量动态蒸馏框架,该框架构建了具有可编辑表征容量的学生模型。具体而言,所采用的学生模型初始为重型模型,以在训练早期epoch充分学习蒸馏知识,随后在训练过程中对学生模型进行逐步压缩。为动态调整模型容量,我们的动态框架在学生模型的每个残差块内插入一个可学习卷积层作为通道重要性指示器。该指示器由图像检索损失与压缩损失同时优化,同时我们提出了一种检索引导的梯度重置机制以缓解梯度冲突。大量实验表明,我们的方法具备更优的推理速度与准确率,例如在VeRi-776数据集上,以ResNet101作为教师模型,我们的方法在不损失准确率(mAP较现有最优方法高约2.11%)的前提下,节省了67.13%的模型参数与65.67%的FLOPs(分别比现有最优方法高约24.13%和21.94%)。

英文摘要:

Previous Knowledge Distillation based efficient image retrieval methods employs a lightweight network as the student model for fast inference. However, the lightweight student model lacks adequate representation capacity for effective knowledge imitation during the most critical early training period, causing final performance degeneration. To tackle this issue, we propose a Capacity Dynamic Distillation framework, which constructs a student model with editable representation capacity. Specifically, the employed student model is initially a heavy model to fruitfully learn distilled knowledge in the early training epochs, and the student model is gradually compressed during the training. To dynamically adjust the model capacity, our dynamic framework inserts a learnable convolutional layer within each residual block in the student model as the channel importance indicator. The indicator is optimized simultaneously by the image retrieval loss and the compression loss, and a retrieval-guided gradient resetting mechanism is proposed to release the gradient conflict. Extensive experiments show that our method has superior inference speed and accuracy, e.g., on the VeRi-776 dataset, given the ResNet101 as a teacher, our method saves 67.13% model parameters and 65.67% FLOPs (around 24.13% and 21.94% higher than state-of-the-arts) without sacrificing accuracy (around 2.11% mAP higher than state-of-the-arts).

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

↑