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

陷入简单性:当Transformer无法从噪声特征中学习时

Trapped by simplicity: When Transformers fail to learn from noisy features

University of Waterloo(滑铁卢大学);Perimeter Institute for Theoretical Physics(理论物理研究所)

Evan Peters, Ando Deng, Matheus H. Zambianco, Devin Blankespoor, Achim Kempf

AI总结:

本文研究了Transformer在噪声特征下的学习能力,发现其在某些布尔函数上表现优异,但在随机k-junta函数上因简单性偏见和敏感度差异而失效。

摘要:

数据中普遍存在噪声,但这些模型是否能够正确泛化到无噪声输入尚不明确。本文研究了噪声鲁棒学习:训练数据中包含噪声特征的Transformer能否找到一个目标函数,正确预测无噪声特征的标签?我们发现,对于选定的k-稀疏奇偶和多数函数,Transformer在噪声鲁棒学习上表现优异,而LSTM在即使是适度的特征噪声下也失败。然而,我们发现Transformer在学习随机k- junta函数时通常失败,尤其是当最优解的布尔敏感度小于目标函数时。我们认为这种失败是两个因素的结合:Transformer对简单函数的偏见,以及观察到噪声鲁棒学习的最佳函数通常比目标函数具有更低的敏感度。我们通过利用Transformer的简单性偏见来诱骗它们陷入错误的解决方案,但显示通过训练时添加一个惩罚高敏感度解的额外损失项,Transformer可以逃脱这种陷阱。总体而言,我们发现Transformer在特征噪声存在时学习布尔函数尤其无效。

英文摘要:

Noise is ubiquitous in data used to train large language models, but it is not well understood whether these models are able to correctly generalize to inputs generated without noise. Here, we study noise-robust learning: are transformers trained on data with noisy features able to find a target function that correctly predicts labels for noiseless features? We show that transformers succeed at noise-robust learning for a selection of $k$-sparse parity and majority functions, compared to LSTMs which fail at this task for even modest feature noise. However, we find that transformers typically fail at noise-robust learning of random $k$-juntas, especially when the boolean sensitivity of the optimal solution is smaller than that of the target function. We argue that this failure is due to a combination of two factors: transformers' bias toward simpler functions, combined with an observation that the optimal function for noise-robust learning typically has lower sensitivity than the target function for random boolean functions. We test this hypothesis by exploiting transformers' simplicity bias to trap them in an incorrect solution, but show that transformers can escape this trap by training with an additional loss term penalizing high-sensitivity solutions. Overall, we find that transformers are particularly ineffective for learning boolean functions in the presence of feature noise.

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

↑