Particle Swarm Optimization (PSO)
Also known as: PSO, swarm intelligence optimization, Parçacık Sürü Optimizasyonu (PSO)
Particle Swarm Optimization (PSO) is a population-based metaheuristic algorithm introduced by Kennedy and Eberhart in 1995, inspired by the collective movement of bird flocks and fish schools. Each candidate solution — called a particle — moves through the search space by updating its velocity and position based on its own best experience and the best experience of the entire swarm, enabling fast convergence across continuous optimization problems.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
+25 more
When to use it
PSO is suited to continuous optimization problems where the fitness function can be evaluated at any point in the search space but may be non-differentiable, multimodal, or expensive to compute analytically. It requires no normality assumption and no minimum sample size, making it applicable across domains. The method works best when the search-space bounds are known in advance, when inertia weight and acceleration coefficients are tuned carefully, and when a sufficient number of iterations is allocated. If iteration count is too low (fewer than a few hundred on non-trivial problems), premature convergence is likely and Bayesian optimization may be a safer alternative.
Strengths & limitations
- Fast convergence in continuous search spaces relative to many population-based methods.
- Very few parameters to tune — primarily inertia weight and two acceleration coefficients.
- Requires no gradient or derivative information, making it applicable to non-differentiable and black-box fitness functions.
- Scales naturally to high-dimensional continuous problems.
- Conceptually simple and straightforward to implement.
- Designed for continuous search spaces; not directly applicable to discrete or combinatorial problems without modification.
- Premature convergence is a known risk: the swarm may cluster around a local optimum if the inertia weight and coefficients are poorly chosen.
- Convergence speed and solution quality are sensitive to the choice of inertia weight and acceleration coefficients.
- No theoretical guarantee of finding the global optimum in a finite number of iterations.
Frequently asked
How does PSO differ from a genetic algorithm?
Both are population-based metaheuristics for optimization, but they differ in mechanism. A genetic algorithm evolves a population through selection, crossover, and mutation operators inspired by biological evolution. PSO instead moves particles through a continuous space by updating velocities based on personal and social memory — there is no crossover or mutation. PSO typically has fewer parameters to tune and often converges faster on continuous problems, while genetic algorithms can be more naturally adapted to discrete or combinatorial spaces.
What are the key parameters and how should they be set?
The three core parameters are the inertia weight (w), which controls how much of the previous velocity is retained; the cognitive coefficient (c1), which scales attraction toward a particle's personal best; and the social coefficient (c2), which scales attraction toward the global best. A common starting point from the literature is w around 0.7–0.9, c1 and c2 around 1.5–2.0. The inertia weight is often decreased linearly over iterations to shift the swarm from exploration early on toward exploitation later.
Can PSO handle discrete or combinatorial problems?
Standard PSO is defined for continuous search spaces and applies velocity and position updates that assume real-valued coordinates. Discrete or combinatorial variants exist — such as binary PSO — but these require non-trivial modifications to the update equations. For purely combinatorial problems like routing or scheduling, Ant Colony Optimization is often the more natural choice.
How do I know if the swarm has converged prematurely?
Track the global best fitness value across iterations. If the curve flattens long before the iteration budget is exhausted and the reported solution is not satisfactory, premature convergence has likely occurred. Common remedies include increasing the inertia weight, restarting the swarm from new random positions, or increasing the swarm size. If the computation budget does not allow more iterations, Bayesian optimization may be a more efficient alternative.
Sources
- Kennedy, J. & Eberhart, R. (1995). Particle Swarm Optimization. IEEE International Conference on Neural Networks (ICNN), 1942-1948. DOI: 10.1109/ICNN.1995.488968 ↗
- Shi, Y. & Eberhart, R. (1998). A Modified Particle Swarm Optimizer. IEEE Congress on Evolutionary Computation (CEC). link ↗
How to cite this page
ScholarGate. (2026, June 1). Particle Swarm Optimization (PSO). ScholarGate. https://scholargate.app/en/optimization/particle-swarm-optimization
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Ant Colony OptimizationOptimization↔ compare
- Bayesian OptimizationOptimization↔ compare
- Differential EvolutionOptimization↔ compare
- Genetic AlgorithmOptimization↔ compare
- Grey Wolf OptimizerOptimization↔ compare
- Simulated AnnealingOptimization↔ compare