Enhanced Fine-Tuning of Lightweight Domain-Specific Q&A Model Based on Large Language Models

Shenglin Zhang, Pengtian Zhu, Minghua Ma, Jiagang Wang, Yongqian Sun +6 more
8/22/2024
cs.AI

Official code: Zero-Pointer/Self-Evolution (8 stars, MIT, last commit 2024-09-13).

Abstract

Large language models (LLMs) excel at general question-answering (Q&A) but often fall short in specialized domains due to a lack of domain-specific knowledge. Commercial companies face the dual challenges of privacy protection and resource constraints when involving LLMs for fine-tuning. This paper propose a novel framework, Self-Evolution, designed to address these issues by leveraging lightweight open-source LLMs through multiple iterative fine-tuning rounds. To enhance the efficiency of iterative fine-tuning, Self-Evolution employ a strategy that filters and reinforces the knowledge with higher value during the iterative process. We employed Self-Evolution on Qwen1.5-7B-Chat using 4,000 documents containing rich domain knowledge from China Mobile, achieving a performance score 174% higher on domain-specific question-answering evaluations than Qwen1.5-7B-Chat and even 22% higher than Qwen1.5-72B-Chat. Self-Evolution has been deployed in China Mobile's daily operation and maintenance for 117 days, and it improves the efficiency of locating alarms, fixing problems, and finding related reports, with an average efficiency improvement of over 18.6%. In addition, we release Self-Evolution framework code in https://github.com/Zero-Pointer/Self-Evolution.

View on arXivView PDF

Code Implementations(1)

MIT

Self-Evolution: An Iterative Framework for Enhancing Large Language Models in Specialized Knowledge Domains

82PythonJun 29, 20242 years agoMIT

Similar Papers

Cite this paper

@article{zhang2024enhanced,
  title  = {Enhanced Fine-Tuning of Lightweight Domain-Specific Q&A Model Based on Large Language Models},
  author = {Shenglin Zhang and Pengtian Zhu and Minghua Ma and Jiagang Wang and Yongqian Sun and Dongwen Li and Jingyu Wang and Qianying Guo and Xiaolei Hua and Lin Zhu and Dan Pei},
  year   = {2024},
  eprint = {2408.12247},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.12247v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.12247.svg)](https://codeofpaper.com/paper/2408.12247)

Discussion