Fin-R1:通过强化学习构建的金融推理大语言模型
Fin-R1: A Large Language Model for Financial Reasoning through Reinforcement Learning
AI总结:
Fin-R1通过强化学习方法,解决金融领域推理问题,具备高精度和可解释性,适用于合规检查和智能投顾。
摘要:
近年来,通用大语言模型(如GPT、Gemini、Claude和DeepSeek)发展迅速,但应用于金融领域仍面临数据碎片化、推理过程不透明和转移能力弱的挑战。为此,我们引入Fin-R1,一个专为金融场景设计的推理LLM。Fin-R1参数规模仅为70亿,降低了部署成本并解决了上述问题。其开发采用两阶段流程:首先构建Fin-R1-Data,包含60,091个思维链(CoT)样本的高质量金融数据集;其次通过监督微调(SFT)和强化学习(RL)训练Fin-R1,显著提升了模型解决复杂金融推理任务的能力,输出准确且可解释。尽管参数规模较小,Fin-R1在主流金融基准测试中表现优异,并在合规检查和智能投顾中具有实用价值。代码已公开在https://github.com/SUFE-AIFLM-Lab/Fin-R1,已获得700余星标。
英文摘要:
In recent years, general-purpose large language models (LLMs) such as GPT, Gemini, Claude, and DeepSeek have advanced at an unprecedented pace. Despite these achievements, their application to finance remains challenging, due to fragmented data sources, intransparent reasoning processes, and weak transferability to business applications. In response, we introduce Fin-R1, a reasoning LLM designed for financial scenarios. With a compact size of 7 billion parameters, Fin-R1 reduces deployment costs while addressing the aforementioned challenges. Its development follows a two-stage pipeline. First, we construct Fin-R1-Data, a high-quality financial dataset consisting of 60,091 chain-of-thought (CoT) samples, distilled and filtered from multiple authoritative benchmarks to ensure consistency and reliability. Second, we train Fin-R1 using Fin-R1-Data through supervised fine-tuning (SFT), followed by reinforcement learning (RL). This stage substantially improves the model's ability to solve complex financial reasoning tasks, yielding outputs that are both accurate and interpretable. Despite its relatively small parameter scale, Fin-R1 achieves competitive empirical performance across established financial benchmarks and demonstrates practical utility in compliance checking and robo-advisory. Our code is publicly available at https://github.com/SUFE-AIFLM-Lab/Fin-R1, and has already attracted over 700 stars.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。