Skip to main content
Log in

A modified grey wolf optimizer with multi-solution crossover integration algorithm for feature selection

  • Original Research
  • Published:
Journal of Ambient Intelligence and Humanized Computing Aims and scope Submit manuscript

Abstract

Feature selection helps eradicate redundant features which is essential to mitigate the curse of dimensionality when a machine-learning model deals with high-dimensional datasets. Grey Wolf Optimizer (GWO) is a swarm-based algorithm that simulates the wolves’ hunting behavior. Although very efficient, GWO faces some limitations which may cause premature convergence and/or local optima trapping. Moreover, GWO relies mainly on the three best wolves, limiting its potential for diverse exploration and exploitation. This work proposes an improved version of GWO namely, a modified grey wolf optimizer with multi-solution crossover integration (MGWO-MCI) algorithm. MGWO-MCI algorithm incorporates a multi-solution strategy that evolves new potential solutions in the optimization process. A crossover operation is performed between the new wolves and the existing hierarchy, reforming the position-updating process. MGWO-MCI utilizes this position-updating process using two different approaches. The first approach named MGWO-MCI-I expands the additional wolves’ role to both exploration and exploitation whereas the second approach named MGWO-MCI-II incorporates their role to exploration only. These approaches are evaluated and tested using 18 datasets and an Intrusion detection dataset NSL-KDD for feature selection. Statistically, the results are analyzed through the Wilcoxon test, which shows the superiority of MGWO-MCI-II. MGWO-MCI-II outperforms others with an accuracy of 98.6% on NSL-KDD and achieves 55.5% overall best outcomes on other datasets. Moreover, the MGWO-MCI was evaluated on two constrained optimization problems, the pressure vessel and welded beam design validating its effectiveness and adaptability in solving different optimization problems.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Algorithm 1
Fig. 2
Algorithm 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Data availability

References/links to the datasets used are given.

