Submitted:
22 December 2024
Posted:
24 December 2024
Read the latest preprint version here
Abstract
Keywords:
1. Introduction
Main Contributions
- Proposed an Enhanced Grey Wolf Opti- mizer (SCGWO): A novel improvement of the GWO algorithm is presented, integrating Sinu- soidal Mapping for population initialization and a Transverse-Longitudinal Crossover strategy, sig- nificantly enhancing both global exploration and local exploitation capabilities.
- Introduced Dynamic Weight Adjustment Mechanism: A dynamic weight adjustment mechanism is developed to adaptively balance the roles of α, β, and δ wolves, ensuring better exploration in early stages and faster convergence in later stages.
- Evaluated on Comprehensive Benchmark Functions: The proposed SCGWO is rigor- ously tested on 10 complex benchmark functions, demonstrating superior performance in terms of convergence speed, solution accuracy, and robust- ness when compared to the classic GWO.
- Validated through Real-World Application: The effectiveness of SCGWO is further validated through its application to the hyperparameter op- timization of a random forest model, achieving better tuning results than conventional optimiza- tion methods.
2. Related Work
2.1. Grey Wolf Optimizer (GWO)
2.2. Improvements to GWO
3. Enhanced Grey Wolf Optimizer
3.1. Sinusoidal Chaos Mapping for Population Initial- Ization
3.2. Transverse-Longitudinal Crossover Strategy

4. Simulations and Results
4.1. Experiment Setup
4.2. Results and Discussion
| Function | Algorithm | Best Value | Mean Value |
|---|---|---|---|
| F1 | GWO SCGWO |
2.15 × 10−4 1.36 × 10−5 |
1.67 × 10−3 7.35 × 10−4 |
| F2 | GWO SCGWO |
3.01 × 10−4 4.61 × 10−6 |
1.94 × 10−3 5.21 × 10−4 |
| F3 | GWO SCGWO |
2.61 × 10−5 1.11 × 10−6 |
6.32 × 10−5 4.31 × 10−6 |
| F4 | GWO SCGWO |
6.01 × 10−5 2.01 × 10−6 |
9.18 × 10−5 5.11 × 10−6 |
| F5 | GWO SCGWO |
5.82 × 10−3 3.07 × 10−3 |
9.21 × 10−1 1.08 × 10−2 |
| F6 | GWO SCGWO |
1.11 × 10−5 6.13 × 10−8 |
1.17 × 10−4 1.23 × 10−7 |
| F7 | GWO SCGWO |
1.21 × 10−4 2.26 × 10−5 |
1.81 × 10−2 4.38 × 10−3 |
| F8 | GWO SCGWO |
6.48 × 10−4 5.31 × 10−6 |
1.84 × 10−3 2.28 × 10−5 |
| F9 | GWO SCGWO |
8.30 × 10−3 4.06 × 10−5 |
1.68 × 10−2 2.22 × 10−4 |
| F10 | GWO SCGWO |
6.06 × 10−3 6.56 × 10−5 |
4.02 × 10−2 5.12 × 10−4 |
5. Random Forest Hyperparameter Optimization

| Method | MAE (train) | RMSE (train) | R2 (train) | MAE (test) | RMSE (test) |
|---|---|---|---|---|---|
| Default | 285109 | 398584 | 0.9494 | 957916 | 1357261 |
| GWO | 413922 | 547712 | 0.9045 | 922632 | 1262471 |
| SCGWO | 448753 | 616299 | 0.8791 | 917518 | 1238437 |
6. Shap Analysis
7. Future Work
8. Conclusions
Appendix
Modeling and Optimization

