arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.13626cs.CLcs.AI
收藏

微调Gemma-7B以增强金融新闻头条的情感分析能力

Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlines

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Carnegie Mellon University(卡内基梅隆大学);Snap Inc.(斯纳普公司);Northeastern University(东北大学);Columbia University(哥伦比亚大学);Texas A&M University(德克萨斯农工大学)

Kangtong Mo, Wenyan Liu, Xuanzhen Xu, Chang Yu, Yuelin Zou, Fangqing Xia

AI总结:

本研究针对金融新闻头条投资者情感分析问题,基于FinancialPhraseBank数据集微调多个大语言模型,发现微调后的gemma-7b性能最优,可助力金融市场分析与投资决策。

摘要:

本研究探讨了情感分析在金融新闻头条中的应用,旨在理解投资者情绪。我们利用自然语言处理(NLP)和大语言模型(LLM),从散户投资者的视角分析情感。包含金融新闻头条情感分类标注的FinancialPhraseBank数据集是本次分析的基础。我们微调了包括distilbert-base-uncased、Llama和gemma-7b在内的多个模型,评估它们在情感分类任务中的效果。实验表明,经过微调的gemma-7b模型表现优于其他模型,取得了最高的精确率、召回率和F1值。具体而言,gemma-7b模型在微调后准确率有显著提升,体现出其捕捉金融情感细微差异的鲁棒性。该模型能够准确预测金融新闻的情感,可在提供市场洞察、风险管理及辅助投资决策方面发挥重要作用。研究结果凸显了先进大语言模型在变革金融信息分析与解读方式方面的潜力,可为金融行业利益相关者提供有力工具。

英文摘要:

In this study, we explore the application of sentiment analysis on financial news headlines to understand investor sentiment. By leveraging Natural Language Processing (NLP) and Large Language Models (LLM), we analyze sentiment from the perspective of retail investors. The FinancialPhraseBank dataset, which contains categorized sentiments of financial news headlines, serves as the basis for our analysis. We fine-tuned several models, including distilbert-base-uncased, Llama, and gemma-7b, to evaluate their effectiveness in sentiment classification. Our experiments demonstrate that the fine-tuned gemma-7b model outperforms others, achieving the highest precision, recall, and F1 score. Specifically, the gemma-7b model showed significant improvements in accuracy after fine-tuning, indicating its robustness in capturing the nuances of financial sentiment. This model can be instrumental in providing market insights, risk management, and aiding investment decisions by accurately predicting the sentiment of financial news. The results highlight the potential of advanced LLMs in transforming how we analyze and interpret financial information, offering a powerful tool for stakeholders in the financial industry.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