• No results found

Numerical Research on Distributed Genetic Algorithm with Redundant

N/A
N/A
Protected

Academic year: 2021

Share "Numerical Research on Distributed Genetic Algorithm with Redundant"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

Numerical Research on Distributed Genetic Algorithm with Redundant Binary Number

1

Sayori Seto,

2

Akinori Kanasugi

1,2

Graduate School of Engineering, Tokyo Denki University, Japan [email protected], [email protected]

Abstract

Genetic algorithm (GA) is one of optimization algorithm based on an idea for evolution of life. GA can be applied various combination optimization problem. This paper proposes a novel distributed genetic algorithm (DGA) with redundant binary number. Since a redundant binary number has redundancy, solution expression becomes variegated. For this reason, it is expected the algorithm easily find the optimized solution, and the error rates decrease. The effectiveness of the proposed algorithm was confirmed by computer simulations.

Keywords : Genetic Algorithm, Distributed Ga, Redundant Binary Number

1. Introduction

Genetic algorithm (GA) is one of optimization algorithm based on an idea for evolution of life [1,2].

GA can be applied various problems such as combination optimization problem, machine learning and so on. A distributed genetic algorithm (DGA) divides a solution group into some solution groups

“island”, and performs genetic operation in each island [3]. In DGA, in order to exchange the solution among each island, “migration” operation is performed. Since DGA has few numbers of individuals per island, premature convergence takes place easily. However, since diversity is also maintainable by migration, compared with conventional GA, effective solution search is expectable.

This paper proposes a novel DGA with redundant binary number, while conventional DGA expresses chromosomes in binary number [4,5]. Since a redundant binary number has redundancy, solution expression becomes variegated. For this reason, it is expected the algorithm easily find the optimized solution, and the error rates decrease [6]. In the proposed algorithm, different numerical systems are used on each island. Therefore, since diversity is further maintainable, the further improvement in performance is expectable. The effectiveness of the proposed algorithm was confirmed by computer simulations.

2. Genetic Algorithm

Genetic algorithm (GA) is proposed in 1975 by Prof. John Holland. The algorithm is based on Darwin's evolutionary theory and likens solution to gene. The flow chart of GA is shown in figure 1.

Figure 1. Flow Chart of GA

(2)

The procedure of GA is as follows.

(1) Initialization: The first process decides initial genotype, namely value and genetic length. For example, if we assume values are ‘0’ or ‘1’, and length is eight, an example of chromosome is shown in figure 2.

(2) Evaluation: The second process calculates the fitness for each individual with the target function.

The evaluation depends on each problem.

(3) Termination Judgment: If the process satisfies the termination condition, the operation finishes and outputs the individual with the best fitness as the optimized solution.

(4) Selection: To generate the children, this process chooses parents from individuals. For example, if we assume parents the first generation, children become the second generation. The children generate the next children again. The children inherited the characteristic of parents are generated in this way.

(5) Crossover: This process crosses individuals chosen by selection operation and generates the individuals of the next generation. An example of crossover operation is shown in figure 3.

(6) Mutation: This process mutates the chromosome of new generation (figure 4). The mutation operation is effective to escape from a local optimum solution.

Figure 2. Chromosome

Figure 3. Crossover Operation

Figure 4. Mutation Operation A. Distributed Genetic Algorithm

A distributed genetic algorithm (DGA) divides a solution group into some solution groups “island”, and performs genetic operation in each island. In DGA, in order to exchange the solution among each island, “migration” operation is performed (figure 5). Since DGA has few numbers of individuals per island, premature convergence takes place easily. However, since diversity is also maintainable by migration, compared with conventional GA, effective solution search is expectable. Figure 6 shows a simple flow chart of DGA.

Figure 5. Migration Operation

(3)

Figure 6. Flow Chart of DGA

B. Redundant Binary Number

In the proposed algorithm, redundant binary number system is utilized. The advantage of GA with redundant binary number is increase of total expression number of optimized solution. From this advantage, improvement in searching speed and decrease of error rate are expected.

The redundant binary number uses values ‘0’, ‘1’ and ‘-1’. However, because conventional digital circuits cannot deal the value ‘-1’, we express each genetic information in two bits. We assume that ‘0’

is assigned to “00” or “11”, ‘1’ is assigned to “01”, ‘-1’ is assigned to “10”. These correspondences are summarized in table 1.

Table 1. Expression of Redundant Binary Number

0 1 -1

Bit

String

00,11 01 10

For example, we express decimal number “seven” in binary number of the four bits precision and the corresponding redundant binary numbers, as shown in figure 7. The chromosomes of the redundant binary number become longer in comparison with the normal binary number. However, there are many expression way. For example, there are nine expression ways in the case of figure 7. Since a redundant binary number has redundancy, solution expression becomes variegated. For this reason, it is expected the algorithm easily find the optimized solution, and the error rates decrease.

Figure 7. Comparison between Binary Number and Redundant Binary Number

(4)

The GA based on redundant binary number is almost the same as conventional GA. However, decoding from redundant binary number to binary number is required. In the proposed algorithm, we separate chromosomes into odd number bit and even number bit. Then we subtract even number bit from odd number bit. An example is shown in figure 8.

Figure 8. Decoding from Redundant Binary Number to Binary Number

3. Proposed DGA

The concept of DGA proposed in this paper is shown in figure 9. In this figure, GA_B, GA_G, and GA_RB express GA using binary number, GA using Gray code, and GA using redundant binary number, respectively. A part of solutions are exchanged through the migration unit. In the migration, code conversions are performed.

Figure 10 shows the migration pattern. The random number ‘r’ chooses the migration pattern. The number of the chromosomes which emigrate is one.

