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

论深度神经网络中的局部过拟合与遗忘

On Local Overfitting and Forgetting in Deep Neural Networks

School of Computer Science and Engineering, The Hebrew University of Jerusalem(耶路撒冷希伯来大学计算机科学与工程学院)

Uri Stern, Tomer Yaacoby, Daphna Weinshall

AI总结:

本文提出验证数据遗忘率评分以刻画局部过拟合,并基于单网络训练历史设计结合自蒸馏的集成方法,在不增加推理成本下提升模型性能。

摘要:

深度神经网络中过拟合现象很少发生,这一点令人困惑:与理论预期相反,增大模型规模在实践中往往会提升性能。但如果过拟合确实发生,只是局限于数据空间的特定子区域呢?在本研究中,我们提出了一种新的评分,用于刻画深度模型在验证数据上的遗忘率。我们假设该评分能量化局部过拟合,即局限于数据空间某些区域的性能下降。随后,我们通过实验表明,无论传统过拟合是否存在,局部过拟合都会发生。利用深度过参数化线性模型框架,我们对被遗忘的知识给出了某种理论刻画,并证明其与真实深度模型所遗忘的知识相关。最后,我们设计了一种新的集成方法,旨在恢复被遗忘的知识,且仅依赖单个网络的训练历史。当与自蒸馏结合时,该方法可在不增加推理成本的情况下提升任意已训练模型的性能。大量实证评估证明了我们的方法在多个数据集、现代神经网络架构和训练协议上的有效性。

英文摘要:

The infrequent occurrence of overfitting in deep neural networks is perplexing: contrary to theoretical expectations, increasing model size often enhances performance in practice. But what if overfitting does occur, though restricted to specific sub-regions of the data space? In this work, we propose a novel score that captures the forgetting rate of deep models on validation data. We posit that this score quantifies local overfitting: a decline in performance confined to certain regions of the data space. We then show empirically that local overfitting occurs regardless of the presence of traditional overfitting. Using the framework of deep over-parametrized linear models, we offer a certain theoretical characterization of forgotten knowledge, and show that it correlates with knowledge forgotten by real deep models. Finally, we devise a new ensemble method that aims to recover forgotten knowledge, relying solely on the training history of a single network. When combined with self-distillation, this method enhances the performance of any trained model without adding inference costs. Extensive empirical evaluations demonstrate the efficacy of our method across multiple datasets, contemporary neural network architectures, and training protocols.

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

↑