arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.07264cs.IRcs.CL
收藏

使用LLM的多文档金融问答

Multi-Document Financial Question Answering using LLMs

Anvai AI(安维人工智能)

Shalin Shah, Srikanth Ryali, Ramasubbu Venkatesh

AI总结:

提出两种多文档金融问答方法RAG_SEM和KG_RAG,通过语义标注与知识图谱检索上下文,实验证明两者均显著优于普通RAG。

摘要:

我们提出了两种用于多文档金融问答的新方法。第一种方法使用语义标注,然后查询索引以获取上下文(RAG_SEM)。第二种是基于知识图谱的方法(KG_RAG),它使用语义标注,并从图数据库中检索知识图谱三元组作为上下文。KG_RAG使用的知识图谱是由一个小模型构建的,该模型通过大型教师模型进行知识蒸馏微调而成。数据包含Apple、Microsoft、Alphabet、NVIDIA、Amazon和Tesla在2021、2022和2023年的18份10K报告。数据中的问题列表包含111个复杂问题,包括许多难以回答且答案不明显的深奥问题。作为评估指标,我们使用总分和分段分数进行测量,包括忠实度、相关性、正确性、相似度、基于LLM的总分以及rouge分数和嵌入相似度。我们发现这两种方法都显著优于普通RAG。KG_RAG在九个指标中的四个上优于RAG_SEM。

英文摘要:

We propose two new methods for multi-document financial question answering. First, a method that uses semantic tagging, and then, queries the index to get the context (RAG_SEM). And second, a Knowledge Graph (KG_RAG) based method that uses semantic tagging, and, retrieves knowledge graph triples from a graph database, as context. KG_RAG uses knowledge graphs constructed using a small model that is fine-tuned using knowledge distillation using a large teacher model. The data consists of 18 10K reports of Apple, Microsoft, Alphabet, NVIDIA, Amazon and Tesla for the years 2021, 2022 and 2023. The list of questions in the data consists of 111 complex questions including many esoteric questions that are difficult to answer and the answers are not completely obvious. As evaluation metrics, we use overall scores as well as segmented scores for measurement including the faithfulness, relevance, correctness, similarity, an LLM based overall score and the rouge scores as well as a similarity of embeddings. We find that both methods outperform plain RAG significantly. KG_RAG outperforms RAG_SEM in four out of nine metrics.

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

↑