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

固定通用Transformer

Fixed Universal Transformers

Columbia University(哥伦比亚大学)

Jingwen Liu, Alexandr Andoni, Daniel Hsu

AI总结:

提出固定通用Transformer,通过输入嵌入模拟任意给定类别的Transformer,证明其通用性在足够大嵌入维度下可通过稀疏结构实现,且随机初始化几乎必然通用,实验验证了理论。

摘要:

我们引入了\emph{通用Transformer}:固定Transformer,通过适当的输入嵌入可以模拟给定类别中的任何Transformer。类似于通用图灵机,输入嵌入编码了目标模型的描述,而所有内部参数保持不变。我们提供了明确的稀疏构造,在嵌入维度足够大时实现通用性,并进一步表明通用性是普遍的:随机初始化的Transformer几乎必然具有通用性,这与Zhong和Andreas(2024)最近的实证结果一致。我们在括号平衡和多跳推理的算法任务上实证验证了我们的理论。我们的结果表明,Transformer的很大一部分表达能力可能在于其输入表示,而不是其学习到的权重。

英文摘要:

We introduce \emph{universal transformers}: fixed transformers that can simulate any transformer in a given class via a suitable input embedding. Analogous to a universal Turing machine, the input embedding encodes a description of the target model while all internal parameters remain fixed. We provide explicit sparse constructions achieving universality when the embedding dimension is sufficiently large, and further show that universality is generic: randomly initialized transformers are universal almost surely, which aligns with recent empirical results of Zhong and Andreas (2024). We empirically validate our theory on the algorithmic tasks of parenthesis balancing and multi-hop reasoning. Our results suggest that much of a transformer's expressive power may reside in its input representation rather than its learned weights.

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

↑