References
- Behnam Abdollahzadeh, Reza Ebrahimi, and Saeed Arani Arani. Improved grey wolf optimization algorithm based on chaos theory for optimization problems. Applied Soft Computing 2020, 90, 106187. [Google Scholar]
- Sanjay Arora and Satvir Singh. A review on nature-inspired optimization algorithms. International Journal of Industrial Engineering Computations 2019, 10, 681–709. [Google Scholar]
- Jagdish Bansal and Himanshu Sharma. Enhanced grey wolf optimizer with levy flight for engineering design optimization. Journal of Computational Design and Engineering 2022, 9, 23–38. [Google Scholar]
- Xingyuan Bu, Yuwei Wu, Zhi Gao, and Yunde Jia. Deep convolutional network with locality and sparsity constraints for texture classification. Pattern Recognition 2019, 91, 34–46. [Google Scholar] [CrossRef]
- Han Cao, Zhaoyang Zhang, Xiangtian Li, Chufan Wu, Han- song Zhang, and Wenqing Zhang. Mitigating knowledge conflicts in language model-driven question answering, 2024.
- Gaurav Dhiman and Vijay Kumar. Hybrid optimization strate- gies combining grey wolf optimizer with differential evolution and simulated annealing. Expert Systems with Applications 2021, 159, 113584. [Google Scholar]
- Ebrahim Emary, Hossam M Zawbaa, and Aboul Ella Has- sanien. Binary grey wolf optimization approaches for feature selection. Neurocomputing 2016, 172, 371–381. [Google Scholar] [CrossRef]
- Zhi Gao, Yuwei Wu, Xingyuan Bu, Tan Yu, Junsong Yuan, and Yunde Jia. Learning a robust representation via a deep network on symmetric positive definite manifolds. Pattern Recognition 2019, 92, 1–12. [Google Scholar] [CrossRef]
- Soliman Khalil. Machine learning model for hous- ing dataset. 2021. Kaggle. Available online: https://www.kaggle.com/code/solimankhalil/ ml-model-linear-regression-housing-dataset.
- Zhixin Lai, Jing Wu, Suiyao Chen, Yucheng Zhou, and Naira Hovakimyan. Residual-based language models are free boosters for biomedical imaging tasks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pages 5086–5096, June 2024.
- Zhixin Lai, Xuesheng Zhang, and Suiyao Chen. Adaptive ensembles of fine-tuned transformers for llm-generated text detection. 2024.
- Keqin Li, Jiajing Chen, Denzhi Yu, Tao Dajun, Xinyu Qiu, Lian Jieting, Sun Baiwei, Zhang Shengyuan, Zhenyu Wan, Ran Ji, et al. Deep reinforcement learning-based obstacle avoidance for robot movement in warehouse environments. arXiv preprint arXiv:2409.14972, 2024.
- Keqin Li, Lipeng Liu, Jiajing Chen, Dezhi Yu, Xiaofan Zhou, Ming Li, Congyu Wang, and Zhao Li. Research on reinforce- ment learning based warehouse robot navigation algorithm in complex warehouse layout. arXiv preprint arXiv:2411.06128, 2024.
- Keqin Li, Jin Wang, Xubo Wu, Xirui Peng, Runmian Chang, Xiaoyu Deng, Yiwen Kang, Yue Yang, Fanghao Ni, and Bo Hong. Optimizing automated picking systems in warehouse robots using machine learning. arXiv preprint arXiv:2408.16633, 2024.
- Xinjin Li, Jinghao Chang, Tiexin Li, Wenhan Fan, Yu Ma, and Haowei Ni. A vehicle classification method based on machine learning. Preprints, July 2024.
- Xinjin Li, Yuanzhe Yang, Yixiao Yuan, Yu Ma, Yangchen Huang, and Haowei Ni. Intelligent vehicle classification sys- tem based on deep learning and multi-sensor fusion. Preprints, July 2024.
- Dong Liu, Zhixin Lai, Yite Wang, Jing Wu, Yanxuan Yu, Zhongwei Wan, Benjamin Lengerich, and Ying Nian Wu. Efficient large foundation model inference: A perspective from model and system co-design. 2024.
- Dong Liu, Roger Waleffe, Meng Jiang, and Shivaram Venkataraman. Graphsnapshot: Graph machine learning ac- celeration with fast storage and retrieval. 2024.
- Dong Liu and Yanxuan, Yu. Mt2st: Adaptive multi-task to single-task learning. 2024.
- Xiaoyi Liu, Zhou Yu, Lianghao Tan, Yafeng Yan, and Ge Shi. Enhancing skin lesion diagnosis with ensemble learning. 2024.
- Danqing Ma, Meng Wang, Ao Xiang, Zongqing Qi, and Qin Yang. Transformer-based classification outcome prediction for multimodal stroke treatment. 2024.
- Seyedali Mirjalili, Seyed Mohammad Mirjalili, and Andrew Lewis. Grey wolf optimizer. Advances in Engineering Software 2014, 69, 46–61. [Google Scholar] [CrossRef]
- Haowei Ni, Shuchen Meng, Xupeng Chen, Ziqing Zhao, Andi Chen, Panfeng Li, Shiyao Zhang, Qifu Yin, Yuanqing Wang, and Yuxi Chan. Harnessing earnings reports for stock predictions: A qlora-enhanced llm approach. arXiv preprint arXiv:2408.06634, 2024.
- Haowei Ni, Shuchen Meng, Xieming Geng, Panfeng Li, Zhuoying Li, Xupeng Chen, Xiaotong Wang, and Shiyao Zhang. Time series modeling for heart rate prediction: From arima to transformers. arXiv preprint arXiv:2406.12199, 2024.
- Junran Peng, Xingyuan Bu, Ming Sun, Zhaoxiang Zhang, Tieniu Tan, and Junjie Yan. Large-scale object detection in the wild from imbalanced multi-labels. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9709–9718, 2020.
- Yiyi Tao. Sqba: sequential query-based blackbox attack. In Fifth International Conference on Artificial Intelligence and Computer Science (AICS 2023), volume 12803, page 128032Q. International Society for Optics and Photonics, SPIE, 2017.
- Yiyi Tao. Meta learning enabled adversarial defense. In 2023 IEEE International Conference on Sensors, Electronics and Computer Engineering (ICSECE), pages 1326–1330, 2023.
- Zeyu Wang, Yue Zhu, Zichao Li, Zhuoyue Wang, Hao Qin, and Xinqi Liu. Graph neural network recommendation system for football formation. Applied Science and Biotechnology Journal for Advanced Research, 2024; 3, 33–39.
- Yijie Weng, Yongnian Cao, Meng Li, and Xuechun Yang. The application of big data and ai in risk control models: Safeguarding user security. International Journal of Frontiers in Engineering Technology, 2024; 6.
- Yijie Weng and Jianhao, Wu. Big data and machine learning in defence. International Journal of Computer Science and Information Technology 2024, 16. [Google Scholar]
- Yijie Weng and Jianhao, Wu. Fortifying the global data fortress: a multidimensional examination of cyber security indexes and data protection measures across 193 nations. International Journal of Frontiers in Engineering Technology 2024, 6. [Google Scholar]
- Yijie Weng and Jianhao, Wu. Leveraging artificial intelligence to enhance data security and combat cyber attacks. Journal of Artificial Intelligence General science (JAIGS), 2024; 5, 392–399ISSN 3006- 4023. [Google Scholar]
- Yijie Weng, Jianhao Wu, Tara Kelly, and William Johnson. Comprehensive overview of artificial intelligence applications in modern industries. arXiv preprint arXiv:2409.13059, 2024.
- Wangjiaxuan Xin, Kanlun Wang, Zhe Fu, and Lina Zhou. Let community rules be reflected in online content moderation. 2024.
- Xiaofei Yang and Jinsong Guo. A novel hybrid algorithm of ant colony optimization and grey wolf optimizer for continuous optimization problems. Expert Systems with Applications 2020, 150, 113282. [Google Scholar]
- Haowei Zhang, Kang Gao, Huiying Huang, Shitong Hou, Jun Li, and Gang Wu. Fully decouple convolutional network for damage detection of rebars in rc beams. Engineering Structures 2023, 285, 116023. [Google Scholar] [CrossRef]
- Hongye Zheng, Bingxing Wang, Minheng Xiao, Honglin Qin, Zhizhong Wu, and Lianghao Tan. Adaptive friction in deep learning: Enhancing optimizers with sigmoid and tanh func- tion. arXiv preprint arXiv:2408.11839, 2024.
- Hua Zhu, Yi Wang, and Jian Zhang. An adaptive multi- population differential evolution with cooperative co-evolution for high-dimensional optimization. Swarm and Evolutionary Computation 2019, 44, 226–239. [Google Scholar]
- Wenbo Zhu. Optimizing distributed networking with big data scheduling and cloud computing. In International Conference on Cloud Computing, Internet of Things, and Computer Ap- plications (CICA 2022), volume 12303, pages 23–28. SPIE, 2022.

| Function | Name | Search Range | DIM | OPT Value |
|---|---|---|---|---|
| F1 | Sphere | [-100, 100] | 30 | 0 |
| F2 | Schwefel2.22 | [-10, 10] | 30 | 0 |
| F3 | Schwefel1.2 | [-100, 100] | 30 | 0 |
| F4 | Schwefel2.21 | [-100, 100] | 30 | 0 |
| F5 | Rosenbrock | [-30, 30] | 30 | 0 |
| F6 | Step | [-100, 100] | 30 | 0 |
| F7 | Rastrigin | [-5.12, 5.12] | 30 | 0 |
| F8 | Ackley | [-32, 32] | 30 | 0 |
| F9 | Griewank | [-600, 600] | 30 | 0 |
| F10 | Penalized | [-50, 50] | 30 | 0 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
