Improving long short-term memory (LSTM) networks for arbitrage spread forecasting: integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracy

Long short-term memory (LSTM) networks, widely used for financial time series forecasting, face challenges in arbitrage spread prediction, especially in hyperparameter tuning for large datasets. These issues affect model complexity and adaptability to market dynamics. Existing heuristic algorithms f...

Full description

Saved in:
Bibliographic Details
Main Authors: Mingfu Zhu, Yaxing Liu, Panke Qin, Yongjie Ding, Zhongqi Cai, Zhenlun Gao, Bo Ye, Haoran Qi, Shenjie Cheng, Zeliang Zeng
Format: Article
Language:English
Published: PeerJ Inc. 2024-12-01
Series:PeerJ Computer Science
Subjects:
Online Access:https://peerj.com/articles/cs-2552.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1846122542637514752
author Mingfu Zhu
Yaxing Liu
Panke Qin
Yongjie Ding
Zhongqi Cai
Zhenlun Gao
Bo Ye
Haoran Qi
Shenjie Cheng
Zeliang Zeng
author_facet Mingfu Zhu
Yaxing Liu
Panke Qin
Yongjie Ding
Zhongqi Cai
Zhenlun Gao
Bo Ye
Haoran Qi
Shenjie Cheng
Zeliang Zeng
author_sort Mingfu Zhu
collection DOAJ
description Long short-term memory (LSTM) networks, widely used for financial time series forecasting, face challenges in arbitrage spread prediction, especially in hyperparameter tuning for large datasets. These issues affect model complexity and adaptability to market dynamics. Existing heuristic algorithms for LSTM often struggle to capture the complex dynamics of futures spread data, limiting prediction accuracy. We propose an integrated Cuckoo and Zebra Algorithms-optimised LSTM (ICS-LSTM) network for arbitrage spread prediction. This method replaces the Lévy flight in the Cuckoo algorithm with the Zebra algorithm search, improving convergence speed and solution optimization. Experimental results showed a mean absolute percentage error (MAPE) of 0.011, mean square error (MSE) of 3.326, mean absolute error (MAE) of 1.267, and coefficient of determination (R2) of 0.996. The proposed model improved performance by reducing MAPE by 8.3–50.0%, MSE by 10.2–77.8%, and MAE by 9.3–63.0% compared to existing methods. These improvements translate to more accurate spread predictions, enhancing arbitrage opportunities and trading strategy profitability.
format Article
id doaj-art-8539ae7f108a43ac9b3b977d0a22169e
institution Kabale University
issn 2376-5992
language English
publishDate 2024-12-01
publisher PeerJ Inc.
record_format Article
series PeerJ Computer Science
spelling doaj-art-8539ae7f108a43ac9b3b977d0a22169e2024-12-14T15:05:18ZengPeerJ Inc.PeerJ Computer Science2376-59922024-12-0110e255210.7717/peerj-cs.2552Improving long short-term memory (LSTM) networks for arbitrage spread forecasting: integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracyMingfu Zhu0Yaxing Liu1Panke Qin2Yongjie Ding3Zhongqi Cai4Zhenlun Gao5Bo Ye6Haoran Qi7Shenjie Cheng8Zeliang Zeng9Henan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaHenan Polytechnic University, School of Computer Science and Technology, Jiaozuo, Henan, ChinaLong short-term memory (LSTM) networks, widely used for financial time series forecasting, face challenges in arbitrage spread prediction, especially in hyperparameter tuning for large datasets. These issues affect model complexity and adaptability to market dynamics. Existing heuristic algorithms for LSTM often struggle to capture the complex dynamics of futures spread data, limiting prediction accuracy. We propose an integrated Cuckoo and Zebra Algorithms-optimised LSTM (ICS-LSTM) network for arbitrage spread prediction. This method replaces the Lévy flight in the Cuckoo algorithm with the Zebra algorithm search, improving convergence speed and solution optimization. Experimental results showed a mean absolute percentage error (MAPE) of 0.011, mean square error (MSE) of 3.326, mean absolute error (MAE) of 1.267, and coefficient of determination (R2) of 0.996. The proposed model improved performance by reducing MAPE by 8.3–50.0%, MSE by 10.2–77.8%, and MAE by 9.3–63.0% compared to existing methods. These improvements translate to more accurate spread predictions, enhancing arbitrage opportunities and trading strategy profitability.https://peerj.com/articles/cs-2552.pdfLSTM networksArbitrage spread forecastingHyperparameter settingCuckoo algorithmZebra algorithm
spellingShingle Mingfu Zhu
Yaxing Liu
Panke Qin
Yongjie Ding
Zhongqi Cai
Zhenlun Gao
Bo Ye
Haoran Qi
Shenjie Cheng
Zeliang Zeng
Improving long short-term memory (LSTM) networks for arbitrage spread forecasting: integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracy
PeerJ Computer Science
LSTM networks
Arbitrage spread forecasting
Hyperparameter setting
Cuckoo algorithm
Zebra algorithm
title Improving long short-term memory (LSTM) networks for arbitrage spread forecasting: integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracy
title_full Improving long short-term memory (LSTM) networks for arbitrage spread forecasting: integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracy
title_fullStr Improving long short-term memory (LSTM) networks for arbitrage spread forecasting: integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracy
title_full_unstemmed Improving long short-term memory (LSTM) networks for arbitrage spread forecasting: integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracy
title_short Improving long short-term memory (LSTM) networks for arbitrage spread forecasting: integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracy
title_sort improving long short term memory lstm networks for arbitrage spread forecasting integrating cuckoo and zebra algorithms in chaotic mapping space for enhanced accuracy
topic LSTM networks
Arbitrage spread forecasting
Hyperparameter setting
Cuckoo algorithm
Zebra algorithm
url https://peerj.com/articles/cs-2552.pdf
work_keys_str_mv AT mingfuzhu improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT yaxingliu improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT pankeqin improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT yongjieding improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT zhongqicai improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT zhenlungao improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT boye improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT haoranqi improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT shenjiecheng improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy
AT zeliangzeng improvinglongshorttermmemorylstmnetworksforarbitragespreadforecastingintegratingcuckooandzebraalgorithmsinchaoticmappingspaceforenhancedaccuracy