ProFuser: Progressive Fusion of Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Shi, Tianyuan, Wan, Fanqi, Huang, Canbin, Quan, Xiaojun, Li, Chenliang, Yan, Ming, Zhang, Ji, Huang, Minhua, Kai, Wu
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914159306735616
author Shi, Tianyuan
Wan, Fanqi
Huang, Canbin
Quan, Xiaojun
Li, Chenliang
Yan, Ming
Zhang, Ji
Huang, Minhua
Kai, Wu
author_facet Shi, Tianyuan
Wan, Fanqi
Huang, Canbin
Quan, Xiaojun
Li, Chenliang
Yan, Ming
Zhang, Ji
Huang, Minhua
Kai, Wu
contents While fusing the capacities and advantages of various large language models offers a pathway to construct more powerful and versatile models, a fundamental challenge is to properly select advantageous model during training. Existing fusion methods primarily focus on the training mode that uses cross entropy on ground truth in a teacher-forcing setup to measure a model's advantage, which may provide limited insight towards model advantage. In this paper, we introduce a novel approach that enhances the fusion process by incorporating both the training and inference modes. Our method evaluates model advantage not only through cross entropy during training but also by considering inference outputs, providing a more comprehensive assessment. To combine the two modes effectively, we introduce ProFuser to progressively transition from inference mode to training mode. To validate ProFuser's effectiveness, we fused three models, including Vicuna-7B-v1.5, Llama-2-7B-Chat, and MPT-7B-8K-Chat, and demonstrated the improved performance in knowledge, reasoning, and safety compared to baseline methods.
format Preprint
id arxiv_https___arxiv_org_abs_2408_04998
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ProFuser: Progressive Fusion of Large Language Models
Shi, Tianyuan
Wan, Fanqi
Huang, Canbin
Quan, Xiaojun
Li, Chenliang
Yan, Ming
Zhang, Ji
Huang, Minhua
Kai, Wu
Computation and Language
Artificial Intelligence
While fusing the capacities and advantages of various large language models offers a pathway to construct more powerful and versatile models, a fundamental challenge is to properly select advantageous model during training. Existing fusion methods primarily focus on the training mode that uses cross entropy on ground truth in a teacher-forcing setup to measure a model's advantage, which may provide limited insight towards model advantage. In this paper, we introduce a novel approach that enhances the fusion process by incorporating both the training and inference modes. Our method evaluates model advantage not only through cross entropy during training but also by considering inference outputs, providing a more comprehensive assessment. To combine the two modes effectively, we introduce ProFuser to progressively transition from inference mode to training mode. To validate ProFuser's effectiveness, we fused three models, including Vicuna-7B-v1.5, Llama-2-7B-Chat, and MPT-7B-8K-Chat, and demonstrated the improved performance in knowledge, reasoning, and safety compared to baseline methods.
title ProFuser: Progressive Fusion of Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2408.04998