arXiv:2602.20062cs.LGstat.ML2026-02被引 3

解析预训练如何通过初始化尺度影响微调时特征复用与优化效果

A Theory of How Pretraining Shapes Inductive Bias in Fine-Tuning

  • 基于对角线线性网络建立理论模型,推导泛化误差与初始化参数的关系
  • 发现不同初始化尺度使模型进入四种微调模式,小初始值利于特征复用与精炼
  • 结果适用于ResNet、Transformer等多种架构,揭示层间初始化比例的关键作用

预训练与微调是现代机器学习的核心阶段。实践中,特征学习贯穿两个阶段:深度神经网络在预训练中学习多种有用特征,并在微调中进一步优化。然而,关于初始化选择如何影响特征重用与优化能力的端到端理论理解仍不明确。本文在对角线线性网络中构建分析理论,推导出泛化误差关于初始化参数和任务统计的精确表达式。研究发现,不同的初始化选择使网络进入四种不同的微调范式,其区别在于支持特征学习与复用的能力,因而适用于不同任务统计。特别地,早期层采用较小初始化尺度可同时实现特征复用与精炼,从而在依赖部分预训练特征的任务上获得更优泛化性能。我们实证验证了相同初始化参数在CIFAR-100和SVHN上的ResNet以及模运算任务上的Transformer中均影响泛化表现。总体而言,本研究揭示了数据与网络初始化如何协同塑造微调泛化能力,强调了各层初始化相对尺度在持续特征学习中的关键作用。

原文摘要 · Abstract (English)

Pretraining and fine-tuning are central stages in modern machine learning systems. In practice, feature learning plays an important role across both stages: deep neural networks learn a broad range of useful features during pretraining and further refine those features during fine-tuning. However, an end-to-end theoretical understanding of how choices of initialization impact the ability to reuse and refine features during fine-tuning has remained elusive. Here we develop an analytical theory of the pretraining fine-tuning pipeline in diagonal linear networks, deriving exact expressions for the generalization error as a function of initialization parameters and task statistics. We find that different initialization choices place the network into four distinct fine-tuning regimes that are distinguished by their ability to support feature learning and reuse and therefore by the task statistics for which they are beneficial. In particular, a smaller initialization scale in earlier layers enables the network to both reuse and refine its features, leading to superior generalization on fine-tuning tasks that rely on a subset of pretraining features. We demonstrate empirically that the same initialization parameters impact generalization in ResNets trained on CIFAR-100 and SVHN as well as Transformers trained on modular arithmetic tasks. Overall, our results demonstrate an alytically how data and network initialization interact to shape fine-tuning generalization, highlighting an important role for the relative scale of initialization across different layers in enabling continued feature learning during fine-tuning.

预训练微调特征学习初始化

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