Deterministic Particle Swarm Optimization — Convergence-guaranteed swarm search without random noise

Decision Sciences
Introduced by
Kennedy, J., Eberhart, R. (PSO); deterministic variant formalized in convergence analysis literature
Year
1995 (PSO); deterministic formulation circa 2002
Type
Swarm intelligence metaheuristic — deterministic variant
Family
Simulation / optimization

What does it do?

Deterministic Particle Swarm Optimization (DPSO) removes the random coefficients from the classical PSO velocity update and replaces them with fixed cognitive and social acceleration parameters.

Given the same initial positions and velocities, the particle trajectories are fully determined, so runs are exactly reproducible, and the update can be analyzed for convergence to a fixed point. A fixed point is not necessarily the global optimum. The method is used for continuous optimization problems where reproducibility matters more than broad global exploration.

The intuition behind the method

Standard PSO uses random numbers to vary how much each particle is attracted toward its personal best and the global best position. Deterministic PSO fixes these random factors to constants, turning the swarm into a fully predictable dynamical system. This makes every run produce identical results given the same initialization, and it allows the trajectory equations to be checked for stability, for instance through the eigenvalues of the iteration matrix. Such an analysis concerns convergence to a fixed point, not global optimality. The tradeoff is reduced exploration diversity: without randomness the swarm relies entirely on the diversity of initial positions to avoid premature convergence. DPSO is best understood as a baseline variant that isolates and analyzes the core PSO dynamics free from stochastic noise.

History

Particle swarm optimization was introduced by Kennedy and Eberhart in 1995 as a method for optimizing nonlinear functions, and the original work proposed benchmark testing and applications such as neural network training. Clerc and Kennedy (2002) analyzed a particle's trajectory in discrete and continuous time and derived a generalized model with coefficients that control convergence tendencies; that analysis concerns the standard, stochastic PSO. The deterministic form is obtained by removing the random factors from the standard velocity update.

When to use it

Use DPSO when identical results from identical starting conditions are required, for example in benchmarking, or in comparisons where differences between algorithms must not be confounded by random variation. It suits smooth, unimodal, or mildly multimodal continuous objectives, where the initial swarm is likely to cover the region containing the optimum. Prefer DPSO over stochastic PSO when a deterministic, analyzable update is more valuable than exploration. Do not use DPSO on highly multimodal, rugged, or deceptive landscapes, where stochastic exploration helps escape local optima; stochastic PSO, differential evolution or simulated annealing are more appropriate candidates there. Avoid it in very high-dimensional spaces where a fixed initial swarm cannot cover the domain, and for discrete problems unless a suitable mapping is defined.

Limitations and considerations

  • Reduced exploration diversity: without stochastic perturbations, the swarm relies entirely on initial position spread to cover the search space.
  • Prone to premature convergence on multimodal problems where random exploration is needed to escape local optima.
  • Performance is highly sensitive to initial swarm placement — poor initialization can lead to permanent entrapment.
  • Stagnation: without random terms, once particles reach the global best or a common point their velocities decay, and the swarm can stop moving without having found an optimum. A vanishing velocity norm can reflect this stall rather than convergence to an optimum.
  • Not well-suited for dynamic or noisy optimization environments where stochastic adaptability is an asset.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Fully reproducible for a given initial state: the velocity and position updates contain no random terms, so the same initial positions and velocities produce identical trajectories and results.
  • The update is a linear iteration when the personal and global best positions are held fixed, so its stability can be studied through the eigenvalues of the iteration matrix in w, c1 and c2. This analysis concerns convergence to a fixed point, not global optimality.
  • Only w, c1 and c2 need to be set, with no random scaling factors to tune.
  • Lower per-iteration cost, since no random numbers are drawn after initialization.
  • Useful as a baseline that isolates the effect of the global-best attraction and the acceleration parameters from stochastic noise.

Applications

  • Reproducible benchmarking of continuous test functions, where identical runs are needed to compare algorithms
  • Convergence and trajectory analysis of the PSO update, where a deterministic iteration is easier to study
  • Continuous parameter tuning with smooth, low-multimodality objectives, where global exploration matters less
  • Engineering design optimization in which a repeatable result from a fixed starting configuration must be documented

How it works

How it works

1

Create a swarm of N particles with positions x_i drawn uniformly across the search space (or taken from a fixed, recorded design) and initial velocities set to zero or small values. Set each personal best p_i = x_i and identify the global best g among the particles by objective value. The seed or design used in this step fully determines all later steps.

2

