20th AIAI 2024, 27 - 30 June 2024, Corfu, Greece

Beyond Sentiment in Stock Price Prediction: Integrating News Sentiment and Investor Attention with Temporal Fusion Transformer

Petr Hajek, Josef Novotny

Abstract:

  News sentiment is attracting considerable interest in stock market prediction, given its crucial role in shaping stock prices. Previous research has mainly focused on improving prediction accuracy by exploiting news sentiment, without adequately considering the different levels of attention that individual news articles receive. Furthermore, despite the advanced predictive capabilities of deep learning models, there has been a lack of focus on the interpretability of these models, leading to predictions that are not transparent. This study presents an innovative prediction model that integrates a FinBERT-based analysis of news sentiment and investor attention metrics with an attention-based Temporal Fusion Transformer framework. This approach not only enables highly effective forecasting, but also provides insights into the temporal dynamics that influence the stock market. The effectiveness of the model is demonstrated by analyzing stock price data for 41 of the largest market capitalization companies over the period 2010 to 2021. The results confirm the superiority of the proposed model over existing deep learning approaches, and the attention analysis underscores the critical role of synthesizing news sentiment and attention metrics in predicting stock prices.  

*** Title, author list and abstract as seen in the Camera-Ready version of the paper that was provided to Conference Committee. Small changes that may have occurred during processing by Springer may not appear in this window.