Collaborative decoding of critical tokens for boosting factuality of large language models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Jin, Lifeng, Peng, Baolin, Song, Linfeng, Mi, Haitao, Tian, Ye, Yu, Dong
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911785355837440
author Jin, Lifeng
Peng, Baolin
Song, Linfeng
Mi, Haitao
Tian, Ye
Yu, Dong
author_facet Jin, Lifeng
Peng, Baolin
Song, Linfeng
Mi, Haitao
Tian, Ye
Yu, Dong
contents The most common training pipeline for large language models includes pretraining, finetuning and aligning phases, with their respective resulting models, such as the pretrained model and the finetuned model. Finetuned and aligned models show improved abilities of instruction following and safe generation, however their abilities to stay factual about the world are impacted by the finetuning process. Furthermore, the common practice of using sampling during generation also increases chances of hallucination. In this work, we introduce a collaborative decoding framework to harness the high factuality within pretrained models through the concept of critical tokens. We first design a critical token classifier to decide which model to use for the next token, and subsequently generates the next token using different decoding strategies. Experiments with different models and datasets show that our decoding framework is able to reduce model hallucination significantly, showcasing the importance of the collaborative decoding framework.
format Preprint
id arxiv_https___arxiv_org_abs_2402_17982
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Collaborative decoding of critical tokens for boosting factuality of large language models
Jin, Lifeng
Peng, Baolin
Song, Linfeng
Mi, Haitao
Tian, Ye
Yu, Dong
Computation and Language
The most common training pipeline for large language models includes pretraining, finetuning and aligning phases, with their respective resulting models, such as the pretrained model and the finetuned model. Finetuned and aligned models show improved abilities of instruction following and safe generation, however their abilities to stay factual about the world are impacted by the finetuning process. Furthermore, the common practice of using sampling during generation also increases chances of hallucination. In this work, we introduce a collaborative decoding framework to harness the high factuality within pretrained models through the concept of critical tokens. We first design a critical token classifier to decide which model to use for the next token, and subsequently generates the next token using different decoding strategies. Experiments with different models and datasets show that our decoding framework is able to reduce model hallucination significantly, showcasing the importance of the collaborative decoding framework.
title Collaborative decoding of critical tokens for boosting factuality of large language models
topic Computation and Language
url https://arxiv.org/abs/2402.17982