CCoE: A Compact LLM with Collaboration of Experts
<|reference_start|>CCoE: A Compact LLM with Collaboration of Experts: In the domain of Large Language Model (LLM), LLMs demonstrate significant capabilities in natural language understanding and generation. With the growing needs of applying LLMs on various domains, it is a research question that how to efficiently train and build a model that has expertise in different domains but with a low training cost. We propose CCoE architecture, a framework of easily coupling multiple strong domain experts together to fuse into a big LLM, provides a collective way of utilizing the different domain expert LLMs. Besides, training a large collaborative of multiple expert LLMs requires a high requirements on training sources. CCoE bypasses this problem through isolating other experts and train each expert separately. The design of CCoE assembles multiple expert LLMs through the CoE (Collaboration of Experts) layer. Each CoE layer could have one or more expert LLMs. Expert LLMs have different number of layers and have been well-trained for different domain tasks. Each expert is fine-tuned to be able to achieve the comparable results with SOTA domain LLMs. We start from 5 experts in the domain of Code, Math, Law, text-to-SQL and Medical. The results indicate that our CCoE framework can easily and efficiently boost nearly 10%-20% performance on original base model in different domains but using less resources on training, as well as inference.<|reference_end|>
@article{huang2024ccoe:,
    title={CCoE: A Compact LLM with Collaboration of Experts},
    author={Shaomang Huang, Jianfeng Pan, Hanzhong Zheng},
    journal={arXiv preprint arXiv:2407.11686},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.11686},
    primaryClass={cs.CL cs.AI}
}