Heterogeneous Parallel Genetic Algorithm Paradigm

05/16/2019 ∙ by Menouar Boulif, et al. ∙ 0

The encoding representation of the genetic algorithm can boost or hinder its performance albeit the care one can devote to operator design. Unfortunately, a representation-theory foundation that helps to find the suitable encoding for any problem has not yet become mature. Furthermore, we argue that such a best-performing encoding scheme can differ even for instances of the same problem. In this contribution, we present the basic principles of the heterogeneous parallel genetic algorithm that federates the efforts of many encoding representations in order to efficiently solve the problem in hand without prior knowledge of the best encoding.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 1

page 2

page 3

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

I Introduction

The encoding representation has a great influence on the performance of the genetic algorithm [1]. In fact, encoding representations vary in their features and can have their strength points such as minimal epistasis [2], scalability, good blindness [3], good redundancy [4] whereas having some limitations, such as deception [5], lack of scalability, bad redundancy [3], bad blindness, etc. Actually, the encoding representation is the mean with which the GA sees its search space. Therefore, a well designed representation eases the search for good solutions. Nature, gives us a lot of examples, where appropriate vision is a key issue to best performance. Indeed, a bee can easily distinguish its favourite type of flour in an abundant vegetation due to its special eyes (see Figure 2). Furthermore, the bee is attracted to its reward by floral guides that are invisible to humans. Another example comes from snakes: in order to track a warm-blooded pray, pit vipers are equipped with infrared sensors [8] that allows to ”see” such a pray more easily.

Fig. 1: Human vision (left) vs bee’s simulated vision that eases the detection of flours in a vegetation (right), then the discovery of nectar guided by floral guides [6].

Being aware of this encoding representations differences, some researchers [9] proposed to look for robust encoding schemes. By using nature analogy, this is to search for a type of vision that is appropriate in almost all the situations and all the needs. We think that the existence of such a kind of vision is questionable.
In this paper, we propose another approach for which encoding robustness is not a necessity nor a need.
The rest of this paper is organized as follows. In section 2, we present our approach. In the next section, we discuss an application of our approach to graph partitioning problem. Finaly, we present our conclusion.

Fig. 2: Pit viper [7] ”sees” a thermal image of its warm-blooded pray (simulated here with Gimp® tool effects).

Ii HPGA framework

Gong et al. [10] surveyed existing distributed GA and presented several related aspects such as topology, synchronization, communication, migration, etc. In contrast to the existing parallel approaches, Heterogeneous Parallel Genetic Algorithm (HPGA) combines several sub-populations but with different encoding representations. That is, HPGA uses a set of encoding schemes in order to construct a distributed genetic algorithm in which heterogeneous sub-populations evolve. This combination aims to benefit from the strength of all the representations in order to compensate their limitations. When evolving, the sub-populations share some of their best individuals according to a set of migration rules.
Another aspect we think worth to explain concerns the sub-populations evolving that can be done according to a cooperative or hostile environments. For the later, the size of the best-scoring sub-populations increases to the detriment of the weak-performance islands. The score indicator of each sub-population can be calculated by using real-time performances or according to a number-of-best-solution-enhancement record. We think, this dynamic sub-population evolving allows the parallel GA to adjust itself to cope not only with the problem differences but with the instances of a same problem too. Finally, by returning to the before mentioned natural analogy, we can notice that animal vision have a somehow kind of blindness. We think that this good blindness can play an important role in the prospecting of the search space especially when it is extremely huge. This contrasts with the wide shared belief that a good encoding scheme must be able to map the entire possible solutions. HPGA being a multiple heterogeneous sub-populations that share their information via migration, an encoding scheme that can fail to see a part of the feasible area is eligible to take part of the competition.

Iii HPGA to solve graph partitioning

Graph partitioning problem (GPP) consists to partition the vertex set of a graph with edge weights into subsets with some constraints (subset size for instance) so as to minimize the overall cut weight [11]. GPP has attracted a considerable amount of research works due to its broad applicability. To solve GPP with the GA several encoding representations can be devised [12].

Fig. 3: A three-cell solution

By using the graph G=(V,E) of Figure 3 as an example, we give in what follows a concise description of four promising encoding representations for which we refer the reader to the references for more details.

Iii-a Fractional vertex-to-cluster encoding

This encoding [13] uses a fractional valued chain. Following is such a chain that represents our three-clusters partition.

0.34 0.67 0.67 0.67 1.00 0.34 0.50

Each allele, except for the last one, is associated to a vertex. To get the associated partition, first we multiply the last allele by the graph order to get the number of clusters. That is, 0.5 x 6 giving us 3 clusters. Then, by calculating the product of the so obtained number of clusters times the remaining alleles, we get the host cluster of each vertex.

Iii-B Edge based encoding

This encoding representation [3]

