Transforming sentiment analysis in the financial domain with ChatGPT

Financial sentiment analysis plays a crucial role in decoding market trends and guiding strategic trading decisions. Despite the deployment of advanced deep learning techniques and language models to refine sentiment analysis in finance, this study breaks new ground by investigating the potential of...

詳細記述

書誌詳細
出版年:Machine Learning with Applications
主要な著者: Georgios Fatouros, John Soldatos, Kalliopi Kouroumali, Georgios Makridis, Dimosthenis Kyriazis
フォーマット: 論文
言語:英語
出版事項: Elsevier 2023-12-01
主題:
オンライン・アクセス:http://www.sciencedirect.com/science/article/pii/S2666827023000610
_version_ 1851075985809604608
author Georgios Fatouros
John Soldatos
Kalliopi Kouroumali
Georgios Makridis
Dimosthenis Kyriazis
author_facet Georgios Fatouros
John Soldatos
Kalliopi Kouroumali
Georgios Makridis
Dimosthenis Kyriazis
author_sort Georgios Fatouros
collection DOAJ
container_title Machine Learning with Applications
description Financial sentiment analysis plays a crucial role in decoding market trends and guiding strategic trading decisions. Despite the deployment of advanced deep learning techniques and language models to refine sentiment analysis in finance, this study breaks new ground by investigating the potential of large language models, particularly ChatGPT 3.5, in financial sentiment analysis, with a strong emphasis on the foreign exchange market (forex). Employing a zero-shot prompting approach, we examine multiple ChatGPT prompts on a meticulously curated dataset of forex-related news headlines, measuring performance using metrics such as precision, recall, f1-score, and Mean Absolute Error (MAE) of the sentiment class. Additionally, we probe the correlation between predicted sentiment and market returns as an addition evaluation approach. ChatGPT, compared to FinBERT, a well-established sentiment analysis model for financial texts, exhibited approximately 35% enhanced performance in sentiment classification and a 36% higher correlation with market returns. By underlining the significance of prompt engineering, particularly in zero-shot contexts, this study spotlights ChatGPT’s potential to substantially boost sentiment analysis in financial applications. By sharing the utilized dataset, our intention is to stimulate further research and advancements in the field of financial services.
format Article
id doaj-art-a367ccaee7234fadaf0b32bbcf4fc4ac
institution Directory of Open Access Journals
issn 2666-8270
language English
publishDate 2023-12-01
publisher Elsevier
record_format Article
spelling doaj-art-a367ccaee7234fadaf0b32bbcf4fc4ac2025-08-19T22:33:36ZengElsevierMachine Learning with Applications2666-82702023-12-011410050810.1016/j.mlwa.2023.100508Transforming sentiment analysis in the financial domain with ChatGPTGeorgios Fatouros0John Soldatos1Kalliopi Kouroumali2Georgios Makridis3Dimosthenis Kyriazis4Department of Digital Systems, University of Piraeus, Karaoli and Dimitriou 80, Piraeus, 18534, Greece; Innov-Acts Limited, Kolokotroni 6, Nicosia, 1101, Cyprus; Corresponding author at: Department of Digital Systems, University of Piraeus, Karaoli and Dimitriou 80, Piraeus, 18534, Greece.Innov-Acts Limited, Kolokotroni 6, Nicosia, 1101, CyprusHellenic Telecommunications Organisation S.A., Kifissias Avenue 99, Athens, 15124, GreeceDepartment of Digital Systems, University of Piraeus, Karaoli and Dimitriou 80, Piraeus, 18534, GreeceDepartment of Digital Systems, University of Piraeus, Karaoli and Dimitriou 80, Piraeus, 18534, GreeceFinancial sentiment analysis plays a crucial role in decoding market trends and guiding strategic trading decisions. Despite the deployment of advanced deep learning techniques and language models to refine sentiment analysis in finance, this study breaks new ground by investigating the potential of large language models, particularly ChatGPT 3.5, in financial sentiment analysis, with a strong emphasis on the foreign exchange market (forex). Employing a zero-shot prompting approach, we examine multiple ChatGPT prompts on a meticulously curated dataset of forex-related news headlines, measuring performance using metrics such as precision, recall, f1-score, and Mean Absolute Error (MAE) of the sentiment class. Additionally, we probe the correlation between predicted sentiment and market returns as an addition evaluation approach. ChatGPT, compared to FinBERT, a well-established sentiment analysis model for financial texts, exhibited approximately 35% enhanced performance in sentiment classification and a 36% higher correlation with market returns. By underlining the significance of prompt engineering, particularly in zero-shot contexts, this study spotlights ChatGPT’s potential to substantially boost sentiment analysis in financial applications. By sharing the utilized dataset, our intention is to stimulate further research and advancements in the field of financial services.http://www.sciencedirect.com/science/article/pii/S2666827023000610ChatGPTArtificial intelligenceFinanceSentiment analysisRisk assessment
spellingShingle Georgios Fatouros
John Soldatos
Kalliopi Kouroumali
Georgios Makridis
Dimosthenis Kyriazis
Transforming sentiment analysis in the financial domain with ChatGPT
ChatGPT
Artificial intelligence
Finance
Sentiment analysis
Risk assessment
title Transforming sentiment analysis in the financial domain with ChatGPT
title_full Transforming sentiment analysis in the financial domain with ChatGPT
title_fullStr Transforming sentiment analysis in the financial domain with ChatGPT
title_full_unstemmed Transforming sentiment analysis in the financial domain with ChatGPT
title_short Transforming sentiment analysis in the financial domain with ChatGPT
title_sort transforming sentiment analysis in the financial domain with chatgpt
topic ChatGPT
Artificial intelligence
Finance
Sentiment analysis
Risk assessment
url http://www.sciencedirect.com/science/article/pii/S2666827023000610
work_keys_str_mv AT georgiosfatouros transformingsentimentanalysisinthefinancialdomainwithchatgpt
AT johnsoldatos transformingsentimentanalysisinthefinancialdomainwithchatgpt
AT kalliopikouroumali transformingsentimentanalysisinthefinancialdomainwithchatgpt
AT georgiosmakridis transformingsentimentanalysisinthefinancialdomainwithchatgpt
AT dimostheniskyriazis transformingsentimentanalysisinthefinancialdomainwithchatgpt