arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.15582stat.MLcond-mat.dis-nncond-mat.stat-mechcs.LG
收藏

概念漂移下的泛化与特化

Generalization vs. Specialization under Concept Shift

Princeton University(普林斯顿大学);CUNY Graduate Center(纽约大学研究生中心);University of Sydney(悉尼大学)

Alex Nguyen, David J. Schwab, Vudtiwat Ngampruetikorn

AI总结:

本文在热力学极限下推导了概念漂移下岭回归预测风险的精确表达式,揭示了弱/强概念漂移相变与非单调数据依赖,并通过Transformer、MNIST和FashionMNIST实验验证了理论发现。

摘要:

机器学习模型在分布偏移下往往表现出脆弱性,即测试时的数据分布与训练时的数据分布不同。理解这种失效模式对于识别和缓解机器学习大规模应用中的安全风险至关重要。本文分析了概念漂移下的岭回归——这是一种输入-标签关系在测试时发生变化的分布偏移形式。我们在热力学极限下推导出预测风险的精确表达式。我们的结果揭示了概念漂移对泛化性能的非平凡影响,包括弱概念漂移与强概念漂移机制之间的相变,以及即使在没有双重下降现象时测试性能对数据的非单调依赖。我们的理论结果与基于预训练Transformer求解线性回归的实验高度一致;在概念漂移下,过长的上下文长度可能对下一token预测的泛化性能产生不利影响。最后,我们在MNIST和FashionMNIST上的实验表明,这种有趣的行为同样存在于分类问题中。

英文摘要:

Machine learning models are often brittle under distribution shift, i.e., when data distributions at test time differ from those during training. Understanding this failure mode is central to identifying and mitigating safety risks of mass adoption of machine learning. Here we analyze ridge regression under concept shift -- a form of distribution shift in which the input-label relationship changes at test time. We derive an exact expression for prediction risk in the thermodynamic limit. Our results reveal nontrivial effects of concept shift on generalization performance, including a phase transition between weak and strong concept shift regimes and nonmonotonic data dependence of test performance even when double descent is absent. Our theoretical results are in good agreement with experiments based on transformers pretrained to solve linear regression; under concept shift, too long context length can be detrimental to generalization performance of next token prediction. Finally, our experiments on MNIST and FashionMNIST suggest that this intriguing behavior is present also in classification problems.

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

↑