arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.05173cs.LGcond-mat.dis-nnstat.ML
收藏

理解Transformer中的归纳偏置:从无穷视角出发

Towards Understanding Inductive Bias in Transformers: A View From Infinity

Racah Institute of Physics, Hebrew University of Jerusalem(希伯来大学拉卡物理研究所);Augment Computing

Itay Lavie, Guy Gur-Ari, Zohar Ringel

AI总结:

本研究在无限过参数化极限下分析Transformer的归纳偏置,发现其偏向置换对称函数,并利用对称群表示论提供定量预测及缩放律,验证WikiText数据集的置换对称性。

摘要:

我们在无限过参数化高斯过程极限下研究Transformer中的归纳偏置,并论证Transformer在序列空间中倾向于偏向于更具置换对称性的函数。我们展示了对称群的表示论可用于在数据集对令牌间置换对称时给出定量的解析预测。我们提出了一个简化的Transformer模块,并在极限下求解该模型,包括对学习曲线和网络输出的准确预测。我们表明,在常见设置中,可以推导出关于可学习性随上下文长度变化的缩放律形式的紧界。最后,我们论证WikiText数据集确实具有一定程度的置换对称性。

英文摘要:

We study inductive bias in Transformers in the infinitely over-parameterized Gaussian process limit and argue transformers tend to be biased towards more permutation symmetric functions in sequence space. We show that the representation theory of the symmetric group can be used to give quantitative analytical predictions when the dataset is symmetric to permutations between tokens. We present a simplified transformer block and solve the model at the limit, including accurate predictions for the learning curves and network outputs. We show that in common setups, one can derive tight bounds in the form of a scaling law for the learnability as a function of the context length. Finally, we argue WikiText dataset, does indeed possess a degree of permutation symmetry.

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

↑