Profiling Communication in Distributed Genetic Algorithms
Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence. Invited Speakers. Pages 961-965.
© 1995 International Joint Conferences on Artificial Intelligence
Abstract
To what extent is distribution beneficial to the search quality and computational resources used by a genetic algorithm execution? Most distributed genetic algorithms rely on communicating genetic information, in the form of individual solutions, between concurrently evolving populations. Another way of effectively using the additional information generated by the parallel executions is the profiling approach to communication, where populations decide whether their own performance is satisfactory, relative to the global average improvement curve. Thus, communication between populations takes the form of improvement histories. This is shown to improve on the traditional communication approach, in terms of both solution quality and execution performance.
- [Barak, et a/, 1993] A. Barak , S. Guday and R. G . 966 INVITED SPEAKERS Wheeler . The MOSIX Distributed Operating Sys- tem. Lecture Notes in Computer Science No . 672, Springer Verlag, 1993.
- [Davidor and Ben-Kiki, 1992] Y. Davidor and 0. Ben- Kiki. The Interplay Among the Genetic Algorithm Operators: Information Theory Tools Used in a Holistic Way. In Parallel Problem Solving from Na- ture 2, 1992.
- [Davidor, 1993] Y. Davidor . An ECOlogical Model for Evolutionary Computing. In The Japanese Journal for Systems, Control and Information, Vol. 37 , No. 8, 1993.
- [Fogarty and Huang, 1990] T. C. Fogarty and R . Huang. Implementing the genetic algorithm on transputer based parallel processing systems. In Parallel Prob- lem Solving from Nature, 1990.
- [Gordon and Whitley, 1993] V. S. Gordon and D . Whit- ley Serial and parallel genetic algorithms as function optimizers. In Proc. of the 5th Inti. Conf on Genetic Algorithms, 1989.
- [Janikow and Michalewicz, 1991] C.Z. Janikow and Z. Michalewicz. An Experimental Comparison of Bi- nary and Floating Point Representation in Genetic Algorithms. In Proc. 4th Int . Conf on Genetic Al- gorithms, 1991.
- [Maresky, 1994] J . Maresky. On Efficient Communica- tion in Distributed Genetic Algorithms. M.S. disser- tation, Institute of Computer Science, The Hebrew University of Jerusalem, 1994.
- [Manderick, et al, 1991] B. Manderick , M. de Weger and P. Spiessens. The Genetic Algorithm and the Struc- ture of the Fitness Landscape. In Proc. 4th Int. Con f. on Genetic Algorithms, 1991.
- [Muhlenbein, 1990] H. Muhlenbein. Evolution in Time and Space -the Parallel Genetic Algorithm. In Foun- dations of Genetic Algorithms (Edited by Gregory J .E. Rawlins), 1991.
- [Takana, et a/, 1994] R. Takana, Y. Davidor and T. Ya- mada. Optimal population size under constant com- putation cost. In Parallel Problem Solving from Na- ture 3, Springer-Verlag, 1994.
- [Pettey, et al, 1987] C. B. Pettey, M. R . Leuze and J. J . Grefenstette. A Parallel Genetic Algorithm . In Proc. 2nd Inti. Conf. on Genetic Algorithms, 1987.
- [Starkweather, et al, 1990] T . Starkweather, D. Whitley and K. Mathias. Optimization using Distributed Ge- netic Algorithms. In Parallel Problem Solving from Nature , 1990.
- [Tanese, 1989] R. Tanese. Distributed genetic algo- rithms. In Proc. 3rd Inti. Conf. on Genetic Algo- rithms, 1989.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
Nature is essentially distributed. Distributed processing permits both nature and genetic algorithms to benefit from the parallel exploration of different solutions. This concept of separate populations developing in parallel and sharing information motivates distributed genetic algorithms. This approach is best implemented on a dis tributed system of computers, which provides parallel processing and data sharing. These two elements com prise the essential components of a distributed genetic algorithm (DGA) : the core algorithm to be distributed, and the approach to sharing information between the processes.
This paper investigates the effect of distribution on a genetic algorithm, and, more specifically, studies the contribution of communication between concurrently ex ecuting processes to the distributed GA's performance. Most approaches to communication between concur rently evolving populations involves the migration of individual solutions from one process to another. The benefit of these approaches is highly dependent on the characteristics of the problem and its solution space. A new communication paradigm for DGAs is described: no genetic information is migrated between populations; in stead, information about the improvement rate of neigh bouring populations is used to measure a population's viability. This new approach introduces new parame ters, which are described and analysed for robustness. The approach is tested on two different problems, and compared against a similar DGA without communica tion, and the basic sequential GA.
*Schema- Evolutionary Algorithms Ltd., 61a Hadar St ., Herzlia
This paper is structured as follows: Section 2 discusses the construction of the DGA, and describes the sequen tial GA and the non-communicating DGA which are used for performance and behaviour comparisons with the new DGA. This section includes a short analysis of traditional DGA communication, which motivates the new communication approach. Section 3 introduces the profiling model of communication and describes the new parameters. Section 4 describes the problems used, the platforms tested on, and presents and analyses experi mental results. Our conclusions are discussed in 5.
2 The Construction of a Distributed GA
To what extent is distribution beneficial to the search quality and computational resources of a GA execution? How well does the genetic algorithm paradigm lend it self to distribution? To what extent does the specific problem influence the effectiveness of the distribution?
The obvious questions of parallel search [Muhlenbein, 1990] are:
- Are N parallel searches of time t as efficient as a single search of time N x t ?
- Are N linked searches more efficient than N inde pendent searches?
- How should the linkage be done?
Additionally, do the benefits of linkage justify its cost?
This section describes the construction of a distributed genetic algorithm (DGA) which provides the basis for answering these questions.
The well-known GA paradigm is described in Figure 1.
Produce an initial population of many individual solutions, Evaluate all individuals, While termination condition is false: { } Select fitter individuals for reproduction, Produce new individuals, Insert some of these individuals into the population, at the expense of other individuals, Re-evaluate all individuals, Report on results.
2.1 The Restart Operator
Any analysis of a GA's performance depends on both the quality of solution and execution resources used, and may be implemented by holding constant one of these variables and observing the other. The inclusion of the restart operator [Maresky, 1994] is beneficial to this anal ysis . In order to continue a GA's search when the popu lation has converged, the restart operator introduces new genetic material (typically, by completely reinitializing the population) and thus moves the GA into another so lution region. This involves the obvious tradeoff between the probability of discovering sufficiently better individ uals within the current area of the search space, and the use of extra resources in creating a new population and improving it to a similar level as the previous converged population. It has been shown in (Takana, et al, 1994] that a GA with optimal population size and the appro priate number of restarts, exhibits better performance than the same GA functioning without the restarts , and an appropriately larger population size.
The operator operates outside the main loop of the G A (see Figure 2, which extends the inner loop of Figure 1) and is reliant on some definition of convergence.
The resultant GA is used as the sequential basis for a distributed genetic algorithm.
2.2 A Distributed Genetic Algorithm Without Communication
There are many different approaches to parallelizing a genetic algorithm (Fogarty and Huang, 1990]. Most al gorithms differ on the topology of the distribution and the separate processes themselves: how they are con trolled, how they communicate and what their tasks are. In particular, the island approach [Tanese, 1990] is least reliant on processor synchrony and coordination. Com munication between processes is minimized by the con trolling algorithm assigning separate populations to the processes , which develop in parallel and may exchange information. This exchange generally takes the form of copying individuals between the populations.
While termination condition false: { } Produce population, and evaluate individuals, While population has not converged, and termination condition is false: { } Do an inner reproduction loop of Figure 1, Update global result, if necessary, Report on results.
This allows the construction of a DGA without com munication. Each process is assigned a population, of the same size as that of the sequential GA. Communica tion only occurs after the termination criterion has been met, in order to summarize the global results of the ex ecution. This model forms a basis for the determination of the specific effects of addirig different forms of commu nication. The resulting algorithm is shown in Figure 3.
Parent process spawns other processes, For each process i: { } While termination condition false, OR a signal is not received: { } Execute sequential GA of Fig. 2 If termination condition true, signal other processes to quit, Return final results to parent, Quit. Parent process collects, summarizes results.
Here, each processor's results are independent of its neighbours. As the probability distribution of solution quality and function executions used during an execu tion is not uniform, the speedup (improvement due to distribution) is expected to be sub-linear in the number of processes used.
2.3 Traditional Communication in Distributed GAs
Any improvement in the performance of the algorithm as a result of communication is beneficial, unless the cost of communication outweighs the benefits. Previous island DGAs communicate genetic information be tween the populations, mostly in the form of individual solutions, copied (migrated) either at intervals or con tinuously [Pettey, et al, 1987; Starkweather, et al, 1990; Tanese, 1990]. This approach is beneficial for higly sep arable problems, where the good solutions from different areas of the solution space may be successfully combined. However, the algorithm's performance is highly depen dent on its parameters (migrant selection policy, rate of migration, migrant insertion policy) and is less beneficial for less separable problems.
Additionally, this form of communication suffers from conquest [Maresky, 1994]. Populations evolving asyn chronously in parallel are often at different levels of evo lution. The arrival of highly evolved migrants from a strong population will result in their higher rate of se lection than local, less evolved individuals. Thus, the sending population's solution is often imposed on that of the receiver. Conversely, migrants arriving from a less evolved population are not selected for reproduction and are wasted.
3 The Profiling Model
Another way to take advantage of the parallel processing and resultant increase of available information is through the dynamic cross-checking of a process's progress. This approach does not communicate genetic information, rather information about a process's progress. As such, the profiling approach departs from the popular analogy with biological systems.
It has been shown that under certain circumstances, the quality of a GA execution is correlated to the steep ness, or speed, of its improvement [Davidor and Ben Kiki , 1992; Manderick, et al, 1991]. That is, the more rapid the improvement , the more chance of the GA ex ecution reaching a good result, and vice versa. The GA and, more specifically, the process, has no a-priori knowl edge of the solution space of the problem, or what consti tutes "good" progress. A process receiving information regarding the progress of other processes checks its own relative progress. If this is inferior, the process restarts in similar fashion to the normal restart operator.
A restart in this manner does not mean that a bet ter solution would not have been found in the old search space. Rather , as in the case of the restart operator (see Section 2.1), it is less likely that the old search space would yield a better solution. The use of resources in restarting the population and bringing it to a compara ble level, is probably more beneficial in producing better solutions.
This approach implies regular communication, unlike the traditional communication model where genetic in formation is migrated at any time. This communication is of profiles: strings of costs (unnormallized fitness val ues) forming the history of a process's progress (see Fig ure 4). In this example, the first cost value is stored after 200 evaluations; additional values are stored at intervals of 200 evaluations.
Profiles are sent to other random processes at regular intervals; at the same intervals, profiles from other pro cesses are received and the local population's progress is checked against the global average. The curve formed by the average process profiles exhibits properties of "opti mization graphs" and "learning curves" , used in other frameworks.

