The State-Prediction Separation Hypothesis

AK's Picks LLM PTSAD ML TAVR
Transformer 模型采用相同的前向计算通路,既用于预测下一个词元(token),又用于存储对未来词元预测有用的状态信息。我们提出“状态—预测分离假说”:将上述两种功能解耦,可提升语言建模性能。为此,我们设计了一种新型 Transformer 变体,通过两条独立的计算通路分别承担状态维护与词元预测两项任务,并在多种模型规模下开展了预训练实验。实验结果表明,状态—预测分离策略始终能带来更优的数据利用效率与计算效率,不仅降低了验证损失,而且在各类下游任务上的平均性能较标准 Transformer 提升了 2–3 个百分点。此外,我们还开展了大量实证分析,排除了潜在混杂因素的干扰,并证实了该设计所引发的梯度特性存在本质性差异。
Transformers use the same forward computation stream to both predict the next token and store useful state for future token predictions. We formulate the \emph{state-prediction separation hypothesis}: disentangling the two roles yields better language modeling performance. We design a Transformer variant that uses two computation streams to separate the two functions, and conduct pretraining experiments across various scales. Our experiments show that state-prediction separation consistently offers better data and compute efficiencies, improving validation loss and outperforming standard Transformers by 2--3 percentage points on average on downstream tasks. We also conduct extensive empirical analysis that rules out potential confounders and demonstrates the fundamental difference in the gradients our design entails.
许愿