Probabilistic Token Alignment for Large Language Model Fusion
By: Runjia Zeng , James Chenhao Liang , Cheng Han and more
Potential Business Impact:
Combines AI brains to make them smarter.
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. Our code is avaliable at https://runjia.tech/neurips_pta-llm/.
Similar Papers
TokAlign: Efficient Vocabulary Adaptation via Token Alignment
Computation and Language
Helps computers learn new languages faster.
Towards Efficient and Effective Alignment of Large Language Models
Computation and Language
Teaches computers to follow instructions better.
A Survey on Training-free Alignment of Large Language Models
Computation and Language
Teaches AI to be good and safe.