Figure 9. Concept of proposed DGA

Figure 10. Migration Pattern

(5)

Although search results depend on type of solution code, stable good results are expected to many problems by the proposed DGA. In figure 9, although there are two sets of GA with binary number, one set of GA with Gray code, and one set of GA with redundant binary number, this is just an example. Of course, various combinations are possible.

The authors are planning to develop the processor for this algorithm. Then, in order to suppress the circuit scale, the composition of figure 9 was illustrated. Namely, since the scale is small, two sets of circuits treating a binary number are used, and since the scale is large, as for the circuit treating a gray code or a redundant binary number, only one set is used.

4. Simulation

The comparison of simulation results were performed in four types of GA (binary number, Gray code, redundant binary and proposed DGA). The performance of each GA was evaluated by solving following three functions. The corresponding graphs are illustrated in figure 11, 12 and 13, respectively.

(Eq. 1) f ( x )  x

2

 20000 (Solution: x  141 )

Figure 11. Graph of Equation 1

(Eq. 2) f ( x )  x

2

 2000000000 (Solution: x  44721 )

Figure 12. Graph of Equation 2

(6)

(Eq. 3) f ( x )  ( x  100 )( x  40000 )

2

(Solution: x  40000 )

Figure 13. Graph of Equation 3

The simulation program was implemented in C language and executed on HP Z400 workstation.

The error rates of three functions are summarized in figure 14. Each result is the average of 500 times of trial. In calculation of error rate, only the case where a solution is completely same as the optimal solution is judged as a correct solution. Therefore, if a solution is not in agreement with the optimal solution, even if very close to the optimal solution, it has judged as an error. Figure 14 shows that good results were obtained by the proposed DGA in various problems.

The parameters are summarized in table 2. Although the solution is denoted by 16 bits in GA with binary number and Gray code, the solution is denoted by 32 bits in GA with redundant binary number.

Figure 14. Error rate

Table 2. GA Parameters

Generation

100

Population

32 (8 x 4)

Selection

Ranking

Crossover

One point

Crossover rate

1

Mutation rate

0.125

(7)

5. Conclusion

In this paper, a novel distribute genetic algorithm with redundant binary number was proposed and discussed. The proposed algorithm showed stable and good performance by combining the various coding system. It is confirmed that the proposed algorithm was effective for improvement of error rate by computer simulation results.

The future works are evaluation for other difficult problems and hardware implementation.

6. Acknowledgment

This work was supported by Tokyo Denki University Science Promotion Fund (Q12J-03).

7. References

[1] L. Davis, Handbook of Genetic Algorithms, Van Nostrand Reinhold, 1991.

[2] X. Yao, Y. Liu, and G. M. Lin, “Evolutionary programming made faster”, IEEE Transactions on Evolutionary Computation, Vol. 3, No. 2, pp. 82-102, 1999

[3] R. Tanese, “Distributed Genetic Algorithms”, Proceeding of the 3rd International Conference on Genetic Algorithms, pp. 434-439, 1989.

[4] A. Murayama, “A Study of Genetic Algorithm based on Redundant Binary Number”, Master's Thesis of Tokyo Denki University, 2011.

[5] S. Seto, A. Kanasugi, “A Novel Distributed Genetic Algorithm with Redundant Binary Number”, Proceeding of AICIT International Conference on Information Science and Digital Content Technology, pp. 273-276, 2012.

[6] M. Aoshima, A. Kanasugi, “A Processor for Genetic Algorithm based on Redundant Binary Number”, Journal of AICIT Next Generation Information Technology, Vol. 1, No. 3, pp. 66-74, 2010.

[7] A. Murayama, A. Kanasugi, “A novel coding method for genetic algorithms”, International Journal of Artificial Life and Robotics, Vol. 15, No. 3, pp. 306-308, 2010.

[8] A. Kanasugi, A. Tsukahara, “A Processor for Genetic Algorithm using Dynamically Reconfigurable Memory”, Proceeding of International Conference on Hybrid Information Technology, pp. 310-313, 2006.

[9] P. Graham, B. Nelson, “A hardware genetic algorithm for the traveling salesman problem on SPLASH2”, Proceeding of International Workshop on Field Lecture Notes In Computer Science, Vol. 975, pp. 352-361, 1995.

[10] A. Tsukahara, A. Kanasugi, “Genetic Algorithm with Dynamic Variable Number of Individuals

and Accuracy”, International Journal of Control, Automation, and Systems, Vol. 7, No.1, pp. 1-6,

2009

References

Related documents

The magnetic properties of the MgFe 2 O 4 nanoparticles and decorated MWCNTs were measured in magnetic fields of ±10 kOe at room temperature.. The hysteresis loop of

Redistribution after irregular amplification Shader Core Shader Core Shader Core time Input Assembler Primitive Assembler Rasterizer Output Blend IA PS Shader Core Rast PA VS Key

In the British literature we identified only two publica- tions despite finding some evidence of local attempts to look at quality issues; the Society of Health Education and

Person Situation Present Internal State Appraisal Decision Behavior Social Encounter Proximate Causes & Processes Environmental Modifiers Biological Modifiers Personality

This study aimed to establish the relationship between diabetes and some biochemical parameters to assess the metabolic profile of an adult diabetic population in the region of

None of the main offshore structural programs in the market was found able to handle the nonlinear behavior of the pipeline and all the highly nonlinear dynamic time

Possess a general understanding of the nature of the entity's business transactions, form of its accounting records, the stated qualifications of its account personnel, the

The academy offers majors in anti-aircraft artillery mid-level command, basic level political work, staff work, air defense troop anti-aircraft artillery