arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.04654cs.LGstat.ML
收藏

Transformer 中统计偏差存在时的泛化与记忆

Generalization vs. Memorization in the Presence of Statistical Biases in Transformers

John Mitros

AI总结:

该研究通过在多个合成算法任务中系统引入并改变统计偏差,评估并分析 transformer 各组件,揭示模型依赖虚假相关性会造成泛化能力高估并削弱分布外表现。

摘要:

本研究旨在理解统计偏差如何影响模型在算法任务上对分布内和分布外数据的泛化能力。先前研究表明,transformer 可能会在无意中学会依赖这些虚假相关性,从而导致其泛化能力被高估。为研究这一点,我们在若干合成算法任务上评估 transformer 模型,系统性地引入并改变这些偏差的存在。我们还分析 transformer 模型的不同组件如何影响其泛化。研究结果表明,统计偏差会损害模型在分布外数据上的表现,导致其泛化能力被高估。模型在推理时严重依赖这些虚假相关性,它们在包含此类偏差的任务上的表现证明了这一点。

英文摘要:

This study aims to understand how statistical biases affect the model's ability to generalize to in-distribution and out-of-distribution data on algorithmic tasks. Prior research indicates that transformers may inadvertently learn to rely on these spurious correlations, leading to an overestimation of their generalization capabilities. To investigate this, we evaluate transformer models on several synthetic algorithmic tasks, systematically introducing and varying the presence of these biases. We also analyze how different components of the transformer models impact their generalization. Our findings suggest that statistical biases impair the model's performance on out-of-distribution data, providing a overestimation of its generalization capabilities. The models rely heavily on these spurious correlations for inference, as indicated by their performance on tasks including such biases.

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

↑