Investor Sentiment Analysis of Financial Texts Based on GPT and RoBERTa

Jia Miao,Jianwu Lin,Tong Luo,Guangling Liu
DOI: https://doi.org/10.1109/ijcnn60899.2024.10650089
2024-01-01
Abstract:Analyzing investor sentiments correctly plays a crucial role in preventing potential market risks. However, in the selection of data, existing studies predominantly focus on textual data presented by investors, while overlooking the supplementary role of other financial data in sentiment analysis. For instance, related background news, as well as responses from company secretaries to investor questions on investor interactive platforms. This oversight results in discrepancies between the analyzed sentiments and the actual sentiments. In this paper, we propose an approach that combines GPT and RoBERTa for investor sentiment analysis on Chinese investor interactive platforms, utilizing relevant news, investor questions, and secretary responses as collective analytical data to achieve accurate analysis of investor sentiments. Specifically, to uncover latent information between different texts, we employ GPT for text comprehension and fusion. Addressing instances where questions involve multiple companies in the fusion text, we emloy prompt learning with RoBERTa to conduct sentiment analysis tailored to the questioning company. The accuracy of sentiment analysis reaches 97.61%, demonstrating an improvement of approximately 10% compared to the baseline.
What problem does this paper attempt to address?