SOTAVerified

Learning to Plan Long-Term for Language Modeling

2024-08-23Unverified0· sign in to hype

Florian Mai, Nathan Cornille, Marie-Francine Moens

Unverified — Be the first to reproduce this paper.

Reproduce

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.

Tasks

Reproductions