Next-Latent Prediction Transformers Learn Compact World Models
Jayden Teoh, Manan Tomar, Kwangjun Ahn, Edward Hu, Tim Pearce, Pratyusha Sharma, Akshay Krishnamurthy, Riashat Islam, Alex Lamb, John Langford
NeurIPS page · Open on the map
Category: Interpretability & Model Adaptation › Transformer Models · Type: new method · Keywords: transformer compression, belief states, self-supervised latent prediction, world modeling, efficient inference
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Latent Reasoning
Summary
NextLat introduces a self-supervised latent prediction objective that encourages transformers to learn compact belief-state world models, improving generalization and enabling faster inference.
Explained to a 5-year-old
Transformers are computer programs that read words one after another and keep everything in memory. Sometimes they remember too much, which makes them not good at guessing what comes next. The researchers gave the program a new game: after seeing a word, it must also guess what a hidden summary of what it has seen will be next. This helps the program learn to keep only the most important information, like a short story about what happened. Because of this, the program works better and can finish writing faster.
Explained to a 5-year-old, longer
Transformers are computer brainwaves that read words one by one and store everything they see. They keep a long list of all the words, which can become very big. When they have a lot of information, it’s hard for them to guess what will happen next. The researchers wanted to help the computer remember only the important parts, like a quick summary. They gave the computer a new game: after each word, it must also predict what the next hidden summary will be. This hidden summary is like a short story that tells what the computer needs to know for the future. By playing this game, the computer learns to pick out the most useful information and forget the rest. This makes the computer’s memory smaller and easier to work with. The new idea also helps the computer make better guesses in many tasks, like solving puzzles or writing stories. It also lets the computer finish writing faster because it doesn’t have to look at everything. The researchers showed that this simple game works well on many different kinds of problems. Overall, the computer becomes smarter and more efficient without changing how it is built.
For a technical reader
Standard transformers store the entire input sequence in memory, which can become unwieldy for long contexts. The paper adds a self-supervised loss that predicts the next latent representation from the next token, encouraging the model to compress history into a compact belief state. This auxiliary objective does not change the transformer architecture, preserving parallel training and inference. Empirically, the approach improves downstream accuracy, representation compression, and lookahead planning, and it enables faster inference through variable-length self-speculative decoding.
Problem
Standard transformer training lacks an incentive to compress history into compact latent states, leading to poor generalization and difficulty forming reusable belief states for future prediction.
Method
The approach adds a self-supervised auxiliary task that predicts the next latent state given the next token, encouraging the transformer to learn compressed belief-state representations. This objective is added to standard next-token training without altering the architecture, preserving parallel training and inference. The resulting latents converge to belief states that capture the minimal necessary information from history for future prediction.
Results
The approach achieves notable improvements in downstream accuracy, representation compression, and lookahead planning across the evaluated benchmarks, and speeds up inference by up to 3.3× in language modeling.
Contributions
It provides a theoretical guarantee that latent representations converge to belief states and introduces a simple auxiliary objective that injects recurrent inductive bias into transformers. The work also demonstrates empirical gains and a new variable-length self-speculative decoding scheme.
Practical relevance
It offers a simple, architecture-agnostic way to improve transformer generalization and inference speed, making models more reliable and efficient for real-world applications.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction