Skip to main content
Log in

Feature selection using binary monarch butterfly optimization

  • Published:
Applied Intelligence Aims and scope Submit manuscript

Abstract

Swarm intelligence algorithms have superior performance in searching for the optimal feature subset, where Monarch Butterfly Optimization (MBO) can solve the continuous optimization problem. However, there exist some defects for MBO such as the limited searchable positions, falling into local optimum easily and unsolved binary variables. To address these drawbacks, this paper develops two mechanisms to propose several revisions of binary MBO (BMBO) for metaheuristic feature selection. First, to make MBO suitable to solve the feature selection optimization problems, the S-shaped and V-shaped transfer functions are introduced to convert continuous space into binary, and then force the butterfly to move in the binary search space. Two updated positions of the monarch butterfly population are designed based on these above transfer functions respectively to construct two BMBO models, namely BMBO-S and BMBO-V, as the first mechanism of BMBO. Second, the new step length parameter is proposed to update the position of monarch butterfly individuals. To prevent MBO from falling into the local optimum, the local disturbance and group division strategies are added into MBO to construct new BMBO method. It follows that a mutation rate is employed to enhance the detection stage of BMBO, and the mutation operator-based BMBO (BMBO-M) is designed to avoid the premature convergence of MBO. Third, this fitness function is integrated with the KNN classifier and the weight of the feature subset length to rank the selected feature subset, and a metaheuristic feature selection algorithm with BMBO-M is developed. Experiments applied to nineteen low dimensional UCI datasets and seven high dimensional datasets demonstrate our designed algorithm has great classification efficiency when compared with the other related technologies.

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

Access this article

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

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