uses a binary vector whose alleles indicate if the edges are intra or inter-cluster. Therefore, the following chain

1 1 0 0 1 0 1 1 1

defines the partition of Figure 3. Indeed, the alleles associated to e, e and e are null, and hence, they are intra-cluster, whereas the remaining are inter-cluster.

Iii-C Cut-based encoding

This encoding representation [14] constructs a partition by its cuts, a cut being represented by a cut base (we use hereafter the nodal base defined by the first five vertices). For example, the following chain that uses at most three cuts

0 0 0 0 1 0 1 1 1 0 0 0 0 0 0

defines the partition of Figure 3 by using the two cuts e,e,e,e and e,e,e,e.

Iii-D P-median encoding

This encoding scheme uses the P-median approach to represent solutions [12]. For example, the following chain

0 0 1 0 1 1

uses three medians, namely v, v and v, defining three preliminary clusters. Then, an assignment procedure assigns the remaining vertices to the cluster that contains the median with which they have the most weighted direct link, yielding the partition of figure 1.

Iii-E HPGA implemetation

Fig. 4: HPGA with dynamic sub-population sizes

Figure 4 presents a possible implementation of HPGA for graph partitioning. In the initial state we choose a set of encoding schemes that embed different kind of decision variables. The subpopultaions can be equally sized or devised according to an offline processing that can guess the most promising encoding for the current instance. Afterwards, by using the performance record these subpopulations evolve dynamically to search for a good solution.

Fig. 5: HPGA topology

When evolving, HPGA follows a static or dynamic topology. Figure 5 presents a possible topology for graph partitioning that takes into account the blindness of the encoding schemes and the performance of each encoding when it is implemented alone. In fact, whereas the fractional encoding can map the entire solution space, the three others cannot. Furthermore, the P-median being the best performing representation [12], the flow of emigrants to it is higher than the immigrants.

Iv Conclusion

The theory of representation in evolutionary optimisation is a interesting topic that must be investigated due to the emerging of more and more challenging problems. To the best of our knowledge, this paper propose a new paradigm that uses heterogeneous subpopulations for the parallel genetic algorithms. In addition, we present an analogy between animal blindness that helps them to survive and the non completeness of encoding schemes that can ease the prospecting of huge search spaces. Our future work focuses on applying the proposed approach to a set of intractable problems in order to verify our intuition that it will give good performances especially for large instances.

References

  • [1]

    Rothlauf F. (2006). Representations for genetic and evolutionary algorithms. Springer-Verlag.  

  • [2] Beasley, D., Bull, D. R., Martin, R. R. (1993, June). Reducing Epistasis in Combinatorial Problems by Expansive Coding. In ICGA (pp. 400-407). 
  • [3] Boulif M.,Atif K. (2006). A new branch bound-enhanced GA for the manufacturing cell formation problem. Computers Operations research, 33:2219-2245.  
  • [4] Boulif M. (2010). Genetic algorithm encoding representations for graph partitioning problems. International Conference on Machine and Web Intelligence 2010. 
  • [5]

    Golberg, D. E. (1989). Genetic algorithms in search, optimization, and machine learning. Addion wesley, 1989(102), 36. 

  • [6] Bee vision by Klaus Schmitt. imageId=10642660, (http://www.everystockphoto.com). Retrieved march 18th 2019.  
  • [7] Pit viper by Tad Arensmeier. (http://www.wikipedia.org/wiki/Pitviper). Retrieved march 19th 2019.  
  • [8] Gracheva, E. O., Ingolia, N. T., Kelly, Y. M., Cordero-Morales, J. F., Hollopeter, G., Chesler, A. T., … Julius, D. (2010). Molecular basis of infrared detection by snakes. Nature, 464(7291), 1006. 
  • [9]

    Ronald, S. (1997). Robust encodings in genetic algorithms: A survey of encoding issues. In Proceedings of 1997 IEEE International Conference on Evolutionary Computation (ICEC’97) (pp. 43-48). 

  • [10] Gong, Y. J., Chen, W. N., Zhan, Z. H., Zhang, J., Li, Y., Zhang, Q., Li, J. J. (2015). Distributed evolutionary algorithms and their models: A survey of the state-of-the-art. Applied Soft Computing, 34, 286-300.  
  • [11] Gondran, M., Minoux, M. (1984). Graphs and algorithms. Wiley.  
  • [12] Chaouche A., Boulif M. (2018). Solving the unsupervised graph partitioning problem with Genetic algorithms: classical and new encoding representations. Submitted to an international journal.  
  • [13] Gonçalves, J. F., Resende, M. G. (2004). An evolutionary algorithm for manufacturing cell formation. Computers and industrial engineering, 47(2-3), 247-273.  
  • [14] Boulif M. (2018). A new cut-based genetic algorithm for graph partitioning applied to cell formation. META 2018, .