Faster Than the Teacher, Smarter Than the Student: Classifying with Wisdom via Knowledge Distillation in LLMs
| dc.contributor.author | Gobihanath B. | |
| dc.contributor.author | Abishethvarman V. | |
| dc.contributor.author | Prasanth S | |
| dc.contributor.author | Banujan K. | |
| dc.contributor.author | B.T.G.S Kumara | |
| dc.date.accessioned | 2026-08-12T09:16:25Z | |
| dc.date.issued | 2025-09-09 | |
| dc.description.abstract | Large language models (LLMs) have achieved remarkable success across various natural language processing (NLP) tasks, driven by their ability to capture complex language patterns through large-scale pretraining. However, their substantial computational demands limit their deployment in resourceconstrained environments. To address this, this research introduced Knowledge distillation-based framework for text classification using a multiclass approach across three domains: entertainment, sports, and politics. We utilize both hard labels (ground-truth categories) and soft labels (logits from a teacher model) to train a student and a distilled model. The teacher model is accurate but computationally expensive. The student model is lightweight and fast, yet less accurate. Through distillation, we derive a task-specific distilled model that balances speed and accuracy. We also compare the performance of these models against traditional classifiers such as LSTM, SVM, and Naive Bayes. Traditional models excel comparing to the LLMs. Considering only task agnostic language models, evaluation shows that the distilled model performs significantly better than the student and competitively against the teacher, offering a practical trade-off. Our study demonstrates the value of soft label transfer and semantic alignment for improving classification performance in resource-constrained environments. The text classification code can be found at: https://github.com/Abishethvarman/KD-Text-Classification | |
| dc.identifier.doi | https://doi.org/10.54389/LQAK9453 | |
| dc.identifier.issn | 3121 4037 | |
| dc.identifier.uri | https://rda.sliit.lk/handle/123456789/5182 | |
| dc.language.iso | en | |
| dc.publisher | Faculty of Engineering | |
| dc.relation.ispartofseries | SICET 2025; 37p.-44p. | |
| dc.subject | Knowledge Distillation | |
| dc.subject | Text Classification | |
| dc.subject | Multiclass Classification | |
| dc.subject | Teacher-Student Framework. | |
| dc.title | Faster Than the Teacher, Smarter Than the Student: Classifying with Wisdom via Knowledge Distillation in LLMs | |
| dc.type | Article |
Files
Original bundle
1 - 1 of 1
No Thumbnail Available
- Name:
- 6.Faster Than the Teacher, Smarter Than the Student.pdf
- Size:
- 541.07 KB
- Format:
- Adobe Portable Document Format
License bundle
1 - 1 of 1
No Thumbnail Available
- Name:
- license.txt
- Size:
- 1.69 KB
- Format:
- Item-specific license agreed upon to submission
- Description:
