mlsanityData to 7 Oct 2026

Enhancing Knowledge Distillation for LLMs with Response-Priming Prompting

arXiv 2412.17846 ↗First posted 18 Dec 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have demonstrated remarkable performance across a wide range of natural language processing (NLP) tasks. However, these models are often difficult to deploy due to significant computational requirements and resource constraints. Knowledge distillation (KD) is an effective technique for transferring the performance of larger LLMs to smaller models. Traditional KD methods primarily focus on the direct output of the teacher model, with little emphasis on the role of prompting during knowledge transfer. In this paper, we propose a set of novel response-priming prompting strategies applied in the knowledge distillation pipeline to enhance the performance of student models. Our approach fine-tunes a smaller Llama 3.1 8B Instruct model by distilling knowledge from a quantized Llama 3.1 405B Instruct teacher model. We apply LoRA optimization and evaluate on the GSM8K benchmark. Experimental results demonstrate that integrating reasoning-eliciting prompting into the proposed KD pipeline significantly improves student model performance, offering an efficient way to deploy powerful models in resource-constrained environments. We find that Ground Truth prompting results in a 55% performance increase on GSM8K for a distilled Llama 3.1 8B Instruct compared to the same model distilled without prompting. A thorough investigation into the self-attention layers of the student models indicates that the more successful prompted models tend to exhibit certain positive behaviors inside their attention heads which can be tied to their increased accuracy. Our implementation can be found at https://github.com/alonso130r/knowledge-distillation.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 18 references that are in the map. First posted on arXiv 18 Dec 2024.

Builds on

15 of 18 references.

References · 15

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  6. 2023A Comprehensive Overview of Large Language Modelscited by 639
  7. 2024Large Language Models: A Surveycited by 506
  8. 2023Chain-of-Verification Reduces Hallucination in Large Language Modelscited by 317
  9. 2022Teaching Small Language Models to Reasoncited by 279
  10. 2023Universal Self-Consistency for Large Language Model Generationcited by 198
  11. 2023MiniLLM: On-Policy Distillation of Large Language Modelscited by 129
  12. 2023Chain-of-Knowledge: Grounding Large Language Models via Dynamic Knowledge Adapting over Heterogeneous Sourcescited by 121
3 more
  1. 2023Self-Polish: Enhance Reasoning in Large Language Models via Problem Refinementcited by 43
  2. 2024Faster and Lighter LLMs: A Survey on Current Challenges and Way Forwardcited by 20
  3. 2024A Law of Next-Token Prediction in Large Language Modelscited by 15

Built on by

Not cited yet.