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

论过参数化对分布外泛化的益处

On the Benefits of Over-parameterization for Out-of-Distribution Generalization

The Hong Kong University of Science and Technology(香港科技大学);The University of Hong Kong(香港大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Yifan Hao, Yong Lin, Difan Zou, Tong Zhang

AI总结:

本文研究了在良性过拟合条件下过参数化模型对OOD泛化的影响,发现增加参数化或模型集成可通过提升长尾特征正交性来降低OOD损失。

摘要:

近年来,机器学习模型基于独立同分布假设取得了成功。然而,在现实应用中该假设很容易被打破,从而导致分布外(OOD)问题。理解现代过参数化DNN在非平凡自然分布偏移下的行为至关重要,因为当前的理论理解尚不充分。现有的理论工作往往对OOD场景中的过参数化模型给出无意义的结果,甚至与经验发现相矛盾。为此,我们在一般良性过拟合条件下,研究了过参数化模型在OOD泛化方面的性能。我们的分析聚焦于随机特征模型,并考察了非平凡的自然分布偏移,其中良性过拟合估计器尽管实现了零超额分布内(ID)损失,但仍表现出恒定的超额OOD损失。我们证明,在这种情况下,进一步增加模型的参数化可以显著降低OOD损失。直观上,由于长尾特征的正交性,ID损失的方差项保持较低水平,这意味着训练期间的过拟合噪声通常不会增加测试损失。然而,在OOD情况下,分布偏移会增加方差项。幸运的是,固有的偏移与单个x无关,维持了长尾特征的正交性。扩大隐藏维度可以通过将特征映射到更高维空间来额外改善这种正交性,从而减少方差项。我们进一步表明,模型集成也能改善OOD损失,类似于增加模型容量。这些见解解释了通过模型集成增强OOD泛化的经验现象,并得到了与理论结果一致的仿真支持。

英文摘要:

In recent years, machine learning models have achieved success based on the independently and identically distributed assumption. However, this assumption can be easily violated in real-world applications, leading to the Out-of-Distribution (OOD) problem. Understanding how modern over-parameterized DNNs behave under non-trivial natural distributional shifts is essential, as current theoretical understanding is insufficient. Existing theoretical works often provide meaningless results for over-parameterized models in OOD scenarios or even contradict empirical findings. To this end, we are investigating the performance of the over-parameterized model in terms of OOD generalization under the general benign overfitting conditions. Our analysis focuses on a random feature model and examines non-trivial natural distributional shifts, where the benign overfitting estimators demonstrate a constant excess OOD loss, despite achieving zero excess in-distribution (ID) loss. We demonstrate that in this scenario, further increasing the model's parameterization can significantly reduce the OOD loss. Intuitively, the variance term of ID loss remains low due to orthogonality of long-tail features, meaning overfitting noise during training generally doesn't raise testing loss. However, in OOD cases, distributional shift increases the variance term. Thankfully, the inherent shift is unrelated to individual x, maintaining the orthogonality of long-tail features. Expanding the hidden dimension can additionally improve this orthogonality by mapping the features into higher-dimensional spaces, thereby reducing the variance term. We further show that model ensembles also improve OOD loss, akin to increasing model capacity. These insights explain the empirical phenomenon of enhanced OOD generalization through model ensembles, supported by consistent simulations with theoretical results.

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

↑