A Comparative Analysis of Instruction Fine-Tuning Large Language Models for Financial Text Classification
Top Cited Papers
Open Access
- 8 February 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Management Information Systems
- Vol. 16 (1) , 1-30
Abstract
Large Language Models (LLMs) have demonstrated impressive capabilities across diverse Natural Language Processing (NLP) tasks, including language understanding, reasoning, and generation. However, general-domain LLMs often struggle with financial tasks due to the technical and specialized nature of financial texts. This study investigates the efficacy of instruction fine-tuning smaller-scale LLMs, including Mistral-7B, Llama3-8B, and Phi3-mini, to enhance their performance in financial text classification tasks. We fine-tuned both instruction-tuned and base models across four financial classification tasks, achieving significant improvements in task-specific performance. Furthermore, we evaluated the zero-shot capabilities of these fine-tuned models on three unseen complex financial tasks, including argument classification, deal completeness classification, and causal classification. Our results indicate while base model fine-tuning led to greater degradation, instruction-tuned models maintained more robust performance. To address this degradation, we employed model merging techniques, integrating single-task domain-specific fine-tuned models with the base model. Using this merging method resulted in significant enhancements in zero-shot performance, even exceeding the original model’s accuracy on certain datasets. Our findings underscore the effectiveness of instruction fine-tuning and model merging for adapting LLMs to specialized financial text classification tasks.Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- Transforming sentiment analysis in the financial domain with ChatGPTMachine Learning with Applications, 2023
- What do LLMs Know about Financial Markets? A Case Study on Reddit Market Sentiment Analysis2023
- A semantic and syntactic enhanced neural model for financial sentiment analysisInformation Processing & Management, 2022
- FinRED: A Dataset for Relation Extraction in Financial Domain2022
- Effective Messaging on Social Media: What Makes Online Content Go Viral?2022
- STIF: Semi-Supervised Taxonomy Induction using Term Embeddings and Clustering2021
- Impact of News on the Commodity Market: Dataset and Results2021
- Good debt or bad debt: Detecting semantic orientations in economic textsJournal of the Association for Information Science and Technology, 2013
- When machines read the news: Using automated text analytics to quantify high frequency news-implied market reactionsJournal of Empirical Finance, 2011
- How Markets Process Information: News Releases and VolatilityThe Journal of Finance, 1993