Optimal Knowledge Distillation through Non-Heuristic Control of Dark Knowledge
Open Access
- 22 August 2024
- journal article
- research article
- Published by MDPI AG in Machine Learning and Knowledge Extraction
- Vol. 6 (3) , 1921-1935
Abstract
In this paper, a method is introduced to control the dark knowledge values also known as soft targets, with the purpose of improving the training by knowledge distillation for multi-class classification tasks. Knowledge distillation effectively transfers knowledge from a larger model to a smaller model to achieve efficient, fast, and generalizable performance while retaining much of the original accuracy. The majority of deep neural models used for classification tasks append a SoftMax layer to generate output probabilities and it is usual to take the highest score and consider it the inference of the model, while the rest of the probability values are generally ignored. The focus is on those probabilities as carriers of dark knowledge and our aim is to quantify the relevance of dark knowledge, not heuristically as provided in the literature so far, but with an inductive proof on the SoftMax operational limits. These limits are further pushed by using an incremental decision tree with information gain split. The user can set a desired precision and an accuracy level to obtain a maximal temperature setting for a continual classification process. Moreover, by fitting both the hard targets and the soft targets, one obtains an optimal knowledge distillation effect that mitigates better catastrophic forgetting. The strengths of our method come from the possibility of controlling the amount of distillation transferred non-heuristically and the agnostic application of this model-independent study.Keywords
This publication has 29 references indexed in Scilit:
- Effective Online Knowledge Distillation via Attention-Based Model EnsemblingMathematics, 2022
- Cervical Cell Image Classification-Based Knowledge DistillationBiomimetics, 2022
- Continual semi-supervised learning through contrastive interpolation consistencyPattern Recognition Letters, 2022
- Artificial Intelligence System for Predicting Prostate Cancer Lesions from Shear Wave Elastography MeasurementsCurrent Oncology, 2022
- Learning without ForgettingIEEE Transactions on Pattern Analysis and Machine Intelligence, 2017
- THE FLEXIBLE GABOR-WAVELET TRANSFORM FOR CAR CRASH SIGNAL ANALYSISInternational Journal of Wavelets, Multiresolution and Information Processing, 2009
- Impact of coverage preservation techniques on prolonging the network lifetime in traffic surveillance applications2008
- Mean shift: a robust approach toward feature space analysisIEEE Transactions on Pattern Analysis and Machine Intelligence, 2002
- Catastrophic Forgetting, Rehearsal and PseudorehearsalConnection Science, 1995
- On Information and SufficiencyThe Annals of Mathematical Statistics, 1951