IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0303688.html
   My bibliography  Save this article

Multi-strategy modified sparrow search algorithm for hyperparameter optimization in arbitrage prediction models

Author

Listed:
  • Shenjie Cheng
  • Panke Qin
  • Baoyun Lu
  • Jinxia Yu
  • Yongli Tang
  • Zeliang Zeng
  • Sensen Tu
  • Haoran Qi
  • Bo Ye
  • Zhongqi Cai

Abstract

Deep learning models struggle to effectively capture data features and make accurate predictions because of the strong non-linear characteristics of arbitrage data. Therefore, to fully exploit the model performance, researchers have focused on network structure and hyperparameter selection using various swarm intelligence algorithms for optimization. Sparrow Search Algorithm (SSA), a classic heuristic method that simulates the sparrows’ foraging and anti-predatory behavior, has demonstrated excellent performance in various optimization problems. Hence, in this study, the Multi-Strategy Modified Sparrow Search Algorithm (MSMSSA) is applied to the Long Short-Term Memory (LSTM) network to construct an arbitrage spread prediction model (MSMSSA-LSTM). In the modified algorithm, the good point set theory, the proportion-adaptive strategy, and the improved location update method are introduced to further enhance the spatial exploration capability of the sparrow. The proposed model was evaluated using the real spread data of rebar and hot coil futures in the Chinese futures market. The obtained results showed that the mean absolute percentage error, root mean square error, and mean absolute error of the proposed model had decreased by a maximum of 58.5%, 65.2%, and 67.6% compared to several classical models. The model has high accuracy in predicting arbitrage spreads, which can provide some reference for investors.

