计算机科学 > 机器学习
[提交于 2025年11月8日 (v1),最后修订于 2026年11月25日 (此版本, v7)]
标题:Next-Latent Prediction Transformers Learn Compact World Models
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Transformers replace recurrence with a memory that grows with sequence length and self-attention that enables ad-hoc lookups over past tokens. Consequently, they lack an inherent incentive to compress history into compact latent states with consistent transition rules. This often leads to learning solutions that generalize poorly. We introduce Next-Latent Prediction (NextLat), which extends standard next-token training with self-supervised predictions in the latent space. Specifically, NextLat trains a transformer to learn latent representations that are predictive of its next latent state given the next token. Theoretically, we show that these latents converge towards belief states, compressed information about the history necessary to predict the future. This simple auxiliary objective injects a recurrent inductive bias into transformers while leaving their architecture, parallel training efficiency, and inference unchanged. NextLat effectively encourages transformers to form compact internal world models with coherent belief states and transition dynamics -- crucial properties not guaranteed by standard next-token prediction alone. Empirically, across benchmarks in world modeling, reasoning, planning, and language modeling, NextLat demonstrates significant gains over standard next-token prediction and other baselines in downstream accuracy, representation compression, and lookahead planning. Furthermore, NextLat enables variable-length self-speculative decoding, accelerating inference by up to 3.3x in language modeling. NextLat offers a simple yet effective paradigm for learning compact, predictive representations in transformers that generalize better. Our code is available at https://github.com/JaydenTeoh/NextLat.
提交历史
来自:Jayden Teoh[v1] 2025年11月8日 星期六 10:41:26 UTC (7,301 KB)
[v2] 2026年5月22日 星期五 06:33:12 UTC (9,033 KB)
[v3] 2026年5月25日 星期一 15:53:24 UTC (9,037 KB)
[v4] 2026年6月15日 星期一 08:56:56 UTC (8,940 KB)
[v5] 2026年11月11日 星期三 09:38:16 UTC (9,074 KB)
[v6] 2026年11月18日 星期三 22:44:04 UTC (2,077 KB)
[v7] 2026年11月25日 星期三 02:10:53 UTC (2,076 KB)