Litcius/Paper detail

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

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

202321 citationsDOI

Abstract

Previous Knowledge Distillation based efficient image retrieval methods employ a lightweight network as the stu-dent model for fast inference. However, the lightweight stu-dent 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 stu-dent model is gradually compressed during the training. To dynamically adjust the model capacity, our dynamic frame-work 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 accu-racy, e.g., on the VeRi-776 dataset, given the ResNet101 as a teacher, our method saves 67.13% model parameters and 65.67% FLOPs without sacrificing accuracy. Code is avail-able at https://github.com/SCY-X/Capacity_Dynamic_Distillation.

Topics & Concepts

DistillationComputer scienceImage (mathematics)Image retrievalComputer visionInformation retrievalArtificial intelligenceChromatographyChemistryAdvanced Image and Video Retrieval TechniquesMachine Learning and AlgorithmsDomain Adaptation and Few-Shot Learning
Towards a Smaller Student: Capacity Dynamic Distillation for Efficient Image Retrieval | Litcius