Abstract
This study explores the adaptation of small-scale foundation models, specifically Qwen2.5-1.5B and DeepSeek-R1-1.5B, to specialized financial tasks. By implementing a three-stage training pipeline consisting of Supervised Fine-Tuning (SFT), Direct Preference Optimization (DPO), and Reinforcement Learning (RL) with synthetic data, we demonstrate that 1.5B parameter models can achieve substantial performance improvements on the Open FinLLM Leaderboard. Our findings highlight the effectiveness of DPO in mitigating model degeneration and confirm that financial domain data follows predictable scaling laws similar to general-purpose corpora.
Introduction
While Large Language Models (LLMs) have shown remarkable capabilities across various domains, their performance in highly specialized sectors like finance remains a challenge. Financial tasks, such as risk management, causal classification, and sentiment analysis of earnings calls, require precise domain knowledge and adherence to specific output formats. Two primary hurdles hinder the "open finance" movement: the scarcity of high-quality labeled training data and the tendency of fine-tuned models to suffer from "over-length" degeneration—a state where models fail to terminate generation or repeat tokens unnecessarily.
Methodology
To transform base models into financial specialists, we employed a multi-stage training pipeline (Figure 1).
1. Supervised Fine-Tuning (SFT)
We utilized Low-Rank Adaptation (LoRA) to efficiently adapt the base models to available financial datasets. This stage establishes the baseline task performance.
2. Direct Preference Optimization (DPO)
To address the "over-length" issue, we repurposed DPO. Rather than traditional human preference alignment, we used it as a technical constraint. Concise, correct answers were treated as "preferred," while the repetitive, overly long outputs from the SFT stage were treated as "rejected." This approach effectively taught the model the boundaries of financial answers.
3. RL with Synthetic Data
For tasks lacking sufficient training data, we implemented a self-improvement loop. We generated questions and Chain-of-Thought (CoT) annotations from raw financial corpora (e.g., the FNSPID dataset) and used these synthetic pairs to train the model via Reinforcement Learning.
Results and Discussion
Mitigating Model Degeneration
The application of DPO proved highly effective in controlling output length. As shown in Figure 2, the over-length ratio was reduced from 54.7% after SFT to just 1.7% following DPO iterations, without compromising accuracy on tasks like Named Entity Recognition (NER) and Causal Classification (CC).
Performance Gains and Scaling Laws
The use of synthetic data for RL yielded dramatic improvements, notably a +87.1% performance boost on the MultiFin task. Furthermore, our analysis of the Data Scaling Law in the financial domain revealed a data critical exponent of 0.28. This is strikingly similar to the 0.24 exponent observed in general-purpose models, suggesting that the fundamental mechanics of LLM learning are consistent across domains.
Task Specialization Trade-offs
We observed that heavy specialization can lead to performance degradation in unrelated tasks. For instance, intensive fine-tuning on NER tasks reduced performance in Causal Classification, indicating that an over-emphasis on entity identification may come at the cost of broader semantic reasoning. In model comparisons, DeepSeek-R1-1.5B generally exhibited superior task-specific generalization compared to Qwen2.5-1.5B-Instruct.
Conclusion
Our work demonstrates that even small-scale models (1.5B parameters) can be transformed into powerful financial tools through targeted fine-tuning strategies. The combination of DPO for structural control and RL for data augmentation provides a robust framework for domain-specific adaptation. Future research will focus on scaling these methods to larger models (7B+) and exploring the limits of iterative RL with synthetic data.