Saved in:
Bibliographic Details
Main Authors: Gholami, Mohsen, Akbari, Mohammad, Hu, Cindy, Masrani, Vaden, Wang, Z. Jane, Zhang, Yong
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.19754
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913289487777792
author Gholami, Mohsen
Akbari, Mohammad
Hu, Cindy
Masrani, Vaden
Wang, Z. Jane
Zhang, Yong
author_facet Gholami, Mohsen
Akbari, Mohammad
Hu, Cindy
Masrani, Vaden
Wang, Z. Jane
Zhang, Yong
contents Knowledge distillation from LLMs is essential for the efficient deployment of language models. Prior works have proposed data generation using LLMs for preparing distilled models. We argue that generating data with LLMs is prone to sampling mainly from the center of original content distribution. This limitation hinders the distilled model from learning the true underlying data distribution and to forget the tails of the distributions (samples with lower probability). To this end, we propose GOLD, a task-agnostic data generation and knowledge distillation framework, which employs an iterative out-of-distribution-guided feedback mechanism for the LLM. As a result, the generated data improves the generalizability of distilled models. An energy-based OOD evaluation approach is also introduced to deal with noisy generated data. Our extensive experiments on 10 different classification and sequence-to-sequence tasks in NLP show that GOLD respectively outperforms prior arts and the LLM with an average improvement of 5% and 14%. We will also show that the proposed method is applicable to less explored and novel tasks. The code is available.
format Preprint
id arxiv_https___arxiv_org_abs_2403_19754
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle GOLD: Generalized Knowledge Distillation via Out-of-Distribution-Guided Language Data Generation
Gholami, Mohsen
Akbari, Mohammad
Hu, Cindy
Masrani, Vaden
Wang, Z. Jane
Zhang, Yong
Computation and Language
Knowledge distillation from LLMs is essential for the efficient deployment of language models. Prior works have proposed data generation using LLMs for preparing distilled models. We argue that generating data with LLMs is prone to sampling mainly from the center of original content distribution. This limitation hinders the distilled model from learning the true underlying data distribution and to forget the tails of the distributions (samples with lower probability). To this end, we propose GOLD, a task-agnostic data generation and knowledge distillation framework, which employs an iterative out-of-distribution-guided feedback mechanism for the LLM. As a result, the generated data improves the generalizability of distilled models. An energy-based OOD evaluation approach is also introduced to deal with noisy generated data. Our extensive experiments on 10 different classification and sequence-to-sequence tasks in NLP show that GOLD respectively outperforms prior arts and the LLM with an average improvement of 5% and 14%. We will also show that the proposed method is applicable to less explored and novel tasks. The code is available.
title GOLD: Generalized Knowledge Distillation via Out-of-Distribution-Guided Language Data Generation
topic Computation and Language
url https://arxiv.org/abs/2403.19754