CLAINov 4, 2024

A Comparative Analysis of Instruction Fine-Tuning LLMs for Financial Text Classification

arXiv:2411.02476v110 citationsh-index: 6
AI Analysis

This work addresses the challenge of adapting LLMs to specialized financial tasks for practitioners in finance and NLP, though it is incremental as it builds on existing fine-tuning and merging techniques.

The study tackled the problem of general-domain LLMs struggling with financial text classification by instruction fine-tuning smaller models like Mistral-7B, achieving significant improvements in task-specific performance and enhanced zero-shot capabilities through model merging, with merging methods exceeding original accuracy on some datasets.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes