Hierarchical Multi-Task Learning with Liquidity-Aware Signals for Stock Forecasting

Hengyi Yang, Sida Lin, Yiyan Qi, Yankai Chen, Haohan Zhang, Xianhua Peng, Jian GuoarXiv 2026

TL;DR

The authors introduce LiMT, a hierarchical multi-task learning framework that improves stock price forecasting by cleanly separating cross-stock relationships from temporal dynamics. By jointly predicting returns alongside liquidity-aware signals (volatility and volume shocks) via a gated Mixture-of-Experts architecture, LiMT bridges the gap between raw predictive accuracy and real-world portfolio execution, boosting annualized returns from 3.99% to 10.01% in realistic backtests.

What Problem Does This Paper Address?

Predicting stock prices is notoriously difficult due to non-stationary data and complex, overlapping dependencies across both time (historical trends) and space (cross-stock correlations). Current deep learning approaches suffer from three major structural limitations:

  1. Signal Entanglement: Existing architectures impose a rigid sequence on temporal and cross-sectional modeling. If they compress time first, day-specific peer effects are washed away. If they mix cross-sectional data first, transient market co-movements get entangled with stock-specific momentum.
  2. Univariate Focus: Most models optimize solely for price returns, ignoring trading volume and volatility. However, volume carries independent alpha content, and volatility directly dictates risk and execution feasibility.
  3. The Execution Gap: Standard models evaluate success using statistical metrics like the Information Coefficient (IC) but rely on simplistic ranking rules for portfolio construction. This ignores real-world constraints like transaction costs, market impact, and liquidity limits.

Methods

Fig. 1. Overview of the LiMT framework. Left: MRE module, Middle: LDL module, Right: APO module.

To solve these issues, the authors propose the LiMT framework, which consists of three interconnected modules:

  • Market Regime Encoder (MRE): A hierarchical stock transformer that flips the standard design. It applies cross-stock attention independently at each historical time step before performing within-stock temporal modeling. This preserves time-specific cross-sectional structures and cleanly separates market synchronization from individual stock momentum.
  • Liquidity-Driven Learning (LDL): A Multi-gate Mixture-of-Experts (MMoE) architecture that jointly predicts three targets: next-day return, volume shock, and volatility. It features a stock-wise gating mechanism that adaptively transfers useful liquidity and risk signals to help predict returns while suppressing conflicting or noisy auxiliary information.
  • Adaptive Portfolio Optimization (APO): A lightweight module that bridges prediction and trading. It de-normalizes the model's volume and volatility forecasts back into physical units to calculate time-varying long-short weights, explicitly accounting for transaction costs and participation-rate caps.

Datasets

The framework was evaluated on the Chinese A-share market using two well-known benchmarks:

  • CSI300: Represents the top 300 largest and most liquid stocks.
  • CSI500: Represents a broader mid-cap stock universe.

The data spans from 2008 to 2020, utilizing the public Alpha158 feature set from Microsoft's Qlib platform, with a 21-day lookback window and a 1-day prediction horizon.

Key Insights and Ideas

  • Ordering Matters in Spatiotemporal Modeling: Applying cross-sectional attention before temporal aggregation prevents day-specific peer effects from being averaged away, allowing the model to capture fleeting market dynamics more accurately.
  • Liquidity Signals Contain Hidden Alpha: Volatility and volume shocks are not just risk constraints to be managed downstream; when learned jointly via a gated MoE mechanism, they provide valuable leading indicators that actively improve return predictions.
  • Statistical Gains $\neq$ Financial Gains: A model can achieve a high Information Coefficient (IC) but fail in production due to transaction costs. By explicitly modeling and de-normalizing liquidity metrics, the APO module ensures that predictive accuracy translates directly into deployable portfolio returns.

Key Results

LiMT was compared against 14 baselines, including deep learning models (LSTM, Transformer, TFT, MASTER) and tree-based ensembles (XGBoost, LightGBM).

  • Predictive Performance: LiMT ranked first across all metrics for both datasets. On the CSI300 index, it improved the excess annualized return ($AR_{excess}$) by 56.22% and the excess information ratio ($IR_{excess}$) by 51.98% over the strongest baseline (MASTER).
  • Realistic Backtests (2017–2020): When subjected to strict trading constraints (10 bps transaction costs, 2% daily turnover cap per stock), the APO module boosted annualized returns from 3.99% (equal weighting) to 10.01%, while elevating the Sharpe ratio from 1.22 to 1.86.
Cumulative long-short returns of APO compared against traditional portfolio-construction baselines.

Limitations and Future Work

While LiMT marks a significant step forward, the authors note several areas for future exploration:

  1. Data Granularity: The current model operates on daily data. Extending the framework to intra-day microstructure data could capture finer liquidity dynamics.
  2. Alternative Data: Incorporating non-traditional data sources, such as financial news sentiment or capital flow data, could further enrich the market regime representations.
  3. Cross-Market Effects: The model currently treats markets in isolation; accounting for cross-market spillovers (e.g., global index correlations) remains an open challenge.

Summary updated

BibTeX
@misc{yang2026hierarchical,
  author = {Hengyi Yang and Sida Lin and Yiyan Qi and Yankai Chen and Haohan Zhang and Xianhua Peng and Jian Guo},
  title = {{Hierarchical Multi-Task Learning with Liquidity-Aware Signals for Stock Forecasting}},
  year = {2026},
  eprint = {2609.25617},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.25617},
}
Figure