Initially, an off-line model was constructed: each process's progress is checked against a static, pre determined, global progress profile, without any com munication or dynamic recalculations of the curve. This off-line curve is obviously different from that of the on line model, where a process's execution may be termi nated because of sub-average performance, changing the curve considerably.
It was decided to have a process's profile values carry the average improvement since the beginning of the exe cution, instead of since the last restart . In other words, a process's profile is not reinitialized on restart; this allows for more information to be utilized.
While termination condition is false: { } Every interval evaluations: { } Get, store profiles from other processes Update, send my profile to a process Check my progress against the global average: if unsatisfactory, restart Do an inner reproduction loop of Figure 1,
The initial approach observed the local process's best of-generation cost against the "sleeve" defined by the offline cost curve and its flanking standard deviation curves. However, this means each process communicat ing the standard deviations at each point as well as the profiles. It was thus decided to restart the process if its cost at any point was more than some constant percent age worse than that of the offline curve; the resulting algorithm is shown in Figure 5, and replaces the inner loop of Figure 3.
This requires four new parameters:
- When to begin profiling: the first few evaluations may not provide a sufficiently good indication of the future potential of the execution.
- How often to profile: while higher granularity of profiling provides better information, this involves a tradeoff with lower communication rates. This parameter also determines the amount of profiles to store.
- How often can the process stray outside the sleeve: once may be too easily misled by the stochastic be haviour of the execution; more may limit the effec tiveness of the approach.
- How wide is the sleeve determined by the cost curve and the upper bound percentage: a small percent age (and narrow sleeve) disadvantages some func tions; similarly high percentages and wider sleeves.
4 Results
4.1 The MOSIX-486 Platform
While most experimental executions were run on Sun SPARCstations, all timing results were obtained on a 4-node Intel 486-PC confi_guration running under the MOSIX operating system lBarak, et al, 1993]. MOSIX is a UNIX based multicomputer operating system that incorporates the CPU resources of a network of worksta tions by supporting dynamic process migration and load balancing, which are transparent to the application level, for efficient utilization of the network-wide resources and balanced workload distribution.
4.2 Problems
Two problems are selected for testing. One, bal-14, is a quadratic assignment problem, and JM1 is a dynamic control problem.
The highly inseparable quadratic assignment prob lem [Davidor, 1993] involves 14 dimensional quadratic minimization, which has many applications in dynamics (though the dimensionality may vary).
At low dimensions, the problem may be solved using the Simplex method which guarantees optimality. How ever, numerical problems are encountered at high dimen sions which cause convergence to a local optimum and a GA approach becomes attractive.
Each individual is coded as containing a chromosome of 14 real numbers, a total mass, moment, cost and a fitness value. The solution space size is of the order of 10287.
The dynamic control problem is from [Janikow and Michalewicz, 1991] :
where
where Xo is the initial state, Xk En is a state, and i1 is the solution vector.
We call the following problem JM1: a fixed domain of ( -200, 200) is assumed for each u;, with xo = 100 and N = 45. In similar fashion to the bal-14 problem, each individual is represented by a 45-ary vector of real numbers, a cost and a fitness value. This problem is highly separable and responds very well to traditional methods of distributed communication.
4.3 Results and Discussion
In order to compare the performance of the DGA to both the sequential GA and the DGA without commu nication described in 2.2, the performance of the algo rithm is measured in reaching some acceptably good so lution. The approximate comparison is on the basis of measuring function evaluations, while the actual com parison refers to the actual time taken for execution on the MOSIX-486 described in 4.1. All results are taken over 250 executions.
It is clear that the more .difficult the problem or the goal cost of the good-enough approach, the longer the execution and the more advantage to the DGA commu nicating profiles. A short execution does not enable the processes to build up sufficient knowledge about the av erage cost improvement curve. A short execution also implies fewer process restarts as a result of this greater knowledge due to the communication of profiles.
Additionally, the execution until the first restart is hardly affected by the communication of profiles, for two reasons. Firstly, the information (or knowledge) gained is not statistically useful as not enough data has been collected: each process can have at most n cost values for each profile position, for n processes. Secondly, the faster processors do not receive any useful information at all until after they restart for the first time.
| Problem | (1) | (2) | (3) | (4) | (5) |
|---|---|---|---|---|---|
| bal-14 | 0.03 | 50 | 9504(6900) | 16% | 3.65(3.41) |
| bal-14 | 0.01 | 50 | 29439(26555) | 34% | 4.82(4.49) |
| JM | 30000 | 70 | 15583(7742) | -9% | 1.52(1.41) |
- Acceptably good solution cost
- Optimal communication interval · no. of evaluations
- DGA witb profiling: #evaluations (std. deviation)
- Approximate % improvement over tbe non-communicating DGA
- Approximate speedup over the sequential GA (actual speedup)
Figure 6: Profiling results for 4 processes (250 execu tions)
Some results are shown in Figure 6. For each prob lem, the performance of the profiling DGA is measured against the core sequential GA, and against the DGA without communication. The comparison is on the ba sis of number of function evaluations needed to reach a specific solution quality (specified in the second col umn). The fourth column shows the contribution of the new communication to the core DGA (without commu nication), and the last column presents approximate (in terms of function evaluations) and actual (in terms of time elapsed) speedup results over the core sequential GA. Note the close correlation between the function eval uation speedup and the actual time speedup.
The quadratic assignment problems are most strongly responsive to the new approach (see Figure 6) . While reasonably good results are obtained for a cost value of 0.03, a closer observation reveals that the problem is not difficult enough to provide advantage to the communi cation: on average , less than two restarts are needed to find a good solution. Setting a harder cost, namely 0.01, results in significant speedups of over 4.4 at optimal pa rameter settings.
The new parameters introduced are particularly ro bust . A brief analysis of the effects of changes in the parameters on the results of the DGA reveals that an early start to profiling does not overly hinder the pro cess, while starting late (for example, after 2, 000 eval uations) is less effective. For bal-14, acceptable results are obtained with a profiling frequency of up to 200 eval uations - equivalent to a communication probability of 0.005. A lower rate of communication does not provide sufficient information, while much higher rates are too expensive in terms of communication overhead. The pa rameter of two or three consecutive intermediate results outside of the sleeve is optimal here - one "hit" is too ran dom, and four or more hits implies too slow a response. In terms of the width of the sleeve, a value of 40% is most effective - wider sleeves result in fewer restarts.
These parameter settings are not universal. Different settings produced optimal results for the other problem, JM1. This showed very little improvement over the non communicating DGA. The · problem is monotonic and does not readily benefit from having executions prema turely terminated. It conforms less to the discussed rela tion between speed of improvement and quality of final result. Additionally, one of the main reasons behind the profiling DGA's effectiveness (for the bal-14 problem) is due to the shape of the probability distribution defined by the DGA without communication. Here, a strong, right-sloping tail is evidence of the noncommunicating DGA's tendency towards long executions which search unprofitable regios before eventually terminating. The probability distribution of the noncommunicating DGA for the JM1 problem has no such tail, that is, almost all executions terminate within some bound. Numerous at tempts at parameter setting were tried, without success.
In response to the questions of Section 2, the results from the DGA communicating profiles (in Figure 7) for the bal-14 problem, are similar to those results already presented. The sequential GA is executed, using 400, 000 evaluations; the DGA with profiling is executed for 4 pro cesses, each using 100, 000 evaluations. Thus, after using the same total number of function evaluations, there is an improvement (in the best value found) over the sequential GA. This is analogous to the achieving of a superlinear speedup in the previous analyses. The im provement is slightly less than expected - this can be explained by the design of the profiling approach to com munication: the additional information about the aver age improvement curve is present fairly early in the exe cution. The execution continues for 100, 000 evaluations, which lessens the advantage of distribution and imposes the partial information (gathered early in the execution) on the later stages of the execution. This also results in very varied expected costs.
| Problem | (1) | (2) | (3) |
|---|---|---|---|
| bal-14 | 0.00299 (0.00326) | 0.00238 (0.00326) | Communication every 100 evals, starting after 100 evals |
- Sequential GA mean result (std. deviation) over 400,000 evaluations
- DGA mean result (std. deviation) over 100,000 evaluations x 4 processes
- Communication parameters
Figure 7: EvaluationaJ comparison of the SGA and the DGA communicating profiles (250 executions)
Figure 8 shows the effect of varying the number of processes on the performance of the DGA communicat ing profiles, for the bal-14 problem, for different goad enough costs. The results are approximate, and do not take physical timing into consideration.

