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

PIXIU:面向金融领域的大语言模型、指令数据与评估基准

PIXIU: A Large Language Model, Instruction Data and Evaluation Benchmark for Finance

Wuhan University(武汉大学);Sun Yat-Sen University(中山大学);Southwest Jiaotong University(西南交通大学);University of Florida(佛罗里达大学);ChanceFocus AMC(ChanceFocus资产管理公司)

Qianqian Xie, Weiguang Han, Xiao Zhang, Yanzhao Lai, Min Peng, Alejandro Lopez-Lira, Jimin Huang

AI总结:

针对金融领域缺乏开源专属大模型、指令数据与评估基准的问题,本文提出PIXIU框架,包含13.6万条多任务金融指令数据、微调LLaMA得到的FinMA模型,以及含6类任务的评估基准,开源资源以推动金融AI研究。

摘要:

尽管大语言模型(LLM)已在金融领域的自然语言处理(NLP)任务中展现出优异性能,但目前尚无公开可用的金融专属LLM、指令微调数据集及评估基准,而这些资源对持续推动金融人工智能(AI)的开源发展至关重要。本文提出PIXIU这一综合框架,包含首个基于LLaMA经指令数据微调得到的金融LLM、首个含13.6万条样本以支撑微调的指令数据集,以及涵盖5项任务、9个数据集的评估基准。我们首先构建了大规模多任务指令数据,覆盖多种金融任务、金融文档类型与金融数据模态。随后,我们使用构建的数据集微调LLaMA,提出名为FinMA的金融LLM,使其能够遵循指令完成各类金融任务。为支撑金融LLM的评估,我们提出了一项标准化基准,覆盖一系列关键金融任务,包括5项金融NLP任务和1项金融预测任务。基于该基准,我们对FinMA及多款现有LLM开展了详细分析,揭示了它们在处理关键金融任务时的优势与不足。该模型、数据集、基准及实验结果均已开源,以助力金融AI的未来研究。

英文摘要:

Although large language models (LLMs) has shown great performance on natural language processing (NLP) in the financial domain, there are no publicly available financial tailtored LLMs, instruction tuning datasets, and evaluation benchmarks, which is critical for continually pushing forward the open-source development of financial artificial intelligence (AI). This paper introduces PIXIU, a comprehensive framework including the first financial LLM based on fine-tuning LLaMA with instruction data, the first instruction data with 136K data samples to support the fine-tuning, and an evaluation benchmark with 5 tasks and 9 datasets. We first construct the large-scale multi-task instruction data considering a variety of financial tasks, financial document types, and financial data modalities. We then propose a financial LLM called FinMA by fine-tuning LLaMA with the constructed dataset to be able to follow instructions for various financial tasks. To support the evaluation of financial LLMs, we propose a standardized benchmark that covers a set of critical financial tasks, including five financial NLP tasks and one financial prediction task. With this benchmark, we conduct a detailed analysis of FinMA and several existing LLMs, uncovering their strengths and weaknesses in handling critical financial tasks. The model, datasets, benchmark, and experimental results are open-sourced to facilitate future research in financial AI.

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

↑