From Local Patterns to Global Understanding: Cross-Stock Trend Integration for Enhanced Predictive Modeling
Yi Hu, Hanchi Ren*, Jingjing Deng, and Xianghua Xie · 2025
Read From Local Patterns to Global Understanding: Cross-Stock Trend Integration for Enhanced Predictive Modeling by Yi Hu, Hanchi Ren*, Jingjing Deng, and Xianghua Xie (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-16573.txt.
Introduction
Yi Hu and three co-authors propose a way to forecast stock prices by learning from many stocks at once. Their method appeared in twenty twenty-five. Most models train on one stock alone, so they miss links between stocks that move together.
The approach borrows from federated learning, where separate models train apart and then merge. Here, a model trains on each stock, the models combine into one global model, and that model is then tuned back to each stock. Training can run in parallel, which saves time. In wide tests, the merged model beat standard benchmarks and improved strong existing methods. The work suggests shared trends carry real signal for price forecasts.
Catalog record
| CREATOR | Yi Hu, Hanchi Ren*, Jingjing Deng, and Xianghua Xie |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 49 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2505-16573
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
From Local Patterns to Global Understanding: Cross-Stock Trend Integration for Enhanced Predictive Modeling Yi Hu, Hanchi Ren*, Jingjing Deng, and Xianghua Xie Abstract Stock price prediction is a critical area of financial forecasting, traditionally approached by training models using the historical price data of individual stocks. While these models effectively capture single-stock patterns, they fail to leverage potential correlations among stock trends, which could improve predictive performance. Current single-stock learning methods are thus limited in their ability to provide a broader understanding of price dynamics across multiple stocks. To address this, we propose a novel method that merges local patterns into a global understanding through cross-stock pattern integration. Our strategy is inspired by Federated Learning (FL), a paradigm designed for decentralized model training. FL enables collaborative learning across distributed datasets without sharing raw data, facilitating the aggregation of global insights while preserving data privacy. In our adaptation, we train models on individual stock data and iteratively merge them to create a unified global model. This global model is subsequently fine-tuned on specific stock data to retain local relevance. The proposed strategy enables parallel training of individual stock models, facilitating efficient utilization of computational resources and reducing overall training time. We conducted extensive experiments to evaluate the proposed method, demonstrating that it outperforms benchmark models and enhances the predictive capabilities of state-of-the-art approaches. Our results highlight the efficacy of Cross-Stock Trend Integration (CSTI) in advancing stock price prediction, offering a robust alternative to traditional single-stock learning methodologies. I Introduction Stock price prediction has long been a cornerstone of financial research, with its origins rooted in attempts to model and forecast market behavior for informed decision-making. Early efforts in stock price prediction were dominated by statistical models, such as ARIMA ( ARIMA ) [ 1 , 2 , 3 ] and exponential smoothing [ 4 , 5 , 6 ] methods, which relied on historical price data to identify patterns and trends. These models were effective within their time but were limited by their linear assumptions and inability to capture the complexities of financial markets. Fig. 1: Illustration of CSTI The advent of computational advancements and the rise of ML ( ML ) brought a paradigm shift to stock price prediction. Techniques such as SVM ( SVM ) [ 7 ] , DT ( DT ) [ 8 ] , and ensemble methods like RF ( RF ) [ 9 ] gained popularity for their ability to model nonlinear relationships in financial data. With the availability of large datasets and increased computational power, DL ( DL ) approaches, including RNN ( RNN ) [ 10 ] , LSTM ( LSTM ) [ 11 ] , GRU ( GRU ) [ 12 ] , and Transformer [ 13 ] , emerged as dominant methods. These models excelled at capturing temporal dependencies and intricate patterns, significantly improving prediction accuracy. Despite these advancements, most traditional ML and DL approaches focus on training models using individual stock data, often neglecting the inter-dependencies between stocks. Based on these traditional approaches, many novel methods are proposed aiming to achieve higher accuracy of prediction, such as, FilterNet [ 14 ] , FreTS [ 15 ] , DLinear [ 16 ] , TimesNet [ 17 ] and PatchTST [ 18 ] . FilterNet is tailored for time series forecasting, emphasizing the extraction of informative temporal patterns through learnable frequency filters. By selectively amplifying or attenuating specific components of time series signals, FilterNet effectively captures both high-frequency and low-frequency information. This design addresses challenges such as vulnerability to high-frequency noise and inefficiencies in full-spectrum utilization, which are common in Transformer-based models. FreTS introduces a novel approach by applying MLP ( MLP ) in the frequency domain. This method involves transforming time-domain signals into their frequency-domain representations using the DFT ( DFT ). FreTS then employs redesigned MLP to learn the real and imaginary parts of these frequency components, capturing global dependencies and concentrating on key frequency components with compact signal energy. Operating on both inter-series and intra-series scales, FreTS effectively learns channel-wise and time-wise dependencies. DLinear is a simple and fast model for long-horizon forecasting that utilizes linear layers for trend and seasonality components, offering competitive accuracy with reduced complexity. TimesNet is a CNN ( CNN )-based model that transforms time series data into 2D tensors using the FFT ( FFT ), enabling the application of visual backbones like inception to capture temporal patterns effectively. PatchTST is a Transformer-based model that employs a patch-based technique inspired by computer vision, achieving state-of-the-art prediction results in long-term time series forecasting. While those approaches have produced good results, this single-stock perspective can cause the model to miss broader market trends or cross-stock relationships that can provide valuable predictive insights. Researchers have begun exploring collaborative and integrative strategies to address these limitations [ 19 ] . For example, K. J. Koa et al. [ 20 ] introduced a model that combines deep hierarchical variational auto-encoders with diffusion probabilistic techniques to predict stock prices over multiple steps, addressing the inherent stochastic nature of stock data; Z. Pei et al. [ 21 ] proposed a method that leverages time series decomposition and multi-scale convolutional neural networks to predict stock prices using Open, High, Low, Close, and Trading volume data from multiple stocks; Y. Dong and Y. Hao [ 22 ] presented a deep neural network framework that dynamically assigns weights to multidimensional features from various stocks, capturing the impact of each feature on stock prices; W. Liu et al. [ 23 ] introduced a method that calculates multiple factors, including Alpha158 and OCHLVC (Open, Close, High, Low, Volume, and Change) data, to predict stock prices using a GAN ( GAN ) [ 24 ] combined with TrellisNet [ 25 ] . In recent years, the fusion of financial domain knowledge with sophisticated computational techniques has opened new avenues for stock price prediction. The incorporation of external data sources, such as news sentiment [ 26 ] , macroeconomic indicators [ 27 ] , and social media trends [ 28 ] , alongside advancements in model architectures, continues to push the boundaries of what is possible in financial forecasting. As markets grow increasingly complex and interconnected, methods that transcend traditional single-stock modeling and embrace holistic, cross-stock approaches represent a promising direction for future research. The essence of FL ( FL ) lies in merging local models to create a global model that captures the latent feature space of each local dataset without compromising the privacy or exposing the details of any individual dataset. This concept inspired our approach, as we recognized that the trends of different stocks could be similarly merged to form a unified global understanding. Stock price movements, despite their unique characteristics, often share underlying latent patterns. By leveraging this idea, we aim to enhance prediction performance by integrating these shared patterns into a cohesive global model. In this work, we propose a novel training strategy designed to transform local patterns derived from individual stocks into a cohesive global understanding, thereby enhancing predictive modeling through the CSTI ( CSTI ). Specifically, our approach involves training individual models on the historical price data of different stocks and then merging these models iteratively during training. This iterative merging process