Probabilistic Token Alignment for Large Language Model Fusion

Dongfang Liu (Rochester Institute of Technology) · Runjia Zeng (Rochester Institute of Technology) · James Liang (Rochester Institute of Technology) · Cheng Han (University of Missouri) · Zhiwen Cao (Adobe Systems) · Jiahao Liu (Meituan) · Xiaojun Quan (SUN YAT-SEN UNIVERSITY) · Yingjie Victor Chen (Purdue University) · Lifu Huangg (Virginia Tech) · Tong Geng (Rice University & University of Rochester) · Qifan Wang (Meta AI)
capabilitiescoherent model fusiondistribution learningdistribution-aware learningdiverse contextsempirical resultsinterpretabilitymathematical problemmodel fusionoptimal transportperformance degradationpre-trained modelsprobabilistic token alignmenttoken alignmentvocabulary alignment

Training large language models (LLMs) from scratch can yield models with unique functionalities and strengths, but it is costly and often leads to redundant capabilities. A more cost-effective alternative is to fuse existing pre-trained LLMs with different architectures into a more powerful model. However, a key challenge in existing model fusion is their dependence on manually predefined vocabulary alignment, which may not generalize well across diverse contexts, leading to performance degradation in several evaluation. To solve this, we draw inspiration from distribution learning and propose the probabilistic token alignment method as a general and soft mapping for alignment, named as PTA-LLM. Our approach innovatively reformulates token alignment into a classic mathematical problem: optimal transport, seamlessly leveraging distribution-aware learning to facilitate more coherent model fusion. Apart from its inherent generality, PTA-LLM exhibits interpretability from a distributional perspective, offering insights into the essence of the token alignment. Empirical results demonstrate that probabilistic token alignment enhances the target model's performance across multiple capabilities.