On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm
Zhanpeng Zhou, Zijun Chen, Yilan Chen, Bo Zhang, Junchi Yan
摘要
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 1 , 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. We released our source code at https://github.com/zzp1012/ Cross-Task-Linearity .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TIES-Merging: Resolving Interference When Merging Models 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- TIES-Merging: Resolving Interference When Merging Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- TIES-Merging: Resolving Interference When Merging Models 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Leveraging Submodule Linearity Enhances Task Arithmetic Performance in LLMs 引用了 TIES-Merging: Resolving Interference When Merging Models
- Leveraging Submodule Linearity Enhances Task Arithmetic Performance in LLMs 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Leveraging Submodule Linearity Enhances Task Arithmetic Performance in LLMs 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Disentangling Consensus and Value-Specific Representations for Controllable Pluralistic Value Alignment of LLMs 引用了 TIES-Merging: Resolving Interference When Merging Models
- Disentangling Consensus and Value-Specific Representations for Controllable Pluralistic Value Alignment of LLMs 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Disentangling Consensus and Value-Specific Representations for Controllable Pluralistic Value Alignment of LLMs 引用了 Training language models to follow instructions with human feedback
- Revisiting the Role of Pretrained Weights in Model Merging: On Near-Optimality within the Core Subspace 引用了 TIES-Merging: Resolving Interference When Merging Models
- Exploring and Leveraging Class Vectors for Classifier Editing 引用了 TIES-Merging: Resolving Interference When Merging Models
- Exploring and Leveraging Class Vectors for Classifier Editing 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Exploring and Leveraging Class Vectors for Classifier Editing 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Exploring and Leveraging Class Vectors for Classifier Editing 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Exploring and Leveraging Class Vectors for Classifier Editing 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper7
- Breaking the Aggregation Bottleneck in Federated Recommendation: A Personalized Model Merging ApproachJundong Chen, Honglei Zhang, Chunxu Zhang, Fangyuan Luo 等AAAI 2026 · 4 次引用
- Exploring and Leveraging Class Vectors for Classifier EditingJaeik Kim, Jaeyoung DoNeurIPS 2025 · 1 次引用
- Leveraging Submodule Linearity Enhances Task Arithmetic Performance in LLMsRui Dai, Sile Hu, Xu Shen, Yonggang Zhang 等ICLR 2025
- Disentangling Consensus and Value-Specific Representations for Controllable Pluralistic Value Alignment of LLMsJianKui Zhou, Jing Yao, Xiaoyuan Yi, Peng Zhang 等ICML 2026
- Revisiting the Role of Pretrained Weights in Model Merging: On Near-Optimality within the Core SubspaceWenju Sun, Qingyong Li, Tiancheng Li, Yangliao Geng 等ICML 2026
它引用的 Paper31
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs 等ICML 2022 · 1,464 次引用
- TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel 等NeurIPS 2023 · 999 次引用
- Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 次引用
相关 Paper
- Distilling Linearized Behavior into Non-linear Fine-Tuning for Effective Task ArithmeticThomas Sommariva, Francesca Morandi, Simone Calderara, Angelo PorrelloICML 2026 · 2 次引用
- LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model MergingKe Wang, Nikolaos Dimitriadis, Alessandro Favero, Guillermo Ortiz-Jiménez 等ICLR 2025
- Mitigating Parameter Interference in Model Merging via Sharpness-Aware Fine-TuningYeoreum Lee, Jinwook Jung, Sungyong BaikICLR 2025
- Features are fate: a theory of transfer learning in high-dimensional regressionJavan Tahir, Surya Ganguli, Grant M. RotskoffICML 2025
- Fine-Tuning Attention Modules Only: Enhancing Weight Disentanglement in Task ArithmeticRuochen Jin, Bojian Hou, Jiancong Xiao, Weijie J. Su 等ICLR 2025
