Sentiment-Guided Adversarial Learning for Stock Price Prediction
Open Access
- 26 May 2021
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Applied Mathematics and Statistics
- Vol. 7
Abstract
Prediction of stock prices or trends have attracted financial researchers’ attention for many years. Recently, machine learning models such as neural networks have significantly contributed to this research problem. These methods often enable researchers to take stock-related factors such as sentiment information into consideration, improving prediction accuracies. At present, Long Short-Term Memory (LSTM) networks is one of the best techniques known to learn knowledge from time-series data and to predict future tendencies. The inception of generative adversarial networks (GANs) also provides researchers with diversified and powerful methods to explore the stock prediction problem. A GAN network consists of two sub-networks known as generator and discriminator, which work together to minimize maximum loss on both actual and simulated data. In this paper, we developed a sentiment-guided adversarial learning and predictive models of stock prices, adopting a popular variation of GAN called conditional GAN (CGAN). We adopted an LSTM network in the generator and a multilayer perceptron (MLP) network in the discriminator. After extensively pre-processing historical stock price datasets, we analyzed the sentiment information from daily tweets and computed sentiment scores as an additional model feature. Our experiments demonstrated that the average forecast accuracies of the CGAN models were improved with sentiment data. Moreover, our GAN and CGAN models outperformed LSTM and other traditional methods on 11 out of 36 processed stock price datasets, potentially playing a part in ensemble methods.Keywords
This publication has 18 references indexed in Scilit:
- The Use of Word Lists in Textual AnalysisJournal of Behavioral Finance, 2015
- Comparison of ARIMA and Artificial Neural Networks Models for Stock Price PredictionJournal of Applied Mathematics, 2014
- Stock index forecasting based on a hybrid modelOmega, 2012
- Isolation-Based Anomaly DetectionACM Transactions on Knowledge Discovery From Data, 2012
- Twitter mood predicts the stock marketJournal of Computational Science, 2011
- Automatic Time Series Forecasting: TheforecastPackage forR2008
- Forecasting stock market movement direction with support vector machineComputers & Operations Research, 2005
- Long Short-Term MemoryNeural Computation, 1997
- Combining forecasts: A review and annotated bibliographyInternational Journal of Forecasting, 1989
- Nearest neighbor pattern classificationIEEE Transactions on Information Theory, 1967