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6 |
+
- finance
|
| 7 |
+
- reasoning
|
| 8 |
+
- reinforcement-learning
|
| 9 |
+
- GRPO
|
| 10 |
+
model-index:
|
| 11 |
+
- name: ODA-Fin-RL-8B
|
| 12 |
+
results: []
|
| 13 |
+
datasets:
|
| 14 |
+
- OpenDataArena/ODA-Fin-SFT-318k
|
| 15 |
+
- OpenDataArena/ODA-Fin-RL-12k
|
| 16 |
+
language:
|
| 17 |
+
- en
|
| 18 |
+
- zh
|
| 19 |
+
metrics:
|
| 20 |
+
- accuracy
|
| 21 |
+
- f1
|
| 22 |
+
size_categories:
|
| 23 |
+
- 10K<n<100K
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
<div align="center">
|
| 28 |
+
<h1>Unlocking Data Value in Finance: A Study on Distillation
|
| 29 |
+
and Difficulty-Aware Training</h1>
|
| 30 |
+
|
| 31 |
+
</div>
|
| 32 |
+
|
| 33 |
+
<div align="center">
|
| 34 |
+
|
| 35 |
+
[](https://arxiv.org/abs/2603.07223)
|
| 36 |
+
[](https://huggingface.co/collections/OpenDataArena/oda-finance)
|
| 37 |
+
|
| 38 |
+
</div>
|
| 39 |
+
|
| 40 |
+
<figure align="center">
|
| 41 |
+
<img src="imgs/model_compare.png" width="100%" alt="Model Performance Comparison">
|
| 42 |
+
<figcaption><em>Average score across Financial benchmarks. ODA-Fin-RL/SFT-8B demonstrates strong performance relative to thinking models with significantly more parameters.</em></figcaption>
|
| 43 |
+
</figure>
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
This repository provides **ODA-Fin-RL-8B**, the reinforcement learning-enhanced version of ODA-Fin-SFT-8B. It achieves **state-of-the-art performance** among open-source financial LLMs of comparable size.
|
| 48 |
+
|
| 49 |
+
## 📖 Overview
|
| 50 |
+
|
| 51 |
+
**ODA-Fin-RL-8B** is built on [ODA-Fin-SFT-8B](https://huggingface.co/OpenDataArena/ODA-Fin-SFT-8B) and further optimized via **Group Relative Policy Optimization (GRPO)** on the **ODA-Fin-RL-12K** dataset—a carefully curated subset of 12K hard-but-verifiable financial reasoning tasks. This two-stage training strategy (SFT → RL) achieves optimal performance across diverse financial benchmarks.
|
| 52 |
+
|
| 53 |
+
### 🎯 Key Highlights
|
| 54 |
+
|
| 55 |
+
- **Base Model**: ODA-Fin-SFT-8B (Qwen3-8B fine-tuned on 318K CoT samples)
|
| 56 |
+
- **RL Training**: GRPO on ODA-Fin-RL-12K (12K difficulty-filtered samples)
|
| 57 |
+
- **Avg Performance**: 74.6% across 9 financial benchmarks (+2.5 over SFT)
|
| 58 |
+
- **SOTA Achievement**: Highest score among open-source 8B financial LLMs
|
| 59 |
+
- **Key Strengths**:
|
| 60 |
+
- **Finova: 54.6%** (Best among 8B models, +6.8 over SFT)
|
| 61 |
+
- **TaTQA: 89.3%** (+2.3 over SFT, +4.2 over Qwen3-32B)
|
| 62 |
+
- **FPB: 83.4%** (+7.8 over SFT, strong sentiment reasoning)
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## 🧠 Model Training
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
### Stage 1: Supervised Fine-Tuning (SFT)
|
| 70 |
+
|
| 71 |
+
- **Dataset**: ODA-Fin-SFT-318K
|
| 72 |
+
- **Method**: Full-parameter fine-tuning
|
| 73 |
+
- **Epochs**: 3
|
| 74 |
+
- **Result**: Establishes strong reasoning foundation (72.1% avg)
|
| 75 |
+
|
| 76 |
+
### Stage 2: Reinforcement Learning (RL)
|
| 77 |
+
|
| 78 |
+
- **Dataset**: ODA-Fin-RL-12K (difficulty-filtered: fail rate >= 50%)
|
| 79 |
+
- **Algorithm**: GRPO (Group Relative Policy Optimization)
|
| 80 |
+
- **Training Config**:
|
| 81 |
+
```yaml
|
| 82 |
+
Hardware: 8×NVIDIA H800 (80GB)
|
| 83 |
+
Batch Size: 256
|
| 84 |
+
Rollouts per Sample: 4
|
| 85 |
+
Temperature: 0.6
|
| 86 |
+
Top-p: 0.85
|
| 87 |
+
Learning Rate: 1e-6
|
| 88 |
+
KL Coefficient: 0.001
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
---
|
| 92 |
+
|
| 93 |
+
## 📊 Model Performance
|
| 94 |
+
|
| 95 |
+
### Main Results (vs SOTA Baselines)
|
| 96 |
+
|
| 97 |
+
<figure align="center">
|
| 98 |
+
<img src="imgs/main_results_table.png" width="100%" alt="p">
|
| 99 |
+
<figcaption><em>Main Results: ODA-Fin-RL achieves top three performance across most benchmarks. 'FinIQ', 'HL' and 'CFQA' refer to FinanceIQ, Headlines, and ConvFinQA benchmarks.</em></figcaption>
|
| 100 |
+
</figure>
|
| 101 |
+
|
| 102 |
+
**Performance Highlights**:
|
| 103 |
+
- **Matches Qwen3-32B** (74.7%) with **4× fewer parameters**
|
| 104 |
+
- **+4.3 points** over DianJin-R1-7B (best previous 7B financial LLM)
|
| 105 |
+
- **+2.1 points** over Qwen3-8B-Thinking (larger reasoning model)
|
| 106 |
+
- **Dominates numerical reasoning**: TaTQA (89.3%), FinQA (73.3%), ConvFinQA (80.4%)
|
| 107 |
+
|
| 108 |
+
---
|
| 109 |
+
|
| 110 |
+
## 📚 Citation
|
| 111 |
+
|
| 112 |
+
```bibtex
|
| 113 |
+
@misc{cao2026unlockingdatavaluefinance,
|
| 114 |
+
title={Unlocking Data Value in Finance: A Study on Distillation and Difficulty-Aware Training},
|
| 115 |
+
author={Chuxue Cao and Honglin Lin and Zhanping Zhong and Xin Gao and Mengzhang Cai and Conghui He and Sirui Han and Lijun Wu},
|
| 116 |
+
year={2026},
|
| 117 |
+
eprint={2603.07223},
|
| 118 |
+
archivePrefix={arXiv},
|
| 119 |
+
primaryClass={cs.LG},
|
| 120 |
+
url={https://arxiv.org/abs/2603.07223},
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
---
|
| 126 |
+
|
| 127 |
+
## 📄 License
|
| 128 |
+
|
| 129 |
+
This model is released under the [Apache 2.0 License](https://opensource.org/licenses/Apache-2.0). The training data (ODA-Fin-SFT-318K) aggregates from 25+ open-source repositories, each with their own licenses.
|
| 130 |
+
|
| 131 |
+
---
|
| 132 |
+
|
| 133 |
+
## 🤝 Acknowledgments
|
| 134 |
+
|
| 135 |
+
We thank the creators of DianJin-R1-Data, Agentar-DeepFinance-100K, financial_phrasebank, Finance-Instruct-500k, and others. We also thank the Qwen team for the powerful Qwen3 series models.
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
|
| 139 |
+
## 🔗 Related Resources
|
| 140 |
+
|
| 141 |
+
- **SFT Dataset**: [ODA-Fin-SFT-318K](https://huggingface.co/datasets/OpenDataArena/ODA-Fin-SFT-318k)
|
| 142 |
+
- **RL Dataset**: [ODA-Fin-RL-12K](https://huggingface.co/datasets/OpenDataArena/ODA-Fin-RL-12K)
|
| 143 |
+
- **SFT Model**: [ODA-Fin-SFT-8B](https://huggingface.co/OpenDataArena/ODA-Fin-SFT-8B)
|
| 144 |
+
<!-- - **RL Model**: [ODA-Fin-RL-8B](https://huggingface.co/OpenDataArena/ODA-Fin-RL-8B) -->
|
| 145 |
+
|
| 146 |
+
<!-- - **Paper**: [arXiv:2512.XXXXX](https://arxiv.org/abs/2512.XXXXX) -->
|