IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2501.09636.html
   My bibliography  Save this paper

LLM-Based Routing in Mixture of Experts: A Novel Framework for Trading

Author

Listed:
  • Kuan-Ming Liu
  • Ming-Chih Lo

Abstract

Recent advances in deep learning and large language models (LLMs) have facilitated the deployment of the mixture-of-experts (MoE) mechanism in the stock investment domain. While these models have demonstrated promising trading performance, they are often unimodal, neglecting the wealth of information available in other modalities, such as textual data. Moreover, the traditional neural network-based router selection mechanism fails to consider contextual and real-world nuances, resulting in suboptimal expert selection. To address these limitations, we propose LLMoE, a novel framework that employs LLMs as the router within the MoE architecture. Specifically, we replace the conventional neural network-based router with LLMs, leveraging their extensive world knowledge and reasoning capabilities to select experts based on historical price data and stock news. This approach provides a more effective and interpretable selection mechanism. Our experiments on multimodal real-world stock datasets demonstrate that LLMoE outperforms state-of-the-art MoE models and other deep neural network approaches. Additionally, the flexible architecture of LLMoE allows for easy adaptation to various downstream tasks.

Suggested Citation

  • Kuan-Ming Liu & Ming-Chih Lo, 2025. "LLM-Based Routing in Mixture of Experts: A Novel Framework for Trading," Papers 2501.09636, arXiv.org, revised Jan 2025.
  • Handle: RePEc:arx:papers:2501.09636
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2501.09636
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Wentao Xu & Weiqing Liu & Chang Xu & Jiang Bian & Jian Yin & Tie-Yan Liu, 2021. "REST: Relational Event-driven Stock Trend Forecasting," Papers 2102.07372, arXiv.org, revised Feb 2021.
    2. Zhizhuo Kou & Holam Yu & Jingshu Peng & Lei Chen, 2024. "Automate Strategy Finding with LLM in Quant investment," Papers 2409.06289, arXiv.org.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yichen Luo & Yebo Feng & Jiahua Xu & Paolo Tasca & Yang Liu, 2025. "LLM-Powered Multi-Agent System for Automated Crypto Portfolio Management," Papers 2501.00826, arXiv.org, revised Jan 2025.
    2. Wai Khuen Cheng & Khean Thye Bea & Steven Mun Hong Leow & Jireh Yi-Le Chan & Zeng-Wei Hong & Yen-Lin Chen, 2022. "A Review of Sentiment, Semantic and Event-Extraction-Based Approaches in Stock Forecasting," Mathematics, MDPI, vol. 10(14), pages 1-20, July.
    3. Shuo Yu & Hongyan Xue & Xiang Ao & Feiyang Pan & Jia He & Dandan Tu & Qing He, 2023. "Generating Synergistic Formulaic Alpha Collections via Reinforcement Learning," Papers 2306.12964, arXiv.org.
    4. Shuo Sun & Rundong Wang & Bo An, 2021. "Reinforcement Learning for Quantitative Trading," Papers 2109.13851, arXiv.org.
    5. Lifan Zhao & Shuming Kong & Yanyan Shen, 2023. "DoubleAdapt: A Meta-learning Approach to Incremental Learning for Stock Trend Forecasting," Papers 2306.09862, arXiv.org, revised Apr 2024.
    6. Junhua Liu, 2024. "A Survey of Financial AI: Architectures, Advances and Open Challenges," Papers 2411.12747, arXiv.org.
    7. Wentao Xu & Weiqing Liu & Lewen Wang & Yingce Xia & Jiang Bian & Jian Yin & Tie-Yan Liu, 2021. "HIST: A Graph-based Framework for Stock Trend Forecasting via Mining Concept-Oriented Shared Information," Papers 2110.13716, arXiv.org, revised Jan 2022.
    8. Zikai Wei & Bo Dai & Dahua Lin, 2022. "Factor Investing with a Deep Multi-Factor Model," Papers 2210.12462, arXiv.org.
    9. Sheng Xiang & Dawei Cheng & Chencheng Shang & Ying Zhang & Yuqi Liang, 2023. "Temporal and Heterogeneous Graph Neural Network for Financial Time Series Prediction," Papers 2305.08740, arXiv.org.
    10. Liang Zeng & Lei Wang & Hui Niu & Ruchen Zhang & Ling Wang & Jian Li, 2021. "Trade When Opportunity Comes: Price Movement Forecasting via Locality-Aware Attention and Iterative Refinement Labeling," Papers 2107.11972, arXiv.org, revised Jul 2024.
    11. Zikai Wei & Bo Dai & Dahua Lin, 2023. "E2EAI: End-to-End Deep Learning Framework for Active Investing," Papers 2305.16364, arXiv.org.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2501.09636. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.