The influence of a harder good-enough cost is clearly seen: the easier problem does not benefit greatly from the profiling. A DGA communicating profiles on this problem returns different results depending on the goad enough cost. Note also the consistent superlinear speedup on the harder problem, which improves until a specific level, where increasing the number of processes does not improve the quality of global convergence in formation.
An attempt was made to combine the profiling com munication with the traditional communication dis cussed in Section 2.3. The results, for the bal-14 problem, improved on those of the DGA with traditional commu nication, but were worse than those presented above. This suggests that the DGA communicating genetic in formation benefits from restarting populations which are not providing fast improvement, while the communica tion of emissaries is detrimental to the DGA commu nicating profiles. No fine-tuning of profile or emissary communication was attempted, because of the relatively poor results.Note that this hybrid approach would im ply greater communication overhead than the previous approaches.
The profiling approach is novel and inspires interest ing modifications and extensions to distributed GAs. For example, profiling plays a similar role to restart: both operators renew the GA search in a new area of the prob lem space. In both operators, the probabilistic decision is based on perceived less-than-optimal performance and is easily fooled by erratic or volatile improvement curves. It is necessary to investigate the distributed profiling ap proach as an alternative to the restart function, using the average profile generated by parallel executions to determine the worth of continuing an execution instead of restarting. It is also necessary to reduce the depen dence on the additional parameters introduced.
5 Conclusions
The profiling approach to communication between the concurrently evolving populations of a DGA is an al ternative attempt to utilize the additional information generated by these parallel processes. This approach is motivated by the relationship between the speed of ex ecution improvement and the execution's resulting solu tion quality. New parameters are introduced, many of which are robust, in the sense that varying their values does not affect the DGA's performance.
The populations communicate their improvement his tory, and a process decides on its own viability according to the global average improvement curve. This learning curve is also useful in determining the optimal number of processes to use, and in setting parameters.
Problems for which a DGA with traditional commu nication is less effective (and consistently returns sub linear speedups) are shown to produce superlinear results using this approach. This benefit is highly dependent on the correlation between the speed of improvement and the quality of an execution. This dependence, which is influenced by the problem, the GA and its parameter settings, can be measured and may constitute an im portant factor in determining a priori the success of the profiling effect on a specific problem.
The profiling approach also provides a positive answer to the question of parallel versus sequential search qual ity, given a fixed execution time.
@inproceedings{ijcai1995p124,
title = {Profiling Communication in Distributed Genetic Algorithms},
author = {Maresky, Jonathan and Davidor, Yuval and Gitler, Daniel and Aharoni, Gad and Barak, Amnon},
booktitle = {Proceedings of the Fourteenth International Joint Conference on
Artificial Intelligence, {IJCAI-95}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Chris S. Mellish},
pages = {961--965},
year = {1995},
note = {Invited Speakers},
url = {https://ijcai.org/proceedings/1995/124},
}
TY - CPAPER TI - Profiling Communication in Distributed Genetic Algorithms AU - Maresky, Jonathan AU - Davidor, Yuval AU - Gitler, Daniel AU - Aharoni, Gad AU - Barak, Amnon T2 - Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence, IJCAI-95 PB - International Joint Conferences on Artificial Intelligence PY - 1995 SP - 961 EP - 965 UR - https://ijcai.org/proceedings/1995/124 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: