Skip to main content
QUICK REVIEW

[论文解读] A Theoretical Framework for LLM Fine-tuning Using Early Stopping for Non-random Initialization

Zexuan Sun, Garvesh Raskutti|arXiv (Cornell University)|Feb 15, 2026
Topic ModelingComputer Science被引用 0
一句话总结

这篇论文将 Neural Tangent Kernel 理论扩展到非随机预训练初始化的 transformer 微调,分析早停并提供收敛性保证,得到 GPT-Neo 实验的支持。

ABSTRACT

In the era of large language models (LLMs), fine-tuning pretrained models has become ubiquitous. Yet the theoretical underpinning remains an open question. A central question is why only a few epochs of fine-tuning are typically sufficient to achieve strong performance on many different tasks. In this work, we approach this question by developing a statistical framework, combining rigorous early stopping theory with the attention-based Neural Tangent Kernel (NTK) for LLMs, offering new theoretical insights on fine-tuning practices. Specifically, we formally extend classical NTK theory [Jacot et al., 2018] to non-random (i.e., pretrained) initializations and provide a convergence guarantee for attention-based fine-tuning. One key insight provided by the theory is that the convergence rate with respect to sample size is closely linked to the eigenvalue decay rate of the empirical kernel matrix induced by the NTK. We also demonstrate how the framework can be used to explain task vectors for multiple tasks in LLMs. Finally, experiments with modern language models on real-world datasets provide empirical evidence supporting our theoretical insights.

研究动机与目标

  • 解释为何对于预训练的 LLM 只需要少量微调轮次。
  • 将 NTK 理论扩展到 transformer 微调中的非随机预训练初始化。
  • 提供收敛性保证并将收敛速率与核本征值衰减联系起来。
  • 将理论与任务向量及 LLM 的任务计算相连接。
  • 通过对现代 LLM(GPT-Neo)的实验验证理论见解。

提出的方法

  • 在线性化预训练模型周围的微调网络(Lemma 1)。
  • 将 Sun 和 Raskutti 框架扩展到 transformer 解码器(包括多头注意力)(Theorem 1 与 2)。
  • 分析训练过程中的 Neural Tangent Kernel 的稳定性,证明 NTK 在较大宽度时近似不变。
  • 通过经验核本征值推导一个数据相关的早停规则(Rademacher 复杂度框架;Eqs. 10–11)。
  • 将早停与核岭回归联系起来,作为隐式正则化参数(λ ≈ ε T_op)。
  • 通过任务向量和解耦条件表征任务算术(Sections 5;Corollaries)。
Figure 1: Proof of Local Lipschitzness around $f_{\text{PT}}$ illustration.
Figure 1: Proof of Local Lipschitzness around $f_{\text{PT}}$ illustration.

实验结果

研究问题

  • RQ1早停如何与非随机预训练初始化在基于 NTK 的微调中的交互作用?
  • RQ2是否可以使用稳定性和网络线性化来分析 transformer 形式的微调中的 NTK?
  • RQ3NTK 的本征值衰减如何影响微调的样本效率?
  • RQ4任务向量是否能解释 LLM 微调中的多任务学习与任务算术?
  • RQ5针对现代 LLM 的实验是否支持理论预测?

主要发现

  • 收敛界表明目标函数误差在宽度较大且学习率合适时按 N2^{-1/2} 规模。
  • NTK 在训练过程中保持稳定,网络可以在预训练初始化周围线性化。
  • 该框架扩展到具有额外结构组件的微调,并支持 Theorems 1 与 2。
  • 通过任务向量实现的任务算术与以往工作中的权重解耦条件相一致。
  • 对 GPT-Neo 的经验性实验提供支持理论见解的证据。
A Theoretical Framework for LLM Fine-tuning Using Early Stopping for Non-random Initialization

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。