Evaluate the objective function f(x_i) for every particle. Update personal best p_i whenever f(x_i) improves over f(p_i), and update global best g whenever a new personal best surpasses the current global best.

3

After each full evaluation pass, record the updated personal and global best positions. No random perturbation is added at this step: the cognitive and social weights c1 and c2 are fixed scalars rather than products with random variables U(0,1).

4

Update each velocity with fixed inertia weight w and constant coefficients c1 and c2: v_i^{t+1} = w * v_i^t + c1*(p_i - x_i^t) + c2*(g - x_i^t). Because the update contains no random terms, each velocity is a fixed function of the current state. With the personal and global best positions held fixed, the update is a linear iteration whose characteristic polynomial is lambda^2 - (1 + w - c1 - c2)*lambda + w = 0. The iteration is stable only if both roots lie inside the unit circle, so the chosen w, c1 and c2 must be checked against this condition before a run. Because the best positions change during a run, this check is a guide to parameter choice and does not by itself guarantee convergence of the full algorithm.

Formula
v_{i,d}^{t+1} = w \cdot v_{i,d}^t + c_1 (p_{i,d} - x_{i,d}^t) + c_2 (g_d - x_{i,d}^t)
5

Update positions: x_i^{t+1} = x_i^t + v_i^{t+1}. Apply boundary handling such as clamping or reflection to keep particles within feasible bounds; these rules are fixed and add no randomness.

Formula
x_{i,d}^{t+1} = x_{i,d}^t + v_{i,d}^{t+1}
6

Repeat the evaluate and update steps until a stopping criterion is met: an iteration limit, an objective value below a threshold, or a swarm velocity norm below a tolerance. The velocity criterion indicates that the swarm has stalled, not that the global optimum has been found. Return the global best position g and its objective value f(g).

Common pitfalls

  • Reading reproducibility as global optimality: a DPSO run can reliably converge to a local optimum.
  • Choosing w, c1 and c2 without checking the stability of the iteration; unsuitable values produce divergent or oscillating trajectories.
  • Applying the continuous update to discrete variables without a defined mapping. Probabilistic mappings such as sigmoid-based encodings sample at random and reintroduce stochasticity.
  • Treating fixed acceleration values as universally good; suitable values depend on problem dimension and landscape shape.

Frequently asked questions

How does Deterministic PSO differ from standard (stochastic) PSO?

Standard PSO multiplies the cognitive and social attraction terms by random values drawn from U(0,1) at each iteration, which makes trajectories stochastic. DPSO removes these random factors and uses the acceleration coefficients c1 and c2 directly, as in the velocity update given in the mechanics, so trajectories are fixed by the initial state and the parameters.

Does DPSO always converge to the global optimum?

No. With the personal and global best positions held fixed, the update settles to a fixed point when its parameters satisfy the stability condition described in the update-velocity step. A fixed point is not necessarily the global optimum. On multimodal landscapes DPSO can settle at a local optimum, and the stability of the iteration says nothing about whether the point reached is globally optimal.

When should I choose DPSO over stochastic PSO?

Choose DPSO when reproducibility, interpretability, or a stability analysis of the update is required, such as in benchmarking or in theoretical study of the update. Choose stochastic PSO when the search landscape is multimodal and exploration diversity is more important than reproducibility.

What parameter values are recommended for DPSO?

No default parameter set is given here, and suitable values depend on problem dimension and landscape shape. Admissible values follow from the stability condition of the update: with the personal and global best positions held fixed, the iteration matrix has characteristic polynomial lambda^2 - (1 + w - c1 - c2)*lambda + w = 0, and both roots must lie inside the unit circle. Check the chosen w, c1 and c2 against this condition before starting a study. Because the best positions change during a run, the check guides parameter choice rather than guaranteeing convergence of the full algorithm.

Is DPSO suitable for combinatorial optimization?

DPSO is defined for continuous search spaces. Applying it to discrete or combinatorial problems requires a mapping from continuous positions to decisions. Probabilistic mappings such as sigmoid-based binary encoding reintroduce randomness in the sampling step and partly undo the deterministic property; deterministic rounding or thresholding avoids this but changes the search behavior and needs separate justification.

Related methods

Sources

  1. Kennedy, J., Eberhart, R. (1995). Particle swarm optimization. Proceedings of ICNN'95 — International Conference on Neural Networks, vol. 4, pp. 1942–1948. IEEE.

    Open DOI reference
  2. Clerc, M., Kennedy, J. (2002). The particle swarm — explosion, stability, and convergence in a multidimensional complex space. IEEE Transactions on Evolutionary Computation, 6(1), 58–73.

    Open DOI reference