IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i21p3376-d1508612.html
   My bibliography  Save this article

Enhancing Portfolio Optimization: A Two-Stage Approach with Deep Learning and Portfolio Optimization

Author

Listed:
  • Shiguo Huang

    (School of Mathematics and Statistics, Guizhou University, Guiyang 550025, China
    College of Mathematics and Information Science, Zhengzhou University of Light Industry, Zhengzhou 450001, China)

  • Linyu Cao

    (College of Mathematics and Information Science, Zhengzhou University of Light Industry, Zhengzhou 450001, China)

  • Ruili Sun

    (College of Mathematics and Information Science, Zhengzhou University of Light Industry, Zhengzhou 450001, China)

  • Tiefeng Ma

    (School of Statistics, Southwestern University of Finance and Economics, Chengdu 611130, China)

  • Shuangzhe Liu

    (Faculty of Science & Technology, University of Canberra, Canberra 2617, Australia)

Abstract

The portfolio selection problem has been a central focus in financial research. A complete portfolio selection process includes two stages: stock pre-selection and portfolio optimization. However, most existing studies focus on portfolio optimization, often overlooking stock pre-selection. To address this problem, this paper presents a novel two-stage approach that integrates deep learning with portfolio optimization. In the first stage, we develop a stock trend prediction model for stock pre-selection called the AGC-CNN model, which leverages a convolutional neural network (CNN), self-attention mechanism, Graph Convolutional Network (GCN), and k-reciprocal nearest neighbors (k-reciprocal NN). Specifically, we utilize a CNN to capture individual stock information and a GCN to capture relationships among stocks. Moreover, we incorporate the self-attention mechanism into the GCN to extract deeper data features and employ k-reciprocal NN to enhance the accuracy and robustness of the graph structure in the GCN. In the second stage, we employ the Global Minimum Variance (GMV) model for portfolio optimization, culminating in the AGC-CNN+GMV two-stage approach. We empirically validate the proposed two-stage approach using real-world data through numerical studies, achieving a roughly 35% increase in Cumulative Returns compared to portfolio optimization models without stock pre-selection, demonstrating its robust performance in the Average Return, Sharp Ratio, Turnover-adjusted Sharp Ratio, and Sortino Ratio.