Suggested Citation

  • Shenjie Cheng & Panke Qin & Baoyun Lu & Jinxia Yu & Yongli Tang & Zeliang Zeng & Sensen Tu & Haoran Qi & Bo Ye & Zhongqi Cai, 2024. "Multi-strategy modified sparrow search algorithm for hyperparameter optimization in arbitrage prediction models," PLOS ONE, Public Library of Science, vol. 19(5), pages 1-24, May.
  • Handle: RePEc:plo:pone00:0303688
    DOI: 10.1371/journal.pone.0303688
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0303688
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0303688&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0303688?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Yiyang Zheng, 2022. "Neural Network and Order Flow, Technical Analysis: Predicting short-term direction of futures contract," Papers 2203.12457, arXiv.org.
    2. Luka Jovanovic & Dejan Jovanovic & Nebojsa Bacanin & Ana Jovancai Stakic & Milos Antonijevic & Hesham Magd & Ravi Thirumalaisamy & Miodrag Zivkovic, 2022. "Multi-Step Crude Oil Price Prediction Based on LSTM Approach Tuned by Salp Swarm Algorithm with Disputation Operator," Sustainability, MDPI, vol. 14(21), pages 1-29, November.
    3. Zhang, Chengyu & Ma, Liangdong & Luo, Zhiwen & Han, Xing & Zhao, Tianyi, 2024. "Forecasting building plug load electricity consumption employing occupant-building interaction input features and bidirectional LSTM with improved swarm intelligent algorithms," Energy, Elsevier, vol. 288(C).
    4. Qingfeng “Wilson” Liu, 2005. "Price relations among hog, corn, and soybean meal futures," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 25(5), pages 491-514, May.
    5. Sen Wu & Shuaiqi Liu & Huimin Zong & Yiyuan Sun & Wei Wang, 2023. "Research on a Prediction Model and Influencing Factors of Cross-Regional Price Differences of Rebar Spot Based on Long Short-Term Memory Network," Sustainability, MDPI, vol. 15(6), pages 1-12, March.
    6. Tay, Francis E. H. & Cao, Lijuan, 2001. "Application of support vector machines in financial time series forecasting," Omega, Elsevier, vol. 29(4), pages 309-317, August.
    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. Andreas Röthig & Carl Chiarella, 2007. "Investigating nonlinear speculation in cattle, corn, and hog futures markets using logistic smooth transition regression models," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 27(8), pages 719-737, August.
    2. Fethi, Meryem Duygun & Pasiouras, Fotios, 2010. "Assessing bank efficiency and performance with operational research and artificial intelligence techniques: A survey," European Journal of Operational Research, Elsevier, vol. 204(2), pages 189-198, July.
    3. Deng, S. & Yeh, Tsung-Han, 2011. "Using least squares support vector machines for the airframe structures manufacturing cost estimation," International Journal of Production Economics, Elsevier, vol. 131(2), pages 701-708, June.
    4. Yanqin Bai & Xin Yan, 2016. "Conic Relaxations for Semi-supervised Support Vector Machines," Journal of Optimization Theory and Applications, Springer, vol. 169(1), pages 299-313, April.
    5. Hong-Yu Lin & Kuentai Chen, 2015. "The Trend of Average Unit Price in Taipei City," Research in World Economy, Research in World Economy, Sciedu Press, vol. 6(1), pages 133-142, March.
    6. Noemi Nava & Tiziana Di Matteo & Tomaso Aste, 2018. "Financial Time Series Forecasting Using Empirical Mode Decomposition and Support Vector Regression," Risks, MDPI, vol. 6(1), pages 1-21, February.
    7. Marius Lux & Wolfgang Karl Härdle & Stefan Lessmann, 2020. "Data driven value-at-risk forecasting using a SVR-GARCH-KDE hybrid," Computational Statistics, Springer, vol. 35(3), pages 947-981, September.
    8. Georgi Nalbantov & Philip Hans Franses & Patrick Groenen & Jan Bioch, 2010. "Estimating the Market Share Attraction Model using Support Vector Regressions," Econometric Reviews, Taylor & Francis Journals, vol. 29(5-6), pages 688-716.
    9. Cang, Shuang & Yu, Hongnian, 2014. "A combination selection algorithm on forecasting," European Journal of Operational Research, Elsevier, vol. 234(1), pages 127-139.
    10. Hyejung Chung & Kyung-shik Shin, 2018. "Genetic Algorithm-Optimized Long Short-Term Memory Network for Stock Market Prediction," Sustainability, MDPI, vol. 10(10), pages 1-18, October.
    11. Ślepaczuk Robert & Zenkova Maryna, 2018. "Robustness of Support Vector Machines in Algorithmic Trading on Cryptocurrency Market," Central European Economic Journal, Sciendo, vol. 5(52), pages 186-205, January.
    12. Nava, Noemi & Di Matteo, Tiziana & Aste, Tomaso, 2018. "Financial time series forecasting using empirical mode decomposition and support vector regression," LSE Research Online Documents on Economics 91028, London School of Economics and Political Science, LSE Library.
    13. Juan Laborda & Seyong Ryoo, 2021. "Feature Selection in a Credit Scoring Model," Mathematics, MDPI, vol. 9(7), pages 1-22, March.
    14. Moreno, Sinvaldo Rodrigues & Seman, Laio Oriel & Stefenon, Stefano Frizzo & Coelho, Leandro dos Santos & Mariani, Viviana Cocco, 2024. "Enhancing wind speed forecasting through synergy of machine learning, singular spectral analysis, and variational mode decomposition," Energy, Elsevier, vol. 292(C).
    15. Phichhang Ou & Hengshan Wang, 2009. "Prediction of Stock Market Index Movement by Ten Data Mining Techniques," Modern Applied Science, Canadian Center of Science and Education, vol. 3(12), pages 1-28, December.
    16. Ranjit Kumar Paul & Md Yeasin & C. Tamilselvi & A. K. Paul & Purushottam Sharma & Pratap S. Birthal, 2025. "Can Deep Learning Models Enhance the Accuracy of Agricultural Price Forecasting? Insights From India," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 32(1), March.
    17. Helder Sebastião & Pedro Godinho, 2021. "Forecasting and trading cryptocurrencies with machine learning under changing market conditions," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-30, December.
    18. Rubio, Ginés & Pomares, Héctor & Rojas, Ignacio & Herrera, Luis Javier, 2011. "A heuristic method for parameter selection in LS-SVM: Application to time series prediction," International Journal of Forecasting, Elsevier, vol. 27(3), pages 725-739, July.
    19. Flavio Barboza & Geraldo Nunes Silva & José Augusto Fiorucci, 2023. "A review of artificial intelligence quality in forecasting asset prices," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1708-1728, November.
    20. Frédy Pokou & Jules Sadefo Kamdem & François Benhmad, 2024. "Hybridization of ARIMA with Learning Models for Forecasting of Stock Market Time Series," Computational Economics, Springer;Society for Computational Economics, vol. 63(4), pages 1349-1399, April.

    More about this item

    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:plo:pone00:0303688. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.