cs.CLMar 3, 2026

Thinking into the Future: Latent Lookahead Training for Transformers

Authors: Lorenzo Noci, Gregor Bachmann, Seyed-Mohsen Moosavi-Dezfooli, Moin Nabi

Organizations: Apple

Abstract

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.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Discrete Diffusion Models Exploit Asymmetry to Solve Lookahead Planning Tasks

    Feb 23, 2026Itamar Trainin, Shauli Ravfogel, Omri Abend +1Diffusion Language ModelsAutoregressive Language Modeling

  2. Latent Recurrent Transformer: Architecture Exploration, Training Strategies, and Scaling Behavior

    May 26, 2026Zeyi Huang, Xuehai He, LiLiang Ren +8Language Model PretrainingTransformer Inference

  3. LS-AR: Future-Predictive Latent Steering in Autoregressive LLMs

    Oct 2, 2026Anubha Gupta, Eduardo PignatelliAutoregressive Language ModelingLanguage Model-Based Control