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

理解编码布尔函数的Transformer参数空间几何

Understanding the Parameter Space Geometry of Transformers Encoding Boolean Functions

Machine Learning, ICML(机器学习,ICML)

Blanka Köver, Alexandra Butoi, Anej Svete, Michael Hahn, Ryan Cotterell

AI总结:

针对Transformer无法学习某些简单布尔函数(如奇偶函数)的问题,通过分析参数空间几何,证明敏感函数在参数空间中占据极小区域,随机初始化几乎必然错过,从而解释了可表达但不可学习的现象。

摘要:

Transformer始终无法学习某些简单的函数,而这些函数在特定参数设置下是可证明表达的。这种可学习性与可表达性之间的差距对于敏感函数尤为突出——例如奇偶函数,其输出在输入单个比特翻转时很可能改变。虽然先前的研究已经确定Transformer偏向于平均敏感度低的函数,但这种偏向背后的精确机制仍不清楚。为了阐明这一现象,我们研究了Transformer参数空间的几何结构。我们证明,敏感函数——即使可表示——占据了一个极小区域,随机初始化极有可能错过。具体而言,我们将关注点从平均敏感度转移到完整的敏感度分布——所有输入上敏感度值的分布——并证明随机初始化的Transformer几乎必然计算具有低敏感度字符串的函数。因此,任何缺乏此类字符串的函数都是可证明不可学习的。

英文摘要:

Transformers consistently fail to learn certain simple functions that are provably expressible with specific parameter settings. This gap between learnability and expressivity is particularly prominent for sensitive functions -- functions whose output is likely to change if a single bit of the input is flipped -- for example, PARITY. While prior work has established that transformers exhibit a bias toward functions with low average sensitivity, the precise mechanism underlying this bias remains poorly understood. To shed light on this phenomenon, we study the geometry of transformers' parameter space. We show that sensitive functions -- even when representable -- occupy a vanishingly small region that random initialization is very likely to miss. Specifically, we shift the focus from average sensitivity to the full sensitivity profile -- the distribution of sensitivity values across all inputs -- and prove that randomly initialized transformers almost surely compute functions which have low-sensitivity strings. Consequently, any function that lacks such strings is provably unlearnable.

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

↑