English

Look-back Decoding for Open-Ended Text Generation

Computation and Language 2023-10-24 v2

Abstract

Given a prefix (context), open-ended generation aims to decode texts that are coherent, which do not abruptly drift from previous topics, and informative, which do not suffer from undesired repetitions. In this paper, we propose Look-back, an improved decoding algorithm that leverages the Kullback-Leibler divergence to track the distribution distance between current and historical decoding steps. Thus Look-back can automatically predict potential repetitive phrase and topic drift, and remove tokens that may cause the failure modes, restricting the next token probability distribution within a plausible distance to the history. We perform decoding experiments on document continuation and story generation, and demonstrate that Look-back is able to generate more fluent and coherent text, outperforming other strong decoding methods significantly in both automatic and human evaluations.

Keywords

Cite

@article{arxiv.2305.13477,
  title  = {Look-back Decoding for Open-Ended Text Generation},
  author = {Nan Xu and Chunting Zhou and Asli Celikyilmaz and Xuezhe Ma},
  journal= {arXiv preprint arXiv:2305.13477},
  year   = {2023}
}

Comments

EMNLP 2023

R2 v1 2026-06-28T10:42:06.611Z