Consensus based optimization
This article, Consensus based optimization, has recently been created via the Articles for creation process. Please check to see if the reviewer has accidentally left this template after accepting the draft and take appropriate action as necessary.
Reviewer tools: Inform author |
Consensus-based optimization (CBO) [1] is a multi-agent derivative-free optimization method, designed to obtain solutions for global optimization problems of the form

where denotes the objective function acting on the state space , which we assume to be a normed vector space in the following. The function can potentially be nonconvex and nonsmooth. The algorithm employs particles or agents to explore the state space, which communicate with each other to update their positions. Their dynamics follows the paradigm of metaheuristics, which blend exporation with exploitation. In this sense, CBO is comparable to ant colony optimization, wind driven optimization[2], particle swarm optimization or Simulated annealing.
The algorithm
Consider an ensemble of points , dependent of the time . Then the update for the th particle is formulated as a stochastic differential equation,
1 |
with the following components:
- The consensus point : The key idea of CBO is that in each step the particles “agree” on a common consensus point, by computing an average of their positions, weighted by their current objective function value This point is then used in the drift term , which moves each particle into the direction of the consensus point.
- Scaled noise: For each and , we denote by independent standard Brownian motions. The function incorporates the drift of the th particle and determines the noise model. The most common choices are:
- Isotropic noise, : In this case and every component of the noise vector is scaled equally. This was used in the original version of the algorithm[1].
- Anisotropic noise, : In the special case, where , this means that and applies the absolute value function component-wise. Here, every component of the noise vector is scaled, dependent on the corresponding entry of the drift vector.
- Hyperparameters: The parameter scales the influence of the noise term. The parameter determines the separation effect of the particles[1]:
- in the limit every particle is assigned the same weight and the consensus point is a regular mean.
- In the limit the consensus point corresponds to the particle with the best objective value, completely ignoring the position of other points in the ensemble.
Convergence
Notes on Implementation
In practice, the SDE in [[#math_{{{1}}}|{{{1}}}]] is discretized via the Euler–Maruyama method such that the following explicit update formula for the ensemble is obtained,If one can employ an efficient implementation of the LogSumExp functions, this can be beneficial for numerical stability of the consensus point computation. We refer to existing implementation in Python [1] and Julia [2].
Variants
Polarization
See also
Ant colony optimization algorithms
References
- ^ a b c Pinnau, René; Totzeck, Claudia; Tse, Oliver; Martin, Stephan (January 2017). "A consensus-based model for global optimization and its mean-field limit". Mathematical Models and Methods in Applied Sciences. 27 (1): 183–204. arXiv:1604.05648. doi:10.1142/S0218202517400061. ISSN 0218-2025. S2CID 119296432.
- ^ "The Wind Driven Optimization Technique and its Application in Electromagnetics | IEEE Journals & Magazine | IEEE Xplore". ieeexplore.ieee.org. Retrieved 2024-02-03.