Introduction
Predicting stock trading volume is a cornerstone of quantitative finance, essential for managing market impact and optimizing portfolio execution. However, volume is notoriously difficult to forecast because it is influenced by both long-term historical trends and sudden, idiosyncratic real-world events. Traditional time-series models often struggle to capture the ripple effects of news events across interconnected companies.
This paper introduces LED-GNN (LLM-Enhanced Dynamic Graph Neural Network), a framework designed to bridge the gap between unstructured financial news and structured market data. By leveraging Large Language Models (LLMs) to extract complex relationships between companies, LED-GNN encodes news-driven interactions as dynamic edges in a graph. When combined with historical price data, this approach significantly outperforms state-of-the-art baselines in volume prediction.
Methodology: The LED-GNN Framework
The core innovation of LED-GNN lies in treating news not just as a node feature, but as a source of dynamic relational information. The framework consists of three primary modules as illustrated in the architecture overview below.
1. News Relation Graph Construction
To transform messy financial news into a structured graph, the authors employ a three-step pipeline:
- Relation Generation: A frozen Mistral-7B model extracts raw relationships between entities from Reuters news articles.
- Relation Reduction: To handle linguistic redundancy (e.g., "competes with" vs. "is a rival of"), the authors use Sentence-BERT for embedding, UMAP for dimensionality reduction, and HDBSCAN for clustering. This results in a standardized set of market relations.
- Dynamic Graph Construction: The LLM extracts specific triplets (Subject, Relation, Object) from the news based on the cleaned relation set, building a graph where edges represent real-world events like joint ventures or competitive shifts.
2. Spatiotemporal Stock Graph Construction
While the news graph captures external events, this module learns latent connections directly from historical price and volume data. It utilizes a Gumbel-reparameterization trick to learn discrete, differentiable connections between stocks, capturing statistical correlations that news might miss.
3. Dynamic GNN Fusion
Both the news-driven and data-driven graphs are processed through a GATv2-LSTM architecture. This setup enables the model to simultaneously handle spatial dependencies (how stocks influence neighbors) and temporal dynamics (how these influences evolve). Finally, a cross-attention mechanism fuses these representations to generate the final trading volume prediction.
Experimental Setup and Datasets
The researchers evaluated LED-GNN using a comprehensive real-world dataset:
- TOPIX500: Hourly stock data for 439 companies on the Tokyo Stock Exchange from 2013 to 2018.
- Reuters Financial News: A corpus of 146,474 news entries, including headlines and bodies, mapped to specific stocks via RIC tags.
Key Results and Discussion
LED-GNN consistently outperformed all baselines, including specialized time-series models like TimesNet and SegRNN, as well as graph-based models like RTGCN. The model achieved a 2.6% improvement in Mean Squared Error (MSE) and a 2.8% improvement in SMAPE over the strongest baseline.
As shown in the performance analysis above, LED-GNN maintains superior accuracy across various lookback window sizes. The results indicate that the model's performance generally improves as the lookback window increases, plateauing around 30 hours. This suggests a "sweet spot" for historical context in hourly volume prediction.
Ablation studies further confirmed that the hybrid approach is essential; removing either the news-derived graph or the data-derived graph led to a measurable performance drop. This proves that LLM-extracted relations provide unique, non-redundant information that complements traditional statistical signals.
Limitations and Future Work
Despite its success, the framework faces several challenges. The computational cost of using LLMs to process every news article is significant compared to traditional embedding methods. Additionally, while filtering mechanisms were used, the inherent randomness of LLMs introduces a risk of hallucinations or noise.
Future research could explore extending the news influence period beyond the current 24-hour window or applying the model to different asset classes, such as cryptocurrencies, where news-driven volatility is even more pronounced. Testing the framework's generalization to other global markets like the NYSE also remains a key area for development.
Summary updated