MASTER: Market-Guided Stock Transformer for Stock Price Forecasting
About
Stock price forecasting has remained an extremely challenging problem for many decades due to the high volatility of the stock market. Recent efforts have been devoted to modeling complex stock correlations toward joint stock price forecasting. Existing works share a common neural architecture that learns temporal patterns from individual stock series and then mixes up temporal representations to establish stock correlations. However, they only consider time-aligned stock correlations stemming from all the input stock features, which suffer from two limitations. First, stock correlations often occur momentarily and in a cross-time manner. Second, the feature effectiveness is dynamic with market variation, which affects both the stock sequential patterns and their correlations. To address the limitations, this paper introduces MASTER, a MArkert-Guided Stock TransformER, which models the momentary and cross-time stock correlation and leverages market information for automatic feature selection. MASTER elegantly tackles the complex stock correlation by alternatively engaging in intra-stock and inter-stock information aggregation. Experiments show the superiority of MASTER compared with previous works and visualize the captured realistic stock correlation to provide valuable insights.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Financial Time Series Forecasting | SP500 | Annualized Return (AR)0.66 | 26 | |
| Financial Time Series Forecasting | Avg. across markets | AR0.295 | 26 | |
| Financial Time Series Forecasting | NI225 | AR (Annualized Return)0.148 | 26 | |
| Financial Time Series Forecasting | CSI300 | Average Return (AR)0.167 | 26 | |
| Financial Time Series Forecasting | CSI500 | AR0.203 | 26 | |
| Financial Time Series Forecasting | Financial Time Series Forecasting General | FLOPs (G)8.725 | 18 | |
| Stock Prediction | CSI 500 latest (2025 Q4) | AR19.84 | 9 | |
| Stock Prediction and Portfolio Management | SSE 50 (2023 Q4 to 2025 Q3) | AR (%)24.64 | 9 | |
| Stock Prediction and Portfolio Management | CSI 300 (2023 Q4 to 2025 Q3) | AR (Annualized Return)24.46 | 9 | |
| Stock Prediction | SSE 50 latest (2025 Q4) | AR (Annualized Return)6.49 | 9 |