On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm

Zhanpeng Zhou, Zijun Chen, Yilan Chen, Bo Zhang, Junchi Yan
2/12/2026

No official code found. Best implementation: zzp1012/Cross-Task-Linearity (11 stars, MIT, last commit 2025-02-20).

Abstract

The pretraining-finetuning paradigm has become the prevailing trend in modern deep learning. In this work, we discover an intriguing linear phenomenon in models that are initialized from a common pretrained checkpoint and finetuned on different tasks, termed as Cross-Task Linearity (CTL). Specifically, we show that if we linearly interpolate the weights of two finetuned models, the features in the weight-interpolated model are often approximately equal to the linear interpolation of features in two finetuned models at each layer. We provide comprehensive empirical evidence supporting that CTL consistently occurs for finetuned models that start from the same pretrained checkpoint. We conjecture that in the pretraining-finetuning paradigm, neural networks approximately function as linear maps, mapping from the parameter space to the feature space. Based on this viewpoint, our study unveils novel insights into explaining model merging/editing, particularly by translating operations from the parameter space to the feature space. Furthermore, we delve deeper into the root cause for the emergence of CTL, highlighting the role of pretraining.

View on arXivView PDF

Code Implementations(1)

MIT

[ICML 2024] Code release for "On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm"

112PythonMay 28, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhou2026emergence,
  title  = {On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm},
  author = {Zhanpeng Zhou and Zijun Chen and Yilan Chen and Bo Zhang and Junchi Yan},
  year   = {2026},
  eprint = {2402.03660},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.03660},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.03660.svg)](https://codeofpaper.com/paper/2402.03660)

Discussion