关联状态通用变换器:稀疏检索与结构递归的结合
Associative-State Universal Transformers: Sparse Retrieval Meets Structured Recurrence
AI总结:
本文提出UniMatrix系列模型,通过结构递归状态和稀疏检索机制,在保持参数效率的同时提升语言模型性能,但长程行为仍需进一步优化。
摘要:
我们研究结构递归状态是否能作为语言模型的紧凑关联骨干,同时支持精确检索。我们引入UniMatrix,一种通用变换器家族,通过共享递归块和混合状态更新、ROSA风格残差路径和条件嵌入调制。我们在byte-level WikiText-2、合成关联回忆、Apple MPS吞吐量分析和三元交互基准上评估这些模型。在小规模情况下,UniMatrix-Core和UniMatrix-ROSA在WikiText-2上略胜参数匹配的Transformer,参数更少,达到5.084和5.083 bits-per-byte vs 5.124。主要的负面结果同样重要:在关联回忆中,原始UniMatrix家族接近偶然,而Transformer达到25.4%,显示压缩递归状态不足以支持精确查找。检索导向的后续工作UniMatrix-Assoc帮助有限。相比之下,UniMatrix-SparsePointer通过添加稀疏槽路由和直接指针-logit融合,在原始试点食谱上达到75.6%,在无dropout后续任务上达到99.2%,参数使用比Transformer基准少53.8%。消融实验显示收益来自足够的槽容量和精确指针级输出路由。总体而言,结构递归状态有前景且参数高效,但强长程行为仍需显式稀疏检索和更好的内核。
英文摘要:
We study whether a structured recurrent state can serve as a compact associative backbone for language modeling while still supporting exact retrieval. We introduce UniMatrix, a Universal Transformer style family that reuses a shared recurrent block across depth and augments it with hybrid state updates, a ROSA-style residual path, and token-conditioned embedding modulation. We evaluate these models on byte-level WikiText-2, synthetic associative recall, throughput profiling on Apple MPS, and a corrected benchmark for triple-token interactions. At small scale, UniMatrix-Core and UniMatrix-ROSA slightly outperform a parameter-matched Transformer on WikiText-2 while using many fewer parameters, reaching 5.084 and 5.083 bits-per-byte versus 5.124. The main negative result is equally important: on associative recall, the original UniMatrix family remains near chance while the Transformer reaches 25.4 percent, showing that compressed recurrent state alone is not enough for exact lookup. A retrieval-oriented follow-up, UniMatrix-Assoc, helps only marginally. By contrast, UniMatrix-SparsePointer, which adds sparse slot routing and direct pointer-logit fusion, reaches 75.6 percent on the original pilot recipe and 99.2 percent on a no-dropout follow-up while using 53.8 percent fewer parameters than the Transformer baseline. Ablations show that the gain comes from sufficient slot capacity and exact pointer-level output routing. Overall, structured recurrent state is promising and parameter-efficient, but strong long-range behavior still requires explicit sparse retrieval and better kernels.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。