Estimation of distribution algorithm

Also known as: probabilistic model-building genetic algorithm

On this page 7

An estimation of distribution algorithm (EDA) is a population-based optimization method that replaces crossover and mutation with an explicit probabilistic model: in each generation it selects promising solutions, fits a probability distribution to them and samples the next population from that distribution. In evolutionary computation, EDAs are also called probabilistic model-building genetic algorithms, because they keep the selection loop of a genetic algorithm while learning the structure of good solutions directly.

The central idea is that a statistical model can capture dependencies between variables that blind recombination tends to break. When the model is expressive enough, an EDA can solve problems with strong variable interactions, such as deceptive building-block functions, using far fewer evaluations than a simple genetic algorithm.

How an estimation of distribution algorithm works

Every EDA repeats the same four-step cycle until a stopping criterion is met. The algorithm starts from a random population or a uniform distribution, then iterates as follows.

  1. Selection: choose the best candidates, for example the top 30 percent by fitness or the winners of tournaments.
  2. Model building: estimate a probability distribution that describes the selected candidates.
  3. Sampling: draw a new set of candidates from the estimated distribution.
  4. Replacement: evaluate the new candidates and merge them with, or substitute them for, the old population.

The model is the search operator. Where a genetic algorithm explores by recombining pairs of parents, an EDA explores by sampling regions that the model considers likely. Selection shifts probability mass toward better regions, so over generations the distribution concentrates around optima and its variance shrinks.

The table below lists the main parameters an EDA user must set and what each one controls.

ParameterTypical rangeEffect on search
Population sizeTens to several thousandLarger values give more reliable model estimates
Selection ratio10 to 50 percent truncationLower ratios raise selection pressure
Learning rate0.01 to 0.3 for incremental modelsControls how fast the model moves
Model complexityUnivariate to full networkDetermines which interactions can be learned
Variance floorSmall positive boundPrevents early collapse of exploration
Key parameters of an estimation of distribution algorithm

Model families and their expressiveness

EDAs are classified by how many variable dependencies their model can represent, which directly determines the problem classes they solve efficiently. Simple models are cheap to fit but assume independence; richer models learn interactions at a higher computational cost per generation.

FamilyRepresentative algorithmsDependencies modeledTypical domain
UnivariateUMDA, PBIL, compact genetic algorithmNone, variables independentSeparable binary problems
BivariateMIMIC, COMIT, BMDAPairwise chains or treesProblems with linked pairs
MultivariateBOA, hBOA, EBNA, ECGABayesian networks or clustersDeceptive and hierarchical problems
Continuous GaussianUMDAc, EMNA, IDEAMeans and covariancesReal-valued optimization
Permutation-basedMallows and edge-histogram modelsOrderings and adjacenciesScheduling and routing
Main families of estimation of distribution algorithms

The Bayesian optimization algorithm (BOA) and its hierarchical variant hBOA are the best-known multivariate EDAs. They learn a Bayesian network structure each generation, typically with a greedy search guided by a scoring metric such as BIC, and can solve problems that require identifying building blocks of unknown position.

Comparison with genetic algorithms and CMA-ES

An EDA differs from a genetic algorithm in how variation is generated and from CMA-ES mainly in how the model is updated. CMA-ES can be viewed as a sophisticated continuous EDA with a Gaussian model, but it adapts its covariance using evolution paths and step-size control rather than straightforward maximum-likelihood estimation, which makes it more robust against premature variance collapse.

AspectGenetic algorithmEstimation of distribution algorithmCMA-ES
Variation sourceCrossover and mutationSampling from learned modelSampling from adapted Gaussian
Linkage handlingImplicit, often disruptedExplicit when model is richThrough full covariance
Search spaceMostly discreteDiscrete, continuous, permutationsContinuous
Cost per generationLowLow to high, model dependentQuadratic in dimension
InterpretabilityLowHigh, model shows structureModerate
Estimation of distribution algorithm compared with related methods

A practical advantage of EDAs is that the learned model is a byproduct worth inspecting. A Bayesian network learned by hBOA reveals which variables interact, which engineers can use to understand the problem or to seed related optimization runs.

When to choose an estimation of distribution algorithm

An EDA is a strong choice when a problem has unknown but important variable interactions and fitness evaluations are affordable in the thousands. It is less attractive for smooth continuous problems of moderate dimension, where CMA-ES is usually the default, and for problems with very cheap local moves, where a memetic algorithm or local search often wins.

  • Binary design problems with linkage, such as feature selection, spin-glass models and network design, suit Bayesian network EDAs.
  • Scheduling and routing problems suit permutation EDAs built on Mallows or edge-histogram models.
  • Problems requiring insight benefit because the learned model documents which decisions belong together.
  • Hybrid pipelines often seed an EDA with heuristic solutions and refine its samples with local search.

Before committing, practitioners usually run a univariate baseline such as UMDA or PBIL. If it performs as well as a multivariate model, the problem is close to separable and the extra modeling cost is not justified.

Limitations and common pitfalls

The main risk in EDAs is premature convergence through model collapse. Maximum-likelihood estimates on a selected sample systematically shrink variance, so a continuous Gaussian EDA can stop moving before it reaches an optimum, a failure documented for simple algorithms such as UMDAc on slopes.

SymptomLikely causeRemedy
Variance shrinks too earlyMaximum-likelihood bias, small populationVariance scaling or adaptive amplification
Model misses interactionsUnivariate model on linked problemUse bivariate or Bayesian network model
Generation time too highCostly structure learningReuse structure across several generations
Poor diversityStrong truncation selectionLower pressure or add niching
Noisy estimatesPopulation below model’s sample needsIncrease population size
Typical problems and remedies

Population sizing deserves particular care. Learning an accurate multivariate model requires more samples than a genetic algorithm needs for the same problem size, and the required population grows with the order of interactions. When fitness evaluations are cheap but problem structure is unknown, this cost is usually acceptable; when evaluations are expensive, surrogate-assisted variants or model reuse are preferred.

The simple explanation

An estimation of distribution algorithm searches for the best answer by learning what good answers look like. It tries many answers. It keeps the best ones. Then it builds a summary of their shared features.

Next, it creates fresh answers that follow that summary. Imagine a chef who tastes many recipes, notes which ingredients the best dishes share, and then cooks new dishes from those notes. Each round, the notes improve and the dishes get closer to the ideal.

How it is used in practice

An engineering team designing a telecommunications network must choose which of 200 candidate links to build, subject to cost and reliability targets. Many links only help in combination, because redundancy matters only when alternative paths exist, so a plain genetic algorithm keeps breaking useful link groups during crossover.

The team applies hBOA with a population of 2,000 and truncation selection of the top half. Within about 60 generations, the learned Bayesian network groups links that form redundant paths, and the algorithm samples those groups together. The final design meets the reliability target at roughly 8 percent lower cost than the best genetic algorithm run, and the learned model shows planners which link clusters drive reliability.