InDistill: Information Flow-Preserving Knowledge Distillation for Model Compression

Ioannis Sarridis, Christos Koutlis, Giorgos Kordopatis-Zilos, Yiannis Kompatsiaris, Symeon Papadopoulos; Proceedings of the Winter Conference on Applications of Computer Vision (WACV), 2025, pp. 9015-9024

Abstract


In this paper we introduce InDistill a method that serves as a warmup stage for enhancing Knowledge Distillation (KD) effectiveness. InDistill focuses on transferring critical information flow paths from a heavyweight teacher to a lightweight student. This is achieved via a training scheme based on curriculum learning that considers the distillation difficulty of each layer and the critical learning periods when the information flow paths are established. This procedure can lead to a student model that is better prepared to learn from the teacher. To ensure the applicability of InDistill across a wide range of teacher-student pairs we also incorporate a pruning operation when there is a discrepancy in the width of the teacher and student layers. This pruning operation reduces the width of the teacher's intermediate layers to match those of the student allowing direct distillation without the need for an encoding stage. The proposed method is extensively evaluated using various pairs of teacher-student architectures on CIFAR-10 CIFAR-100 and ImageNet datasets demonstrating that preserving the information flow paths consistently increases the performance of the baseline KD approaches on both classification and retrieval settings. The code is available at https://github.com/gsarridis/InDistill.

Related Material


[pdf] [arXiv]
[bibtex]
@InProceedings{Sarridis_2025_WACV, author = {Sarridis, Ioannis and Koutlis, Christos and Kordopatis-Zilos, Giorgos and Kompatsiaris, Yiannis and Papadopoulos, Symeon}, title = {InDistill: Information Flow-Preserving Knowledge Distillation for Model Compression}, booktitle = {Proceedings of the Winter Conference on Applications of Computer Vision (WACV)}, month = {February}, year = {2025}, pages = {9015-9024} }