FinGPT:为金融大型语言模型民主化互联网规模数据
FinGPT: Democratizing Internet-scale Data for Financial Large Language Models
AI总结:
针对金融领域LLM数据稀缺和闭源问题,提出开源数据中心的FinGPT框架,自动化收集互联网34个来源的实时金融数据,结合RLSP和LoRA低成本微调,实现金融LLM的民主化。
摘要:
大型语言模型(LLM)在理解和生成类人文本方面表现出卓越的能力,这可能彻底改变金融行业。然而,现有的LLM在金融领域往往表现不佳,这主要归因于通用文本数据与金融文本数据之间的差异。不幸的是,目前可用的金融文本数据集数量有限,而首个金融LLM(FinLLM)BloombergGPT是闭源的(仅发布了训练日志)。鉴于此,我们旨在为LLM民主化互联网规模的金融数据,这由于数据来源多样、信噪比低和时间有效性高而成为一个开放的挑战。为应对这些挑战,我们引入了一个开源且以数据为中心的框架——金融生成式预训练Transformer(FinGPT),它自动化了从互联网上34个不同来源收集和整理实时金融数据的过程,为研究人员和从业者提供了可访问且透明的资源,以开发他们的FinLLM。此外,我们提出了一种简单而有效的策略,利用市场固有的反馈来微调FinLLM,称为基于股票价格的强化学习(RLSP)。我们还采用了低秩适应(LoRA,QLoRA)方法,使用户能够以低成本从通用LLM定制自己的FinLLM。最后,我们展示了几个FinGPT应用,包括机器人顾问、算法交易的情感分析和低代码开发。FinGPT旨在民主化FinLLM,激发创新,并在开放金融中解锁新机遇。代码已开源。
英文摘要:
Large language models (LLMs) have demonstrated remarkable proficiency in understanding and generating human-like texts, which may potentially revolutionize the finance industry. However, existing LLMs often fall short in the financial field, which is mainly attributed to the disparities between general text data and financial text data. Unfortunately, there is only a limited number of financial text datasets available, and BloombergGPT, the first financial LLM (FinLLM), is close-sourced (only the training logs were released). In light of this, we aim to democratize Internet-scale financial data for LLMs, which is an open challenge due to diverse data sources, low signal-to-noise ratio, and high time-validity. To address the challenges, we introduce an open-sourced and data-centric framework, Financial Generative Pre-trained Transformer (FinGPT), that automates the collection and curation of real-time financial data from 34 diverse sources on the Internet, providing researchers and practitioners with accessible and transparent resources to develop their FinLLMs. Additionally, we propose a simple yet effective strategy for fine-tuning FinLLM using the inherent feedback from the market, dubbed Reinforcement Learning with Stock Prices (RLSP). We also adopt the Low-rank Adaptation (LoRA, QLoRA) method that enables users to customize their own FinLLMs from general-purpose LLMs at a low cost. Finally, we showcase several FinGPT applications, including robo-advisor, sentiment analysis for algorithmic trading, and low-code development. FinGPT aims to democratize FinLLMs, stimulate innovation, and unlock new opportunities in open finance. The codes have been open-sourced.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。