Decoding with Limited Teacher Supervision Requires Understanding When to Trust the Teacher

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ok, Hyunjong, Ryu, Jegwang, Lee, Jaeho
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912056201969664
author Ok, Hyunjong
Ryu, Jegwang
Lee, Jaeho
author_facet Ok, Hyunjong
Ryu, Jegwang
Lee, Jaeho
contents How can small-scale large language models (LLMs) efficiently utilize the supervision of LLMs to improve their generative quality? This question has been well studied in scenarios where there is no restriction on the number of LLM supervisions one can use, giving birth to many decoding algorithms that utilize supervision without further training. However, it is still unclear what is an effective strategy under the $\textit{limited supervision}$ scenario, where we assume that no more than a few tokens can be generated by LLMs. To this end, we develop an algorithm to effectively aggregate the small-scale LLM and LLM predictions on initial tokens so that the generated tokens can more accurately condition the subsequent token generation by small-scale LLM only. Critically, we find that it is essential to adaptively overtrust or disregard the LLM prediction based on the confidence of the small-scale LLM. Through our experiments on a wide range of models and datasets, we demonstrate that our method provides a consistent improvement over conventional decoding strategies. $\small$ $\textbf{Code:}$ https://github.com/HJ-Ok/DecLimSup
format Preprint
id arxiv_https___arxiv_org_abs_2406_18002
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Decoding with Limited Teacher Supervision Requires Understanding When to Trust the Teacher
Ok, Hyunjong
Ryu, Jegwang
Lee, Jaeho
Computation and Language
Artificial Intelligence
How can small-scale large language models (LLMs) efficiently utilize the supervision of LLMs to improve their generative quality? This question has been well studied in scenarios where there is no restriction on the number of LLM supervisions one can use, giving birth to many decoding algorithms that utilize supervision without further training. However, it is still unclear what is an effective strategy under the $\textit{limited supervision}$ scenario, where we assume that no more than a few tokens can be generated by LLMs. To this end, we develop an algorithm to effectively aggregate the small-scale LLM and LLM predictions on initial tokens so that the generated tokens can more accurately condition the subsequent token generation by small-scale LLM only. Critically, we find that it is essential to adaptively overtrust or disregard the LLM prediction based on the confidence of the small-scale LLM. Through our experiments on a wide range of models and datasets, we demonstrate that our method provides a consistent improvement over conventional decoding strategies. $\small$ $\textbf{Code:}$ https://github.com/HJ-Ok/DecLimSup
title Decoding with Limited Teacher Supervision Requires Understanding When to Trust the Teacher
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.18002