状态流变换器(SST)V2:通过非线性递归实现潜在空间推理的并行训练
State Stream Transformer (SST) V2: Parallel Training of Nonlinear Recurrence for Latent Space Reasoning
AI总结:
SST V2通过在解码器层中引入FFN驱动的非线性递归,实现连续潜在空间中的参数高效推理,利用学习融合在完整序列中水平流式传输潜在状态,并通过双阶段并行训练解决递归的序列依赖性,提升推理能力。
摘要:
当前的变换器丢弃了它们在位置之间的丰富潜在残差流,每次新位置都重建潜在推理上下文,从而未充分利用潜在推理能力。状态流变换器(SST)V2通过在每个解码器层中引入FFN驱动的非线性递归,通过学习融合在完整序列中水平流式传输潜在状态,从而在连续潜在空间中实现参数高效的推理。同一机制在推理时支持每个位置的连续潜在推理,通过额外的FLOPs探索抽象推理后再决定生成token。双阶段并行训练过程解决了递归的序列依赖性,以实现计算高效的训练。隐藏状态分析显示,状态流通过在连续潜在空间中探索不同的语义盆地来促进推理,其中在内容依赖的位置的转换使模型进入显著不同的贝叶斯后验,直接影响未来位置的潜在空间。我们还发现,通过学习探针,在第一个生成token位置,潜在状态已经预测了最终答案在后续位置中是否能通过额外的潜在计算生存或破裂。SST与现有27B主干模型共同训练,仅使用少量GSM8K示例,其在分布外GPQA-Diamond上比微调匹配的基线高出15.15分,并将该基线的剩余GSM8K错误减少了46%,显示推理改进归因于架构机制而非规模或训练数据。在GPQA-Diamond上,所得到的27B SST也比多个更大的开放权重和专有系统实现了更高的准确率,包括开放权重模型高达25倍更大的模型。
英文摘要:
Current transformers discard their rich latent residual stream between positions, reconstructing latent reasoning context at each new position and leaving potential reasoning capacity untapped. The State Stream Transformer (SST) V2 enables parameter-efficient reasoning in continuous latent space through an FFN-driven nonlinear recurrence at each decoder layer, where latent states are streamed horizontally across the full sequence via a learned blend. This same mechanism supports continuous latent deliberation per position at inference time, dedicating additional FLOPs to exploring abstract reasoning before committing to a token. A two-pass parallel training procedure approximates the sequential recurrence, making co-training computationally practical. Hidden state analysis shows that the state stream facilitates reasoning through sharp, content-dependent reorganisations in continuous latent space; the LM head exposes the resulting latent belief states through the output distribution, while the state stream carries them forward to influence future positions. A learned probe shows that at the first generated token, the latent state already predicts whether the eventual answer will survive or break under additional latent computation for every subsequent position. Co-trained into an existing 27B backbone using only a small dataset of GSM8K examples and evaluated using an oracle to route each question to a depth of one to four recurrent forward passes per token, the SST achieves an architectural capacity bound of 61.11% on out-of-distribution GPQA-Diamond, a +15.15 point gain over a fine-tuning-matched baseline, and cuts that same baseline's remaining GSM8K errors by 46%. Together, these results provide a method for efficiently training a nonlinear recurrence and show that the state stream provides additional reasoning capacity beyond that of an otherwise training-matched transformer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。