Towards Understanding Feature Learning in Parameter Transfer

Hua Yuan, Xuran Meng, Qiufeng Wang, Shiyu Xia, Ning Xu, Xu Yang, Jing Wang, Xin Geng, Yong Rui

TL;DR

This paper provides the first theoretical analysis of training dynamics in partial parameter transfer using a feature learning framework. It mathematically characterizes the conditions under which transferring a subset of weights is beneficial and provides the first formal proof of "negative transfer"—showing how transferring weights can actually hurt performance by magnifying task-specific noise.

What Problem Does This Paper Address?

Pre-training a model on a massive dataset and fine-tuning it on a downstream task is the standard playbook in modern deep learning. However, we rarely enjoy a perfect one-to-one architectural match between the upstream and downstream models due to differing memory budgets, hardware constraints, or task resolutions. To bypass this mismatch, practitioners often use parameter transfer, inheriting only a subset of the upstream model's weights.

While empirically popular, we lack a rigorous understanding of when and why partial parameter reuse works. Crucially, practitioners sometimes encounter the frustrating phenomenon of negative transfer, where a model utilizing transferred parameters performs worse than a model trained completely from scratch. Existing theoretical studies rely on static generalization bounds that fail to capture how knowledge evolves during training. This paper bridges the gap by analyzing network dynamics to understand the precise conditions that govern successful (and unsuccessful) parameter transfer.

Methods

The authors conduct a theoretical analysis of parameter transfer within a nonlinear dynamical system. Both the upstream and downstream models are modeled as two-layer ReLU convolutional neural networks (CNNs). Crucially, they analyze the network under the feature learning regime (using small initializations where weights change significantly), which is much closer to real-world neural network behavior than the restrictive, linear Neural Tangent Kernel (NTK) framework.

The data generation model splits inputs into:

  1. A signal patch containing a shared "universal signal" vector ($\mathbf{u}$) and task-specific vectors ($\mathbf{v}_1, \mathbf{v}_2$).
  2. A noise patch consisting of orthogonal Gaussian noise.

During transfer, an $\alpha$-proportion of the upstream model's weights are inherited by the downstream model, while the remaining weights are randomly initialized. Both stages are optimized using standard gradient descent with cross-entropy loss.

Datasets

The paper validates its theoretical findings using both synthetic and real-world datasets:

  • Synthetic Data: High-dimensional data ($d = 2000$) generated precisely according to the signal-noise patch definition to control variables like sample size, signal strength, and noise.
  • Real-World Data:
  • CIFAR-10 & CIFAR-100 used as downstream target tasks.
  • ImageNet-2012 used for upstream pre-training of Vision Transformers (DeiT).
  • COCO subset used for upstream pre-training of DeepLabV3 segmentation models.

Key Insights and Ideas

  • The Phase Transition of Transfer: The success of parameter transfer undergoes a sharp mathematical phase transition governed by a key quantity, $\Gamma$. If the combination of inherited parameters, upstream sample size, and universal signal strength crosses a specific threshold, the target task achieves near-optimal test error. Below it, performance remains sub-optimal.
  • The Mechanism Behind Negative Transfer: The paper mathematically uncovers why negative transfer occurs. When the shared universal signal ($\mathbf{u}$) is exceptionally weak compared to task-specific signals, a well-trained upstream model develops excessively large weight norms. When transferred, these over-amplified weights fail to help the downstream task and instead violently magnify target-specific noise, degrading test accuracy below random initialization.
  • The Three Pillars of Success: Downstream performance strictly improves when the upstream model has a larger training sample size ($N_1$), less intrinsic noise ($\sigma_{p,1}$), and a higher proportion of inherited parameters ($\alpha$).

Key Results

  • Synthetic Verification: Numerical simulations perfectly mirror the theoretical phase transitions. As illustrated below, increasing the source task sample size ($N_1$) or the universal signal strength ($\|\mathbf{u}\|_2$) drastically accelerates and improves downstream test accuracy compared to standard training from scratch ("w/o PT").
Test accuracy under varying conditions of the source task.
  • Real-World Performance Gains: When transferring a ResNet-101 upstream model to a ResNet-34 downstream model on CIFAR-100, standard training from scratch yields 68.35% accuracy. Introducing parameter transfer with a large source dataset ($N_1/N_2 = 4$) drives the accuracy up to 80.35% (a 12% absolute improvement).
  • Cross-Task Transfer works: Transferring backbones from an upstream image segmentation task (COCO) to a downstream image classification task (CIFAR-10/100) consistently outperforms training from scratch, proving that the model successfully transfers universal structural knowledge across entirely different task types.

Limitations and Future Work

  • Shallow Networks: The core mathematical proofs are currently restricted to shallow, two-layer neural networks. Extending this dynamic analysis to deep, multi-layer architectures remains a highly non-trivial open challenge.
  • Naive Weight Selection: The current framework assumes that weights are randomly sampled from the upstream model for transfer. In practice, developing regularization techniques that actively guide the selection of the most effective weights to transfer would be a massive step forward.

Summary updated

BibTeX
@misc{yuan2025towards,
  author = {Hua Yuan and Xuran Meng and Qiufeng Wang and Shiyu Xia and Ning Xu and Xu Yang and Jing Wang and Xin Geng and Yong Rui},
  title = {{Towards Understanding Feature Learning in Parameter Transfer}},
  year = {2025},
  eprint = {2509.22056},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.22056},
}
Figure