Efficient Crowd Counting via Dual Knowledge Distillation
- 21 December 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Image Processing
- Vol. 33 (10577149) , 569-583
Abstract
Most researchers focus on designing accurate crowd counting models with heavy parameters and computations but ignore the resource burden during the model deployment. A real-world scenario demands an efficient counting model with low-latency and high-performance. Knowledge distillation provides an elegant way to transfer knowledge from a complicated teacher model to a compact student model while maintaining accuracy. However, the student model receives the wrong guidance with the supervision of the teacher model due to the inaccurate information understood by the teacher in some cases. In this paper, we propose a dual-knowledge distillation (DKD) framework, which aims to reduce the side effects of the teacher model and transfer hierarchical knowledge to obtain a more efficient counting model. First, the student model is initialized with global information transferred by the teacher model via adaptive perspectives. Then, the self-knowledge distillation forces the student model to learn the knowledge by itself, based on intermediate feature maps and target map. Specifically, the optimal transport distance is utilized to measure the difference of feature maps between the teacher and the student to perform the distribution alignment of the counting area. Extensive experiments are conducted on four challenging datasets, demonstrating the superiority of DKD. When there are only approximately 6% of the parameters and computations from the original models, the student model achieves a faster and more accurate counting performance as the teacher model even surpasses it.Keywords
Funding Information
- National Key Research and Development Program of China (2023YFB4503400)
- National Natural Science Foundation of China (62176101, 62276109, 62322205, 62202410, 62202182)
- Shenzhen Science and Technology Program (JCYJ20220530143808019)
- Shenzhen Institute of Artificial Intelligence and Robotics for Society
- Slovenian Research and Innovation Agency through the Decentralized solutions for the Digitalization of Industry and Smart Cities and Communities under Research Program P2-0425
This publication has 64 references indexed in Scilit:
- Composition Loss for Counting, Density Map Estimation and Localization in Dense Crowds2018
- AMC: AutoML for Model Compression and Acceleration on Mobile Devices2018
- Scale Aggregation Network for Accurate and Efficient Crowd Counting2018
- A Gift from Knowledge Distillation: Fast Optimization, Network Minimization and Transfer Learning2017
- Single-Image Crowd Counting via Multi-Column Convolutional Neural Network2016
- Interactive Object Counting2014
- Crossing the Line: Crowd Counting by Integer Programming with Local Features2013
- Multi-source Multi-scale Counting in Extremely Dense Crowd Images2013
- Density-aware person detection and tracking in crowds2011
- Theory of Maxima and the Method of LagrangeSIAM Journal on Applied Mathematics, 1971