Improving Knowledge Distillation in Transfer Learning with Layer-wise Learning Rates
Shirley Kokane, Mostofa Rafid Uddin, Min Xu
TL;DR
This work tackles the deteriorating performance of knowledge distillation as task complexity grows by introducing a layer-wise learning-rate optimization that aligns per-layer representations between teacher and student. It applies this layer-wise LR scheme to attention-map, Jacobian-map, and Hessian-map based transfer learning, using per-layer losses and Jensen-Shannon divergence to continuously adapt learning rates at crucial layers. Across CIFAR-10, CIFAR-100, and CoCo benchmarks, the approach yields consistent improvements, with larger gains observed on harder tasks, especially for Jacobian and Hessian-based methods. The method is simple to integrate with existing distillation pipelines and demonstrates practical impact in improving stability and accuracy of compact student models.
Abstract
Transfer learning methods start performing poorly when the complexity of the learning task is increased. Most of these methods calculate the cumulative differences of all the matched features and then use them to back-propagate that loss through all the layers. Contrary to these methods, in this work, we propose a novel layer-wise learning scheme that adjusts learning parameters per layer as a function of the differences in the Jacobian/Attention/Hessian of the output activations w.r.t. the network parameters. We applied this novel scheme for attention map-based and derivative-based (first and second order) transfer learning methods. We received improved learning performance and stability against a wide range of datasets. From extensive experimental evaluation, we observed that the performance boost achieved by our method becomes more significant with the increasing difficulty of the learning task.
