Skip to main navigation menu Skip to main content Skip to site footer

Articles

Vol. 60 No. 2 (2026)

Design and Application of a Machine Learning Model for Quantitative Stock Selection Incorporating Association Analysis and Hierarchical Attention Mechanisms

DOI:
https://doi.org/10.24818/18423264/60.2.26.12
Submitted
October 24, 2026

Abstract

The application of machine learning models to assist investors in quantitative stock selection is an emerging topic of interest. However, due to the complex and dynamic nature of stock markets and issues such as market inefficiency, single machine learning models may underperform, and existing ensemble methods risk losing useful information. To address these challenges, this paper designs and optimises a machine learning model tailored to the characteristics of th e Chinese stock market and quantitative stock selection. The model incorporates association analysis into the feature engineering process, generating differentiated datasets through information addition. Furthermore, a hierarchical attention mechanism is introduced in the model integration phase, dynamically assigning weights to base models via "upward integration" and "downward allocation." The model's effectiveness is validated through comparative experiments, ablation studies, and hyperparameter analysis on a self -constructed dataset of over 3.34 million records. Backtesting further demonstrates its practical performance in the stock market, yielding promising results, as expected.

References

  1. [1] Adachi, A., Yamashita , T., Kanaya , S., Kosugi , Y. (2023) , Ensemble Machine
  2. Learning Approaches Based on Molecular Descriptors and Graph Convolutional
  3. Networks for Predicting the Efflux Activities of MDR1 and BCRP Transporters. The
  4. AAPS Journal, 25(5), 1-10.
  5. [2] Bagui, S.C. (2005), Combining Pattern Classifiers: Methods and Algorithms.
  6. Technometrics, (47), 517-518.
  7. [3] Breiman, L. (1996), Bagging Predictors. Machine Learning, (24), 123-140.
  8. [4] Chai, Y. (2024) , Emotion Intensity Detection in Online Media: An Attention
  9. Mechanism Based Multimodal Deep Learning Approach. Tehnicki vjesnik –Technical
  10. Gazette, 31(2), 587-595.
  11. [5] Chan, K., Hameed , A. (2006) , Stock Price Synchronicity and An alyst Coverage in
  12. Emerging Markets. Journal of Financial Economics, 80(1), 115-147.
  13. [6] Choi, Y.R., Lim , D.J. (2021) , DDES: A Distribution -Based Dynamic Ensemble
  14. Selection Framework. IEEE Access, (9), 40743-40754.
  15. [7] Cunningham, P., Carney , J. (2000) , Diversity v ersus Quality in Classification
  16. Ensembles Based on Feature Selection. European Conference on Machine Learning.
  17. (Jan), 1-9.
  18. [8] Dikici, S., Bilgin , T.T. (2025) , Advancements in Automated Program Repair: A
  19. Comprehensive Review. Knowledge and Information Systems, 67(6), 4737-4783.
  20. [9] Duan, B.L., Wang , R.F., Zhang, R. (2022) , Economic Links and Stock Returns in
  21. Chinese A-Share Market. Journal of Financial Research, (2), 171-188.
  22. [10] Feng, S.B., Xu, C., Zuo, Y., Chen, G., Lin, F., XiaHou, J.B. (2022) , Relation-Aware
  23. Dynamic Attributed Graph Attention Network for Stocks Recommendation. Pattern
  24. Recognition, (121), 108-119.
  25. [11] Ge, Y.B., Liu , W.J., Gu , Y.C. (2024) , Stock Price Prediction Method by Fusing
  26. Sentiment Analysis and GAN -TrellisNet. Computer Engineering and Applications,
  27. 60(12), 314-324.
  28. [12] Htun H.H., Biehl M., Petkov N. (2023) , Survey of Feature Selection and Extraction
  29. Techniques for Stock Market Prediction. Financial Innovation, 9(1).
  30. [13] Kim H, Moon K. S. (2024) , Optimal Data Construction in Supervised Machine
  31. Learning for Financial Prediction. Economic Computation and Economic Cybernetics
  32. Studies and Research, 58(1), 5-20.
  33. [14] Ko, H., Wang, B., Lim, J.S. (2024), Grad-CAM-Based Feature Selection and Dementia
  34. Classification Algorithm Using Voice Data. Tehnicki vjesnik–Technical Gazette, 31(6),
  35. 2036-2044.
  36. Design and Application of a Machine Learning Model for Quantitative Stock Selection …
  37. Vol. 60, Issue 2/2026 241
  38. [15] Lee, W.S., Lee, H.S. (2024), Asymmetric Volatility Connectedness Among G7 Stock
  39. Markets. Economic Computation and Economic Cybernetics Studies and Research,
  40. 58(1),87-103.
  41. [16] Li, B., Tu, X.Y. (2024), Research on Portfolio Selection Based on Machine Learning
  42. and Asset Characteristics. Systems Engineering - Theory & Practice, 44(1), 338-359.
  43. [17] Li, X.H., Wang , J., Jia , H.D., Xiao , L. (2022) , Stock Market Volatility Prediction
  44. Method Based on Graph Neural Network with Multi-Attention Mechanism. Journal of
  45. Computer Applications, 42(7), 2265-2273.
  46. [18] Liu, A.Y., Yue , D.Z., Chen , J.L., Chen , H. (2024) , Deep Learning for Intelligent
  47. Production Scheduling Optimization. International Journal of Simulation Modelling,
  48. 23(1), 172-183.
  49. [19] Liu, H.Z., D u, Y.P., W u, Z.H. (2019), AEM: Attentional Ensemble Model for
  50. Personalized Classifier Weight Learning. Pattern Recognit, 96(7), 1-8.
  51. [20] Liu, Z., Liu, X., Zhou, L. (2024), A Hybrid CNN and LSTM based Model for Financial
  52. Crisis Prediction. Tehnicki vjesnik–Technical Gazette, 31(1), 185-192.
  53. [21] Mesa, J.P., Montoya , A., Ramos -Pollan, R., Toro, M. (2025) , Machine-Learning
  54. Component for Multi -Start Metaheuristics to Solve the Capacitated Vehicle Routing
  55. Problem. Applied Soft Computing, (173), 112916-112916.
  56. [22] Niu, Z., Zhong, G., Yu , H. (2021) , A Review on the Attention Mechanism of Deep
  57. Learning. Neurocomputing, (452), 48-62.
  58. [23] Parsons, C.A., Sabbatucci, R., Titman, S. (2020), Geographic Lead-Lag Effects. The
  59. Review of Financial Studies, 33(10), 4721-4770.
  60. [24] Qin, C., C hang, J., Tu , W.T., Yu , C.R. (2024) , Follow AKO Investor: Stock
  61. Recommendation by Hearing Voices from all Kinds of Investors with Machine
  62. Learning. Expert Systems with Applications, 249(B).
  63. [25] Song, Z.Y., Zhou, Z.B., Yu, L.A., Ren, T.T. (2024), Portfolio Optimization Strategy
  64. with a hybrid Ensemble Forecasting Algorithm and Black -Litterman Model. Chinese
  65. Journal of Management Science, (5), 1-12.
  66. [26] Praveena, S. , Prasanna Devi, S. (2024) , A Sporadic Classification and Regression-
  67. Based Approach to Intermittent Demand Forecasting in Smart Supply Chain. Tehnicki
  68. vjesnik–Technical Gazette, 31(5), 1544-1552.
  69. [27] Thiruvenkatasamy, S., Sivaraj , R., Vijayakumar , M. (2024) , Blockchain Assisted
  70. Fireworks Optimization with Machine Learning based Intrusion Detection System
  71. (IDS). Tehnicki vjesnik–Technical Gazette, 31(2), 596-603.
  72. [28] Tsinaslanidis, P.E., Kugiumtzis, D. (2014), A Prediction Scheme Using Perceptually
  73. Important Points and Dynamic Time Warping. Expert Systems with Applications ,
  74. 41(15), 6848-6860.
  75. [29] Wolpert, D.H. (1992), Stacked Generalization. Neural Networks, 5(2), 241-59.
  76. [30] Xie, W., He, J., Huang, F., Ren, J. (2024), Supply Chain Financial Fraud Detection
  77. Based on Graph Neural Network and Knowledge Graph. Tehnicki vjesnik –Technical
  78. Gazette, 31(6), 2055-2063.
  79. Yuheng Zhang, Xin’e Li
  80. 242 Vol. 60, Issue 2/2026
  81. [31] Yin, X.C., Huang, K.Z., Yang, C., Hao H.W. (2014), Convex Ensemble Learning with
  82. Sparsity and Diversity. Information Fusion, (20),49-59.
  83. [32] Zhang, Q., Gong, Y.X., Zhang, X., Cai, X.L., Zheng, J. (2023), Intelligent Passenger
  84. Flow Analysis System for Urban Rail Transit Trains Based on Heterogeneous
  85. Ensemble Learning Method. Railway Computer Application, 32(7), 73-78.
  86. [33] Zhang, X. (2024), Visual Communication Design of Weak and Small Target Images
  87. Based on Image Processing Model and Data Fusion. Tehnicki vjesnik –Technical
  88. Gazette, 31(3), 815-823.
  89. [34] Zhou, L. (2021), Research on Multi-Factor Stock Investment Based on Random Forest
  90. Model. Financial Theory & Practice, (7), 97-103.

Similar Articles

1-10 of 1646

You may also start an advanced similarity search for this article.