Exploring Mode Connectivity for Pre-trained Language Models
Yujia Qin, Cheng Qian, Jing Yi, Weize Chen, Yankai Lin, Xu Han, Zhiyuan Liu, Maosong Sun, Jie Zhou
摘要
Recent years have witnessed the prevalent application of pre-trained language models (PLMs) in NLP. From the perspective of parameter space, PLMs provide generic initialization, starting from which high-performance minima could be found. Although plenty of works have studied how to effectively and efficiently adapt PLMs to high-performance minima, little is known about the connection of various minima reached under different adaptation configurations. In this paper, we investigate the geometric connections of different minima through the lens of mode connectivity, which measures whether two minima can be connected with a low-loss path. We conduct empirical analyses to investigate three questions: (1) how could hyperparameters, specific tuning methods, and training data affect PLM's mode connectivity? (2) How does mode connectivity change during pretraining? (3) How does the PLM's task knowledge change along the path connecting two minima? In general, exploring the mode connectivity of PLMs conduces to understanding the geometric connection of different minima, which may help us fathom the inner workings of PLM downstream adaptation. The codes are publicly available at https://github.com/ thunlp/Mode-Connectivity-PLM .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Composing Parameter-Efficient Modules with Arithmetic Operation 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Composing Parameter-Efficient Modules with Arithmetic Operation 引用了 Merging Models with Fisher-Weighted Averaging
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization 引用了 Merging Models with Fisher-Weighted Averaging
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization 引用了 ColD Fusion: Collaborative Descent for Distributed Multitask Finetuning
- Lookaround Optimizer: k steps around, 1 step average 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Merging Models with Fisher-Weighted Averaging
- Merging Models with Fisher-Weighted Averaging 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm 引用了 Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization
- On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm 引用了 Merging Models with Fisher-Weighted Averaging
- ColD Fusion: Collaborative Descent for Distributed Multitask Finetuning 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- ColD Fusion: Collaborative Descent for Distributed Multitask Finetuning 引用了 Merging Models with Fisher-Weighted Averaging
- Extracting Training Data from Large Language Models 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper14
- Composing Parameter-Efficient Modules with Arithmetic OperationJinghan Zhang, Shiqi Chen, Junteng Liu, Junxian HeNeurIPS 2023 · 164 次引用
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution GeneralizationAlexandre Ramé, Kartik Ahuja, Jianyu Zhang, Matthieu Cord 等ICML 2023 · 108 次引用
- On the Emergence of Cross-Task Linearity in Pretraining-Finetuning ParadigmZhanpeng Zhou, Zijun Chen, Yilan Chen, Bo Zhang 等ICML 2024 · 26 次引用
- ColD Fusion: Collaborative Descent for Distributed Multitask FinetuningShachar Don-Yehiya, Elad Venezian, Colin Raffel, Noam Slonim 等ACL 2023 · 13 次引用
- Lookaround Optimizer: k steps around, 1 step averageJiangtao Zhang, Shunyu Liu, Jie Song, Tongtian Zhu 等NeurIPS 2023 · 12 次引用
它引用的 Paper17
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
- 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 次引用
- Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 次引用
- Merging Models with Fisher-Weighted AveragingMichael Matena, Colin RaffelNeurIPS 2022 · 741 次引用
相关 Paper
- Recyclable Tuning for Continual Pre-trainingYujia Qin, Cheng Qian, Xu Han, Yankai Lin 等ACL Findings 2023 · 4 次引用
- Connecting Independently Trained Modes via Layer-Wise ConnectivityYongding Tian, Zaid Al-Ars, Maksim Kitsak, H Peter HofsteeICML 2026 · 1 次引用
- Input Space Mode Connectivity in Deep Neural NetworksJakub Vrábel, Ori Shem-Ur, Yaron Oz, David KruegerICLR 2025
- Fine-tuning Happens in Tiny Subspaces: Exploring Intrinsic Task-specific Subspaces of Pre-trained Language ModelsZhong Zhang, Bang Liu, Junming ShaoACL 2023 · 8 次引用
- Emergence of a High-Dimensional Abstraction Phase in Language TransformersEmily Cheng, Diego Doimo, Corentin Kervadec, Iuri Macocco 等ICLR 2025 · 1 次引用
