PLaD: Preference-based Large Language Model Distillation with Pseudo-Preference Pairs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Rongzhi, Shen, Jiaming, Liu, Tianqi, Wang, Haorui, Qin, Zhen, Han, Feng, Liu, Jialu, Baumgartner, Simon, Bendersky, Michael, Zhang, Chao
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910474459676672
author Zhang, Rongzhi
Shen, Jiaming
Liu, Tianqi
Wang, Haorui
Qin, Zhen
Han, Feng
Liu, Jialu
Baumgartner, Simon
Bendersky, Michael
Zhang, Chao
author_facet Zhang, Rongzhi
Shen, Jiaming
Liu, Tianqi
Wang, Haorui
Qin, Zhen
Han, Feng
Liu, Jialu
Baumgartner, Simon
Bendersky, Michael
Zhang, Chao
contents Large Language Models (LLMs) have exhibited impressive capabilities in various tasks, yet their vast parameter sizes restrict their applicability in resource-constrained settings. Knowledge distillation (KD) offers a viable solution by transferring expertise from large teacher models to compact student models. However, traditional KD techniques face specific challenges when applied to LLMs, including restricted access to LLM outputs, significant teacher-student capacity gaps, and the inherited mis-calibration issue. In this work, we present PLaD, a novel preference-based LLM distillation framework. PLaD exploits the teacher-student capacity discrepancy to generate pseudo-preference pairs where teacher outputs are preferred over student outputs. Then, PLaD leverages a ranking loss to re-calibrate student's estimation of sequence likelihood, which steers the student's focus towards understanding the relative quality of outputs instead of simply imitating the teacher. PLaD bypasses the need for access to teacher LLM's internal states, tackles the student's expressivity limitations, and mitigates the student mis-calibration issue. Through extensive experiments on two sequence generation tasks and with various LLMs, we demonstrate the effectiveness of our proposed PLaD framework.
format Preprint
id arxiv_https___arxiv_org_abs_2406_02886
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PLaD: Preference-based Large Language Model Distillation with Pseudo-Preference Pairs
Zhang, Rongzhi
Shen, Jiaming
Liu, Tianqi
Wang, Haorui
Qin, Zhen
Han, Feng
Liu, Jialu
Baumgartner, Simon
Bendersky, Michael
Zhang, Chao
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) have exhibited impressive capabilities in various tasks, yet their vast parameter sizes restrict their applicability in resource-constrained settings. Knowledge distillation (KD) offers a viable solution by transferring expertise from large teacher models to compact student models. However, traditional KD techniques face specific challenges when applied to LLMs, including restricted access to LLM outputs, significant teacher-student capacity gaps, and the inherited mis-calibration issue. In this work, we present PLaD, a novel preference-based LLM distillation framework. PLaD exploits the teacher-student capacity discrepancy to generate pseudo-preference pairs where teacher outputs are preferred over student outputs. Then, PLaD leverages a ranking loss to re-calibrate student's estimation of sequence likelihood, which steers the student's focus towards understanding the relative quality of outputs instead of simply imitating the teacher. PLaD bypasses the need for access to teacher LLM's internal states, tackles the student's expressivity limitations, and mitigates the student mis-calibration issue. Through extensive experiments on two sequence generation tasks and with various LLMs, we demonstrate the effectiveness of our proposed PLaD framework.
title PLaD: Preference-based Large Language Model Distillation with Pseudo-Preference Pairs
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.02886