[논문 리뷰] FinGPT: Instruction Tuning Benchmark for Open-Source Large Language Models in Financial Datasets
이 논문은 재무 분야에서 오픈소스 LLM용 Instruction Tuning 프레임워크를 제시하고, 여섯 개 기본 모델(Llama2, Falcon, BLOOM, MPT, ChatGLM2, Qwen)을 task-specific, multi-task, zero-shot 설정에서 금융 데이터 세트로 벤치마크합니다.
In the swiftly expanding domain of Natural Language Processing (NLP), the potential of GPT-based models for the financial sector is increasingly evident. However, the integration of these models with financial datasets presents challenges, notably in determining their adeptness and relevance. This paper introduces a distinctive approach anchored in the Instruction Tuning paradigm for open-source large language models, specifically adapted for financial contexts. Through this methodology, we capitalize on the interoperability of open-source models, ensuring a seamless and transparent integration. We begin by explaining the Instruction Tuning paradigm, highlighting its effectiveness for immediate integration. The paper presents a benchmarking scheme designed for end-to-end training and testing, employing a cost-effective progression. Firstly, we assess basic competencies and fundamental tasks, such as Named Entity Recognition (NER) and sentiment analysis to enhance specialization. Next, we delve into a comprehensive model, executing multi-task operations by amalgamating all instructional tunings to examine versatility. Finally, we explore the zero-shot capabilities by earmarking unseen tasks and incorporating novel datasets to understand adaptability in uncharted terrains. Such a paradigm fortifies the principles of openness and reproducibility, laying a robust foundation for future investigations in open-source financial large language models (FinLLMs).
연구 동기 및 목표
- 금융 도메인에서 오픈 소스 FinLLMs에 맞춘 Instruction Tuning 패러다임을 도입한다.
- 기본 작업에서 다중 작업 및 제로샷 시나리오에 이르기까지 비용 효율적인 종단 간 벤치마킹 체계를 제공한다.
- 재무 작업을 위한 다양한 오픈소스 기본 모델(Llama2, Falcon, BLOOM, MPT, ChatGLM2, Qwen)을 분석한다.
- 데이터 준비, 지시사항, 학습 워크플로우를 공유함으로써 개방성과 재현성을 촉진한다.
제안 방법
- 세 단계의 Instruction Tuning 패러다임: Task-Specific Tuning, Multi-Task Tuning, Zero-Shot Tuning 을 설명한다.
- SA, HC, NER, RE를 위한 작업 특화 지시를 사용하고; 정렬을 위해 NER/RE를 분류 변형(NER(CLS), RE(CLS))으로 재구성한다.
- 다섯? 여섯 base models에 LoRA 적용: Llama2-7B, Falcon-7B, BLOOM-7.1B, MPT-7B, ChatGLM2-6B, Qwen-7B; 지정된 하이퍼파라미터(rank 8, alpha 32).
- 지시/입력/답변 형식으로 프롬트를 구성 및 표준화; 제로샷 프롬트를 Options 섹션으로 보강; 태스크당 10개의 고유 프롬프트를 사용.
- 세 단계로 학습: SA/HC/RE: 8 에폭; NER: 50 에폭; 다중 작업: 4 에폭; 제로샷: 1 에폭; SA 기반 체크포인트로 검증.
- 비용 산정( GPU 구성, 총 90시간, 약 302.4달러) 및 효율성을 위한 FP16 학습을 제공한다.
실험 결과
연구 질문
- RQ1다양한 오픈소스 FinLLMs가 Instruction Tuning 후 재무 특정 작업에서 어떤 성능을 보이는가?
- RQ2다중 작업 지시 학습이 SA, HC, NER, RE에서 작업 성능에 어떤 영향을 미치는가?
- RQ3제로샷 튜닝이 보지 못한 재무 작업으로 일반화될 수 있는가, 그리고 프롬프트를 재구성해 환각을 줄일 수 있는가?
- RQ4분류와 정보 추출 작업에서 재무 분야에 대한 다재다능성과 성능의 균형을 가장 잘 맞추는 기본 모델은 어느 것인가?
- RQ5실제 금융 응용에서 오픈소스 FinLLMs의 데이터, 프롬프트, 학습 비용과 같은 실용적 고려사항은 무엇인가?
주요 결과
- Llama2가 작업 전반에서 최상의 평균 순위를 달성한다(평균 순위 2.0).
- BLOOM은 정보 추출(NER, RE) 작업에서 뛰어나지만 SA/HC 분류 작업에서는 성능이 떨어진다.
- MPT는 SA에서 최고 성능을 달성하지만 NER 및 RE에서 뒤처진다; Qwen은 작업 전반에서 균형 잡힌 다재다능성을 보인다.
- 다중 작업 튜닝은 혼합 효과를 보이며 대부분의 모델에서 RE를 크게 향상시키는 반면 일부 모델의 분류 작업은 감소할 수 있다.
- 제로샷 실험은 ChatGLM2와 Falcon에서 강한 일반화를 보이는 반면 BLOOM과 Qwen은 특정 분류에서 어려움을 겪는다.
- 제로샷 결과는 작업 재구성과 적응 학습이 환각을 완화하고 보이지 않는 작업 간 정합성을 향상시킬 수 있음을 시사한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.