Structure-aware Domain Knowledge Injection for Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liu, Kai, Chen, Ze, Fu, Zhihang, Zhang, Wei, Jiang, Rongxin, Zhou, Fan, Chen, Yaowu, Wu, Yue, Ye, Jieping
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915153463738368
author Liu, Kai
Chen, Ze
Fu, Zhihang
Zhang, Wei
Jiang, Rongxin
Zhou, Fan
Chen, Yaowu
Wu, Yue
Ye, Jieping
author_facet Liu, Kai
Chen, Ze
Fu, Zhihang
Zhang, Wei
Jiang, Rongxin
Zhou, Fan
Chen, Yaowu
Wu, Yue
Ye, Jieping
contents This paper introduces a pioneering methodology, termed StructTuning, to efficiently transform foundation Large Language Models (LLMs) into domain specialists. It significantly reduces the training corpus needs to a mere 5% while achieving an impressive 100% of traditional knowledge injection performance. Motivated by structured human education, we propose a novel two-stage strategy for knowledge injection and alignment: Structure-aware Continual Pre-Training (SCPT) and Structure-aware Supervised Fine-Tuning (SSFT). In the SCPT phase, we automatically extract the domain knowledge taxonomy and reorganize the training corpora, enabling LLMs to effectively link textual segments to targeted knowledge points within the taxonomy. In the SSFT phase, we explicitly prompt models to elucidate the underlying knowledge structure in their outputs, leveraging the structured domain insight to address practical problems. Our ultimate method was extensively evaluated across model architectures and scales on LongBench and MMedBench datasets, demonstrating superior performance against other knowledge injection methods. We also explored our method's scalability across different training corpus sizes, laying the foundation to enhance domain-specific LLMs with better data utilization.
format Preprint
id arxiv_https___arxiv_org_abs_2407_16724
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Structure-aware Domain Knowledge Injection for Large Language Models
Liu, Kai
Chen, Ze
Fu, Zhihang
Zhang, Wei
Jiang, Rongxin
Zhou, Fan
Chen, Yaowu
Wu, Yue
Ye, Jieping
Computation and Language
This paper introduces a pioneering methodology, termed StructTuning, to efficiently transform foundation Large Language Models (LLMs) into domain specialists. It significantly reduces the training corpus needs to a mere 5% while achieving an impressive 100% of traditional knowledge injection performance. Motivated by structured human education, we propose a novel two-stage strategy for knowledge injection and alignment: Structure-aware Continual Pre-Training (SCPT) and Structure-aware Supervised Fine-Tuning (SSFT). In the SCPT phase, we automatically extract the domain knowledge taxonomy and reorganize the training corpora, enabling LLMs to effectively link textual segments to targeted knowledge points within the taxonomy. In the SSFT phase, we explicitly prompt models to elucidate the underlying knowledge structure in their outputs, leveraging the structured domain insight to address practical problems. Our ultimate method was extensively evaluated across model architectures and scales on LongBench and MMedBench datasets, demonstrating superior performance against other knowledge injection methods. We also explored our method's scalability across different training corpus sizes, laying the foundation to enhance domain-specific LLMs with better data utilization.
title Structure-aware Domain Knowledge Injection for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2407.16724