Reduced Stacking Classifier Model with Optimized feature Selection for Efficient Phishing Website Detection
Abstract
Phishing websites remain an effective vehicle for credential theft and financial fraud, while machine-learning detectors must increasingly balance predictive performance against the cost of deployment. Stacking ensembles can improve classification by combining diverse learners, but large ensembles operating on full feature sets increase inference cost. This paper examines an HHO–GWO reduced stacking model for phishing website classification. It uses Harris Hawks Optimisation (HHO) for feature selection, Random Forest, XGBoost, and Gradient Boosting classifiers, and Grey Wolf Optimiser (GWO) weights for combining classifier probabilities. The model was evaluated on the UCI Phishing Websites dataset and the Mendeley Web Page Phishing Detection dataset using five random seeds, and compared with individual classifiers, unoptimised stacking, a replicated nine-classifier stacking baseline, and ablated configurations. It obtained mean accuracies of 94.40% and 96.38% and mean F1-scores of 94.53% and 96.31% on UCI and Mendeley, respectively. It used an average of 23.2 of 30 UCI features and 65.0 of 87 Mendeley features. Relative to the nine-classifier baseline, mean inference latency declined from 1.924 ms to 0.465 ms on UCI and from 1.457 ms to 0.271 ms on Mendeley, corresponding to reductions of 75.8% and 81.4%. The associated accuracy differences were 0.47 and 0.39 percentage points. The findings position HHO–GWO reduced stacking as a practical accuracy–efficiency alternative for offline phishing classification experiments. Its suitability for live URL screening or evolving attack streams requires further validation.
Downloads
References
Hassan, A., Islam, M. M., & Islam, M. R. (2024). Phishing website identification: Unleashing the machine learning techniques. Journal of Science and Technology, 22.
Bayraktar, C. (2026). Stacking-based model for phishing website detection system. Afyon Kocatepe University Journal of Sciences and Engineering, 26(1), 78–88.
Pathak, P., & Shrivas, A. K. (2024). Development of proposed model using random forest with optimization technique for classification of phishing website. SN Computer Science, 5(8), 1059.
Wolpert, D. H. (1992). Stacked generalization. Neural Networks, 5(2), 241–259.
Wabi, H. A., Ojeniyi, J. A., Idris, I., Subairu, S. O., & Al-Mekhlafi, Z. G. (2024). Stack ensemble model for detection of phishing website. In 2024 International Conference on Science, Engineering and Business for Driving Sustainable Development Goals (SEB4SDG), 1–6.
Elsheh, M. M., & Abolawaifa, E. (2025). Hybrid stacking ensemble model for phishing URL detection using PCA and machine learning. Journal of Technology Research, 3(Special Issue), 515–525.
Bari, N., Saleem, T., Shah, M., Algarni, A., Patel, A., & Ullah, I. (2025). A filter-based feature selection framework to detect phishing URLs using stacking ensemble machine learning. Computer Modeling in Engineering & Sciences, 145(1), 1167–1187.
Kanathey, K., Gupta, V., & Imam, F. (2025). An enhanced and optimized stacking ensemble framework for phishing URLs detection. In 2025 4th OPJU International Technology Conference (OTCON), 1–6.
Heidari, A. A., Mirjalili, S., Faris, H., Aljarah, I., Mafarja, M., & Chen, H. (2019). Harris hawks optimization: Algorithm and applications. Future Generation Computer Systems, 97, 849–872.
Mirjalili, S., Mirjalili, S. M., & Lewis, A. (2014). Grey wolf optimizer. Advances in Engineering Software, 69, 46–61.
Dua, D., & Graff, C. (2019). UCI Machine Learning Repository. University of California, Irvine, School of Information and Computer Sciences.
Hannousse, A., & Yahiouche, S. (2021). Towards benchmark datasets for machine learning based website phishing detection: An experimental study. Engineering Applications of Artificial Intelligence, 104, 104347.
Abualhaj, M. M., Abu-Shareha, A. A., Alkhatib, S. N., Shambour, Q. Y., & Alsaaidah, A. M. (2025). Detecting spam using Harris Hawks optimizer as a feature selection algorithm. Bulletin of Electrical Engineering and Informatics, 14(3), 2361–2369.
Hamdan, A., Tahboush, M., Adawy, M., Alwada’n, T., Ghwanmeh, S., & Husni, M. (2024). Phishing detection using grey wolf and particle swarm optimizer. International Journal of Electrical and Computer Engineering, 14(5), 5961–5969.
Ravula, V., & Ramaiah, M. (2025). Enhancing phishing detection with dynamic optimization and character-level deep learning in cloud environments. PeerJ Computer Science, 11, e2640.
The authors and co-authors warrant that the article is their original work, does not infringe any copyright, and has not been published elsewhere. By submitting the article to GPH-International Journal of Computer Science and Engineering (GPH-IJCSE), the authors agree that the journal has the right to retract or remove the article in case of proven ethical misconduct.