Next Article in Journal
Multi-Strategy Boosted Fick’s Law Algorithm for Engineering Optimization Problems and Parameter Estimation
Next Article in Special Issue
Dynamic Random Walk and Dynamic Opposition Learning for Improving Aquila Optimizer: Solving Constrained Engineering Design Problems
Previous Article in Journal
Nonlinear Growth Dynamics of Neuronal Cells Cultured on Directional Surfaces
Previous Article in Special Issue
BGOA-TVG: Binary Grasshopper Optimization Algorithm with Time-Varying Gaussian Transfer Functions for Feature Selection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Random Particle Swarm Optimization Based on Cosine Similarity for Global Optimization and Classification Problems

1
School of Intelligent Manufacturing Engineering, Jiangxi College of Application Science and Technology, Nanchang 330000, China
2
School of Computer Science and Technology, Zhejiang Normal University, Jinhua 321004, China
3
School of Computing and Artificial Intelligence, Southwestern University of Finance and Economics, Chengdu 611130, China
*
Authors to whom correspondence should be addressed.
Biomimetics 2024, 9(4), 204; https://doi.org/10.3390/biomimetics9040204
Submission received: 26 February 2024 / Revised: 23 March 2024 / Accepted: 25 March 2024 / Published: 28 March 2024
(This article belongs to the Special Issue Nature-Inspired Metaheuristic Optimization Algorithms 2024)

Abstract

In today’s fast-paced and ever-changing environment, the need for algorithms with enhanced global optimization capability has become increasingly crucial due to the emergence of a wide range of optimization problems. To tackle this issue, we present a new algorithm called Random Particle Swarm Optimization (RPSO) based on cosine similarity. RPSO is evaluated using both the IEEE Congress on Evolutionary Computation (CEC) 2022 test dataset and Convolutional Neural Network (CNN) classification experiments. The RPSO algorithm builds upon the traditional PSO algorithm by incorporating several key enhancements. Firstly, the parameter selection is adapted and a mechanism called Random Contrastive Interaction (RCI) is introduced. This mechanism fosters information exchange among particles, thereby improving the ability of the algorithm to explore the search space more effectively. Secondly, quadratic interpolation (QI) is incorporated to boost the local search efficiency of the algorithm. RPSO utilizes cosine similarity for the selection of both QI and RCI, dynamically updating population information to steer the algorithm towards optimal solutions. In the evaluation using the CEC 2022 test dataset, RPSO is compared with recent variations of Particle Swarm Optimization (PSO) and top algorithms in the CEC community. The results highlight the strong competitiveness and advantages of RPSO, validating its effectiveness in tackling global optimization tasks. Additionally, in the classification experiments with optimizing CNNs for medical images, RPSO demonstrated stability and accuracy comparable to other algorithms and variants. This further confirms the value and utility of RPSO in improving the performance of CNN classification tasks.
Keywords: global optimization; particle swarm optimization; cosine similarity; classification global optimization; particle swarm optimization; cosine similarity; classification

Share and Cite

MDPI and ACS Style

Liu, Y.; Zeng, Y.; Li, R.; Zhu, X.; Zhang, Y.; Li, W.; Li, T.; Zhu, D.; Hu, G. A Random Particle Swarm Optimization Based on Cosine Similarity for Global Optimization and Classification Problems. Biomimetics 2024, 9, 204. https://doi.org/10.3390/biomimetics9040204

AMA Style

Liu Y, Zeng Y, Li R, Zhu X, Zhang Y, Li W, Li T, Zhu D, Hu G. A Random Particle Swarm Optimization Based on Cosine Similarity for Global Optimization and Classification Problems. Biomimetics. 2024; 9(4):204. https://doi.org/10.3390/biomimetics9040204

Chicago/Turabian Style

Liu, Yujia, Yuan Zeng, Rui Li, Xingyun Zhu, Yuemai Zhang, Weijie Li, Taiyong Li, Donglin Zhu, and Gangqiang Hu. 2024. "A Random Particle Swarm Optimization Based on Cosine Similarity for Global Optimization and Classification Problems" Biomimetics 9, no. 4: 204. https://doi.org/10.3390/biomimetics9040204

APA Style

Liu, Y., Zeng, Y., Li, R., Zhu, X., Zhang, Y., Li, W., Li, T., Zhu, D., & Hu, G. (2024). A Random Particle Swarm Optimization Based on Cosine Similarity for Global Optimization and Classification Problems. Biomimetics, 9(4), 204. https://doi.org/10.3390/biomimetics9040204

Article Metrics

Back to TopTop