References

  1. Wan JH, Chen HM, Li TR, Yang XL, Sang BB (2021) Dynamic interaction feature selection based on fuzzy rough set. Inf Sci 581:891–911

    Article  Google Scholar 

  2. Sun L, Zhang JX, Ding WP, Xu JC (2022) Feature Reduction for Imbalanced Data Classification Using Similarity-based Feature Clustering with Adaptive Weighted K-Nearest Neighbors. Information Sciences 593:591-613

  3. Hu Y, Zhang Y, Gong DE (2021) Multiobjective particle swarm optimization for feature selection with fuzzy cost. IEEE Transactions on Cybernetics 52(2):874–888

    Article  Google Scholar 

  4. Sun L, Wang LY, Ding WP, Qian YH, Xu JC (2021) Feature selection using fuzzy neighborhood entropy-based uncertainty measures for fuzzy neighborhood multigranulation rough sets. IEEE Transactions on Fuzzy Systems 29(1):19–33

    Article  Google Scholar 

  5. Xue Y, Tang Y, Xu X, Liang J, Neri F (2021) Multi-objective feature selection with missing data in classification. IEEE Transactions on Emerging Topics in Computational Intelligence. https://doi.org/10.1109/TETCI.2021.3074147

  6. Nancy P, Muthurajkumar S, Ganapathy S, Santhosh Kumar SVN, Selvi M, Arputharaj K (2020) Intrusion detecting using dynamic feature selection and fuzzy temporal decision tree classification for wireless sensor networks. The Institution of Engineering and Technology 14(5):888–895

    Google Scholar 

  7. Sun L, Wang TX, Ding WP, Xu JC, Lin YJ (2021) Feature selection using fisher score and multilabel neighborhood rough sets for multilabel classification. Information Sciences 578:887–912

    Article  MathSciNet  Google Scholar 

  8. Song XF, Zhang Y, Guo DW, Gao XZ (2021) A fast hybrid feature selection based on correlation-guided clustering and particle swarm optimization for high-dimensional data, IEEE Transactions Cybernetics. https://doi.org/10.1109/TCYB.2021.3061152

  9. Sun L, Zhang XY, Qian YH, Xu JC, Zhang SG (2019) Feature selection using neighborhood entropy-based uncertainty measures for gene expression data classification. Information Sciences 502:18–41

  10. Salem OAM, Liu F, Ahmed AS, Zhang W, Chen X (2020) Feature selection based on fuzzy joint mutual information maximization. Math Biosci Eng 18(1):305–327

    Article  MATH  Google Scholar 

  11. Sun L, Wang LY, Ding WP, Qian YH, Xu JC (2020) Neighborhood multi-granulation rough sets-based attribute reduction using Lebesgue and entropy measures in incomplete neighborhood decision systems. Knowledge-Based Systems 192:105373

  12. Ibrahim AM, Tawhid MA, Ward RK (2020) A binary water wave optimization for feature selection. Int J Approx Reason 120:74–91

    Article  MathSciNet  MATH  Google Scholar 

  13. Sun L, Yin TY, Ding WP, Xu JC (2021) Feature selection with missing labels using multilabel fuzzy neighborhood rough sets and maximum relevance minimum redundancy. IEEE Trans Fuzzy Syst. https://doi.org/10.1109/TFUZZ.2021.3053844

  14. Wang H, Tan L, Niu B (2019) Feature selection for classification of microarray gene expression cancers using bacterial colony optimization with multi-dimensional population. Swarm and Evolutionary Computation 48:172–181

    Article  Google Scholar 

  15. Song XF, Zhang Y, Guo YN, Sun XY, Wang YL (2020) Variable-size cooperative coevolutionary particle swarm optimization for feature selection on high-dimensional data. IEEE Transactions on Evolutionary 24(5):882–895

    Article  Google Scholar 

  16. Zhang Y, Wang YH, Gong DW, Sun XY (2021) Clustering-guided particle swarm feature selection algorithm for high-dimensional imbalanced data with high-dimensional. IEEE Trans Evol Comput. https://doi.org/10.1109/TEVC.2021.3106975

  17. Zhang Y, Gong DW, Guo XZ, Tian T, Sun XY (2020) Binary differential evolution with self-learning for multi-objective feature selection. Information Science 507:67–85

    Article  MathSciNet  MATH  Google Scholar 

  18. Ghanem WAHM, Jantan A (2018) Hybridizing artificial bee colony with monarch butterfly optimization for numerical optimization problems. Neural Computing and Applications 30(1):163–181

    Article  Google Scholar 

  19. Kennedy J, Eberhart R (1995) particle swarm optimization. IEEE International Conference on Neural Networks 4:1942–1948

  20. Chen K, Xue B, Zhang MJ, Zhou FY (2021) Correlation-guided updating strategy for feature selection in classification with surrogate-assisted particle swarm optimisation. IEEE Trans Evol Comput. https://doi.org/10.1109/TEVC.2021.3134804

  21. Faris H, Mafarja MM, Heidari AA, Ibrahim A, AlZoubi AM, Seyedali M, Hamido F (2018) An efficient binary slap swarm algorithm with crossover scheme for feature selection problems. Knowl-Based Syst 154:43–67

    Article  Google Scholar 

  22. Mafarja M, Aljarah I, Faris H, Hammouri A, AlZoubi AM (2019) Binary grasshopper optimization algorithm approaches for feature selection problems. Expert Syst Appl 117:267–286

    Article  Google Scholar 

  23. Hou Y, Li J, Yu H, Li ZS (2019) BIFFOA: a novel binary improved fruit fly algorithm for feature selection. IEEE Access 7:81177–81194

    Article  Google Scholar 

  24. Xue Y, Zhu H, Liang JY, Slowik A (2021) Adaptive crosser operator based multi-objective binary genetic algorithm for feature selection in classification. Knowl-Based Syst 227:107218

    Article  Google Scholar 

  25. Roberta DS, Roberto M, Giuseppe V, Eleonora B (2018) An adapted ant colony optimization algorithm for the minimization of the travel distance of pickers in manual warehouses. Eur J Oper Res 267(1):120–137

    Article  MathSciNet  MATH  Google Scholar 

  26. Luo J, Qin T, Xu M (2021) Reverse guidance butterfly optimization algorithm integrated with information cross-sharing. Journal of Intelligence and Fuzzy Systems 41(2):3463–3480

    Article  Google Scholar 

  27. Ji B, Lu XZ, Sun G, Zhang W, Li JH, Xiao YZ (2020) Bio-inspired feature selection: an improved binary particle swarm optimization approach. IEEE Access 8:85989–86002

    Article  Google Scholar 

  28. Fridausanti NA, Irhamah (2019) On the comparison of crazy particle swarm optimization and advanced binary ant colony optimization for feature selection on high-dimensional data. Procedia Computer Science 161:638–646

    Article  Google Scholar 

  29. Wang GG, Deb S, Cui ZH (2019) Monarch butterfly optimization. Neural Comput & Applic 31(7):1995–2014

    Article  Google Scholar 

  30. Dorgham OM, Alweshah M, Ryalat MH, Alshaer J, Khader M, Alkhalaileh S (2021) Monarch butterfly optimization algorithm for computed tomography image segmentation. Multimed Tools Appl 80:30057–30090

    Article  Google Scholar 

  31. Yi JH, Lu M, Zhao XJ (2020) Quantum inspired monarch butterfly optimisation for UCAV path planning navigation problem. International Journal of Bio-Inspired Computation 15(2):75–89

    Article  Google Scholar 

  32. Sun L, Chen SS, Xu JC, Tian Y, Zhou YM (2019) Improved monarch butterfly optimization algorithm based on opposition-based learning and random local perturbation. Complexity 2019:4182148

    Article  Google Scholar 

  33. Gheats M (2021) A multi-objective monarch butterfly algorithm for virtual machine placement in cloud computing. Neural Comput & Applic 33:11011–11025

    Article  Google Scholar 

  34. Sun L, Zhao J, Xu JC, Xue ZA (2020) Feature selection method based on improved monarch butterfly optimization algorithm. Chinese Pattern Recognition and Artificial Intelligence 33(11):981–994

    Google Scholar 

  35. Alweshah M (2021) Solving feature selection problems by combing mutation and crossover operations with the monarch butterfly optimization algorithm. Appl Intell 51:4058–4081

    Article  Google Scholar 

  36. Sun L, Zhao J, Xu JC, Wang XY (2021) Feature selection algorithm based on neighborhood rough set and monarch butterfly optimization. Chinese Computer Application. https://doi.org/10.11772/j.issn.1001-9081.2021030497

  37. Nandhini S, Ashokkumar K (2021) Improved crossover-based monarch butterfly optimization for tomato leaf disease classification using convolutional neural work. Multimed Tools Appl 80:18583–18610

    Article  Google Scholar 

  38. Kumar V, Naresh R (2020) Monarch butterfly optimization-based computational methodology for unit commitment problem. Electric Power Components and Systems 48:19–20

    Article  Google Scholar 

  39. Feng YH, Wang GG, Suash D, Lu M, Zhao XJ (2017) Solving 0-1 knapsack problem by a novel binary monarch butterfly optimization. Neural Computing and Applications 28:1619-1634

  40. Mirjalili S, Lewis A (2013) S-shaped versus V-shaped transfer function for binary particle swarm optimization. Swarm and Evolutionary Computation 9:1–14

    Article  Google Scholar 

  41. Zohre S, Ebrahim A, Hossein N (2021) A hybrid feature selection method based on information theory and binary butterfly optimization algorithm. Engineering Application of Artificial Intelligence 97:104079

    Article  Google Scholar 

  42. Kelidari M, Hamidzadeh J (2021) Feature selection by using chaotic cuckoo optimization algorithm with levy flight, opposition-based learning and disruption operator. Soft Comput 25:2911–2933

    Article  Google Scholar 

  43. Kennedy J, Eberhart RC (1997) A discrete binary version of the particle swarm algorithm. IEEE international conference on systems, man, and cybernetics. Computational Cybernetics and Simulation 5:4104–4108

  44. Rashedi E, Nezamabadi-pour H, Saryazdi S (2010) BGSA: binary gravitational search algorithm. Nat Comput 9(3):727–745

    Article  MathSciNet  MATH  Google Scholar 

  45. Zhang Y, Gong D, Cheng J (2017) Multi-objective particle swarm optimization approach for cost-based feature selection in classification. IEEE ACM Transactions on Computational Biology and Bioinformatics 14(1):64–75

    Article  Google Scholar 

  46. Xue JK, Shen B (2020) A novel swarm intelligence optimization approach: sparrow search algorithm. Systems Science and Control Engineering 8(1):22-34

  47. Huda RK, Banka H (2019) Efficient feature selection and classification algorithm based on PSO and rough sets. Neural Comput Applic 31(8):4287–4303

    Article  Google Scholar 

  48. Tsai CF, William E, Chu CY (2013) Genetic algorithms in feature and instance selection. Knowl-Based Syst 39:240–247

    Article  Google Scholar 

  49. Selvakumar B, Muneeswaran K (2019) Firefly algorithm-based feature selection for network intrusion detection. Computers & Security 81:148–155

    Article  Google Scholar 

  50. Rodrigues D, Pereira LAM, Almeida TNS, Papa JP, Souza AN, Pamos CCO, Yang XS (2013) BCS: a binary cuckoo search algorithm for feature selection. IEEE International Symposium on Conference: Circuits and Systems:465–468

  51. Sun L, Yin TY, Ding WP, Xu JC (2019) Hybrid multilabel feature selection using BPSO and neighborhood rough set for multilabel neighborhood decision system. IEEE Access 7:175793–175815

    Article  Google Scholar 

  52. Naik AK, Kuppili V, Edla DR (2020) Efficient feature selection using one-pass generalized classifier neural network and binary bat algorithm with novel fitness function. Soft Comput 24:4575–4587

    Article  Google Scholar 

  53. Too JG, Mafarja M, Mirjalili S (2021) Spatial bound whale optimization algorithm: an efficient high-dimensional feature selection approach. Neural Computing and Application 33:16229–16250

    Article  Google Scholar 

  54. Zhang Y, Jin Z, Mirijalili S (2020) Generalized normal distribution optimization and its applications in parameter extraction of photovoltaic. Energy Convers Manag 224:113301

    Article  Google Scholar 

  55. Ashakarzadeh A (2016) A novel metaheuristic method for solving constrained engineering optimization problems: crow search algorithm. Comput Struct 169:1–12

    Article  Google Scholar 

  56. Seyedail M, Amir HG, Seyedeh ZMS, Sharzad S, Hossam H, Seyed MM (2017) Slap swarm algorithm: A bio-inspired optimizer for engineering design problems. Advances in Engineering Software 114:163–191

  57. Gu S, Cheng R, Jin Y (2018) Feature selection for high-dimensional classification using a competitive swarm optimizer. Soft Comput 22:811–822

    Article  Google Scholar 

  58. Cheng R, Jin Y (2015) A competitive swarm optimizer for large scale optimization. IEEE Transactions on Cybernetics 45(2):191–204

    Article  Google Scholar 

  59. Banka H, Dara S (2015) A hamming distance based binary particle swarm optimization (HDBPSO) algorithm for high dimensional feature selection, classification and validation. Pattern Recogn Lett 52:94–100

    Article  Google Scholar 

  60. Milton F (1940) A comparison of alternative tests of significance for the problem of m rankings. Ann Math Stat 11(1):86–92

    Article  MathSciNet  MATH  Google Scholar 

  61. Olive JD (1961) Multiple comparisons among means. J Am Stat Assoc 56(293):52–64

    Article  MathSciNet  MATH  Google Scholar 

  62. Sun L, Yin TY, Ding WP, Qin YH, Xu JC (2020) Multilabel feature selection using ML-ReliefF and neighborhood mutual information for multilabel neighborhood decision systems. Inf Sci 537:401–424

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgments

The authors would like to express their sincere appreciation to the anonymous reviewers for their insightful comments, which greatly improved the quality of this paper. This research was funded by the National Natural Science Foundation of China under Grants 62076089, 61772176, and 61976082; the Key Scientific and Technological Project of Henan Province under Grant 212102210136; and the Key Laboratory of Data Science and Intelligence Application, Minnan Normal University (NO. D202004).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Lin Sun, Jing Zhao or Yaojin Lin.

Additional information

Publisher’s note

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

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sun, L., Si, S., Zhao, J. et al. Feature selection using binary monarch butterfly optimization. Appl Intell 53, 706–727 (2023). https://doi.org/10.1007/s10489-022-03554-9

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10489-022-03554-9

Keywords

Navigation