Learning to Plan Long-Term for Language Modeling
Computation and Language
2024-09-04 v1 Artificial Intelligence
Abstract
Modern language models predict the next token in the sequence by considering the past text through a powerful function such as attention. However, language models have no explicit mechanism that allows them to spend computation time for planning long-distance future text, leading to a suboptimal token prediction. In this paper, we propose a planner that predicts a latent plan for many sentences into the future. By sampling multiple plans at once, we condition the language model on an accurate approximation of the distribution of text continuations, which leads to better next token prediction accuracy. In effect, this allows trading computation time for prediction accuracy.
Cite
@article{arxiv.2409.00070,
title = {Learning to Plan Long-Term for Language Modeling},
author = {Florian Mai and Nathan Cornille and Marie-Francine Moens},
journal= {arXiv preprint arXiv:2409.00070},
year = {2024}
}
Comments
preprint