Suggested Citation

  • Shiguo Huang & Linyu Cao & Ruili Sun & Tiefeng Ma & Shuangzhe Liu, 2024. "Enhancing Portfolio Optimization: A Two-Stage Approach with Deep Learning and Portfolio Optimization," Mathematics, MDPI, vol. 12(21), pages 1-21, October.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:21:p:3376-:d:1508612
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/21/3376/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/21/3376/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ledoit, Olivier & Wolf, Michael, 2004. "A well-conditioned estimator for large-dimensional covariance matrices," Journal of Multivariate Analysis, Elsevier, vol. 88(2), pages 365-411, February.
    2. Yawei Li & Shuqi Lv & Xinghua Liu & Qiuyue Zhang & Siew Ann Cheong, 2022. "Incorporating Transformers and Attention Networks for Stock Movement Prediction," Complexity, Hindawi, vol. 2022, pages 1-10, February.
    3. John L. Evans & Stephen H. Archer, 1968. "Diversification And The Reduction Of Dispersion: An Empirical Analysis," Journal of Finance, American Finance Association, vol. 23(5), pages 761-767, December.
    4. Ledoit, Oliver & Wolf, Michael, 2008. "Robust performance hypothesis testing with the Sharpe ratio," Journal of Empirical Finance, Elsevier, vol. 15(5), pages 850-859, December.
    5. Bodnar, Taras & Mazur, Stepan & Okhrin, Yarema, 2017. "Bayesian estimation of the global minimum variance portfolio," European Journal of Operational Research, Elsevier, vol. 256(1), pages 292-307.
    6. Vitali Alexeev & Mardi Dungey, 2015. "Equity portfolio diversification with high frequency data," Quantitative Finance, Taylor & Francis Journals, vol. 15(7), pages 1205-1215, July.
    7. Victor DeMiguel & Lorenzo Garlappi & Francisco J. Nogales & Raman Uppal, 2009. "A Generalized Approach to Portfolio Optimization: Improving Performance by Constraining Portfolio Norms," Management Science, INFORMS, vol. 55(5), pages 798-812, May.
    8. Lan, Wei & Wang, Hansheng & Tsai, Chih-Ling, 2012. "A Bayesian information criterion for portfolio selection," Computational Statistics & Data Analysis, Elsevier, vol. 56(1), pages 88-99, January.
    9. Thomas Holgersson & Peter Karlsson & Andreas Stephan, 2020. "A risk perspective of estimating portfolio weights of the global minimum-variance portfolio," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 104(1), pages 59-80, March.
    10. Ledoit, Olivier & Wolf, Michael, 2003. "Improved estimation of the covariance matrix of stock returns with an application to portfolio selection," Journal of Empirical Finance, Elsevier, vol. 10(5), pages 603-621, December.
    11. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    12. Bian, Zhicun & Liao, Yin & O’Neill, Michael & Shi, Jing & Zhang, Xueyong, 2020. "Large-scale minimum variance portfolio allocation using double regularization," Journal of Economic Dynamics and Control, Elsevier, vol. 116(C).
    13. Shengdong Mu & Boyu Liu & Jijian Gu & Chaolung Lien & Nedjah Nadia, 2024. "Research on Stock Index Prediction Based on the Spatiotemporal Attention BiLSTM Model," Mathematics, MDPI, vol. 12(18), pages 1-20, September.
    14. Gabriel Rodrigues Palma & Mariusz Skocze'n & Phil Maguire, 2024. "Combining supervised and unsupervised learning methods to predict financial market movements," Papers 2409.03762, arXiv.org.
    15. Tri M. Hoang, 2022. "Active portfolio management for the emerging and frontier markets: the use of multivariate time series forecasts," Cogent Economics & Finance, Taylor & Francis Journals, vol. 10(1), pages 2114163-211, December.
    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. Candelon, B. & Hurlin, C. & Tokpavi, S., 2012. "Sampling error and double shrinkage estimation of minimum variance portfolios," Journal of Empirical Finance, Elsevier, vol. 19(4), pages 511-527.
    2. McDowell, Shaun, 2018. "An empirical evaluation of estimation error reduction strategies applied to international diversification," Journal of Multinational Financial Management, Elsevier, vol. 44(C), pages 1-13.
    3. Füss, Roland & Miebs, Felix & Trübenbach, Fabian, 2014. "A jackknife-type estimator for portfolio revision," Journal of Banking & Finance, Elsevier, vol. 43(C), pages 14-28.
    4. Xing, Xin & Hu, Jinjin & Yang, Yaning, 2014. "Robust minimum variance portfolio with L-infinity constraints," Journal of Banking & Finance, Elsevier, vol. 46(C), pages 107-117.
    5. Victor DeMiguel & Francisco J. Nogales & Raman Uppal, 2014. "Stock Return Serial Dependence and Out-of-Sample Portfolio Performance," The Review of Financial Studies, Society for Financial Studies, vol. 27(4), pages 1031-1073.
    6. Santos, André Alves Portela & Ferreira, Alexandre R., 2017. "On the choice of covariance specifications for portfolio selection problems," Brazilian Review of Econometrics, Sociedade Brasileira de Econometria - SBE, vol. 37(1), May.
    7. Kourtis, Apostolos & Dotsis, George & Markellos, Raphael N., 2012. "Parameter uncertainty in portfolio selection: Shrinking the inverse covariance matrix," Journal of Banking & Finance, Elsevier, vol. 36(9), pages 2522-2531.
    8. Behr, Patrick & Guettler, Andre & Miebs, Felix, 2013. "On portfolio optimization: Imposing the right constraints," Journal of Banking & Finance, Elsevier, vol. 37(4), pages 1232-1242.
    9. Caner, Mehmet & Medeiros, Marcelo & Vasconcelos, Gabriel F.R., 2023. "Sharpe Ratio analysis in high dimensions: Residual-based nodewise regression in factor models," Journal of Econometrics, Elsevier, vol. 235(2), pages 393-417.
    10. Kremer, Philipp J. & Lee, Sangkyun & Bogdan, Małgorzata & Paterlini, Sandra, 2020. "Sparse portfolio selection via the sorted ℓ1-Norm," Journal of Banking & Finance, Elsevier, vol. 110(C).
    11. Olivier Ledoit & Michael Wolf, 2014. "Nonlinear shrinkage of the covariance matrix for portfolio selection: Markowitz meets Goldilocks," ECON - Working Papers 137, Department of Economics - University of Zurich, revised Feb 2017.
    12. Miralles-Marcelo, José Luis & Miralles-Quirós, María del Mar & Miralles-Quirós, José Luis, 2015. "Improving international diversification benefits for US investors," The North American Journal of Economics and Finance, Elsevier, vol. 32(C), pages 64-76.
    13. Bodnar, Taras & Parolya, Nestor & Schmid, Wolfgang, 2018. "Estimation of the global minimum variance portfolio in high dimensions," European Journal of Operational Research, Elsevier, vol. 266(1), pages 371-390.
    14. Behr, Patrick & Guettler, Andre & Truebenbach, Fabian, 2012. "Using industry momentum to improve portfolio performance," Journal of Banking & Finance, Elsevier, vol. 36(5), pages 1414-1423.
    15. Ruili Sun & Tiefeng Ma & Shuangzhe Liu, 2018. "A Stein-type shrinkage estimator of the covariance matrix for portfolio selections," Metrika: International Journal for Theoretical and Applied Statistics, Springer, vol. 81(8), pages 931-952, November.
    16. DeMiguel, Victor & Martin-Utrera, Alberto & Nogales, Francisco J., 2013. "Size matters: Optimal calibration of shrinkage estimators for portfolio selection," Journal of Banking & Finance, Elsevier, vol. 37(8), pages 3018-3034.
    17. McDowell, Shaun, 2018. "The benefits of international diversification with weight constraints: A cross-country examination," The Quarterly Review of Economics and Finance, Elsevier, vol. 69(C), pages 99-109.
    18. Tuan Tran & Nhat Nguyen, 2022. "Improving Portfolio Liquidity with Cash-Value-at-Risk for Covariance Estimations in Quantitative Trading," Working Papers hal-03647881, HAL.
    19. Mishra, Anil V., 2016. "Foreign bias in Australian-domiciled mutual fund holdings," Pacific-Basin Finance Journal, Elsevier, vol. 39(C), pages 101-123.
    20. Liusha Yang & Romain Couillet & Matthew R. McKay, 2015. "A Robust Statistics Approach to Minimum Variance Portfolio Optimization," Papers 1503.08013, arXiv.org.

    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:gam:jmathe:v:12:y:2024:i:21:p:3376-:d:1508612. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.