MERA: Mixture of Experts with Retrieval-Augmented Representation for Modeling Diversified Stock Patterns
Successful quantitative investment relies on accurate predictions of the future stock price. Deep learning-based solutions have recently demonstrated a superior ability to capture the intricate and nonlinear interactions among various market variables. However, most existing methods use the same parameters to fit all samples, without considering that the real stock market often exhibits multiple patterns. To alleviate this issue, we propose a novel module called Mixture of Experts with Retrieval-Augmented Representation (MERA). Essentially, MERA consists of a set of independent experts for differentiated modeling as well as a GateNet that dynamically allocates data of different patterns to the most suitable experts. The model backbone is responsible for learning the coarse-grained representations for all stock patterns. Then, each expert in the MERA module focuses on the specific pattern and performs a more fine-grained analysis. However, accurate data allocation remains challenging due to the lack of explicit pattern identifiers. To overcome this, MERA retrieves relevant samples using high-level representations from self-supervised pre-training. The label information of neighbor samples is promising discriminative signals to indicate the target stock pattern. Extensive experiments on real-world stock markets show significant improvements. Our code is released at https://github.com/chenchen1104/MERA.
Authors
- Naiqi Li (ORCID: https://orcid.org/0000-0002-6472-0678)
- Tao Dai (ORCID: https://orcid.org/0000-0003-0594-6404)
- Shu‐Tao Xia (ORCID: https://orcid.org/0000-0002-8639-982X)
- Chen-Hui Song (ORCID: https://orcid.org/0000-0003-1994-9948)
- Yujun Liu (ORCID: https://orcid.org/0009-0009-5425-7542)
- Yong Jiang (ORCID: https://orcid.org/0000-0002-4260-1395)
- Jigang Bao (ORCID: https://orcid.org/0000-0003-4312-3636)
- Peiyuan Liu
Institutions
- Shenzhen University (CN)
- Tsinghua University (CN)
Publication Details
- Published
- 2025-05-08
- DOI
- https://doi.org/10.1145/3701716.3715513
- Primary Topic
- Forecasting Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China