Skip to main content
QUICK REVIEW

[Paper Review] Leveraging Financial News for Stock Trend Prediction with Attention-Based Recurrent Neural Network

Huicheng Liu|arXiv (Cornell University)|Nov 14, 2018
Stock Market Forecasting MethodsDecision Sciences12 citations
TL;DR

This paper proposes an attention-based LSTM model (At-LSTM) that leverages financial news headlines to predict directional stock price movements for both the S&P 500 index and individual stocks. By combining bidirectional LSTMs for contextual encoding and self-attention mechanisms to focus on salient words, news, and time points, the model achieves a 65.53% maximum accuracy on S&P 500 prediction and up to 72.06% on individual stocks like Walmart, outperforming baseline models and demonstrating the value of advanced NLP in computational finance.

ABSTRACT

Stock market prediction is one of the most attractive research topic since the successful prediction on the market's future movement leads to significant profit. Traditional short term stock market predictions are usually based on the analysis of historical market data, such as stock prices, moving averages or daily returns. However, financial news also contains useful information on public companies and the market. Existing methods in finance literature exploit sentiment signal features, which are limited by not considering factors such as events and the news context. We address this issue by leveraging deep neural models to extract rich semantic features from news text. In particular, a Bidirectional-LSTM are used to encode the news text and capture the context information, self attention mechanism are applied to distribute attention on most relative words, news and days. In terms of predicting directional changes in both Standard & Poor's 500 index and individual companies stock price, we show that this technique is competitive with other state of the art approaches, demonstrating the effectiveness of recent NLP technology advances for computational finance.

Motivation & Objective

  • To improve stock trend prediction by integrating rich semantic features from financial news, beyond simple sentiment analysis.
  • To address the limitations of existing methods that fail to capture contextual and event-level information in news text.
  • To explore whether deep neural networks with attention mechanisms can enhance predictive performance in financial time series forecasting.
  • To compare the effectiveness of news headlines versus full news articles in stock prediction models.
  • To evaluate the model’s performance on both broad market indices and individual stocks, identifying factors affecting prediction accuracy.

Proposed method

  • A bidirectional LSTM is used to encode financial news headlines, capturing sequential and contextual dependencies in the text.
  • Self-attention mechanisms are applied at the word, news, and day levels to dynamically weigh the importance of different elements in the input sequence.
  • The model processes news titles from Reuters and Bloomberg, focusing only on headlines to reduce noise and improve relevance.
  • Character-level composition is incorporated via word embeddings (WEB-At-LSTM) to enhance representation of rare or out-of-vocabulary words.
  • The model is trained to predict directional changes (up/down) in stock prices, using a classification head on top of the encoded representations.
  • Ablation studies compare models with and without technical indicators, showing that such features degrade performance due to added noise.

Experimental results

Research questions

  • RQ1Can attention-based recurrent networks effectively extract relevant semantic and contextual features from financial news headlines for stock trend prediction?
  • RQ2How does the inclusion of self-attention at multiple levels (word, news, day) improve prediction accuracy compared to standard RNNs or bag-of-words models?
  • RQ3Does using only news headlines instead of full articles lead to better performance in stock prediction tasks?
  • RQ4How does the proposed At-LSTM model compare to state-of-the-art models like KGEB-CNN that use knowledge graph event embeddings?
  • RQ5What is the impact of adding technical indicators to the model’s input on predictive accuracy?

Key findings

  • The At-LSTM model achieves a maximum accuracy of 65.53% and an average accuracy of 63.06% on S&P 500 index trend prediction, outperforming SVM and other baseline models.
  • For individual stocks, the model achieves an average accuracy of 68.5% and a maximum of 72.06% on Walmart (WMT), indicating higher performance on company-specific news.
  • The model outperforms Bag-At-LSTM and CNN-LSTM, demonstrating that self-attention at the news and day levels improves feature selection and temporal modeling.
  • Including the full news body (as in Ab-At-LSTM and Doc-At-LSTM) reduces performance, confirming that headlines contain more relevant and focused information.
  • Technical indicators from prior work did not improve performance and even reduced accuracy, likely due to noise in the input representation.
  • The model’s performance is competitive with KGEB-CNN, a state-of-the-art method using knowledge graph event embeddings, despite not using such external knowledge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.