TL;DR
This paper introduces GRU-2ATT, a neural network architecture that predicts stock price movements using financial news while providing human-understandable explanations for its predictions. By leveraging external knowledge graphs to capture broader market connections and applying a dual-layer attention mechanism across both individual articles and multiple days, the model significantly outperforms traditional black-box baselines.
What Problem Does This Paper Address?
Predicting stock market trends from financial news is a highly valuable but notoriously difficult task. While deep learning models have improved prediction accuracy, they generally suffer from two major flaws:
- The Black Box Problem: They offer no explanation why a prediction was made, which limits their utility for risk management and human decision-making.
- Error Propagation and Noise: Previous methods relied heavily on complex Natural Language Processing (NLP) toolkits (like dependency parsing or OpenIE) to extract structured "events" from text. Errors made by these toolkits propagate through the network, and rigid extraction rules often discard valuable contextual information.
Furthermore, standard models typically only look at news articles that explicitly mention the target company, completely missing ecosystem-level shocks—such as news about a major subsidiary or competitor that indirectly drives the parent company's stock price.
Methods
The authors propose a dual-stage attention-based neural network built on top of Gated Recurrent Units (GRUs). The pipeline consists of the following core components:
- Knowledge Graph Expansion: Instead of relying solely on direct keyword matches, the model leverages a knowledge graph (derived from Wikipedia) to discover related entities (subsidiaries, executives, etc.). News about these related entities is automatically pulled into the dataset.
- Vector Representation: News titles are converted into 300-dimensional sentence embeddings using Spacy. To help the network distinguish temporal dynamics, a trainable Day Embedding is concatenated with the news representations.
- Input Attention Layer: Financial news is incredibly noisy. This layer adaptively assigns weights to individual news titles within a single day, amplifying highly influential headlines while ignoring irrelevant noise.
- GRU Layer & Output Attention Layer: A GRU processes the sequence of daily news vectors over a rolling 7-day window. Following this, an output attention layer evaluates the hidden states of each day against a learned embedding pattern to determine which days within the week had the most significant cumulative impact on the stock price.
Datasets
The model was trained and evaluated using:
- Reuters and Bloomberg Financial News: A dataset spanning from October 10, 2006, to November 26, 2013.
- Historical Stock Prices: End-of-day stock data for three distinct target companies: 3M, Google, and Apple.
- Wikipedia: Used as the external knowledge base to construct entity relationship graphs (e.g., mapping the relationship that YouTube is a subsidiary of Google).
Key Insights and Ideas
- Ecosystem Context Matters: Restricting text analysis to direct company mentions creates an information bottleneck. By incorporating knowledge graphs, the model successfully leverages indirect news (e.g., a lawsuit against YouTube) to predict the stock movement of the parent company (Google).
- Two Stages of Filtering: The dual-layer attention mechanism elegantly handles the noisy nature of financial text. The first layer filters out the daily "chatter" to find the day's defining headline, while the second layer determines if an event from three days ago still holds market-moving relevance today.
- Inherent Explainability: Instead of using post-hoc explanation techniques, the model's internal attention weights serve as direct explanations. In a provided case study, the model assigned a massive attention weight (0.514) to a copyright lawsuit against YouTube, directly explaining a subsequent drop in Google's stock price.
Key Results
The proposed GRU-2ATT model was evaluated against two baselines: a standard neural network (EB-NN) and a convolutional neural network (EB-CNN). Performance was measured using Accuracy (ACC) and the Matthews Correlation Coefficient (MCC), which accounts for class imbalances.
The model consistently outperformed the baselines across all three target companies:
- 3M: Achieved 74% accuracy and an MCC of 0.47 (compared to 68% ACC / 0.30 MCC for the CNN baseline).
- Google: Achieved 68% accuracy and an MCC of 0.47 (compared to 60% ACC / 0.14 MCC for the CNN baseline).
- Apple: Achieved 62% accuracy and an MCC of 0.21 (compared to 58% ACC / 0.11 MCC for the CNN baseline).
Limitations and Future Work
While powerful, the authors note a few limitations and areas for future development:
- Title-Only Dependency: The model relies strictly on news titles rather than full article text to minimize noise. This design choice might cause it to miss nuanced details or context buried deep within long-form reports.
- Static Knowledge Graphs: The entity relationships are mapped from Wikipedia, which may not update quickly enough to capture rapid corporate restructurings, real-time supply chain shifts, or fast-evolving market partnerships.
- Binary Simplification: The model frames stock prediction purely as a binary classification task (rise vs. fall), ignoring the magnitude of the price movement or market volatility.
Summary updated