arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.21608cs.LGcs.AIcs.CL
收藏

隐格语言模型

Latent Lattice Language Models

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);Adobe(奥多比公司)

Shivam Duggal, Zongze Wu, William T. Freeman, Antonio Torralba, Richard Zhang, Eli Shechtman

AI总结:

该研究提出隐格语言模型,通过每层持续的隐式计算状态增强语言模型,在200亿token训练的模型上显著降低困惑度,可与现有架构结合并优于更大规模的基线模型。

摘要:

语言模型通常通过更深层或循环层以及隐式推理步骤来增加每个token的计算量,而更丰富的残差连接则能改善层间的信息流。我们转而增加计算容量:模型维持的活跃计算状态数量。我们提出了隐式格(Lattice of Latents),这是一组沿时间循环运行的每层水平隐式流,以及沿深度流动的垂直残差流。与超连接、mHC以及注意力或值残差类似,该格增强了残差流,但它并非通过深度添加或重路由残差路径,而是提供了跨token持续存在的伴随计算状态。与混合Transformer-SSM架构不同(其循环状态主要作为序列混合的内部记忆),这些隐式直接调控垂直流的注意力、KV缓存写入、MLP计算和解码。在经过200亿FineWeb-Edu token训练的Transformer上,参数规模为4.06亿的隐格模型,在参数匹配的Transformer基础上,将验证困惑度从15.41降至14.40。这些增益在不同架构变体中均存在。该格可与现有残差流增强组件结合:结合超连接和输入残差后,它将验证困惑度从基础Transformer的15.41、带相同增强组件的Transformer的14.22,降至13.61。在Gated DeltaNet、Mamba-2、Triadic GDN和GDN-Mamba-2混合模型上,它在所有测试的原生状态规模下均提升了困惑度,其中Lattice-GDN和Lattice-Triadic-GDN变体的性能优于原生状态大4倍的纯基线模型。这些结果表明,每层持续状态是语言模型计算扩展的一个互补维度。

英文摘要:

Language models typically increase per-token computation through deeper or looped layers and latent reasoning steps, while richer residual connections improve information flow across layers. We instead increase computational capacity: the number of active computational states a model maintains. We introduce the Lattice of Latents, a set of per-layer horizontal latent streams that run recurrently along time, alongside the vertical residual stream that flows through depth. Like hyper-connections, mHC, and attention or value residuals, the Lattice enhances the residual stream, but rather than adding or rerouting residual pathways through depth, it provides companion computational states that persist across tokens. Unlike hybrid Transformer-SSM architectures, whose recurrent states primarily serve as internal memory for sequence mixing, these latents directly condition the vertical stream's attention, KV-cache writes, MLP computation, and decoding. On Transformers trained on 20B FineWeb-Edu tokens, a 406M-parameter Lattice model lowers validation perplexity from 15.41 to 14.40 over a parameter-matched Transformer. These gains extend across architectural variants. The Lattice composes with prior residual-stream enhancements: with hyper-connections and input residuals, it lowers validation perplexity from 15.41 (base Transformer) and 14.22 (Transformer with the same enhancements) to 13.61. On Gated DeltaNet, Mamba-2, Triadic GDN, and GDN-Mamba-2 hybrids, it improves perplexity at every tested native state size, with Lattice-GDN and Lattice-Triadic-GDN variants outperforming pure baselines with 4x larger native states. These results identify persistent per-layer state as a complementary axis for scaling language-model computation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

相关深度报道

↑