arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.08686cs.LG
收藏

勿忘我:用Knowledge Fusion与Knowledge Distillation对抗局部过拟合

Forget Me Not: Fighting Local Overfitting with Knowledge Fusion and Distillation

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

Uri Stern, Eli Corn, Daphna Weinshall

AI总结:

本文提出局部过拟合概念及测量分数,并设计两阶段方法通过Knowledge Fusion和Knowledge Distillation恢复被遗忘知识,在不增加推理成本下提升模型性能。

摘要:

深度神经网络中的过拟合发生频率低于预期。这是一个令人困惑的观察,因为理论预测更大的模型容量最终应该会导致过拟合——但在实践中却很少见。但如果过拟合不是全局发生,而是在数据空间的特定子区域中发生呢?在这项工作中,我们引入了一种新的分数,用于测量深度模型在验证数据上的遗忘率,捕捉我们称之为局部过拟合的现象:一种局限于输入空间某些区域的性能退化。我们证明,即使没有传统的过拟合,局部过拟合也可能出现,并且与双重下降现象密切相关。基于这些见解,我们引入了一种两阶段方法,利用单个模型的训练历史来恢复和保留被遗忘的知识:首先,将检查点聚合为一个集成,然后将其蒸馏为一个原始大小的单一模型,从而在不增加推理成本的情况下提升性能。在多个数据集、现代架构和训练机制上的大量实验验证了我们方法的有效性。值得注意的是,在存在标签噪声的情况下,我们的方法——Knowledge Fusion 随后进行 Knowledge Distillation——优于原始模型和独立训练的集成,实现了一种罕见的双赢场景:降低了训练和推理的复杂性。

英文摘要:

Overfitting in deep neural networks occurs less frequently than expected. This is a puzzling observation, as theory predicts that greater model capacity should eventually lead to overfitting -- yet this is rarely seen in practice. But what if overfitting does occur, not globally, but in specific sub-regions of the data space? In this work, we introduce a novel score that measures the forgetting rate of deep models on validation data, capturing what we term local overfitting: a performance degradation confined to certain regions of the input space. We demonstrate that local overfitting can arise even without conventional overfitting, and is closely linked to the double descent phenomenon. Building on these insights, we introduce a two-stage approach that leverages the training history of a single model to recover and retain forgotten knowledge: first, by aggregating checkpoints into an ensemble, and then by distilling it into a single model of the original size, thus enhancing performance without added inference cost. Extensive experiments across multiple datasets, modern architectures, and training regimes validate the effectiveness of our approach. Notably, in the presence of label noise, our method -- Knowledge Fusion followed by Knowledge Distillation -- outperforms both the original model and independently trained ensembles, achieving a rare win-win scenario: reduced training and inference complexity.

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

↑