KnowTuning: Knowledge-aware Fine-tuning for Large Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Lyu, Yougang, Yan, Lingyong, Wang, Shuaiqiang, Shi, Haibo, Yin, Dawei, Ren, Pengjie, Chen, Zhumin, de Rijke, Maarten, Ren, Zhaochun
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912054593454080
author Lyu, Yougang
Yan, Lingyong
Wang, Shuaiqiang
Shi, Haibo
Yin, Dawei
Ren, Pengjie
Chen, Zhumin
de Rijke, Maarten
Ren, Zhaochun
author_facet Lyu, Yougang
Yan, Lingyong
Wang, Shuaiqiang
Shi, Haibo
Yin, Dawei
Ren, Pengjie
Chen, Zhumin
de Rijke, Maarten
Ren, Zhaochun
contents Despite their success at many natural language processing (NLP) tasks, large language models still struggle to effectively leverage knowledge for knowledge-intensive tasks, manifesting limitations such as generating incomplete, non-factual, or illogical answers. These limitations stem from inadequate knowledge awareness of LLMs during vanilla fine-tuning. To address these problems, we propose a knowledge-aware fine-tuning (KnowTuning) method to improve fine-grained and coarse-grained knowledge awareness of LLMs. We devise a fine-grained knowledge augmentation stage to train LLMs to identify difficult fine-grained knowledge in answers. We also propose a coarse-grained knowledge comparison stage to train LLMs to distinguish between reliable and unreliable knowledge, in three aspects: completeness, factuality, and logicality. Extensive experiments on both generic and medical question answering (QA) datasets confirm the effectiveness of KnowTuning, through automatic and human evaluations, across various sizes of LLMs. We further verify that KnowTuning generates more facts with less factual error rate under fine-grained facts evaluation.
format Preprint
id arxiv_https___arxiv_org_abs_2402_11176
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle KnowTuning: Knowledge-aware Fine-tuning for Large Language Models
Lyu, Yougang
Yan, Lingyong
Wang, Shuaiqiang
Shi, Haibo
Yin, Dawei
Ren, Pengjie
Chen, Zhumin
de Rijke, Maarten
Ren, Zhaochun
Computation and Language
Artificial Intelligence
Despite their success at many natural language processing (NLP) tasks, large language models still struggle to effectively leverage knowledge for knowledge-intensive tasks, manifesting limitations such as generating incomplete, non-factual, or illogical answers. These limitations stem from inadequate knowledge awareness of LLMs during vanilla fine-tuning. To address these problems, we propose a knowledge-aware fine-tuning (KnowTuning) method to improve fine-grained and coarse-grained knowledge awareness of LLMs. We devise a fine-grained knowledge augmentation stage to train LLMs to identify difficult fine-grained knowledge in answers. We also propose a coarse-grained knowledge comparison stage to train LLMs to distinguish between reliable and unreliable knowledge, in three aspects: completeness, factuality, and logicality. Extensive experiments on both generic and medical question answering (QA) datasets confirm the effectiveness of KnowTuning, through automatic and human evaluations, across various sizes of LLMs. We further verify that KnowTuning generates more facts with less factual error rate under fine-grained facts evaluation.
title KnowTuning: Knowledge-aware Fine-tuning for Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2402.11176