DISC-FinLLM: A Chinese Financial Large Language Model based on Multiple Experts Fine-tuning

Wei Chen, Qiushi Wang, Zefei Long, Xianyin Zhang, Zhongtian Lu, Bingxuan Li, Siyuan Wang, Jiarong Xu, Xiang Bai, Xuanjing Huang, Zhongyu Wei

Abstract

The financial sector demands high precision, domain-specific knowledge, and real-time data integration—areas where general-purpose large language models (LLMs) often struggle. This paper introduces DISC-FinLLM, a specialized Chinese financial LLM built on the Multiple Experts Fine-tuning (MEFF) framework. By leveraging four distinct LoRA (Low-Rank Adaptation) modules trained on a massive 250,000-sample instruction dataset (DISC-FIN-SFT), DISC-FinLLM excels across financial consulting, NLP tasks, complex numerical computing, and retrieval-augmented generation (RAG).

Introduction

While general-purpose LLMs like GPT-4 demonstrate impressive linguistic capabilities, their application in the financial domain is hindered by three critical gaps:

  1. Domain Specificity: Lack of deep understanding regarding specialized financial terminology and the nuances of the Chinese market.
  2. Numerical Rigor: Financial analysis requires precise calculations (e.g., debt ratios, growth rates), where standard LLMs frequently "hallucinate" or produce arithmetic errors.
  3. Real-time Constraints: Static models cannot provide up-to-date investment advice without mechanisms to retrieve current news and market reports.

Traditional financial NLP models are typically "single-taskers," making them insufficient for the multifaceted requirements of financial professionals. DISC-FinLLM addresses these challenges by providing a modular, multi-expert system capable of handling diverse financial scenarios.

Methods: The MEFF Framework

The core innovation of DISC-FinLLM is the Multiple Experts Fine-tuning (MEFF) framework. Instead of a single broad fine-tuning on the backbone model (Baichuan-13B), the researchers trained four specialized LoRA "experts":

  • Financial Consultant: Optimized for multi-turn Q&A and conversational advice.
  • Document Analyzer: Specialized in classic NLP tasks such as sentiment analysis and information extraction.
  • Financial Accountant: Trained to utilize external tools (calculators, equation solvers) to bridge the gap between linguistic fluency and mathematical precision.
  • Current Affair Analyzer: A RAG-focused expert that retrieves relevant documents from a knowledge base to answer queries about recent market trends.
Extracted figure from page 2 of DISC-FinLLM: A Chinese Financial Large Language Model based on Multiple Experts Fine-tuning

During deployment, the system can switch between these LoRA modules based on user needs, allowing the model to maintain high performance across diverse tasks without "catastrophic forgetting" or task interference.

Datasets: DISC-FIN-SFT

To train these experts, the researchers constructed DISC-FIN-SFT, a comprehensive supervised fine-tuning dataset containing approximately 250,000 examples across four categories:

  • Consulting: Built from translated versions of FiQA, financial term definitions, and "self-chat" data generated from active Chinese financial forums.
  • Task-Oriented: Derived from over 10 public Chinese financial NLP datasets (e.g., BBT-FIN) and unlabeled news processed into QA pairs via ChatGPT.
  • Computing: A mixture of handwritten exam questions, arithmetic from financial reports, and synthetic data generated through self-instruction.
  • Retrieval-enhanced: 20,000 instructions paired with a knowledge base of 87,000 financial news articles and research reports.
Extracted figure from page 4 of DISC-FinLLM: A Chinese Financial Large Language Model based on Multiple Experts Fine-tuning

Key Insights

  • Modular Intelligence via LoRA: Using LoRA modules as swappable "brain lobes" allows a 13B model to behave like a specialist in four different fields without the overhead of a full Mixture-of-Experts (MoE) architecture.
  • Tool-Augmented Reasoning: By training the "Accountant" expert to generate specific API calls (e.g., [Calculator(expression)→result]), the model achieves significantly higher accuracy in numerical tasks.
  • Chain-of-Retrieval (CoR): To improve RAG, a 3-step methodology (Question Generation -> Reference Retrieval -> Answer Generation) ensures the model learns to synthesize information from multiple documents effectively.

Results and Evaluation

DISC-FinLLM was evaluated using FinCUGE (for NLP tasks) and FinEval (a high-quality multiple-choice benchmark for financial knowledge).

  • NLP Benchmarks: On the BBT-FIN benchmark, LoRA-enhanced models outperformed base versions by 2 to 9 points on average.
  • Financial Knowledge: In the FinEval benchmark, the Consulting expert achieved a score of 51.6, outperforming specialized models like FinGPT and general models like InternLM-7B.
  • Computing Accuracy: The Accountant expert achieved 0.35 accuracy on complex financial math, significantly outperforming GPT-3.5-turbo (0.26).
  • Retrieval Quality: Human-like evaluations showed the retrieval expert provided more accurate and "reflective" answers compared to standard chat models.

Limitations and Future Work

While DISC-FinLLM represents a significant step forward, its reasoning capability is ultimately constrained by the Baichuan-13B backbone. Future work includes scaling to larger base models and developing an automated "router" to detect user intent and select the appropriate expert in real-time. Additionally, maintaining the freshness and fidelity of the financial knowledge base remains a key engineering challenge.

BibTeX
@misc{chen2023disc,
  author = {Wei Chen and Qiushi Wang and Zefei Long and Xianyin Zhang and Zhongtian Lu and Bingxuan Li and Siyuan Wang and Jiarong Xu and Xiang Bai and Xuanjing Huang and Zhongyu Wei},
  title = {{DISC-FinLLM: A Chinese Financial Large Language Model based on Multiple Experts Fine-tuning}},
  year = {2023},
  eprint = {2310.15205},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.15205},
}
Figure