1st author of 6 · ICCI 2025, International Conference on Cybernetics and Innovations · Pattaya, Thailand
Standard knowledge distillation compresses a large teacher model into a smaller student using a fixed temperature (T) and loss-balance weight (α) for every training sample. But not every sample is equally ambiguous — an easy, confidently-classified wound image and a genuinely hard, borderline one carry very different amounts of useful signal in the teacher's soft labels. Using one fixed T and α for both wastes the easy samples and under-uses the hard ones.
Instead of a fixed temperature, EGATS scales it per sample based on the teacher's own prediction entropy: T = clamp(1.0 + β·H_scaled, 1.0, 5.0). Higher-entropy (more uncertain) predictions get a higher temperature, softening the teacher's output distribution exactly where the extra nuance matters most.
The same entropy signal drives α — the balance between the distillation loss and the standard cross-entropy loss — via a sigmoid: α = σ(2 − H). Confident, low-entropy samples lean on ground-truth labels; uncertain, high-entropy samples lean more on the teacher's softened distribution.
On top of EGATS/EGAAS, an auxiliary cosine-similarity contrastive loss (weighted λ = 0.1) pulls the student's intermediate feature representations toward the teacher's, giving the student a second, feature-space signal beyond just matching output logits.
For every training image, the teacher's own uncertainty sets both knobs at once.
Teacher: ResNet-34, 20 epochs, LR 0.0015. Student: ResNet-18, 70 epochs, LR 0.001. Trained and evaluated on a Kaggle wound-image dataset spanning 9 classes — burns, bruises, cuts, venous wounds, abrasions, surgical wounds, pressure wounds, diabetic wounds, lacerations — balanced to 100 images per class (900 total), resized to 224×224, augmented with 9 Albumentations transform types, split 80/10/10.
The notebook, the entropy-guided loss, a manifest of the 900-image subset and the five trained models (release assets with SHA-256 checksums) are public on GitHub, together with notes on the limits of the evaluation.
Produced through IPST/PMU-B's national RAC (Robotics, AI, and Coding) program, Cohort 2 — selected as 1 of 25 students nationally from a Python coding assessment, then developed and researched the method over an intensive residential workshop and follow-up remote work before submission to ICCI 2025.