Back to Search
Start Over
Sentence-level heuristic tree search for long text generation
- Source :
- Complex & Intelligent Systems, Vol 10, Iss 2, Pp 3153-3167 (2023)
- Publication Year :
- 2023
- Publisher :
- Springer, 2023.
-
Abstract
- Abstract In this study, we primarily aim to address the exposure bias issue in long text generation intrinsic to statistical language models. We propose a sentence-level heuristic tree search algorithm, specially tailored for long text generation, to mitigate the problem by managing generated texts in a tree structure and curbing the compounding of biases. Our algorithm utilizes two pre-trained language models, an auto-regressive model for generating new sentences and an auto-encoder model for evaluating sentence quality. These models work in tandem to perform four critical operations: expanding the text tree with new sentences, evaluating the quality of the additions, sampling potential unfinished text fragments for further generation, and pruning leaf nodes deemed unpromising. This iterative process continues until a pre-defined number of [EOS] tokens are produced, at which point we select the highest-scoring completed text as our final output. Moreover, we pioneer two novel token-level decoding techniques—nucleus sampling with temperature and diverse beam search with sampling. These methods, integrated with our sentence-level search algorithm, aim to improve the consistency and diversity of text generation. Experimental results, both automated measures (including Jaccard similarity, Word2vec similarity, and unique word ratio) and human evaluations (assessing consistency, fluency, and rhetorical skills), conclusively demonstrate that our approach considerably enhances the quality of machine-generated long-form text. Through this research, we aim to inspire further innovations in sentence-level search-based text generation algorithms.
Details
- Language :
- English
- ISSN :
- 21994536 and 21986053
- Volume :
- 10
- Issue :
- 2
- Database :
- Directory of Open Access Journals
- Journal :
- Complex & Intelligent Systems
- Publication Type :
- Academic Journal
- Accession number :
- edsdoj.0c233af9dbf47febf7057a683e14603
- Document Type :
- article
- Full Text :
- https://doi.org/10.1007/s40747-023-01244-8