arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.02189cs.CLcs.AI
收藏

小模型预训练中元学习的学习动态

Learning Dynamics of Meta-Learning in Small Model Pretraining

University of Cambridge(剑桥大学)

David Demitri Africa, Yuval Weiss, Paula Buttery, Richard Diehl Martinez

AI总结:

本文研究元学习在小模型预训练中的作用,将一阶MAML与子集掩码语言模型预训练结合,发现其能加速收敛、提升多语言NER性能,并揭示表征先多样化后压缩的可解释训练动态。

摘要:

大型语言模型功能强大但成本高昂。我们探究元学习能否让小语言模型的预训练不仅效果更好,而且更具可解释性。我们将一阶 MAML 与子集掩码语言模型预训练相结合,生成了四个 LLama 风格的仅解码器模型(参数量为 11M-570M),并在一项具有多种设置和现实应用的基础 NLP 任务上对其进行评估。与普通训练相比,我们的模型 (i) 达到相同损失的速度最快可提升 1.6 倍,(ii) 在相同计算量下提高了多语言 Universal NER 上的 F1 分数,并且 (iii) 使训练动态易于解读:首先网络的表征向外扩展(“多样化”),随后它们坍缩到一个更小的共享子空间(“压缩”)。这种两阶段转变表现为有效秩曲线和注意力头熵的上升与下降。同样的曲线能够精确定位哪些层最早出现专门化,哪些层随后重新收敛,从而给出元适应的紧凑且可解释的特征。代码、检查点和 WandB 日志均已发布。

英文摘要:

Large language models are powerful but costly. We ask whether meta-learning can make the pretraining of small language models not only better but also more interpretable. We integrate first-order MAML with subset-masked LM pretraining, producing four LLama-style decoder-only models (11M-570M params), and evaluate it on a fundamental NLP task with many settings and real-world applications. Compared with vanilla training, our model (i) reaches the same loss up to 1.6x sooner, (ii) improves F1 on multilingual Universal NER under equal compute, and (iii) makes the training dynamics easy to read: first the network's representations fan out ("diversify") and later they collapse into a smaller, shared subspace ("compress"). This two-stage shift shows up as a rise-and-fall in both effective-rank curves and attention-head entropy. The same curves pinpoint which layers specialise earliest and which later reconverge, giving a compact, interpretable signature of meta-adaptation. Code, checkpoints and WandB logs are released.

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

↑