Knowledge Fusion of Large Language Models

AI-generated keywords: Knowledge Fusion Large Language Models Pre-trained models Cost-effective alternative ICLR 2024

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors explore merging existing pre-trained large language models (LLMs) to create a more powerful model
  • Directly blending weights of LLMs with varying architectures is impractical
  • Authors propose knowledge fusion for LLMs to transfer collective knowledge and unique strengths into a single model
  • Implementing knowledge fusion on three popular LLMs - Llama-2, MPT, and OpenLLaMA - enhances performance in reasoning, commonsense understanding, and code generation
  • Externalizing combined knowledge and strengths of source LLMs into a unified model elevates capabilities beyond individual source LLMs
  • Code, model weights, and data are publicly available on GitHub for further exploration
  • Research accepted for presentation at ICLR 2024 and contributes insights into improving large language models through knowledge fusion techniques
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Fanqi Wan, Xinting Huang, Deng Cai, Xiaojun Quan, Wei Bi, Shuming Shi

Accepted to ICLR 2024

Abstract: While training large language models (LLMs) from scratch can generate models with distinct functionalities and strengths, it comes at significant costs and may result in redundant capabilities. Alternatively, a cost-effective and compelling approach is to merge existing pre-trained LLMs into a more potent model. However, due to the varying architectures of these LLMs, directly blending their weights is impractical. In this paper, we introduce the notion of knowledge fusion for LLMs, aimed at combining the capabilities of existing LLMs and transferring them into a single LLM. By leveraging the generative distributions of source LLMs, we externalize their collective knowledge and unique strengths, thereby potentially elevating the capabilities of the target model beyond those of any individual source LLM. We validate our approach using three popular LLMs with different architectures--Llama-2, MPT, and OpenLLaMA--across various benchmarks and tasks. Our findings confirm that the fusion of LLMs can improve the performance of the target model across a range of capabilities such as reasoning, commonsense, and code generation. Our code, model weights, and data are public at \url{https://github.com/fanqiwan/FuseLLM}.

Submitted to arXiv on 19 Jan. 2024

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2401.10491v2

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their paper titled "Knowledge Fusion of Large Language Models," authors Fanqi Wan, Xinting Huang, Deng Cai, Xiaojun Quan, Wei Bi, and Shuming Shi explore the concept of merging existing pre-trained large language models (LLMs) to create a more powerful model. This approach offers a cost-effective alternative to training LLMs from scratch and avoids redundant capabilities. However, directly blending the weights of LLMs with varying architectures is impractical. To address this challenge, the authors propose the idea of knowledge fusion for LLMs. By leveraging their generative distributions to transfer collective knowledge and unique strengths into a single model, this approach aims to combine the capabilities of different LLMs. Implementing knowledge fusion on three popular LLMs with different architectures - Llama-2, MPT, and OpenLLaMA - across various benchmarks and tasks, the authors demonstrate that fusing LLMs can enhance the performance of the target model in areas such as reasoning, commonsense understanding, and code generation. The findings suggest that by externalizing the combined knowledge and strengths of source LLMs into a unified model <KD>, it is possible to elevate its capabilities beyond those of any individual source LLM</KD>. The authors have made their code, model weights, and data publicly available on GitHub for further exploration. This research has been accepted for presentation at ICLR 2024 <KD>and contributes valuable insights into improving large language models through knowledge fusion techniques</KD>.
Created on 11 Sep. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.