ChatGPT as a text annotation tool to evaluate sentiment analysis on South African financial institutions
dc.contributor.author | Mathebula, Miehleketo | |
dc.contributor.author | Modupe, Abiodun | |
dc.contributor.author | Marivate, Vukosi | |
dc.date.accessioned | 2024-10-24T12:36:09Z | |
dc.date.available | 2024-10-24T12:36:09Z | |
dc.date.issued | 2024-09 | |
dc.description.abstract | Social 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.department | Computer Science | en_US |
dc.description.sdg | SDG-08:Decent work and economic growth | en_US |
dc.description.sdg | SDG-09: Industry, innovation and infrastructure | en_US |
dc.description.sponsorship | The ABSA and the Data Science for Social Impact (DSFSI) Research Group. | en_US |
dc.description.uri | https://ieeexplore.ieee.org/xpl/RecentIssue.jsp?punumber=6287639 | en_US |
dc.identifier.citation | Mathebula, 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.issn | 2169-3536 (online) | |
dc.identifier.other | 10.1109/ACCESS.2024.3464374 | |
dc.identifier.uri | http://hdl.handle.net/2263/98753 | |
dc.language.iso | en | en_US |
dc.publisher | Institute of Electrical and Electronics Engineers | en_US |
dc.rights | © 2024 The Authors. This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. | en_US |
dc.subject | Sentiment analysis | en_US |
dc.subject | Hellopeter | en_US |
dc.subject | Online media | en_US |
dc.subject | BiLSTM | en_US |
dc.subject | BERT | en_US |
dc.subject | Synthetic minority oversampling technique (SMOTE) | en_US |
dc.subject | OpenAI | en_US |
dc.subject | ChatGPT | en_US |
dc.subject | Natural language processing (NLP) | en_US |
dc.subject | SDG-08: Decent work and economic growth | en_US |
dc.subject | SDG-09: Industry, innovation and infrastructure | en_US |
dc.title | ChatGPT as a text annotation tool to evaluate sentiment analysis on South African financial institutions | en_US |
dc.type | Article | en_US |