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

FinLLMs:一个利用大型语言模型生成金融推理数据集的框架

FinLLMs: A Framework for Financial Reasoning Dataset Generation with Large Language Models

Beijing Institute of Technology(北京理工大学);Central University of Finance and Economics(中央财经大学);Soochow University(苏州大学);Fordham University(福特汉姆大学)

Ziqiang Yuan, Kaiyuan Wang, Shoutai Zhu, Ye Yuan, Jingya Zhou, Yanlin Zhu, Wenqi Wei

AI总结:

本文提出 FinLLMs 框架,通过金融公式图谱组合扩充公式,并利用 GPT-3.5 生成含表格与长文本的金融问答数据,提升了多个数值推理模型的性能。

摘要:

大型语言模型(LLM)通常依赖大量训练数据集。在金融领域,创建同时包含表格和长文本的数值推理数据集往往需要高昂的人工标注成本。为解决数据资源有限的问题并降低标注成本,我们提出 FinLLMs,这是一种利用大型语言模型、基于常见金融公式生成金融问答数据的方法。首先,我们整理常见金融公式列表,并根据这些公式使用的变量构建图。随后,我们通过组合共享相同变量的公式并将其作为新元素,来扩充公式集合。具体而言,我们探索通过人工标注获得的公式,并遍历所构建的图,合并那些具有共享变量的公式。最后,利用 GPT-3.5,我们在收集的公式集合基础上,生成同时包含表格信息和长文本内容的金融问答数据。实验表明,由 FinLLMs 生成的合成数据有效提升了金融领域若干大规模数值推理模型的性能,表现优于两个成熟的基准金融问答数据集。

英文摘要:

Large Language models (LLMs) usually rely on extensive training datasets. In the financial domain, creating numerical reasoning datasets that include a mix of tables and long text often involves substantial manual annotation expenses. To address the limited data resources and reduce the annotation cost, we introduce FinLLMs, a method for generating financial question-answering data based on common financial formulas using Large Language Models. First, we compile a list of common financial formulas and construct a graph based on the variables these formulas employ. We then augment the formula set by combining those that share identical variables as new elements. Specifically, we explore formulas obtained by manual annotation and merge those formulas with shared variables by traversing the constructed graph. Finally, utilizing GPT-3.5, we generate financial question-answering data that encompasses both tabular information and long textual content, building on the collected formula set. Our experiments demonstrate that synthetic data generated by FinLLMs effectively enhances the performance of several large-scale numerical reasoning models in the financial domain, outperforming two established benchmark financial question-answering datasets.

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

↑