Improving Language Modeling by Increasing Test-time Planning Compute

Florian Mai, Nathan Cornille, Marie-Francine MoensWiNLP @ EMNLP 2024

Abstract

Modern language models predict the next token in the sequence by considering the past text through a powerful function. 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.
BibTeX
@inproceedings{mai2024improving,
  author = {Florian Mai and Nathan Cornille and Marie-Francine Moens},
  title = {{Improving Language Modeling by Increasing Test-time Planning Compute}},
  booktitle = {WiNLP @ EMNLP},
  year = {2024},
  url = {https://openreview.net/forum?id=S3yyjW9OSY},
}

Loading related content...

Figure