FinLoRA: Benchmarking LoRA Methods for Fine-Tuning LLMs on Financial Datasets

Dannong Wang, Jaisal Patel, Daochen Zha, Steve Y. Yang, Xiao-Yang Liu

Introduction

General-purpose Large Language Models (LLMs) often struggle in specialized "vertical" domains like finance. Tasks such as analyzing complex SEC filings or passing professional certification exams require deep domain knowledge that standard training data lacks. Organizations currently face a trilemma: generic base models are insufficient, full fine-tuning is prohibitively expensive, and training from scratch (e.g., BloombergGPT) costs millions in compute time.

FinLoRA addresses this by benchmarking Parameter-Efficient Fine-Tuning (PEFT) methods, specifically variants of Low-Rank Adaptation (LoRA). The study demonstrates that applying LoRA to a modest 8B-parameter model can bridge the performance gap, often allowing smaller, specialized models to outperform giants like GPT-4o and Llama 3.1 70B on professional financial tasks.

Methodology

The researchers evaluated five distinct LoRA-based approaches applied primarily to Llama 3.1 8B and Gemini 2.0 Flash Lite:

  • Vanilla LoRA: The standard approach of inserting low-rank trainable matrices into model layers.
  • QLoRA: A memory-efficient version using 4-bit quantization for training on consumer-grade GPUs.
  • DoRA (Weight-Decomposed LoRA): Splits weights into magnitude and direction components to mimic full fine-tuning learning patterns.
  • rsLoRA (Rank-Stabilized LoRA): Uses a modified scaling factor to maintain signal stability as adapter complexity increases.
  • Federated LoRA: A privacy-preserving method for collaborative training across institutions without sharing sensitive data.
Performance score improvements of various LoRA methods over the Llama 3.1 8B base model across different financial tasks.

The FinLoRA Benchmark

The study utilizes a comprehensive collection of 19 datasets categorized into four key areas:

  1. General Financial Tasks: Sentiment analysis and news headline classification.
  2. Financial Certificate Tasks: Questions from CFA (Levels I, II, III) and CPA exams.
  3. Financial Reporting: XBRL terminology and numeric entity recognition (NER).
  4. Financial Statement Analysis: Four novel datasets created by the authors based on 150 SEC filings in XBRL format, focusing on tag extraction, value extraction, and formula construction.

Key Insights

  • Structured Data Superiority: Models performed significantly better on tasks using XBRL data compared to those using OCR-processed PDFs. The standardized, machine-readable nature of XBRL provides a much cleaner learning environment for LLMs.
  • Specialization over Scale: A fine-tuned Llama 3.1 8B consistently outperformed the much larger Llama 3.1 70B and even GPT-4o on specialized tasks like CFA exam questions and XBRL formula calculations.
  • Stability: Fine-tuning did not cause "catastrophic forgetting" of general knowledge; performance on general benchmarks like MMLU remained stable or slightly improved.
  • Democratizing Financial AI: While BloombergGPT cost an estimated $2.7 million to train, a LoRA adapter can be trained for approximately $15.00 on local GPUs, making professional-grade financial AI accessible to smaller firms.

Results

LoRA methods achieved an average 36% increase in accuracy over base models. Vanilla LoRA (8-bit, rank 8) achieved the highest overall average score (74.74), though rsLoRA proved superior for complex financial reporting and analysis tasks.

Average performance comparison across four financial task categories, showing fine-tuned 8B models outperforming larger general-purpose models.

A standout result was observed in CFA Level II exams: the base Llama 3.1 8B scored a dismal 19.48%, which surged to 92.21% after LoRA fine-tuning—far surpassing GPT-4o's 55.84%.

Conclusion

FinLoRA demonstrates that parameter-efficient fine-tuning is a powerful tool for domain-specific adaptation. By significantly boosting the performance of smaller models at a fraction of the cost of full training, LoRA makes professional-grade financial AI accessible to a wider range of researchers and institutions. Future work will expand the benchmark to include more LoRA variants and explore handling longer-context financial documents.

Summary updated

Abstract

Low-rank adaptation (LoRA) methods show great potential for scaling pre-trained general-purpose Large Language Models (LLMs) to hundreds or thousands of use scenarios. However, their efficacy in high-stakes domains like finance is rarely explored, e.g., passing CFA exams and analyzing SEC filings. In this paper, we present the open-source FinLoRA project that benchmarks LoRA methods on both general and highly professional financial tasks. First, we curated 19 datasets covering diverse financial applications; in particular, we created four novel XBRL analysis datasets based on 150 SEC filings. Second, we evaluated five LoRA methods and five base LLMs. Finally, we provide extensive experimental results in terms of accuracy, F1, and BERTScore and report computational costs in terms of time and GPU memory during fine-tuning and inference stages. We find that LoRA achieved substantial performance gains of 40.1 points on average over base models. Our FinLoRA project provides an affordable and scalable approach to democratize financial intelligence to the general public. Datasets, LoRA adapters, code, and documentation are available at https://anonymous.4open.science/r/FinLoRA-ICLR-115E.
BibTeX
@misc{wang2025finlora,
  author = {Dannong Wang and Jaisal Patel and Daochen Zha and Steve Y. Yang and Xiao-Yang Liu},
  title = {{FinLoRA: Benchmarking LoRA Methods for Fine-Tuning LLMs on Financial Datasets}},
  year = {2025},
  eprint = {2505.19819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.19819},
}
Figure