Transfer Learning with Pre-trained ResNet-50: Predicting SPX Option Prices

Authors

  • Zihao Lin

DOI:

https://doi.org/10.54097/f0genp97

Keywords:

ResNet-50, CNN, Option Price, Transfer Learning

Abstract

Due to the volatility and complexity of the options market, it has exacerbated the difficulty of predicting option prices and attracted widespread attention. In recent years, many machine learning (ML) techniques have been explored for this purpose. This paper implements the advanced ML models to boost the accurate prediction of the option price, which includes the comparison between traditional ML techniques Random Forest and Support Vector Regression (SVR), as well as the Convolutional Neural Network (CNN) ResNet-50. Additionally, we further compare the performance of ResNet-50 pre-trained on ImageNet through transfer learning. These methods are used to predict the implied volatility, which is then transformed into option pricing using the Black–Scholes Option Pricing Model (BSOPM). Finally, we compare the performance of these models based on error analysis using RMSE and R². The experimental results show that the pre-trained ResNet-50 reduces the error by 6% compared to the un-pretrained ResNet-50, by 51.2% compared to Decision Trees, and by 51.1% compared to SVR. The predicted option prices align well with the actual values, demonstrating the feasibility of applying pre-trained ResNet-50 on option price prediction.

Downloads

Download data is not yet available.

References

[1] Business Development Bank of Canada. (n.d.). How to use stock options to recruit, retain and motivate start-up employees. BDC.ca. Retrieved from https://www.bdc.ca/en/articles-tools/employees/manage/how-to-use-stock-options-to-recruit-retain-motivate-start-up-employees.

[2] Bullish Bears. (n.d.). Trading options for a living. *Bullish Bears*. Retrieved from https://bullishbears.com/trading-options-for-a-living/.

[3] Shin, Hoo-Chang, et al. "Deep convolutional neural networks for computer-aided detection: CNN architectures, dataset characteristics and transfer learning." IEEE transactions on medical imaging 35.5 (2016): 1285-1298.

[4] Sharif Razavian, Ali, et al. "CNN features off-the-shelf: an astounding baseline for recognition." Proceedings of the IEEE conference on computer vision and pattern recognition workshops. 2014.

[5] Huh, Minyoung, Pulkit Agrawal, and Alexei A. Efros. "What makes ImageNet good for transfer learning?." arXiv preprint arXiv:1608.08614 (2016).

[6] Sezer, Omer Berat, Mehmet Ugur Gudelek, and Ahmet Murat Ozbayoglu. "Financial time series forecasting with deep learning: A systematic literature review: 2005–2019." Applied soft computing 90 (2020): 106181.

[7] Doering, Jonathan, Michael Fairbank, and Sheri Markose. "Convolutional neural networks applied to high-frequency market microstructure forecasting." 2017 9th computer science and electronic engineering (ceec). IEEE, 2017.

[8] Kovalerchuk, Boris, Bedant Agarwal, and Divya Chandrika Kall. "Solving non-image learning problems by mapping to images." 2020 24th International Conference Information Visualisation (IV). IEEE, 2020.

[9] Ivașcu, Codruț-Florin. "Option pricing using machine learning." Expert Systems with Applications 163 (2021): 113799.

[10] Breiman, Leo. "Random forests." Machine learning 45 (2001): 5-32.

[11] Pedregosa, Fabian, et al. "Scikit-learn: Machine Learning in Python." Journal of Machine Learning Research, vol. 12, 2011, pp. 2825-2830. Scikit-learn, https://scikit-learn.org/ stable/ modules/ svm.html.

[12] Zhou Zhihua. CSDN. (2018). Retrieved from https:// blog.csdn.net/weixin_37160123/article/details/80963892.

[13] He, Kaiming, et al. "Deep residual learning for image recognition." Proceedings of the IEEE conference on computer vision and pattern recognition. 2016.

[14] Bing.ResNet50 Network architecture diagram and detailed structure explanation [EB/OL].(2021-02-26)[2022-05-31]. zhuanlan. zhihu.com/p/353235794.

[15] Kovalerchuk B, Agarwal B, Kall D C. Solving non-image learning problems by mapping to images[C]//2020 24th International Conference Information Visualisation (IV). IEEE, 2020: 264-269.

[16] Vitalflux. (2023). MSE vs RMSE vs MAE vs MAPE vs R-Squared: When to Use?. *Vitalflux*. Retrieved from https:// vitalflux.com/mse-vs-rmse-vs-mae-vs-mape-vs-r-squared-when-to-use/.

[17] Homescu, Cristian. "Implied volatility surface: Construction methodologies and characteristics." arXiv preprint arXiv:1107. 1834 (2011).

[18] Kumar, Santosh, et al. "The Six Decades of the Capital Asset Pricing Model: A Research Agenda." Journal of Risk and Financial Management 16.8 (2023): 356.

Downloads

Published

28-10-2024

Issue

Section

Articles