arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.22796cs.CL
收藏

循环Transformer的因果潜在工作空间

Causal Latent Workspaces for Looped Transformers

Ilia Zaznov

AI总结:

针对循环Transformer缺乏交换因果前缀摘要的专用状态的问题,提出因果潜在工作空间Transformer架构,在多语料库多参数设置下较对照模型取得更优困惑度,验证了该工作空间的有效性。

摘要:

在Transformer的不同深度层复用其模块可在不复制参数的前提下增加计算量,但连续的前向传递过程中没有专用状态来让各个位置交换其因果前缀的紧凑摘要。我们提出因果潜在工作空间Transformer:一种带锚定的四轮共享深度架构,其中每个位置将门控向量写入特定前缀的潜在槽位,并在每次共享模块应用前检索基于内容寻址的摘要。该路径与因果自注意力互补,且原始输入嵌入在每一轮都保持可访问。在三个字节级语料库、三个随机种子以及两个匹配的参数预算下,所提模型在六个设置中的五个里取得了优于五个Transformer对照模型的最佳平均保留困惑度。在1.0171亿参数规模下,其在WikiText-103原始文本、enwik8和TinyStories上领先,困惑度分别为2.7820、2.7843和1.6823;这些结果较各语料库中最强的非工作空间对照模型分别提升了1.06%、0.73%和1.01%。该参数预算下的九组带种子标签的对比均支持该工作空间。在91.8万参数规模下,其在WikiText-103和TinyStories上领先,而条件循环在enwik8上表现更强。架构消融实验表明,添加工作空间在所有六个设置中均优于带锚定的循环,且支持每轮刷新其因果摘要。综合这些结果,因果、基于内容寻址的前缀工作空间是循环Transformer的有效结构增强。

英文摘要:

Reusing a Transformer block across depth increases computation without replicating its parameters, but successive passes have no dedicated state through which positions can exchange compact summaries of their causal prefix. We introduce the causal latent workspace Transformer: an anchored, four-round shared-depth architecture in which each position writes gated vectors into prefix-specific latent slots and retrieves a content-addressed summary before the next shared block application. This path complements causal self-attention while the original input embedding remains accessible at every round. Across three byte-level corpora, three seeds, and two matched parameter budgets, the proposed model achieves the best mean held-out perplexity in five of six settings against five Transformer controls. At 101.71M parameters it leads on WikiText-103 raw, enwik8, and TinyStories, reaching perplexities 2.7820, 2.7843, and 1.6823; these improve upon the strongest non-workspace control on each corpus by 1.06%, 0.73%, and 1.01%. All nine seed-labelled comparisons at this budget favor the workspace. At 0.918M parameters it leads on WikiText-103 and TinyStories, whereas a conditioned loop is stronger on enwik8. Architectural ablations show that adding the workspace improves upon the anchored loop in all six settings and support refreshing its causal summaries at each round. Together, these results identify a causal, content-addressable prefix workspace as an effective structural augmentation of looped Transformers.

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

↑