paper-with-me

홈 › Papers

Knowledge Distillation Using Frontier Open-source LLMs: Generalizability and the Role of Synthetic Data

2024-10-24 · Anup Shirgaonkar, Nikhil Pandey, Nazmiye Ceren Abay, Tolga Aktas, Vijay Aski

Leading open-source large language models (LLMs) such as Llama-3.1-Instruct-405B are extremely capable at generating text, answering questions, and solving a variety of natural language understanding tasks. However, they incur higher inference cost and latency compared to smaller LLMs. Knowledge distillation provides a way to use outputs from these large, capable teacher models to train smaller student models which can be used for inference at lower cost and latency, while retaining comparable accuracy. We investigate the efficacy of distillation using the Llama-3.1-405B-Instruct teacher and the smaller Llama-3.1-8B-Instruct and Llama-3.1-70B-Instruct student models. Contributions of this work include (a) We evaluate the generalizability of distillation with the above Llama-3.1 teacher-student pairs across different tasks and datasets (b) We show that using synthetic data during distillation significantly improves the accuracy of 8B and 70B models, and when used with reasoning chains, even matches or surpasses the zero-shot accuracy of 405B model on some datasets (c) We empirically show that distillation enables 8B and 70B models to internalize 405B's reasoning ability by using only standard fine-tuning (without customizing any loss function). This allows cost and latency-efficient student model inference. (d) We show pitfalls in evaluation of distillation, and present task-specific evaluation, including both human and LLM-grading, and ground-truth based traditional accuracy benchmarks. This methodical study brings out the fundamental importance of synthetic data quality in knowledge distillation, and of combining multiple, task-specific ways of accuracy and quality evaluation in assessing the effectiveness of distillation.

📄 PDF Abstract BibTeX arXiv:2410.18588

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationNatural Language Understanding

Methods 이 논문이 사용한 방법론

Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

Towards Resource-Efficient LLMs: End-to-End Energy Accounting of Distillation Pipelines

2026-05-13 · Katherine Lambert, Sasha Luccioni arxiv

The rise in deployment of large language models has driven a surge in GPU demand and datacenter scaling, raising concerns about electricity use, grid stress, and the impacts of modern AI workloads. Distillation is often …

Knowledge Distillation

Distillation Quantification for Large Language Models

2025-01-22 · Sunbowen Lee, Junting Zhou, Chang Ao, Kaige Li 외

Model distillation is a technique for transferring knowledge from large language models (LLMs) to smaller ones, aiming to create resource-efficient yet high-performing models. However, excessive distillation can lead to …

A Survey on Knowledge Distillation of Large Language Models

2024-02-20 · Xiaohan Xu, Ming Li, Chongyang Tao, Tao Shen 외

In the era of Large Language Models (LLMs), Knowledge Distillation (KD) emerges as a pivotal methodology for transferring advanced capabilities from leading proprietary LLMs, such as GPT-4, to their open-source counterpa…

Data AugmentationKnowledge DistillationModel CompressionSurvey

Multilingual Large Language Model: A Survey of Resources, Taxonomy and Frontiers

2024-04-07 · Libo Qin, Qiguang Chen, YuHang Zhou, Zhi Chen 외

Multilingual Large Language Models are capable of using powerful Large Language Models to handle and respond to queries in multiple languages, which achieves remarkable success in multilingual natural language processing…

Language ModelingLanguage ModellingLarge Language ModelSurvey

AMR-Evol: Adaptive Modular Response Evolution Elicits Better Knowledge Distillation for Large Language Models in Code Generation

2024-10-01 · Ziyang Luo, Xin Li, Hongzhan Lin, Jing Ma 외

The impressive performance of proprietary LLMs like GPT4 in code generation has led to a trend to replicate these capabilities in open-source models through knowledge distillation (e.g. Code Evol-Instruct). However, thes…

Code GenerationHumanEvalKnowledge Distillationmbpp