Applying BERT to analyze investor sentiment in stock market

Menggang Li,Wenrui Li,Fang Wang,Xiaojun Jia,Guangwei Rui
DOI: https://doi.org/10.1007/s00521-020-05411-7
2020-10-17
Neural Computing and Applications
Abstract:This paper is an analysis of investor sentiment in the stock market based on the bidirectional encoder representations from transformers (BERT) model. First, we extracted the sentiment value from online information published by stock investor, using the Bert model. Second, these sentiment values were weighted by attention for computing the investor sentiment indicator. Finally, the relationship between investor sentiment and stock yield was analyzed through a two-step cross-sectional regression validation model. The experiments found that investor sentiment in online reviews had a significant impact on stock yield. The experiments show that the Bert model used in this paper can achieve an accuracy of 97.35% for the analysis of investor sentiment, which is better than both LSTM and SVM methods.
computer science, artificial intelligence
What problem does this paper attempt to address?