arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.03937cs.CL
收藏

TongGu:基于知识增强大语言模型精通文言文理解

TongGu: Mastering Classical Chinese Understanding with Knowledge-Grounded Large Language Models

South China University of Technology(华南理工大学);Intsig Information Co., Ltd.(影谱科技股份有限公司)

Jiahuan Cao, Dezhi Peng, Peirong Zhang, Yongxin Shi, Yang Liu, Kai Ding, Lianwen Jin

AI总结:

本文提出首个文言文理解专用大语言模型 TongGu,通过 ACCN-INS 指令数据集、冗余感知微调 RAT 和检索增强生成 CCU-RAG,在 24 个 CCU 任务上验证了其优越性能。

摘要:

文言文是通往中国古代丰富遗产与智慧的门径,然而其复杂性对大多数缺乏专门知识的现代人构成了巨大的理解障碍。尽管大语言模型(LLMs)在自然语言处理(NLP)中展现出卓越能力,但它们在文言文理解(CCU)方面仍面临困难,尤其是在数据需求大和知识密集型的任务上。针对这一困境,我们提出了 TongGu(意为通晓古今),这是首个面向 CCU 的专用大语言模型,其核心贡献有三。第一,我们构建了一个源自丰富文言文语料的两阶段指令微调数据集 ACCN-INS,旨在释放大语言模型在 CCU 上的全部潜力。第二,我们提出了冗余感知微调(RAT)以防止灾难性遗忘,使 TongGu 在获得新能力的同时保留其基础知识。第三,我们提出了一种 CCU 检索增强生成(CCU-RAG)技术,基于知识增强来减少幻觉。在 24 个不同的 CCU 任务上的大量实验验证了 TongGu 的卓越能力,凸显了 RAT 和 CCU-RAG 的有效性。模型和数据集可在 https://github.com/SCUT-DLVCLab/TongGu-LLM 获取。

英文摘要:

Classical Chinese is a gateway to the rich heritage and wisdom of ancient China, yet its complexities pose formidable comprehension barriers for most modern people without specialized knowledge. While Large Language Models (LLMs) have shown remarkable capabilities in Natural Language Processing (NLP), they struggle with Classical Chinese Understanding (CCU), especially in data-demanding and knowledge-intensive tasks. In response to this dilemma, we propose \textbf{TongGu} (mean understanding ancient and modern), the first CCU-specific LLM, underpinned by three core contributions. First, we construct a two-stage instruction-tuning dataset ACCN-INS derived from rich classical Chinese corpora, aiming to unlock the full CCU potential of LLMs. Second, we propose Redundancy-Aware Tuning (RAT) to prevent catastrophic forgetting, enabling TongGu to acquire new capabilities while preserving its foundational knowledge. Third, we present a CCU Retrieval-Augmented Generation (CCU-RAG) technique to reduce hallucinations based on knowledge-grounding. Extensive experiments across 24 diverse CCU tasks validate TongGu's superior ability, underscoring the effectiveness of RAT and CCU-RAG. The model and dataset are available at \url{https://github.com/SCUT-DLVCLab/TongGu-LLM}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