Improving Open-Ended Text Generation via Adaptive Decoding
Abstract
Current language models decode text token by token according to probabilistic distribution, and determining the appropriate candidates for the next token is crucial to ensure generation quality. This study introduces adaptive decoding, a mechanism that dynamically empowers language models to ascertain a sensible candidate set during generation. Specifically, we introduce an entropy-based metric called confidence and conceptualize determining the optimal candidate set as a confidence-increasing process. The rationality of including a token in the candidate set is assessed by leveraging the increment of confidence. Experimental results reveal that our method balances diversity and coherence well. The human evaluation shows that our method can generate human-preferred text. Additionally, our method can potentially improve the reasoning ability of language models.
Cite
Text
Zhu et al. "Improving Open-Ended Text Generation via Adaptive Decoding." International Conference on Machine Learning, 2024.Markdown
[Zhu et al. "Improving Open-Ended Text Generation via Adaptive Decoding." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/zhu2024icml-improving/)BibTeX
@inproceedings{zhu2024icml-improving,
title = {{Improving Open-Ended Text Generation via Adaptive Decoding}},
author = {Zhu, Wenhong and Hao, Hongkun and He, Zhiwei and Ai, Yiming and Wang, Rui},
booktitle = {International Conference on Machine Learning},
year = {2024},
pages = {62386-62404},
volume = {235},
url = {https://mlanthology.org/icml/2024/zhu2024icml-improving/}
}