In 1995, social psychologist James Kennedy and electrical engineer Russell Eberhart watched a flock of starlings wheel across the sky and asked: could that collective intelligence solve an equation? The result was Particle Swarm Optimization (PSO) — one of the most widely used metaheuristics in engineering and machine learning.
The idea is disarmingly simple. Imagine scattering a cloud of particles across the space of all possible solutions to a problem. Each particle remembers the best position it has ever personally visited (), and the whole swarm shares the best position any particle has ever found (). At every step, each particle adjusts its velocity:
The first term is inertia — momentum from the previous direction. The second pulls toward personal memory. The third pulls toward the swarm's collective champion. Position then updates as , and the cycle repeats.
This three-way tug of war between memory, social pressure, and momentum produces surprisingly rich exploratory behavior — and convergence — without any gradient information at all.
Comments
Loading comments...