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

FinTextQA:一个用于长文本金融问答的数据集

FinTextQA: A Dataset for Long-form Financial Question Answering

HSBC Lab(汇丰实验室);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Harvard University(哈佛大学)

Jian Chen, Peilin Zhou, Yining Hua, Yingxin Loh, Kehui Chen, Ziyuan Li, Bing Zhu, Junwei Liang

AI总结:

本文提出FinTextQA,一个包含1,262对高质量QA对的金融长文本问答数据集,并开发基于RAG的LFQA系统,通过多维度评估发现Baichuan2-7B性能接近GPT-3.5-turbo,且上下文达特定阈值后模型抗噪性提升。

摘要:

准确评估金融问答(QA)系统需要一个包含多样化问题类型和上下文的综合数据集。然而,当前的金融QA数据集缺乏范围多样性和问题复杂性。本研究引入了FinTextQA,一个用于金融领域长文本问答(LFQA)的新颖数据集。FinTextQA包含1,262对高质量、标明来源的QA对,从金融教科书和政府机构网站中提取和筛选。此外,我们开发了一个基于检索增强生成(RAG)的LFQA系统,包含嵌入器、检索器、重排器和生成器。采用多方面评估方法,包括人工排序、自动指标和GPT-4评分,在增强噪声条件下基准测试不同LFQA系统配置的性能。结果表明:(1)在所有比较的生成器中,Baichuan2-7B在准确率得分上与GPT-3.5-turbo竞争激烈;(2)在我们数据集上最有效的系统配置是将嵌入器、检索器、重排器和生成器分别设置为Ada2、Automated Merged Retrieval、Bge-Reranker-Base和Baichuan2-7B;(3)当上下文长度达到特定阈值后,模型对噪声的敏感性降低。

英文摘要:

Accurate evaluation of financial question answering (QA) systems necessitates a comprehensive dataset encompassing diverse question types and contexts. However, current financial QA datasets lack scope diversity and question complexity. This work introduces FinTextQA, a novel dataset for long-form question answering (LFQA) in finance. FinTextQA comprises 1,262 high-quality, source-attributed QA pairs extracted and selected from finance textbooks and government agency websites.Moreover, we developed a Retrieval-Augmented Generation (RAG)-based LFQA system, comprising an embedder, retriever, reranker, and generator. A multi-faceted evaluation approach, including human ranking, automatic metrics, and GPT-4 scoring, was employed to benchmark the performance of different LFQA system configurations under heightened noisy conditions. The results indicate that: (1) Among all compared generators, Baichuan2-7B competes closely with GPT-3.5-turbo in accuracy score; (2) The most effective system configuration on our dataset involved setting the embedder, retriever, reranker, and generator as Ada2, Automated Merged Retrieval, Bge-Reranker-Base, and Baichuan2-7B, respectively; (3) models are less susceptible to noise after the length of contexts reaching a specific threshold.

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

↑