Learning To Fuse Multiple Semantic Aspects From Rich Texts For Stock Price Prediction

Ning Tang,Yanyan Shen,Junjie Yao
DOI: https://doi.org/10.1007/978-3-030-34223-4_5
2019-01-01
Abstract:Stock price prediction is challenging due to the non-stationary fluctuation of stock price, which can be influenced by the stochastic trading behaviors in the market. In recent years, researchers have focused on exploiting massive text data such news and tweets to predict stock price, achieving promising outcomes. Existing methods typically compress each text into a fixed-length representation vector, whereas rich texts may involve multiple semantic aspect-level information that has different effects on the future stock price. In this paper, we propose a novel Multi-head Attention Fusion Network (MAFN) to exploit aspect-level semantic information from texts to enhance prediction performance. MAFN employs the encoder-decoder framework, where the encoder adopts the multi-head attention mechanism to automatically learn the aspect-level text representations via different attention heads. Furthermore, we subtly fuse the learned representations by discarding the dross and selecting the essential. The decoder generates stock price sequence by incorporating textual information and historical price dynamically via the hierarchical attention. Experimental results on real data sets show the superior performance of MAFN against several strong baselines as well as the effectiveness of exploiting and fusing fine-grained aspect-level textual information for stock price prediction.
What problem does this paper attempt to address?