Salvato in:
Dettagli Bibliografici
Autori principali: Datta, Joyeeta, Doll, Niclas, Ramadan, Qusai, Boukhers, Zeyd
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2507.07630
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915381800599552
author Datta, Joyeeta
Doll, Niclas
Ramadan, Qusai
Boukhers, Zeyd
author_facet Datta, Joyeeta
Doll, Niclas
Ramadan, Qusai
Boukhers, Zeyd
contents Large Language Models (LLMs) have demonstrated outstanding performance across a range of NLP tasks, however, their computational demands hinder their deployment in real-world, resource-constrained environments. This work investigates the extent to which LLMs can be compressed using Knowledge Distillation (KD) while maintaining strong performance on Question Answering (QA) tasks. We evaluate student models distilled from the Pythia and Qwen2.5 families on two QA benchmarks, SQuAD and MLQA, under zero-shot and one-shot prompting conditions. Results show that student models retain over 90% of their teacher models' performance while reducing parameter counts by up to 57.1%. Furthermore, one-shot prompting yields additional performance gains over zero-shot setups for both model families. These findings underscore the trade-off between model efficiency and task performance, demonstrating that KD, combined with minimal prompting, can yield compact yet capable QA systems suitable for resource-constrained applications.
format Preprint
id arxiv_https___arxiv_org_abs_2507_07630
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Exploring the Limits of Model Compression in LLMs: A Knowledge Distillation Study on QA Tasks
Datta, Joyeeta
Doll, Niclas
Ramadan, Qusai
Boukhers, Zeyd
Computation and Language
Machine Learning
Large Language Models (LLMs) have demonstrated outstanding performance across a range of NLP tasks, however, their computational demands hinder their deployment in real-world, resource-constrained environments. This work investigates the extent to which LLMs can be compressed using Knowledge Distillation (KD) while maintaining strong performance on Question Answering (QA) tasks. We evaluate student models distilled from the Pythia and Qwen2.5 families on two QA benchmarks, SQuAD and MLQA, under zero-shot and one-shot prompting conditions. Results show that student models retain over 90% of their teacher models' performance while reducing parameter counts by up to 57.1%. Furthermore, one-shot prompting yields additional performance gains over zero-shot setups for both model families. These findings underscore the trade-off between model efficiency and task performance, demonstrating that KD, combined with minimal prompting, can yield compact yet capable QA systems suitable for resource-constrained applications.
title Exploring the Limits of Model Compression in LLMs: A Knowledge Distillation Study on QA Tasks
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2507.07630