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

DocFinQA:一个长上下文金融推理数据集

DocFinQA: A Long-Context Financial Reasoning Dataset

Kensho Technologies(肯斯霍技术公司)

Varshini Reddy, Rik Koncel-Kedziorski, Viet Dac Lai, Michael Krumdick, Charles Lovering, Chris Tanner

AI总结:

针对金融长文档问答任务,构建DocFinQA数据集(平均上下文12.3万词),并实验证明现有检索式及长上下文模型在此任务上仍面临重大挑战,其解决对长距离上下文应用具有广泛意义。

摘要:

为了使大型语言模型(LLMs)在金融领域有效——在该领域中,每个决策都可能产生重大影响——有必要研究现实的任务和数据。金融专业人士经常需要处理长达数百页的文档,但大多数金融研究数据集仅涉及这些文档的简短摘录。为了解决这一问题,我们引入了一个长文档金融问答任务。我们为现有FinQA数据集中的7,437个问题补充了完整文档上下文,将平均上下文长度从FinQA中的不到700个单词扩展到DocFinQA中的123,000个单词。我们基于检索的问答流程和长上下文语言模型进行了大量实验。DocFinQA对即使是当前最先进的系统也构成了重大挑战。我们还对DocFinQA中最长的文档进行了案例研究,发现模型在这些文档上尤其困难。解决这些挑战可能会对需要高特异性和长距离上下文的应用产生广泛影响,例如基因序列和法律文档合同分析。

英文摘要:

For large language models (LLMs) to be effective in the financial domain -- where each decision can have a significant impact -- it is necessary to investigate realistic tasks and data. Financial professionals often interact with documents that are hundreds of pages long, but most financial research datasets only deal with short excerpts from these documents. To address this, we introduce a long-document financial QA task. We augment 7,437 questions from the existing FinQA dataset with the full-document context, extending the average context length from under 700 words in FinQA to 123k words in DocFinQA. We conduct extensive experiments over retrieval-based QA pipelines and long-context language models. DocFinQA proves a significant challenge for even state-of-the-art systems. We also provide a case-study on the longest documents in DocFinQA and find that models particularly struggle on these documents. Addressing these challenges may have a wide reaching impact across applications where specificity and long-range contexts are critical, like gene sequences and legal document contract analysis.

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

↑