ChatGPT as a text annotation tool to evaluate sentiment analysis on South African financial institutions

dc.contributor.authorMathebula, Miehleketo
dc.contributor.authorModupe, Abiodun
dc.contributor.authorMarivate, Vukosi
dc.date.accessioned2024-10-24T12:36:09Z
dc.date.available2024-10-24T12:36:09Z
dc.date.issued2024-09
dc.description.abstractSocial media platforms play a significant role in analyzing customer perceptions of financial products and services in today’s culture. These platforms facilitate the immediate and in-depth sharing of thoughts and experiences, offering valuable insights into consumer behaviour. Any customer looking for such a service would surf the internet for reviews and ratings before making a decision, which usually influences their ultimate pick. Feedback and suggestions from friends, family, and coworkers improve customer experiences. Customer reviews play a crucial role in shaping the reputation and profitability of businesses and products offered by financial institutions, often serving as the final assessment of quality and satisfaction during decision-making. Therefore, it is paramount for decision-makers to carefully evaluate customer feedback and understand the sentiment expressed in a given piece of text, which could lead to equity trading, and credit market assessment, and offer invaluable insights that boost the financial performance of the institution. Previous research has used human-annotated text, such as lexicon-based methods, to train machine learning models for sentiment analysis, but the approach did not capture the full range of structure and semantic relationships in natural language. Therefore, our research aims to develop a more comprehensive and accurate sentiment analysis model using advanced natural language processing techniques that could answer questions on various subjects and tasks. To do this, we first crawled customer reviews on Hellopeter, a popular review site, and financial data on the top five financial institutions listed on the Johannesburg Stock Exchange (JSE) in South Africa. After that, we used OpenAI’s ChatGPT as a zero-short learning model to generate human-like annotation tools for different sentiment tasks. The OpenAI ChatGPT feature vector was subsequently fed into BERT, BiLSTM, and a SoftMax function to detect and identify the sentiment of a given sentence. Lastly, we use feature vectors with oversampling methods to address the imbalanced data dilemma and visualise the contribution features of the given piece of text for the customer reviewers. The experiments demonstrated that the method performed as well as or better than the latest and most effective methods on the tested datasets, yielding comparable results. When OpenAI’s ChatGPT was combined with pre-trained BERT and BiLSTM models, it did better overall, with an average score of 98.9%, an F1-measure of 97.7%, and an AUC of 91.90% when oversampling was used. The traditional lexicon-based model got an 86.68% score using SVM and logistic regression and an AUC of 91.90%. The study shows the exceptional performance of OpenAI ChatGPT in detecting the emotional tone or polarity of a given sentence in a customer review, which helps with annotation and understanding the sentiment analysis of an event and how it influences decisions and outcomes. In conclusion, these results underscore the significant advantages of incorporating customer sentiment analysis into financial analysis and decision-making processes as a valuable tool for understanding and prioritizing customer needs and preferences.en_US
dc.description.departmentComputer Scienceen_US
dc.description.sdgSDG-08:Decent work and economic growthen_US
dc.description.sdgSDG-09: Industry, innovation and infrastructureen_US
dc.description.sponsorshipThe ABSA and the Data Science for Social Impact (DSFSI) Research Group.en_US
dc.description.urihttps://ieeexplore.ieee.org/xpl/RecentIssue.jsp?punumber=6287639en_US
dc.identifier.citationMathebula, M., Modupe, A., Marivate, V. 2024, 'ChatGPT as a text annotation tool to evaluate sentiment analysis on South African financial institutions', IEEE Access, vol. 12, pp. 144017-144043, doi : 10.1109/ACCESS.2024.3464374.en_US
dc.identifier.issn2169-3536 (online)
dc.identifier.other10.1109/ACCESS.2024.3464374
dc.identifier.urihttp://hdl.handle.net/2263/98753
dc.language.isoenen_US
dc.publisherInstitute of Electrical and Electronics Engineersen_US
dc.rights© 2024 The Authors. This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.en_US
dc.subjectSentiment analysisen_US
dc.subjectHellopeteren_US
dc.subjectOnline mediaen_US
dc.subjectBiLSTMen_US
dc.subjectBERTen_US
dc.subjectSynthetic minority oversampling technique (SMOTE)en_US
dc.subjectOpenAIen_US
dc.subjectChatGPTen_US
dc.subjectNatural language processing (NLP)en_US
dc.subjectSDG-08: Decent work and economic growthen_US
dc.subjectSDG-09: Industry, innovation and infrastructureen_US
dc.titleChatGPT as a text annotation tool to evaluate sentiment analysis on South African financial institutionsen_US
dc.typeArticleen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Mathebula_ChatGPT_2024.pdf
Size:
3.77 MB
Format:
Adobe Portable Document Format
Description:
Article

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: