arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.08287cs.LGcs.AIstat.ML
收藏

Transformer模型的噪声稳定性

Noise Stability of Transformer Models

Department of Computer Science(计算机科学系);National Institute of Informatics(信息研究所)

Themistoklis Haris, Zihan Zhang, Yuichi Yoshida

AI总结:

本文提出噪声稳定性作为衡量Transformer模型简单性的新指标,通过理论分析和实验验证,展示了其在提升模型训练效率和可解释性方面的有效性。

摘要:

理解深度学习中的简单性偏差为开发可靠的AI提供了一条有希望的途径。一个常见的度量标准,受布尔函数分析启发,是平均敏感度,它捕捉了模型对单个token扰动的鲁棒性。我们认为平均敏感度有两个关键局限:它缺乏对实值域的自然泛化,并且无法解释我们在现代LLMs中观察到的“联合似”的输入依赖性。为了解决这些局限,我们提出噪声稳定性作为更全面的简单性度量标准。噪声稳定性表达了一个模型对同时应用于所有输入坐标的相关噪声的鲁棒性。我们为单层注意力和ReLU MLP层提供了噪声稳定性的理论分析,并通过协方差区间传播方法解决了多层传播问题。基于这一理论,我们开发了一种实用的噪声稳定性正则化方法。在算法和下一个token预测任务上的实验表明,我们的正则器一致地促进了“grokking”并加速了训练,分别约35%和75%。我们的结果在神经网络中的信号传播和可解释性之间建立了新的联系,噪声稳定性作为理解和改进现代Transformer的强大工具而崭露头角。

英文摘要:

Understanding simplicity biases in deep learning offers a promising path toward developing reliable AI. A common metric for this, inspired by Boolean function analysis, is average sensitivity, which captures a model's robustness to single-token perturbations. We argue that average sensitivity has two key limitations: it lacks a natural generalization to real-valued domains and fails to explain the "junta-like" input dependence we empirically observe in modern LLMs. To address these limitations, we propose noise stability as a more comprehensive simplicity metric. Noise stability expresses a model's robustness to correlated noise applied to all input coordinates simultaneously. We provide a theoretical analysis of noise stability for single-layer attention and ReLU MLP layers and tackle the multi-layer propagation problem with a covariance interval propagation approach. Building on this theory, we develop a practical noise stability regularization method. Experiments on algorithmic and next-token-prediction tasks show that our regularizer consistently catalyzes grokking and accelerates training by approximately $35\%$ and $75\%$ respectively. Our results sculpt a new connection between signal propagation in neural networks and interpretability, with noise stability emerging as a powerful tool for understanding and improving modern Transformers.

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

↑