References

  • Abdelhamid AA, El-Kenawy E-SM, Ibrahim A, Eid MM, Khafaga DS, Alhussan AA, Mirjalili S, Khodadadi N, Lim WH, Shams MY (2023) Innovative feature selection method based on hybrid sine cosine and dipper throated optimization algorithms. IEEE Access 11:79750–79776

    Article  Google Scholar 

  • Al-Qablan TA, Noor MHM, Al-Betar MA, Khader AT (2023) Improved binary gray wolf optimizer based on adaptive β-hill climbing for feature selection. IEEE Access 11:59866–59881

    Article  MATH  Google Scholar 

  • Al-Tashi Q, Kadir SJA, Rais HM, Mirjalili S, Alhussian H (2019) Binary optimization using hybrid grey wolf optimization for feature selection. IEEE Access 7:39496–39508

    Article  Google Scholar 

  • Askari Q, Saeed M, Younas I (2020) Heap-based optimizer inspired by corporate rank hierarchy for global optimization. Expert Syst Appl 161:113702

    Article  MATH  Google Scholar 

  • Asuncion A, Newman D (2007) Uci machine learning repository. In: (Irvine, CA, USA)

  • Bakir H, Guvenc U, Kahraman HT, Duman S (2022) Improved lévy flight distribution algorithm with fdb-based guiding mechanism for avr system optimal design. Comput Ind Eng 168:108032

    Article  MATH  Google Scholar 

  • Bakır H (2024) Dynamic fitness-distance balance-based artificial rabbits optimization algorithm to solve optimal power flow problem. Expert Syst Appl 240:122460

    Article  MATH  Google Scholar 

  • Bonabeau E, Dorigo M, Théraulaz G (1999) From natural to artificial swarm intelligence. In: (Oxford University Press, Inc.

  • Chakraborty, A, Kar, AK (2017) Swarm intelligence: a review of algorithms In: Patnaik S, Yang XS, Nakamatsu, K (eds) Nature-inspired computing and optimization, modeling and optimization in science and technologies, vol 10, Springer, Cham, pp 475-494

  • Chen G, Chen J (2015) A novel wrapper method for feature selection and its applications. Neurocomputing 159:219–226

    Article  MATH  Google Scholar 

  • Chizi B, Rokach L, Maimon O (2009) A survey of feature selection techniques. In: Encyclopedia of data warehousing and mining, second edition (IGI Global), pp 1888–1895

  • Dhargupta S, Ghosh M, Mirjalili S, Sarkar R (2020) Selective opposition based grey wolf optimization. Expert Syst Appl 151:113389

    Article  Google Scholar 

  • Duch W, Guyon I, Nikravesh M, Gunn S (2006) Feature extraction: foundations and applications. Studies in Fuzziness and Soft Computing. Springer, Berlin Heidelberg New York, pp 89–117

    Book  MATH  Google Scholar 

  • Eid MM, El-kenawy E-SM, Ibrahim A (2021) A binary sine cosine-modified whale optimization algorithm for feature selection. In: 2021 National Computing Colleges Conference (NCCC) (IEEE), 1–6

  • Emary E, Zawbaa HM, Grosan C, Hassenian AE (2015) Feature subset selection approach by gray-wolf optimization. In: Afro-European Conference for Industrial Advancement: Proceedings of the First International Afro-European Conference for Industrial Advancement AECIA 2014 (Springer), 1–13

  • Emary E, Zawbaa HM, Hassanien AE (2016) Binary grey wolf optimization approaches for feature selection. Neurocomputing 172:371–381

    Article  MATH  Google Scholar 

  • Emmanuel D, Joseph S, Oyewola D, Fadele AA, Chiroma H (2021) Application of grey wolf optimization algorithm: recent trends, issues, and possible horizons. Gazi Univ J Sci 35:485–504

    Google Scholar 

  • Gupta S, Deep K (2019) A novel random walk grey wolf optimizer. Swarm Evol Comput 44:101–112

    Article  MATH  Google Scholar 

  • Gupta S, Deep K (2020) A memory-based grey wolf optimizer for global optimization tasks. Appl Soft Comput 93:106367

    Article  MATH  Google Scholar 

  • Hancer E (2021) An improved evolutionary wrapper-filter feature selection approach with a new initialisation scheme. Machine Learning: 1–24

  • Ieracitano C, Adeel A, Morabito FC, Hussain A (2020) A novel statistical analysis and autoencoder driven intelligent intrusion detection approach. Neurocomputing 387:51–62

    Article  MATH  Google Scholar 

  • Jain A, Nagar S, Singh PK, Dhar J (2023) A hybrid learning-based genetic and grey-wolf optimizer for global optimization. Soft Comput 27:4713–4759

    Article  MATH  Google Scholar 

  • Karaboga D (2010) Artificial bee colony algorithm. Scholarpedia 5:6915

    Article  MATH  Google Scholar 

  • Kennedy J, Eberhart R (1995) Particle swarm optimization. In: Proceedings of ICNN’95-international conference on neural networks (IEEE), 1942–1948

  • Khalid S, Khalil T, Nasreen S (2014) A survey of feature selection and feature extraction techniques in machine learning. In: 2014 science and information conference (IEEE), 372–378

  • Khalilpourazari S, Doulabi HH, Çiftçioğlu AÖ, Weber G-W (2021) Gradient-based grey wolf optimizer with gaussian walk: application in modelling and prediction of the covid-19 pandemic. Expert Syst Appl 177:114920

    Article  MATH  Google Scholar 

  • Khodadadi N, Khodadadii E, Al-Tashi Q, El-Kenawy E-SM, Abualigah L, Abdulkadir SJ, Alqushaibi A, Mirjalili S (2023) Baoa: binary arithmetic optimization algorithm with k-nearest neighbor classifier for feature selection. IEEE Access 11:94094–94115

    Article  Google Scholar 

  • Kishor A, Singh PK (2016) Empirical study of grey wolf optimizer. In: Proceedings of Fifth International Conference on Soft Computing for Problem Solving: SocProS 2015, Volume 1 (Springer), 1037–1049

  • Kılıç F, Kaya Y, Yildirim S (2021) A novel multi population based particle swarm optimization for feature selection. Knowl Based Syst 219:106894

    Article  MATH  Google Scholar 

  • Lal TN, Chapelle O, Weston J, Elisseeff A (2006) Embedded methods. In: Feature extraction: Foundations and applications (Springer), pp 137–165

  • Latha R, Saravana Balaji B, Bacanin N, Strumberger I, Zivkovic M, Kabiljo M (2022) Feature selection using grey wolf optimization with random differential grouping. Comput Syst Sci Eng 43:317–332

    Article  Google Scholar 

  • Lee C-Y, Le T-A, Lin Y-T (2022) A feature selection approach hybrid grey wolf and heap-based optimizer applied in bearing fault diagnosis. IEEE Access 10:56691–56705

    Article  Google Scholar 

  • Liu X, Wang S, Lu S, Yin Z, Li X, Yin L, Tian J, Zheng W (2023) Adapting feature selection algorithms for the classification of Chinese texts. Systems 11:483

    Article  MATH  Google Scholar 

  • Liu G, Guo Z, Liu W, Jiang F, Fu E (2024) A feature selection method based on the golden jackal-grey wolf hybrid optimization algorithm. PLoS ONE 19:e0295579

    Article  MATH  Google Scholar 

  • Long W, Xu S (2016) A novel grey wolf optimizer for global optimization problems. In: 2016 IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC) (IEEE), 1266–1270

  • Makhadmeh SN, Al-Betar MA, Doush IA, Awadallah MA, Kassaymeh S, Mirjalili S, Zitar RA (2023) Recent advances in grey wolf optimizer, its versions and applications. IEEE Access 12:22991–23028

    Article  MATH  Google Scholar 

  • Mirjalili S, Lewis A (2016) The whale optimization algorithm. Adv Eng Softw 95:51–67

    Article  MATH  Google Scholar 

  • Mirjalili S, Mirjalili SM, Lewis A (2014) Grey wolf optimizer. Adv Eng Softw 69:46–61

    Article  MATH  Google Scholar 

  • Mostafa RR, Hussien AG, Gaheen MA, Ewees AA, Hashim FA (2024) Aeowoa: Hybridizing whale optimization algorithm with artificial ecosystem-based optimization for optimal feature selection and global optimization. Evolving Systems: 1–33

  • Rao R, Patel V (2012) An elitist teaching-learning-based optimization algorithm for solving complex constrained optimization problems. Int J Ind Eng Comput 3:535–560

    MATH  Google Scholar 

  • Raymer ML, Punch WF, Goodman ED, Kuhn LA, Jain AK (2000) Dimensionality reduction using genetic algorithms. IEEE Trans Evol Comput 4:164–171

    Article  MATH  Google Scholar 

  • Rezaei F, Safavi HR, Abd Elaziz M, El-Sappagh SHA, Al-Betar MA, Abuhmed T (2022) An enhanced grey wolf optimizer with a velocity-aided global search mechanism. mathematics 10: 351

  • Safia M, Abbas R, Aslani M (2023) Classification of weather conditions based on supervised learning for Swedish cities. Atmosphere 14:1174

    Article  MATH  Google Scholar 

  • Storn R, Price K (1997) Differential evolution–a simple and efficient heuristic for global optimization over continuous spaces. J Global Optim 11:341–359

    Article  MathSciNet  MATH  Google Scholar 

  • Too J, Abdullah AR (2021) Opposition based competitive grey wolf optimizer for emg feature selection. Evol Intel 14:1691–1705

    Article  MATH  Google Scholar 

  • Wu H, Du S, Zhang Y, Zhang Q, Duan K, Lin Y (2023) Threshold binary grey wolf optimizer based on multi-elite interaction for feature selection. IEEE Access 11:34332–34348

    Article  MATH  Google Scholar 

  • Xue Y, Zhu H, Liang J, Słowik A (2021) Adaptive crossover operator based multi-objective binary genetic algorithm for feature selection in classification. Knowl Based Syst 227:107218

    Article  MATH  Google Scholar 

  • Zhang Z (2016) Introduction to machine learning: K-nearest neighbors. Annals of translational medicine 4

  • Zhao W, Wang L, Zhang Z (2020) Artificial ecosystem-based optimization: a novel nature-inspired meta-heuristic algorithm. Neural Comput Appl 32:9383–9425

    Article  MATH  Google Scholar 

Download references

Funding

This work didn't receive any specific funding.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muhammad Ihsan.

Ethics declarations

Conflict of interest

The authors declare no conflict of interest. All authors esteem the final manuscript and agree with its submission.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ihsan, M., Din, F., Zamli, K.Z. et al. A modified grey wolf optimizer with multi-solution crossover integration algorithm for feature selection. J Ambient Intell Human Comput 16, 329–345 (2025). https://doi.org/10.1007/s12652-025-04951-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12652-025-04951-x

Keywords