Lune

KDD2021Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Mastering Stock Markets with Efficient Mixture of Diversified Trading Experts cites Uncertainty-Aware Lookahead Factor Models for Quantitative Investing
  • MDGNN: Multi-Relational Dynamic Graph Neural Network for Comprehensive and Dynamic Stock Investment Prediction cites Incorporating Expert-Based Investment Opinion Signals in Stock Prediction: A Deep Learning Framework
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. 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
  2. DoubleAdapt: A Meta-learning Approach to Incremental Learning for Stock Trend ForecastingLifan Zhao, Shuming Kong, Yanyan ShenKDD 2023 · 31 citations
  3. Learning Decomposed Spatial Relations for Multi-Variate Time-Series ModelingYuchen Fang, Kan Ren, Caihua Shan, Yifei Shen et al.AAAI 2023 · 23 citations
  4. Mastering Stock Markets with Efficient Mixture of Diversified Trading ExpertsShuo Sun, Xinrun Wang, Wanqi Xue, Xiaoxuan Lou et al.KDD 2023 · 13 citations
  5. 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

  1. Learning to Branch for Multi-Task LearningPengsheng Guo, Chen-Yu Lee, Daniel UlbrichtICML 2020 · 208 citations
  2. Incorporating Expert-Based Investment Opinion Signals in Stock Prediction: A Deep Learning FrameworkHeyuan Wang, Tengjiao Wang, Yi LiAAAI 2020 · 48 citations
  3. Uncertainty-Aware Lookahead Factor Models for Quantitative InvestingLakshay Chauhan, John Alberg, Zachary C. LiptonICML 2020 · 16 citations
  4. Conditional Channel Gated Networks for Task-Aware Continual LearningDavide Abati, Jakub M. Tomczak, Tijmen Blankevoort, Simone Calderara et al.CVPR 2020

Related papers

  1. StockMixer: A Simple Yet Strong MLP-Based Architecture for Stock Price ForecastingJinyong Fan, Yanyan ShenAAAI 2024 · 43 citations
  2. 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
  3. Accurate Multivariate Stock Movement Prediction via Data-Axis Transformer with Multi-Level ContextsJaemin Yoo, Yejun Soun, Yong-chan Park, U KangKDD 2021 · 130 citations
  4. Pre-training Time Series Models with Stock Data CustomizationMengyu Wang, Tiejun Ma, Shay B. CohenKDD 2025 · 1 citation
  5. Enhancer: A Distribution-Aware Framework with Temporal-Relational Meta-Learning for Stock PredictionWeijun Chen, Shun Li, Heyuan Wang, Tengjiao WangKDD 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines