Saved in:
Bibliographic Details
Main Authors: Ballout, Mohamad, Krumnack, Ulf, Heidemann, Gunther, Kühnberger, Kai-Uwe
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.12586
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913508026744832
author Ballout, Mohamad
Krumnack, Ulf
Heidemann, Gunther
Kühnberger, Kai-Uwe
author_facet Ballout, Mohamad
Krumnack, Ulf
Heidemann, Gunther
Kühnberger, Kai-Uwe
contents Enhancing small language models for real-life application deployment is a significant challenge facing the research community. Due to the difficulties and costs of using large language models, researchers are seeking ways to effectively deploy task-specific small models. In this work, we introduce a simple yet effective knowledge distillation method to improve the performance of small language models. Our approach utilizes a teacher model with approximately 3 billion parameters to identify the most influential tokens in its decision-making process. These tokens are extracted from the input based on their attribution scores relative to the output, using methods like saliency maps. These important tokens are then provided as rationales to a student model, aiming to distill the knowledge of the teacher model. This method has proven to be effective, as demonstrated by testing it on four diverse datasets, where it shows improvement over both standard fine-tuning methods and state-of-the-art knowledge distillation models. Furthermore, we explore explanations of the success of the model by analyzing the important tokens extracted from the teacher model. Our findings reveal that in 68\% of cases, specifically in datasets where labels are part of the answer, such as multiple-choice questions, the extracted tokens are part of the ground truth.
format Preprint
id arxiv_https___arxiv_org_abs_2409_12586
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficient Knowledge Distillation: Empowering Small Language Models with Teacher Model Insights
Ballout, Mohamad
Krumnack, Ulf
Heidemann, Gunther
Kühnberger, Kai-Uwe
Computation and Language
Enhancing small language models for real-life application deployment is a significant challenge facing the research community. Due to the difficulties and costs of using large language models, researchers are seeking ways to effectively deploy task-specific small models. In this work, we introduce a simple yet effective knowledge distillation method to improve the performance of small language models. Our approach utilizes a teacher model with approximately 3 billion parameters to identify the most influential tokens in its decision-making process. These tokens are extracted from the input based on their attribution scores relative to the output, using methods like saliency maps. These important tokens are then provided as rationales to a student model, aiming to distill the knowledge of the teacher model. This method has proven to be effective, as demonstrated by testing it on four diverse datasets, where it shows improvement over both standard fine-tuning methods and state-of-the-art knowledge distillation models. Furthermore, we explore explanations of the success of the model by analyzing the important tokens extracted from the teacher model. Our findings reveal that in 68\% of cases, specifically in datasets where labels are part of the answer, such as multiple-choice questions, the extracted tokens are part of the ground truth.
title Efficient Knowledge Distillation: Empowering Small Language Models with Teacher Model Insights
topic Computation and Language
url https://arxiv.org/abs/2409.12586