Saved in:
Bibliographic Details
Main Authors: Noci, Lorenzo, Bachmann, Gregor, Moosavi-Dezfooli, Seyed-Mohsen, Nabi, Moin
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.20219
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917355241603072
author Noci, Lorenzo
Bachmann, Gregor
Moosavi-Dezfooli, Seyed-Mohsen
Nabi, Moin
author_facet Noci, Lorenzo
Bachmann, Gregor
Moosavi-Dezfooli, Seyed-Mohsen
Nabi, Moin
contents Autoregressive language models trained with next-token prediction generate text by sampling one discrete token at a time. Although very scalable, this objective forces the model to commit at every step, preventing it from exploring or reflecting upon multiple plausible continuations. Furthermore, the compute allocation across tokens is uniform; every token is formed based on a single forward-pass, potentially limiting the model's expressiveness in cases where difficult tokens require inherently more compute. Towards addressing these limitations, we introduce latent lookahead, a training strategy that enables models to "think" before generating: at selected positions in the sequence, before committing to the next token, the model performs a multi-step lookahead in latent space. More precisely, instead of sampling future tokens, we leverage the network's latent space by recursively feeding its hidden states back into the context for $τ$ steps, investing more compute on predicting that token. This produces $τ$ latent predictions that are supervised against the next $τ$ ground-truth tokens, encouraging the model to "lookahead" and refine its prediction. We show that latent lookahead substantially outperforms both autoregressive and non-autoregressive baselines on planning tasks such as maze solving, Sudoku, and ProsQA, where foresight is essential.
format Preprint
id arxiv_https___arxiv_org_abs_2603_20219
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Thinking into the Future: Latent Lookahead Training for Transformers
Noci, Lorenzo
Bachmann, Gregor
Moosavi-Dezfooli, Seyed-Mohsen
Nabi, Moin
Computation and Language
Machine Learning
Autoregressive language models trained with next-token prediction generate text by sampling one discrete token at a time. Although very scalable, this objective forces the model to commit at every step, preventing it from exploring or reflecting upon multiple plausible continuations. Furthermore, the compute allocation across tokens is uniform; every token is formed based on a single forward-pass, potentially limiting the model's expressiveness in cases where difficult tokens require inherently more compute. Towards addressing these limitations, we introduce latent lookahead, a training strategy that enables models to "think" before generating: at selected positions in the sequence, before committing to the next token, the model performs a multi-step lookahead in latent space. More precisely, instead of sampling future tokens, we leverage the network's latent space by recursively feeding its hidden states back into the context for $τ$ steps, investing more compute on predicting that token. This produces $τ$ latent predictions that are supervised against the next $τ$ ground-truth tokens, encouraging the model to "lookahead" and refine its prediction. We show that latent lookahead substantially outperforms both autoregressive and non-autoregressive baselines on planning tasks such as maze solving, Sudoku, and ProsQA, where foresight is essential.
title Thinking into the Future: Latent Lookahead Training for Transformers
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2603.20219