Estimation of distribution algorithm
Estimation of distribution algorithms (EDAs), sometimes called probabilistic model-building genetic algorithms (PMBGAs), are stochastic optimization methods that guide the search for the optimum by building and sampling explicit probabilistic models of promising candidate solutions. Optimization is viewed as a series of incremental updates of a probabilistic model, starting with the model encoding the uniform distribution over admissible solutions and ending with the model that generates only the global optima.
EDAs belong to the class of evolutionary algorithms. The main difference between EDAs and most conventional evolutionary algorithms is that evolutionary algorithms generate new candidate solutions using an implicit distribution defined by one or more variation operators, whereas EDAs use an explicit probability distribution encoded by a Bayesian network, a multivariate normal distribution, or another model class. Similarly as other evolutionary algorithms, EDAs can be used to solve optimization problems defined over a number of representations from vectors to LISP style S expressions, and the quality of candidate solutions is often evaluated using one or more objective functions.
The general procedure of an EDA is outlined in the following:
t = 0 initialize model M(0) to represent uniform distribution over admissible solutions while (termination criteria not met) P = generate N>0 candidate solutions by sampling M(t) F = evaluate all candidate solutions in P M(t+1) = adjust_model(P,F,M(t)) t = t + 1
Using explicit probabilistic models in optimization allowed EDAs to feasibly solve optimization problems that were notoriously difficult for most conventional evolutionary algorithms and traditional optimization techniques, such as problems with high levels of epistasis. Nonetheless, the advantage of EDAs is also that these algorithms provide an optimization practitioner with a series of probabilistic models that reveal a lot of information about the problem being solved. This information can in turn be used to design problem-speciﬁc neighborhood operators for local search, to bias future runs of EDAs on a similar problem, or to create an efficient computational model of the problem.
For example, if the population is represented by bit strings of length 4, the EDA can represent the population of promising solution using a single vector of four probabilities (p1, p2, p3, p4) where each component of p defines the probability of that position being a 1. Using this probability vector it is possible to create an arbitrary number of candidate solutions.
- 1 Estimation of distribution algorithms (EDAs)
- 2 Univariate factorizations
- 3 Bivariate factorizations
- 4 Multivariate factorizations
- 5 Other
- 6 References
Estimation of distribution algorithms (EDAs)
This section describes the models built by some well known EDAs of different levels of complexity. It is always assumed a population at the generation , a selection operator , a model-building operator and a sampling operator .
The most simple EDAs assume that decision variables are independent, i.e. . Therefore, univariate EDAs rely only on univariate statistics and multivariate distributions must be factorized as the product of univariate probability distributions,
Such factorizations are used in many different EDAs, next we describe some of them.
The UMDA is a simple EDA that uses an operator to estimate marginal probabilities from a selected population . By assuming contain elements, produces probabilities:
Every UMDA step can be described as follows
The PBIL, represents the population implicitly by its model, from which it samples new solutions and updates the model. At each generation, individuals are sampled and are selected. Such individuals are then used to update the model as follows
where is a parameter defining the learning rate, a small value determines that the previous model should be only slightly modified by the new solutions sampled. PBIL can be described as
Compact genetic algorithm (cGA)
The CGA, also relies on the implicit populations defined by univariate distributions. At each generation , two individuals are sampled, . The population is then sort in decreasing order of fitness, , with being the best and being the worst solution. The CGA estimates univariate probabilities as follows
where, is a constant defining the learning rate, usually set to . The CGA can be defined as
Although univariate models can be computed efficiently, in many cases they are not representative enough to provide better performance than GAs. In order to overcome such a drawback, the use of bivariate factorizations was proposed in the EDA community, in which dependencies between pairs of variables could be modeled. A bivariate factorization can be defined as follows, where contains a possible variable dependent to , i.e. .
Bivariate and multivariate distributions are usually represented as Probabilistic Graphical Models (graphs), in which edges denote statistical dependencies (or conditional probabilities) and vertices denote variables. To learn the structure of a PGM from data linkage-learning is employed.
The MIMIC factorizes the joint probability distribution in a chain-like model representing successive dependencies between variables. It finds a permutation of the decision variables, , such that minimizes the Kullback-Leibler divergence in relation to the true probability distribution, i.e. . MIMIC models a distribution
New solutions are sampled from the leftmost to the rightmost variable, the first is generated independently and the others according to conditional probabilities. Since the estimated distribution must be recomputed each generation, MIMIC uses concrete populations in the following way
The BMDA factorizes the joint probability distribution in bivariate distributions. First, a randomly chosen variable is added as a node in a graph, the most dependent variable to one of those in the graph is chosen among those not yet in the graph, this procedure is repeated until no remaining variable depends on any variable in the graph (verified according to a threshold value).
The resulting model is a forest with multiple trees rooted at nodes . Considering the non-root variables, BMDA estimates a factorized distribution in which the root variables can be sampled independently, whereas all the others must be conditioned to the parent variable .
Each step of BMDA is defined as follows
The next stage of EDAs development was the use of multivariate factorizations. In this case, the joint probability distribution is usually factorized in a number of components of limited size .
The learning of PGMs encoding multivariate distributions is a computationally expensive task, therefore, it is usual for EDAs to estimate multivariate statistics from bivariate statistics. Such relaxation allows PGM to be built in polynomial time in ; however, it also limits the generality of such EDAs.
The ECGA was one of the first EDA to employ multivariate factorizations, in which high-order dependencies among decision variables can be modeled. Its approach factorizes the joint probability distribution in the product of multivariate marginal distributions. Assume is a set of subsets, in which every is a linkage set, containing variables. The factorized joint probability distribution is represented as follows
The ECGA popularized the term linkage-learning as denoting procedures that identify linkage sets. Its linkage-learning procedure relies on two measures: (1) the Model Complexity (MC) and (2) the Compressed Population Complexity (CPC). The MC quantifies the model representation size in terms of number of bits required to store all the marginal probabilities
The CPC, on the other hand, quantifies the data compression in terms of entropy of the marginal distribution over all partitions, where is the selected population size, is the number of decision variables in the linkage set and is the joint entropy of the variables in
The linkage-learning in ECGA works as follows: (1) Insert each variable in a cluster, (2) compute CCC = MC + CPC of the current linkage sets, (3) verify the increase on CCC provided by joining pairs of clusters, (4) effectively joins those clusters with highest CCC improvement. This procedure is repeated until no CCC improvements are possible and produces a linkage model . The ECGA works with concrete populations, therefore, using the factorized distribution modeled by ECGA, it can be described as
The BOA uses Bayesian networks to model and sample promising solutions. Bayesian networks are directed acyclic graphs, with nodes representing variables and edges representing conditional probabilities between pair of variables. The value of a variable can be conditioned on a maximum of other variables, defined in . BOA builds a PGM encoding a factorized joint distribution, in which the parameters of the network, i.e. the conditional probabilities, are estimated from the selected population using the maximum likelihood estimator.
The Bayesian network structure, on the other hand, must be built iteratively (linkage-learning). It starts with a network without edges and, at each step, adds the edge which better improves some scoring metric (e.g. Bayesian information criterion (BIC) or Bayesian-Dirichlet metric with likelihood equivalence (BDe)). The scoring metric evaluates the network structure according to its accuracy in modeling the selected population. From the built network, BOA samples new promising solutions as follows: (1) it computes the ancestral ordering for each variable, each node being preceded by its parents; (2) each variable is sampled conditionally to its parents. Given such scenario, every BOA step can be defined as
Linkage-tree Genetic Algorithm (LTGA)
The LTGA differs from most EDA in the sense it does not explicitly model a probabilisty distribution but only a linkage model, called linkage-tree. A linkage is a set of linkage sets with no probability distribution associated, therefore, there is no way to sample new solutions directly from . The linkage model is a linkage-tree produced stored as a Family of sets (FOS).
The linkage-tree learning procedure is a hierarchical clustering algorithm, which work as follows. At each step the two closest clusters and are merged, this procedure repeats until only one cluster remains, each subtree is stored as a subset .
The LTGA uses to guide an "optimal mixing" procedure which resembles a recombination operator but only accepts improving moves. We denote it as , where the notation indicates the transfer of the genetic material indexed by from to .
The LTGA does not implement typical selection operators, instead, selection is performed during recombination. Similar ideas have been usually applied into local-search heuristics and, in this sense, the LTGA can be seen as an hybrid method. In summary, one step of the LTGA is defined as
- Probability collectives (PC)
- Hill climbing with learning (HCwL)
- Estimation of multivariate normal algorithm (EMNA)
- Estimation of Bayesian networks algorithm (EBNA)
- Stochastic hill climbing with learning by vectors of normal distributions (SHCLVND)
- Real-coded PBIL
- Probabilistic incremental program evolution (PIPE)
- Estimation of Gaussian networks algorithm (EGNA)
- Jose A. Lozano, Pedro Larrañaga, (2002). Estimation of Distribution Algorithms a New Tool for Evolutionary Computation. Boston, MA: Springer US. ISBN 978-1-4615-1539-5.
- Larrañaga, P., Inza, I., Bengoetxea, E., Jose A. Lozano (2006). Towards a new evolutionary computation advances in the estimation of distribution algorithms. Berlin: Springer. ISBN 978-3-540-32494-2.
- Pelikan, Martin; Sastry, Kumara; Cantú-Paz, Erick (2006). Scalable optimization via probabilistic modeling : from algorithms to applications ; with 26 tables. Berlin: Springer. ISBN 3540349537.
- Mühlenbein, Heinz (1 September 1997). "The Equation for Response to Selection and Its Use for Prediction". Evol. Computation. 5 (3): 303–346. doi:10.1162/evco.19184.108.40.2063. ISSN 1063-6560.
- Baluja, Shummet (1 January 1994). "Population-Based Incremental Learning: A Method for Integrating Genetic Search Based Function Optimization and Competitive Learning". Carnegie Mellon University.
- Harik, G.R.; Lobo, F.G.; Goldberg, D.E. (1999). "The compact genetic algorithm". IEEE Transactions on Evolutionary Computation. 3 (4): 287–297. doi:10.1109/4235.797971.
- Bonet, Jeremy S. De; Isbell, Charles L.; Viola, Paul (1 January 1996). "MIMIC: Finding Optima by Estimating Probability Densities". ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS. The MIT Press: 424.
- Pelikan, Martin; Muehlenbein, Heinz (1 January 1999). "The Bivariate Marginal Distribution Algorithm". Advances in Soft Computing. Springer London: 521–535. doi:10.1007/978-1-4471-0819-1_39.
- Harik, Georges Raif. Learning Gene Linkage to Efficiently Solve Problems of Bounded Difficulty Using Genetic Algorithms. University of Michigan.
- Pelikan, Martin; Goldberg, David E.; Cantu-Paz, Erick (1 January 1999). "BOA: The Bayesian Optimization Algorithm". Morgan Kaufmann: 525–532.
- Pelikan, Martin (2005). Hierarchical Bayesian optimization algorithm : toward a new generation of evolutionary algorithms (1st ed. ed.). Berlin [u.a.]: Springer. ISBN 978-3-540-23774-7.
- Wolpert, David H.; Rajnarayan, Dev (1 January 2013). "Using Machine Learning to Improve Stochastic Optimization". Proceedings of the 17th AAAI Conference on Late-Breaking Developments in the Field of Artificial Intelligence. AAAI Press: 146–148.
- Larrañaga, Pedro; Karshenas, Hossein; Bielza, Concha; Santana, Roberto (21 August 2012). "A review on probabilistic graphical models in evolutionary computation". Journal of Heuristics. 18 (5): 795–819. doi:10.1007/s10732-012-9208-4.
- Thierens, Dirk (11 September 2010). "The Linkage Tree Genetic Algorithm". Parallel Problem Solving from Nature, PPSN XI. Springer Berlin Heidelberg: 264–273. doi:10.1007/978-3-642-15844-5_27.
- WOLPERT, DAVID H.; STRAUSS, CHARLIE E. M.; RAJNARAYAN, DEV (December 2006). "ADVANCES IN DISTRIBUTED OPTIMIZATION USING PROBABILITY COLLECTIVES". Advances in Complex Systems. 09 (04): 383–436. doi:10.1142/S0219525906000884.
- Pelikan, Martin; Goldberg, David E.; Lobo, Fernando G. (2002). "A Survey of Optimization by Building and Using Probabilistic Models". Computational Optimization and Applications. 21 (1): 5–20. doi:10.1023/A:1013500812258.