A Hybrid Quantum-Classical Model for Stock Price Prediction Using Quantum-Enhanced Long Short-Term Memory.

Kimleang Kea, Dongmin Kim, Chansreynich Huot, Tae-Kyung Kim, Youngsun Han
Author Information
  1. Kimleang Kea: Department of AI Convergence, Pukyong National University, Nam-gu, Busan 48513, Republic of Korea. ORCID
  2. Dongmin Kim: Department of AI Convergence, Pukyong National University, Nam-gu, Busan 48513, Republic of Korea. ORCID
  3. Chansreynich Huot: Department of AI Convergence, Pukyong National University, Nam-gu, Busan 48513, Republic of Korea. ORCID
  4. Tae-Kyung Kim: Department of Management Information Systems, Chungbuk National University, Seowon-Gu, Cheongju 28644, Republic of Korea. ORCID
  5. Youngsun Han: Department of AI Convergence, Pukyong National University, Nam-gu, Busan 48513, Republic of Korea. ORCID

Abstract

The stock markets have become a popular topic within machine learning (ML) communities, with one particular application being stock price prediction. However, accurately predicting the stock market is a challenging task due to the various factors within financial markets. With the introduction of ML, prediction techniques have become more efficient but computationally demanding for classical computers. Given the rise of quantum computing (QC), which holds great promise for being exponentially faster than current classical computers, it is natural to explore ML within the QC domain. In this study, we leverage a hybrid quantum-classical ML approach to predict a company's stock price. We integrate classical long short-term memory (LSTM) with QC, resulting in a new variant called QLSTM. We initially validate the proposed QLSTM model by leveraging an IBM quantum simulator running on a classical computer, after which we conduct predictions using an IBM real quantum computer. Thereafter, we evaluate the performance of our model using the root mean square error (RMSE) and prediction accuracy. Additionally, we perform a comparative analysis, evaluating the prediction performance of the QLSTM model against several other classical models. Further, we explore the impacts of hyperparameters on the QLSTM model to determine the best configuration. Our experimental results demonstrate that while the classical LSTM model achieved an RMSE of 0.0693 and a prediction accuracy of 0.8815, the QLSTM model exhibited superior performance, achieving values of 0.0602 and 0.9736, respectively. Furthermore, the QLSTM outperformed other classical models in both metrics.

Keywords

References

  1. Nat Comput Sci. 2022 Sep;2(9):567-576 [PMID: 38177473]
  2. Sci Rep. 2020 Sep 7;10(1):14687 [PMID: 32895412]
  3. Nat Commun. 2018 Nov 16;9(1):4812 [PMID: 30446662]
  4. NPJ Digit Med. 2021 Jan 8;4(1):5 [PMID: 33420381]
  5. Vis Comput Ind Biomed Art. 2021 Apr 29;4(1):9 [PMID: 33913057]
  6. Nat Commun. 2021 Mar 19;12(1):1791 [PMID: 33741913]
  7. Entropy (Basel). 2023 Feb 03;25(2): [PMID: 36832654]
  8. Nature. 2018 Jul;559(7715):547-555 [PMID: 30046072]
  9. Nature. 2023 Jun;618(7965):500-505 [PMID: 37316724]

Grants

  1. (2023RIS-007)/"Regional Innovation Strategy (RIS)" through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (MOE)

Word Cloud

Created with Highcharts 10.0.0classicalpredictionQLSTMmodelstockMLquantum0withinpriceQCperformancemarketsbecomemachinelearningcomputersexplorelongshort-termmemoryLSTMIBMcomputerusingRMSEaccuracyanalysismodelspopulartopiccommunitiesoneparticularapplicationHoweveraccuratelypredictingmarketchallengingtaskduevariousfactorsfinancialintroductiontechniquesefficientcomputationallydemandingGivenrisecomputingholdsgreatpromiseexponentiallyfastercurrentnaturaldomainstudyleveragehybridquantum-classicalapproachpredictcompany'sintegrateresultingnewvariantcalledinitiallyvalidateproposedleveragingsimulatorrunningconductpredictionsrealThereafterevaluaterootmeansquareerrorAdditionallyperformcomparativeevaluatingseveralimpactshyperparametersdeterminebestconfigurationexperimentalresultsdemonstrateachieved06938815exhibitedsuperiorachievingvalues06029736respectivelyFurthermoreoutperformedmetricsHybridQuantum-ClassicalModelStockPricePredictionUsingQuantum-EnhancedLongShort-TermMemoryAIfinancetime-series

Similar Articles

Cited By

No available data.