Skip to main content
QUICK REVIEW

[Paper Review] Forecasting Stock Market with Support Vector Regression and Butterfly Optimization Algorithm

Mohammadreza Ghanbari, Hamidreza Arian|arXiv (Cornell University)|May 27, 2019
Stock Market Forecasting MethodsDecision Sciences37 references9 citations
TL;DR

This paper proposes a novel BOA-SVR model that combines Support Vector Regression (SVR) with the Butterfly Optimization Algorithm (BOA) to enhance stock market prediction accuracy and efficiency. By using BOA to optimize SVR's key parameters (C, γ, ε), the model achieves superior performance in both prediction accuracy (measured by MSE and MAPE) and computational speed across three NASDAQ stocks, outperforming 11 other metaheuristic-based SVR models.

ABSTRACT

Support Vector Regression (SVR) has achieved high performance on forecasting future behavior of random systems. However, the performance of SVR models highly depends upon the appropriate choice of SVR parameters. In this study, a novel BOA-SVR model based on Butterfly Optimization Algorithm (BOA) is presented. The performance of the proposed model is compared with eleven other meta-heuristic algorithms on a number of stocks from NASDAQ. The results indicate that the presented model here is capable to optimize the SVR parameters very well and indeed is one of the best models judged by both prediction performance accuracy and time consumption.

Motivation & Objective

  • To address the critical challenge of optimal parameter selection in SVR for financial time series forecasting.
  • To propose a novel hybrid BOA-SVR model that leverages the Butterfly Optimization Algorithm for efficient SVR parameter calibration.
  • To evaluate the BOA-SVR model's performance against 11 established metaheuristic algorithms in terms of prediction accuracy and computational efficiency.
  • To demonstrate the effectiveness of BOA as a competitive optimization technique for non-linear, non-convex parameter calibration in financial modeling.

Proposed method

  • The study employs Phase Space Reconstruction using embedding dimension (m) and time delay (τ) to transform raw stock price time series into a multi-dimensional input space.
  • Support Vector Regression (SVR) is applied using a radial basis function (RBF) kernel, with three key parameters: penalty factor (C), kernel width (γ), and epsilon tube radius (ε).
  • The Butterfly Optimization Algorithm (BOA) is used to search the parameter space of SVR, mimicking butterfly foraging behavior with fragrance-based information sharing and probabilistic movement decisions.
  • BOA optimizes the SVR parameters by minimizing the Mean Squared Error (MSE) and Mean Absolute Percentage Error (MAPE) on training data.
  • The performance of BOA-SVR is benchmarked against 11 other metaheuristic algorithms: PSO, GA, SSA, BBO, FA, HSO, SCA, ABC, IWO, CSA, and TLBO, all applied to SVR parameter tuning.
  • The model is validated on daily closing prices of Microsoft, Facebook, and Intel stocks from NASDAQ, with results analyzed via MSE, MAPE, and Diebold-Mariano tests for statistical significance.

Experimental results

Research questions

  • RQ1Can the Butterfly Optimization Algorithm (BOA) effectively optimize the parameters of Support Vector Regression (SVR) for stock price prediction?
  • RQ2How does the BOA-SVR model compare to 11 other metaheuristic algorithms in terms of prediction accuracy and computational efficiency on financial time series?
  • RQ3Does the BOA-SVR model achieve statistically superior performance compared to baseline SVR and other metaheuristic-SVR hybrids?
  • RQ4What are the optimal parameter values (C, γ, ε) for SVR when tuned by BOA across different stocks?
  • RQ5Is the BOA-SVR model robust and consistent across multiple financial time series datasets?

Key findings

  • The BOA-SVR model achieved the lowest Mean Squared Error (MSE) of 0.0015 on Microsoft stock, outperforming all 11 competing models.
  • For Facebook, the BOA-SVR model recorded an MSE of 0.0016 and a MAPE of 0.1284, ranking among the top performers in accuracy.
  • On Intel stock, BOA-SVR achieved an MSE of 0.0017 and a MAPE of 0.0451, with a computational cost of only 6.58 seconds, making it one of the fastest models tested.
  • The Diebold-Mariano test confirmed that BOA-SVR significantly outperformed PSO-SVR, GA-SVR, BBO-SVR, and other models on Microsoft and Facebook, with p-values indicating statistical significance.
  • The BOA-SVR model demonstrated the best balance of accuracy and speed, with computational times consistently lower than most competitors, including FA-SVR (70.8 seconds) and ABC-SVR (52.9 seconds).
  • The calibrated parameters for Microsoft using BOA-SVR were C = 31.2107, γ = 0.0273, and ε = 0.0225, yielding optimal performance across all metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.