Continual pre-training is widely used to adapt LLMs to target languages and domains, yet the mixture ratio of training data remains a sensitive hyperparameter that is expensive to tune: they must be fixed before training begins, and a suboptimal choice can waste weeks of compute. In this work, we propose OptiMer, which decouples ratio selection from training: we train one CPT model per dataset, extract each model's distribution vector, which represents the parameter shift induced by that dataset, and search for optimal composition weights post-hoc via Bayesian optimization. Experiments on Gemma 3 27B across languages (Japanese, Chinese) and domains (Math, Code) show that OptiMer consistently outperforms data mixture and model averaging baselines with 15-35 times lower search cost. Key findings reveal that 1) the optimized weights can be interpreted as data mixture ratios, and retraining with these ratios improves data mixture CPT, and 2) the same vector pool can be re-optimized for a given objective without any retraining, producing target-tailored models on demand. Our work establishes that data mixture ratio selection, traditionally a pre-training decision, can be reformulated as a post-hoc optimization over distribution vectors, offering a more flexible paradigm for continual pre-training.
Merging without Forgetting: Continual Fusion of Task-Specific Models via Optimal Transport
Tsinghua University(清华大学);University of Oxford(牛津大学);East China Normal University(华东师范大学);Zhejiang University(浙江大学);Tencent(腾讯);Southern University of Science and Technology(南方科技大学)
RECALL: REpresentation-aligned Catastrophic-forgetting ALLeviation via Hierarchical Model Merging
Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Peng Cheng Laboratory(鹏城实验室);Huazhong University of Science and Technology(华中科技大学);Xiamen University(厦门大学);The Hong Kong University of Science and Technology, Guangzhou(香港科技大学(广州));School of Biomedical Engineering, Tsinghua University(清华大学生物医学工程学院)
The Projector Forgets Too: Joint Merging for Multimodal Continual Instruction Tuning
College of Computer Science and Technology, National University of Defense Technology(国防科技大学计算机科学与技术学院);National Key Laboratory of Parallel and Distributed Computing, National University of Defense Technology(国防科技大学并行与分布式计算国家重点实验室);State Key Laboratory of Complex & Critical Software Environment(复杂与关键软件环境国家重点实验室);School of Computer Science, Tsinghua University(清华大学计算机科学与技术系)
Activation-Informed Merging of Large Language Models
Massachusetts Institute of Technology(麻省理工学院);Stony Brook University(石溪大学);MIT-IBM Watson AI Lab & Red Hat AI Innovation(MIT-IBM Watson AI实验室及Red Hat AI创新)
University of Bremen(不来梅大学);Jeonbuk National University(全北国立大学);TU Darmstadt(达姆施塔特工业大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心);Hessian Center for AI (hessian.AI)(黑森人工智能中心);University College London(伦敦大学学院)
Unlocking the Potential of Model Merging for Low-Resource Languages
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);State Key Laboratory of General Artificial Intelligence, Peking University(北京大学通用人工智能国家重点实验室);Center for Data Science, Peking University(北京大学数据科学中心);College of Engineering, Peking University(北京大学工学院)
Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities
Shenzhen Campus of Sun Yat-sen University, China(中山大学深圳校区);Northeastern University China(东北大学);Shenzhen Campus of Sun Yat-sen University China(中山大学深圳校区);Nanyang Technological University Singapore(南洋理工大学);Northeastern University(东北大学);Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区);Nanyang Technological University(南洋理工大学);Institute for Clarity in Documentation Dublin Ohio USA(文档清晰研究所);Inria Paris-Rocquencourt Rocquencourt France(巴黎-罗quentourt研究所);Rajiv Gandhi University Doimukh Arunachal Pradesh India(拉贾·甘地大学);Tsinghua University Haidian Qu Beijing Shi China(清华大学);Palmer Research Laboratories San Antonio Texas USA(帕勒研究中心);Institute for Clarity in Documentation(文档清晰研究所);Inria Paris-Rocquencourt(巴黎-罗quentourt研究所);Rajiv Gandhi University(拉贾·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕勒研究中心)
Beyond Classification: Dynamic Adapter Routing for Continual Multimodal Retrieval
NASK National Research Institute(NASK国家研究院);IDEAS Research Institute(IDEAS研究所);Warsaw University of Technology(华沙技术大学);Universitat Autonoma de Barcelona(巴塞罗那自治大学)
A Practitioner's Guide to Continual Multimodal Pretraining
Tübingen AI Center(蒂宾根人工智能中心);University of Tübingen(蒂宾根大学);Helmholtz Munich(亥姆霍兹慕尼黑中心);University of Cambridge(剑桥大学);LAION;Jülich Supercomputing Center (JSC)(于利希超级计算中心);Research Center Jülich (FZJ)(于利希研究中心);Helmholtz Association(亥姆霍兹联合会);Google DeepMind(谷歌DeepMind);Munich Center for ML(慕尼黑机器学习中心);Technical University of Munich(慕尼黑工业大学)
Frequency-Aware Continual Learning for Smart Contract Vulnerability Detection with Large Language Models
School of Automation, Guangdong University of Technology(广东工业大学自动化学院);School of Computer Science and Technology, Guangdong University of Technology(广东工业大学计算机科学与技术学院);College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics(南京航空航天大学计算机科学与技术学院);Department of Computer Science, City University of Hong Kong (Dongguan)(香港城市大学(东莞)计算机科学系);College of Cyber Security, Jinan University(暨南大学网络安全学院);Guangdong Institute of Science and Technology Information(广东省科技情报研究所);Department of Electrical and Computer Engineering, Sungkyunkwan University(成均馆大学电气与计算机工程系)
MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repair
University of British Columbia, Department of Computer Science(不列颠哥伦比亚大学计算机科学系);École de technologie supérieure, Department of Software and IT Engineering(高等技术学院软件与信息技术工程系)
Investigating Cross-Modal Skill Injection: Scenarios, Methods, and Hyperparameters
State Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University(多媒体信息处理国家重点实验室,计算机科学学院,北京大学);WeChat AI, Tencent Inc., China(腾讯公司,中国);The University of Hong Kong(香港大学)
Bagging-Based Model Merging for Robust General Text Embeddings
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Querit Private Limited(Querit私人有限公司)
A Comprehensive Study of Knowledge Editing for Large Language Models
Zhejiang University(浙江大学);National University of Singapore(新加坡国立大学);University of California, Los Angeles(加州大学洛杉矶分校);Ant Group(蚂蚁集团);Alibaba Group(阿里巴巴集团)