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.
- Selection: choose the best candidates, for example the top 30 percent by fitness or the winners of tournaments.
- Model building: estimate a probability distribution that describes the selected candidates.
- Sampling: draw a new set of candidates from the estimated distribution.
- 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.
| Parameter | Typical range | Effect on search |
|---|---|---|
| Population size | Tens to several thousand | Larger values give more reliable model estimates |
| Selection ratio | 10 to 50 percent truncation | Lower ratios raise selection pressure |
| Learning rate | 0.01 to 0.3 for incremental models | Controls how fast the model moves |
| Model complexity | Univariate to full network | Determines which interactions can be learned |
| Variance floor | Small positive bound | Prevents early collapse of exploration |
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.
| Family | Representative algorithms | Dependencies modeled | Typical domain |
|---|---|---|---|
| Univariate | UMDA, PBIL, compact genetic algorithm | None, variables independent | Separable binary problems |
| Bivariate | MIMIC, COMIT, BMDA | Pairwise chains or trees | Problems with linked pairs |
| Multivariate | BOA, hBOA, EBNA, ECGA | Bayesian networks or clusters | Deceptive and hierarchical problems |
| Continuous Gaussian | UMDAc, EMNA, IDEA | Means and covariances | Real-valued optimization |
| Permutation-based | Mallows and edge-histogram models | Orderings and adjacencies | Scheduling and routing |
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.
| Aspect | Genetic algorithm | Estimation of distribution algorithm | CMA-ES |
|---|---|---|---|
| Variation source | Crossover and mutation | Sampling from learned model | Sampling from adapted Gaussian |
| Linkage handling | Implicit, often disrupted | Explicit when model is rich | Through full covariance |
| Search space | Mostly discrete | Discrete, continuous, permutations | Continuous |
| Cost per generation | Low | Low to high, model dependent | Quadratic in dimension |
| Interpretability | Low | High, model shows structure | Moderate |
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.
| Symptom | Likely cause | Remedy |
|---|---|---|
| Variance shrinks too early | Maximum-likelihood bias, small population | Variance scaling or adaptive amplification |
| Model misses interactions | Univariate model on linked problem | Use bivariate or Bayesian network model |
| Generation time too high | Costly structure learning | Reuse structure across several generations |
| Poor diversity | Strong truncation selection | Lower pressure or add niching |
| Noisy estimates | Population below model’s sample needs | Increase population size |
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.