Learning Multiple Stock Trading Patterns with Temporal Routing Adaptor and Optimal Transport
Hengxu Lin, Dong Zhou, Weiqing Liu, Jiang Bian
Abstract
Successful quantitative investment usually relies on precise predictions of the future movement of the stock price. Recently, machine learning based solutions have shown their capacity to give more accurate stock prediction and become indispensable components in modern quantitative investment systems. However, the i.i.d. assumption behind existing methods is inconsistent with the existence of diverse trading patterns in the stock market, which inevitably limits their ability to achieve better stock prediction performance. In this paper, we propose a novel architecture, Temporal Routing Adaptor (TRA), to empower existing stock prediction models with the ability to model multiple stock trading patterns. Essentially, TRA is a lightweight module that consists of a set of independent predictors for learning multiple patterns as well as a router to dispatch samples to different predictors. Nevertheless, the lack of explicit pattern identifiers makes it quite challenging to train an effective TRA-based model. To tackle this challenge, we further design a learning algorithm based on Optimal Transport (OT) to obtain the optimal sample to predictor assignment and effectively optimize the router with such assignment through an auxiliary loss term. Experiments on the real-world stock ranking task show that compared to the state-of-the-art baselines, e.g., Attention LSTM and Transformer, the proposed method can improve information coefficient (IC) from 0.053 to 0.059 and 0.051 to 0.056 respectively. Our dataset and code used in this work are publicly available2: https://github.com/microsoft/qlib.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 8c118cb5-09a0-4cce-b00b-e26e5a40773aCited by top-tier papers8
- MDGNN: Multi-Relational Dynamic Graph Neural Network for Comprehensive and Dynamic Stock Investment PredictionHao Qian, Hongting Zhou, Qian Zhao, Hao Chen et al.AAAI 2024 · 65 citations
- DoubleAdapt: A Meta-learning Approach to Incremental Learning for Stock Trend ForecastingLifan Zhao, Shuming Kong, Yanyan ShenKDD 2023 · 31 citations
- Learning Decomposed Spatial Relations for Multi-Variate Time-Series ModelingYuchen Fang, Kan Ren, Caihua Shan, Yifei Shen et al.AAAI 2023 · 23 citations
- Mastering Stock Markets with Efficient Mixture of Diversified Trading ExpertsShuo Sun, Xinrun Wang, Wanqi Xue, Xiaoxuan Lou et al.KDD 2023 · 13 citations
- AlphaAgent: LLM-Driven Alpha Mining with Regularized Exploration to Counteract Alpha DecayZiyi Tang, Zechuan Chen, Jiarui Yang, Jiayao Mai et al.KDD 2025 · 3 citations
Builds on4
- Learning to Branch for Multi-Task LearningPengsheng Guo, Chen-Yu Lee, Daniel UlbrichtICML 2020 · 208 citations
- Incorporating Expert-Based Investment Opinion Signals in Stock Prediction: A Deep Learning FrameworkHeyuan Wang, Tengjiao Wang, Yi LiAAAI 2020 · 48 citations
- Uncertainty-Aware Lookahead Factor Models for Quantitative InvestingLakshay Chauhan, John Alberg, Zachary C. LiptonICML 2020 · 16 citations
- Conditional Channel Gated Networks for Task-Aware Continual LearningDavide Abati, Jakub M. Tomczak, Tijmen Blankevoort, Simone Calderara et al.CVPR 2020
Related papers
- StockMixer: A Simple Yet Strong MLP-Based Architecture for Stock Price ForecastingJinyong Fan, Yanyan ShenAAAI 2024 · 43 citations
- Stock Selection via Spatiotemporal Hypergraph Attention Network: A Learning to Rank ApproachRamit Sawhney, Shivam Agarwal, Arnav Wadhwa, Tyler Derr et al.AAAI 2021 · 183 citations
- Accurate Multivariate Stock Movement Prediction via Data-Axis Transformer with Multi-Level ContextsJaemin Yoo, Yejun Soun, Yong-chan Park, U KangKDD 2021 · 130 citations
- Pre-training Time Series Models with Stock Data CustomizationMengyu Wang, Tiejun Ma, Shay B. CohenKDD 2025 · 1 citation
- Enhancer: A Distribution-Aware Framework with Temporal-Relational Meta-Learning for Stock PredictionWeijun Chen, Shun Li, Heyuan Wang, Tengjiao WangKDD 2025 · 1 citation
