arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.04095cs.CLcs.AI

利用大语言模型支持领域特定知识助手

LLMs to Support a Domain Specific Knowledge Assistant

Imperial College London(伦敦帝国学院)

Maria-Flavia Lovin

AI总结:

本文针对IFRS可持续发展报告领域缺乏公开问答数据的问题,构建了基于大语言模型的高质量合成问答数据集,并提出RAG与纯LLM两种问答架构,显著提升了单一及跨行业问答准确率。

摘要:

本工作提出了一种定制化方法,用于开发面向可持续发展报告领域的知识助手,并基于国际财务报告准则(IFRS)实现。在该领域中,目前没有公开可用的问答数据集,这阻碍了高质量聊天机器人的开发,使其难以支持企业进行IFRS报告。因此,本项目的两个关键贡献如下:(1)基于IFRS可持续发展准则构建了一个高质量的合成问答(QA)数据集,该数据集通过一种新颖的生成与评估流水线并利用大语言模型(LLMs)创建。该数据集包含1,063个多样化的问答对,覆盖了可持续发展报告中广泛的潜在用户查询。在数据集构建过程中采用了多种基于LLM的技术,包括思维链推理和少样本提示。同时开发了一个定制化评估框架,从多个维度评估问题和答案的质量,包括忠实性、相关性和领域特异性。该数据集在这些指标上的平均得分为8.16分(满分10分)。(2)提出了两种用于可持续发展报告领域问答的架构——一种是RAG流水线,另一种是完全基于LLM的流水线。这些架构通过在该问答数据集上进行实验、微调和训练而开发。最终流水线包含一个在领域特定数据上微调的LLM以及一个行业分类组件,以改进对复杂查询的处理。RAG架构在单一行业多项选择题上达到85.32%的准确率,在跨行业多项选择题上达到72.15%的准确率,分别比基线方法高出4.67和19.21个百分点。基于LLM的流水线在单一行业多项选择题上达到93.45%的准确率,在跨行业多项选择题上达到80.30%的准确率,分别比基线方法提高了12.80和27.36个百分点。

英文摘要:

This work presents a custom approach to developing a domain specific knowledge assistant for sustainability reporting using the International Financial Reporting Standards (IFRS). In this domain, there is no publicly available question-answer dataset, which has impeded the development of a high-quality chatbot to support companies with IFRS reporting. The two key contributions of this project therefore are: (1) A high-quality synthetic question-answer (QA) dataset based on IFRS sustainability standards, created using a novel generation and evaluation pipeline leveraging Large Language Models (LLMs). This comprises 1,063 diverse QA pairs that address a wide spectrum of potential user queries in sustainability reporting. Various LLM-based techniques are employed to create the dataset, including chain-of-thought reasoning and few-shot prompting. A custom evaluation framework is developed to assess question and answer quality across multiple dimensions, including faithfulness, relevance, and domain specificity. The dataset averages a score range of 8.16 out of 10 on these metrics. (2) Two architectures for question-answering in the sustainability reporting domain - a RAG pipeline and a fully LLM-based pipeline. The architectures are developed by experimenting, fine-tuning, and training on the QA dataset. The final pipelines feature an LLM fine-tuned on domain specific data and an industry classification component to improve the handling of complex queries. The RAG architecture achieves an accuracy of 85.32% on single-industry and 72.15% on cross-industry multiple-choice questions, outperforming the baseline approach by 4.67 and 19.21 percentage points, respectively. The LLM-based pipeline achieves an accuracy of 93.45% on single-industry and 80.30% on cross-industry multiple-choice questions, an improvement of 12.80 and 27.36 percentage points over the baseline, respectively.

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

↑