当数据不足时:在临界阈值以下实现顿悟
When Data Falls Short: Grokking Below the Critical Threshold
AI总结:
本文研究数据量低于临界阈值时顿悟不可观察的问题,提出利用知识蒸馏从已顿悟模型向新分布迁移,证明KD能诱导并加速顿悟、缓解灾难性遗忘,在仅10%数据下仍能实现泛化。
摘要:
在本文中,我们研究了顿悟(grokking)现象,即模型在训练数据上过拟合后表现出延迟泛化。我们关注数据稀缺的场景,其中训练样本数量低于临界阈值,使得顿悟无法被观察到,并关注涉及分布偏移的实际场景。我们首先表明,从已经在分布(p1)上实现顿悟的模型进行知识蒸馏(Knowledge Distillation, KD),可以在不同的分布(p2)上诱导并加速顿悟,即使可用数据低于临界阈值。这凸显了KD对于必须在有限数据下适应新分布的已部署模型的价值。然后,我们研究了在联合分布(p1, p2)上的训练,并证明虽然当任一分布的数据不足时,标准监督训练会失败,但从在单个分布上实现顿悟的模型进行蒸馏可以实现泛化。最后,我们考察了持续预训练的设置,其中已顿悟的模型从p1过渡到p2,并发现KD既能加速泛化,又能缓解灾难性遗忘,即使仅使用10%的数据也能取得强劲性能。总之,我们的结果为知识迁移下顿悟的机制提供了新的见解,并强调了KD在低数据和不断变化的分布环境中实现泛化的核心作用。
英文摘要:
In this paper, we investigate the phenomenon of grokking, where models exhibit delayed generalization following overfitting on training data. We focus on data-scarce regimes where the number of training samples falls below the critical threshold, making grokking unobservable, and on practical scenarios involving distribution shift. We first show that Knowledge Distillation (KD) from a model that has already grokked on a distribution (p1) can induce and accelerate grokking on a different distribution (p2), even when the available data lies below the critical threshold. This highlights the value of KD for deployed models that must adapt to new distributions under limited data. We then study training on the joint distribution (p1, p2) and demonstrate that while standard supervised training fails when either distribution has insufficient data, distilling from models grokked on the individual distributions enables generalization. Finally, we examine a continual pretraining setup, where a grokked model transitions from p1 to p2, and find that KD both accelerates generalization and mitigates catastrophic forgetting, achieving strong performance even with only 10% of the data. Together, our results provide new insights into the mechanics of grokking under knowledge transfer and underscore the central role of KD in enabling generalization in low-data and evolving distribution settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。