AI Navigate

Generalized Stock Price Prediction for Multiple Stocks Combined with News Fusion

arXiv cs.AI / 3/23/2026

💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper presents a generalized model that can be trained across multiple stocks rather than building separate models per stock, improving scalability.
  • It fuses daily financial news with historical stock prices by encoding news articles with a pre-trained LLM and using stock-name embeddings in attention mechanisms to filter for relevance.
  • It introduces three attention-based pooling strategies—self-attentive, cross-attentive, and position-aware self-attentive pooling—to select news content most relevant to each stock.
  • The filtered news embeddings are combined with price history to predict stock prices, achieving a 7.11% reduction in MAE over baselines.

Abstract

Predicting stock prices presents challenges in financial forecasting. While traditional approaches such as ARIMA and RNNs are prevalent, recent developments in Large Language Models (LLMs) offer alternative methodologies. This paper introduces an approach that integrates LLMs with daily financial news for stock price prediction. To address the challenge of processing news data and identifying relevant content, we utilize stock name embeddings within attention mechanisms. Specifically, we encode news articles using a pre-trained LLM and implement three attention-based pooling techniques -- self-attentive, cross-attentive, and position-aware self-attentive pooling -- to filter news based on stock relevance. The filtered news embeddings, combined with historical stock prices, serve as inputs to the prediction model. Unlike prior studies that focus on individual stocks, our method trains a single generalized model applicable across multiple stocks. Experimental results demonstrate a 7.11% reduction in Mean Absolute Error (MAE) compared to the baseline, indicating the utility of stock name embeddings for news filtering and price forecasting within a generalized framework.