arXiv:2511.04760cs.LG2025-11被引 1

知识蒸馏可让模型在数据不足时仍实现延迟泛化

When Data Falls Short: Grokking Below the Critical Threshold

  • 用已泛化的模型进行知识蒸馏,诱导新分布下的延迟泛化
  • 即使数据低于临界阈值,蒸馏仍能实现跨分布泛化
  • 适合部署中需适应新数据且样本稀缺的场景

本文研究了模型在训练数据不足时的延迟泛化现象(grokking)。当训练样本数低于临界阈值时,grokking通常无法观测。我们发现,从已在分布p1上完成grokking的模型进行知识蒸馏(KD),可诱导并加速在不同分布p2上的grokking,即便数据量远低于临界值。进一步地,在联合分布(p1, p2)上训练时,标准监督学习因任一分布数据不足而失败,但使用分别在p1、p2上已grokking的模型进行蒸馏,仍可实现泛化。在持续预训练设置中,模型从p1迁移到p2时,蒸馏不仅加速泛化,还缓解灾难性遗忘,在仅使用10%数据时仍表现良好。结果揭示了知识转移下grokking的机制,凸显了KD在低数据和分布演化场景中的核心作用。

原文摘要 · Abstract (English)

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.

知识蒸馏延迟泛化低数据学习分布迁移

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。