Research on Rosenbrock Function Optimization Problem Based on Improved Differential Evolution Algorithm

Affiliation(s)

School of Computer Science and Technology, Shanghai University of Electric Power, Shanghai, China.

School of Computer Science and Technology, Shanghai University of Electric Power, Shanghai, China.

Abstract

The Rosenbrock function optimization belongs to unconstrained optimization problems, and its global minimum value is located at the bottom of a smooth and narrow valley of the parabolic shape. It is very difficult to find the global minimum value of the function because of the little information provided for the optimization algorithm. According to the characteristics of the Rosenbrock function, this paper specifically proposed an improved differential evolution algorithm that adopts the self-adaptive scaling factor*F* and crossover rate *CR* with elimination mechanism, which can effectively avoid premature convergence of the algorithm and local optimum. This algorithm can also expand the search range at an early stage to find the global minimum of the Rosenbrock function. Many experimental results show that the algorithm has good performance of function optimization and provides a new idea for optimization problems similar to the Rosenbrock function for some problems of special fields.

The Rosenbrock function optimization belongs to unconstrained optimization problems, and its global minimum value is located at the bottom of a smooth and narrow valley of the parabolic shape. It is very difficult to find the global minimum value of the function because of the little information provided for the optimization algorithm. According to the characteristics of the Rosenbrock function, this paper specifically proposed an improved differential evolution algorithm that adopts the self-adaptive scaling factor

1. Introduction

Differential evolution (DE) is a simple yet powerful search technique introduced by Storn and Price in 1995 [1]. It soon became a popular tool for solving global optimization problems because of several attractive features like having fewer control parameters, ease in programming, efficiency, etc. DE has a very special connection with artificial life, especially evolutionary algorithms. DE and particle swarm optimization (PSO) are optimization algorithms based on collective intelligence theory [2]. They all use collective intelligence to optimize the result of searching, which comes from individual cooperation and competition within the group. However, compared to the evolutionary algorithm, DE retains the global search strategy based on population and uses real number coding, differential-based simple mutation operation and one-to-one competitive survival strategy, which reduces the complexity of genetic operations. At the same time, DE has special memory ability to track current search status dynamically to adjust the strategy of search. This capability indicates that the DE algorithm has strong global convergence ability and robustness without relying on the feature information of the problem, and the DE algorithm is suitable for solving optimization problems that cannot be solved by conventional mathematical programming methods in complex environments. Therefore, it is very academic and engineering value to conduct theoretical and applied research on DE [3], as an efficient parallel search algorithm.

In the minimization of the function, the phenomenon of “super valley” often occurs (at least in the local range) on the contour plane of the objective function. This shape is similar to the parabola with an upward opening. The global minimum value of the objective function is located at the bottom of the narrow valley. The optimization algorithm should have the ability to gradually approach the global minimum of the objective function along a narrow valley, and the Rosenbrock function of Rosenbrock, as a typical test function, was created for testing whether the optimization algorithm has this capability of searching the global minimum [4].

Many optimization algorithms now have a good optimization performance for most test functions, but much literature shows that many efficient algorithms and even many intelligent search algorithms are difficult to find global minimum values for the optimization of the Rosenbrock function, such as gradient descent, genetic algorithm (GA), particle swarm optimization (PSO) [5]. Specifically, for the gradient descent: when the objective function f(x) is minimized by the gradient descent, the gradient of the function is the vector in the direction of maximum local growth of f(x), and the opposite direction of the vector is the steepest downward direction. Because at point x, the negative gradient of f(x) points to the direction in which f(x) decreases the fastest for each component of x and is orthogonal to the contour of f(x) at x. Since the response surface of the Rosenbrock function has a curved and narrow valley, and the steepest descending direction of the point in the valley is almost perpendicular to the best direction leading to the minimum value of f(x), the steepest drop around the curve in the valley. The gradient descent converges very slowly and does not converge at all even in a reasonable time. For GA, PSO and other intelligent search algorithms: In the early stage of the algorithm, these algorithms are easy to fall into local optimum on one side of the valley and cannot jump out because the global minimum value of the Rosenbrock function is at the bottom of the valley.

This paper proposes an improved differential evolution algorithm with self-adaptive mutation and control parameters to solve this kind of problem and optimize the characteristic design of the Rosenbrock function. In this algorithm, the scaling factor F can be adaptively changed by the previous learning experience, and the level of the crossover rate CR depends on the fitness value of the individual. Experiments show that the improved DE algorithm has better convergence speed and accuracy than other types of improved schemes.

2. Basic Differential Evolution Algorithm

Starting from a population of randomly initialized solutions, the DE algorithm employs simple mutation and crossover operators to generate new candidate solutions and utilizes a one-to-one competition scheme to deterministically decide whether the offspring will replace their parents in the next generation. The steps of the standard DE algorithm are as follows:

1) Population initialization

The matrix X defining N × D is used to store the data of the current population, where D is the dimension of the individual in the population, N is the size of the population. At first, it randomly generates N × D data obeying the uniform distribution law and satisfying the specific constraint conditions. Put them into the matrix X to form the initial population

$X\left(0\right)=\left\{{X}_{1}\left(0\right),{X}_{2}\left(0\right),\cdots ,{X}_{N}\left(0\right)\right\}$.

2) Variation operation

Let the population size be N, the current evolutionary individual is represented by ${X}_{i}\left(t\right)$ ( $i=1,2,\cdots ,N$ ) and t is the current number of evolutions. Randomly select three different individuals from the current evolutionary group and meet the conditions ${r}_{1},{r}_{2},{r}_{3}\in \left\{1,2,\cdots ,N\right\}$. Individual ${X}_{r2}\left(t\right)$, ${X}_{r3}\left(t\right)$ and difference ${X}_{r2}\left(t\right)-{X}_{r3}\left(t\right)$ are regarded as the disturbance factors of ${X}_{r1}\left(t\right)$. Add the factors and ${X}_{r1}\left(t\right)$ to obtain the current mutant individual ${V}_{i}\left(t\right)$, as shown in Equation (1):

${V}_{i}\left(t\right)={X}_{ri}\left(t\right)+F\left({X}_{r2}\left(t\right)-{X}_{r3}\left(t\right)\right)$ (1)

where F is the scaling factor that controls the disturbance factor. Individuals in a group are composed of D components, then variant individuals ${V}_{i}\left(t\right)$ also composed of D components, so ${V}_{i}\left(t\right)=\left({v}_{r1}\left(t\right),{v}_{r2}\left(t\right),\cdots ,{v}_{iD}\left(t\right)\right)$.

3) Crossover operation

Generate random integers ${r}_{4}\in \left\{1,2,\cdots ,D\right\}$. The discrete variant individual ${V}_{i}\left(t\right)$ crosses the current evolutionary individual ${X}_{i}\left(t\right)$ to obtain an intermediate test individual ${U}_{i}\left(t\right)$, which will compete with the ${X}_{i}\left(t\right)$ for the selection operation and ${U}_{i}\left(t\right)$ consists of D component, ${U}_{i}\left(t\right)=\left({u}_{i1}\left(t\right),{u}_{i2}\left(t\right),\cdots ,{u}_{iD}\left(t\right)\right)$. The jth component (the chromosome in the individual) is as shown in Equation (2):

${u}_{ij}\left(t\right)\{\begin{array}{l}{v}_{ij}\left(t\right)randj\left(0,1\right)\le CR\text{\hspace{0.17em}}\text{\hspace{0.05em}}\text{or}\text{\hspace{0.17em}}\text{\hspace{0.05em}}j={r}_{4}\\ {v}_{ij}\left(t\right)randj\left(0,1\right)>CR\text{\hspace{0.17em}}\text{\hspace{0.05em}}\text{or}\text{\hspace{0.05em}}\text{\hspace{0.17em}}j\ne {r}_{4}\end{array}$ (2)

${r}_{4}\in \left\{1,2,\cdots ,D\right\}$ and $randj\left(0,1\right)$ represents a uniformly distributed random number obeying (0,1), which can guarantee that the individual is mutated ${V}_{i}\left(t\right)$ at least one dimension component exists in the test individual ${U}_{i}\left(t\right)$ to ensure the effectiveness of the mutation operation. $CR\in \left[0,1\right]$ is the probability of crossover. The lower the probability of CR, the similarity of the intermediate test individual ${U}_{i}\left(t\right)$ for current evolutionary individual ${X}_{i}\left(t\right)$ is greater. This will help ensure the diversity of the population and the global optimization of the algorithm.

4) Selection operation

In the case of seeking a minimum solution, the smaller the fitness value, the better. If the fitness value of ${U}_{i}\left(t\right)$ is less than the fitness value, the intermediate individual ${U}_{i}\left(t\right)$ will replace the current individual ${X}_{i}\left(t\right)$ with the new individual ${X}_{i}\left(t+1\right)$. Otherwise, the current evolutionary individual ${X}_{i}\left(t\right)$ will inherit directly into the next generation. If the individual fitness value is $f\left({X}_{i}\left(t\right)\right)$, the selection operation can be expressed as follows (3):

${X}_{i}\left(t+1\right)=\{\begin{array}{l}{U}_{i}\left(t\right)\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{if}\text{\hspace{0.17em}}\text{\hspace{0.05em}}f\left({U}_{i}\left(t\right)\right)\le f\left({X}_{i}\left(t\right)\right)\\ {X}_{i}\left(t\right)\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{if}\text{\hspace{0.17em}}\text{\hspace{0.05em}}f\left({U}_{i}\left(t\right)\right)>f\left({X}_{i}\left(t\right)\right)\end{array}$ (3)

5) Evaluation

In summary, the DE algorithm has the following advantages:

a) The algorithm is generic and does not depend on the problem information;

b) The algorithm principle is simple and easy to implement;

c) Group search, with the ability to memorize the optimal solution of individuals;

d) Collaborative search, with the ability to further search using individual local information and group global information guidance algorithms;

e) It is easy to mix with other algorithms to construct an algorithm with better performance.

The search performance of the DE algorithm depends on the balance between the global exploration of the algorithm and the local development capability, which depends to a large extent on the selection of the control parameters of the algorithm, including population size, scaling factor and crossover probability. Compared with other evolutionary algorithms, the DE algorithm requires fewer parameters to adjust. It is necessary to select reasonable parameters for the guidance of selection.

3. The Analysis of the Rosenbrock Function

The Rosenbrock function is a classic function in unconstrained optimization theory and method. It is an important tool to measure the advantages and disadvantages of unconstrained algorithms. In the field of numerical optimization, this function was proposed by Howard H. Rosenbrock in 1960. The function is a typical non-convex function, mainly used to optimize the performance test of the algorithm, and is known as the Rosenbrock valley function or the Rosenbrock banana function.

3.1. Definition of the Rosenbrock Function

The Rosenbrock function is defined as follows:

$f\left(x,y\right)={\left(1-x\right)}^{2}+100{\left(y-{x}^{2}\right)}^{2}$ (4)

Each contour of the Rosenbrock function is roughly parabolic, whose global minimum is also in a parabolic valley (banana-type valley). It is easy to find this valley but quite difficult to find the minimum of the whole domain because the value in the valley does not change much.

The global minimum of the function is at (x, y) = (1, 1) and the value is f(x, y) = 0. Sometimes the coefficient of the second term (100 in the above formula) is different, but it does not affect the position of the global minimum. This paper mainly focuses on the Rosenbrock function in the two-dimensional case.

The three-dimensional map of the two variables of the Rosenbrock function is shown in Figure 1.

The more complex form of Rosenbrock function under multivariate [6] as follows:

$f\left(x\right)={\displaystyle {\sum}_{i=1}^{N-1}\left[{\left(1-{x}_{i}\right)}^{2}+100{\left({x}_{i+1}-{x}_{i}^{2}\right)}^{2}\right]},\text{\hspace{0.17em}}\text{\hspace{0.17em}}\forall x\in {R}^{N}$ (5)

It can be proved that when N = 3, this form of Rosenbrock function has only a minimum value, and the position is $\left(1,1,1\right)$, in $4\le N\le 7$, there are only two minimum values. When all variables are 1, there is a global minimum $\left({x}_{1},{x}_{2},\cdots ,{x}_{N}=\left(-1,1,\cdots ,1\right)\right)$. There is a local minimum nearby. This result is obtained after the gradient of the function is zero. The Rosenbrock function is an unconstrained function optimization problem, which exhibits the characteristics of a multimodal function with a dimension greater than 3 and a unimodal indivisible function with other dimensions.

Figure 1. 3D graph of Rosenbrock function.

3.2. The Analysis of the Rosenbrock Function

As you can see in Figure 1, the global minimum of the Rosenbrock function is at the bottom of a valley with a smooth and narrow parabola shape. It is difficult for general optimization algorithms to distinguish the search direction because of the less search information provided. It becomes difficult to find the global minimum value and easy to fall into a local optimum on one side of the valley. In the final search phase, these algorithms cannot jump out when the algorithm optimizes the Rosenbrock function.

This paper proposes a further improvement of the original differential evolution algorithm, which combines the multi-strategy crossover operation and the self-adaptive dynamic adjustment algorithm parameters so that the algorithm takes into account both global search and local search. The new algorithm improves the convergence speed and accuracy of the optimization on the Rosenbrock function. The test results below verify the superiority of the algorithm.

4. Improved Differential Evolution Algorithm

4.1. Scaling Factor F

By literature [7], it can be seen that when the scaling factor F is between [0.5, 1], the algorithm obtains better results. When F < 0.5 or F > 1, the quality of the solution obtained by the algorithm is not high. And the literature shows that the average optimal value is ideal for almost all test functions at F = 0.5. Therefore, we take the benchmark value ${F}_{\mathrm{min}}=0.5,{F}_{\mathrm{max}}=1$ in the paper.

It can be known from Equation (1) that the value of F directly affects the convergence speed and convergence of the algorithm: the scaling factor F controls the amplitude of the difference vector, and its value also affects the convergence and convergence speed. When F is small, the convergence speed is faster, but if it is too small, it tends to converge to the non-optimal solution; if F is large, it is conducive to convergence to the optimal solution, but the convergence speed is slower.

We need to maintain the diversity of the population in the initial stage of the search, and we should get as many individuals as possible globally optimal when doing a global search. We should also strengthen the ability of local search in the later stage of the search to improve the accuracy of the algorithm.

Therefore, we take such a measure for the value of F: The previous F takes a larger value to increase the mutation rate and ensure the ability of global search. And we reduce the F as the number of iterations increases, which can improve the ability of local search. We can propose an improved scheme of self-adaptive

F: By literature [8], a linearly decreasing $F={F}_{\mathrm{max}}-\frac{t\left({F}_{\mathrm{max}}-{F}_{\mathrm{min}}\right)}{T}$ ( ${F}_{\mathrm{max}}$ and

${F}_{\mathrm{min}}$ are the maximum and minimum values of F, t is the current number of iterations, and T is the maximum number of iterations) was proposed instead of the traditional fixed value F. By literature [9], a nonlinearly decreasing F strategy

was proposed: $F={F}_{\mathrm{max}}-\left({F}_{\mathrm{max}}-{F}_{\mathrm{min}}\right){\left(\frac{g}{{G}_{\mathrm{max}}}\right)}^{2}$ (g is the current number of

iterations, ${G}_{\mathrm{max}}$ is the maximum number of iterations), the function of the strategy is similar to a parabola with an opening down.

This paper uses an exponential declining strategy that is flatter and smoother than the first two.

$F={F}_{0}\ast {2}^{{\text{e}}^{\left(1-\frac{T}{T+1-t}\right)}}$ (6)

In the above formula, ${F}_{0}$ is equivalent to ${F}_{\mathrm{min}}$, t and T are the current number of iterations and the maximum number of iterations, respectively. At the beginning of the algorithm, the self-adaptive mutation operator F is $2{F}_{0}$, which means that the individual diversity can be maintained at the initial stage because of a large mutation rate; as the algorithm progresses, the mutation rate decreases gradually and will be close to ${F}_{0}$ at the end of the algorithm, thus avoiding the destruction of the optimal solution.

4.2. Crossover Rate CR

The size of the crossover rate CR has a great influence on the convergence and convergence speed of the algorithm. It can be seen from Equation (2) that the larger the value of CR, the more V_{i}(t) contributes to U_{i}(t), which means that there will be more variant individuals in the crossover operation. This trend is conducive to opening up new space and accelerating convergence.

However, the mutated individuals tend to be the same at a later stage (the self-adaptive values of the mutated individuals tend to be the same), which is not conducive to maintaining diversity, so it is easy to fall into the local optimal solution, and the stability of this kind of algorithm is poor; the smaller the value of CR, the more X_{i}(t) contributes to U_{i}(t). In this way, the ability of the algorithm to develop new space is weakened, and the convergence speed is relatively slow, but it is beneficial to maintain the diversity of the population (retaining the original individual characteristics), and thus the algorithm has a higher success rate. Therefore, we should choose to preserve the diversity of the population more stable in the early stage, and develop slowly, gradually increasing the CR to accelerate the accurate convergence in the later stage, and not easily fall into the local optimum.

By literature [10], four improvement strategies were proposed to improve the original fixed value CR. As a result, the optimization performance of the open-up parabola form is the best. The parameters are as follows:

$CR=\left(C{R}_{\mathrm{max}}-C{R}_{\mathrm{min}}\right){\left(\frac{g}{{G}_{\mathrm{max}}}\right)}^{2}+C{R}_{\mathrm{min}}$ (7)

$C{R}_{\mathrm{max}},C{R}_{\mathrm{min}},g,{G}_{\mathrm{max}}$ are the maximum and minimum values of CR, the current iteration number and the maximum number of iterations, respectively.

In this paper, we consider that the differential evolution algorithm only evaluates the fitness of the function in the final selection. Is it possible to filter the mutated individuals in advance at the crossover operation, which provides more opportunities for excellent individuals to be selected at the crossover operation; while disadvantaged individuals are given a lower probability and constantly being eliminated. Therefore, this paper proposes a kind of elimination mechanism based on the fitness of individuals (taking the minimum value as an example):

$CR=\{\begin{array}{l}C{R}_{\mathrm{min}}+\left(C{R}_{\mathrm{max}}-C{R}_{\mathrm{min}}\right)\ast \frac{{f}_{i}-{f}_{av}}{{f}_{\mathrm{max}}-{f}_{av}},\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{if}\text{\hspace{0.17em}}{f}_{i}<{f}_{av}\\ C{R}_{\mathrm{min}},\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{otherwise}\end{array}$ (8)

Set up a CR with maximum and minimum values called $C{R}_{\mathrm{max}},C{R}_{\mathrm{min}}$. At the same time, the average value of all fitness functions is calculated at each iteration ${f}_{av}$ and search for maximum fitness ${f}_{\mathrm{max}}$. We use a mechanism for self-adaptive CR regulation at the crossover operation:

Suppose we are looking for a global minimum. If the average value of the population ${f}_{av}$ is lower than the current fitness value of the individual ${f}_{i}$, we can treat this individual as a dominant individual. The crossover rate CR for the individual will increase with the degree of approximation to the maximum fitness. If the average value of the population ${f}_{av}$ is higher than the current fitness value of the individual ${f}_{i}$, we can treat this individual as an inferior individual. The crossover rate CR for the individual will be set to the lowest $C{R}_{\mathrm{min}}$. Therefore, the dominant individual will be continued, and the inferior individual will gradually decrease. The method also follows the principle that the CR increases with the number of iterations.

As the algorithm reaches the end, the better fitness value of the function will be retained, the CR will be closer to the minimum value of the current iteration, which will help accelerate the convergence of the algorithm and improve the accuracy. The following Figure 2 shows the flow chart of the improved differential evolution algorithm.

We can call this strategy of simultaneously improved F-CR parameters as IEDE (Index-Elimination Differential Evolution Algorithm).

5. Experimental Results and Performance Analysis

5.1. Parameter Settings

In the experiment, we select the standard DE algorithm and the improved algorithm for performance test comparison. The parameters selected in the experiment are as follows: the population size is N = 5D - 10D and N = 50 in this paper. CR = 0.5, F_{0} = 0.5, f_{min} = 0.5, f_{max} = 1, CR_{min} = 0.3, CR_{max} = 0.9 in the improved algorithm. The maximum number of iterations is 200 under the two-dimensional variable of the Rosenbrock function. The accuracy of the experimental test is set to 1e − 4, which means that if the result reaches a difference of 1e − 4 from the target value and tends to be constant, then we can conclude that the iteration is over.

Figure 2. Flow chart for the improved DE algorithm.

5.2. Experimental Results and Performance Analysis

Take the standard differential evolution algorithm and the improved algorithm (IEDE) as an example, and use python to make graphs and compare them. As shown in Figure 3 below.

Figure 3. Performance comparison of the two algorithms.

It can be seen from Figure 3 that the fitness of the newly improved differential evolution algorithm is closer to the optimal value (f = 0) than the standard differential evolution algorithm, and the best solution of this iteration in the figure is (x_{0}, x_{1}) = (0.9999999999935465, 0.9999999999860919), the final function value is 1.4186545766642806e − 22.

At the same time, we perform each algorithm of the other literature20 times and record the number of times it takes to reach the number of stable iterations to verify the superiority of the newly improved differential evolution algorithm. The results are shown in Table 1 and Table 2.

It can be seen from Table 2 that in the two improved schemes of the crossover rate CR, the CR-elimination mechanism is obviously superior to the CR parabolic line, and it has achieved excellent results. It can be seen from the comparison of the standard deviation that the standard deviation corresponding to the CR-elimination mechanism is the smallest, indicating that the scheme has high repeatability.

Among three schemes of the scaling factor F, the effect of the F-parameter in the exponential form is better than that of the linear and parabolic methods (we adopt the control variable method: The CR is consistent with the parameters in the standard DE algorithm when we test F), but the iteration cost is more than the standard DE algorithm. This is because the self-adaptive characteristics of the F parameter are not reflected when the dimension is low, and the global optimum can be easily found without changing the F.

Therefore, the second round of testing is carried out to increase the dimension and increase the maximum number of iterations. In all the schemes with improved F parameters, the CR factor uniformly adopts the CR-elimination mechanism proposed in this paper. This time, we take a maximum number of iterations of 1000 and a dimension of 5. Considering that only D = 5 is taken, the

Table 1. The number of iterations required for each scheme to stabilize.

Table 2. Experimental results under different improvement schemes.

Normal DE refers to the standard DE algorithm without any changes; F-linear refers to changing F to self-adaptive $F={F}_{\mathrm{max}}-\frac{t\left({F}_{\mathrm{max}}-{F}_{\mathrm{min}}\right)}{T}$; F-parabola refers to changing F to self-adaptive $F={F}_{\mathrm{max}}-\left({F}_{\mathrm{max}}-{F}_{\mathrm{min}}\right){\left(\frac{g}{{G}_{\mathrm{max}}}\right)}^{2}$; F-index refers to changing F to self-adaptive $F={F}_{0}\ast {2}^{{\text{e}}^{\left(1-\frac{T}{T+1-t}\right)}}$; CR-parabola refers to changing CR to self-adaptive $CR=\left(C{R}_{\mathrm{max}}-C{R}_{\mathrm{min}}\right){\left(\frac{g}{{G}_{\mathrm{max}}}\right)}^{2}+C{R}_{\mathrm{min}}$; CR-elimination refers to changing CR to self-adaptive $CR=\{\begin{array}{l}C{R}_{\mathrm{min}}+\left(C{R}_{\mathrm{max}}-C{R}_{\mathrm{min}}\right)\ast \frac{{f}_{i}-{f}_{av}}{{f}_{\mathrm{max}}-{f}_{av}},\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{if}\text{\hspace{0.17em}}{f}_{i}>{f}_{av}\\ C{R}_{\mathrm{min}},\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{otherwise}\end{array}$.

third round of testing is performed, taking D = 10, and the maximum number of iterations is 3000. We perform 20 times for each scheme and calculate the mean and standard deviation.

The experimental results are shown in Table 3, Table 4 below.

It can be seen from the table that the standard DE algorithm cannot adapt to the computational difficulty brought by high-dimensional with the improvement of the dimension. At this time, the self-adaptive change advantage of F is reflected. The original standard algorithm cannot meet the requirements of high-dimension, so we draw a graph comparison in these three schemes. As shown in Figure 4 and Figure 5 below.

Figure 4. Changing curves of fitness value under three schemes (D = 5).

Figure 5. Changing curves of fitness value under three schemes (D = 10).

Table 3. Experimental results at D = 5.

Table 4. Experimental results at D = 10.

We can see from Figure 4 and Figure 5 that in the three improved schemes, the improved DE algorithm in the F-index form proposed in this paper takes the least number of times to achieve stable iteration. When D = 5, the efficiency of the IEDE is increased by 128.4% compared with the standard DE algorithm, and the standard deviation is the lowest among the four schemes, which means that the scheme of the IEDE is the most efficient and stable, and the repeatability of the IEDE is higher than other schemes. It can be seen that the improved DE algorithm (IEDE) using the F-index-CR elimination mechanism can effectively improve the operation speed of the original algorithm.

6. Conclusion

Many optimization algorithms are difficult to find its global minimum because of the fact that the global minimum of the Rosenbrock function is at the bottom of a narrow valley. This paper proposes a new improved DE algorithm (IEDE). The improved algorithm studies and analyzes various improvement schemes and proposes a new exponential strategy of a self-adaptive scaling factor in the mutation, and adopts the individual elimination mechanism which can adjust the crossover rate by distinguishing between superior individuals and inferior individuals in the crossover. Experimental studies show that the IEDE algorithm has very good performance for the optimization of the Rosenbrock function and further improves the convergence speed and accuracy of the algorithm and it can maintain certain stability even in high dimensions. At the same time, the Rosenbrock function also proves that the IEDE algorithm is a good performance optimization algorithm. The next research work is how to further improve the efficiency of the IEDE algorithm and to extend it to all optimization problems.

Cite this paper

Ma, J. and Li, H. (2019) Research on Rosenbrock Function Optimization Problem Based on Improved Differential Evolution Algorithm.*Journal of Computer and Communications*, **7**, 107-120. doi: 10.4236/jcc.2019.711008.

Ma, J. and Li, H. (2019) Research on Rosenbrock Function Optimization Problem Based on Improved Differential Evolution Algorithm.

References

[1] Price, K. (1996) Differential Evolution: A Fast and Simple Numerical Optimizer. Biennial Conference of the North American Fuzzy Information Processing Sociey, Berkeley, 19-22 June 1996, 524-527.

[2] Lu, X., Ke, T., Sendhoff, B. and Yao, X. (2014) A New Self-Adaptation Scheme for Differential Evolution. Neurocomputing, 146, 2-16.

https://doi.org/10.1016/j.neucom.2014.04.071

[3] Liu, B., Wang, L. and Jin, Y. (2007) Advances in Differential Evolution. Kongzhi yu Juece/Control and Decision, 22, 721-729.

[4] Rosenbrock, H.H. (1960) An Automatic Method for Finding the Greatest or Least Value of a Function. The Computer Journal, 3, 175-184.

https://doi.org/10.1093/comjnl/3.3.175

[5] Kennedy, J. and Eberhart, R. (1995) Particle Swarm Optimization. Proceedings of IEEE International Conference on Neural Networks, Perth, Australia, 27 November-1 December 1995, 1942-1948.

[6] Yang, X.S. and Deb, S. (2010) Engineering Optimization by Cuckoo Search. International Journal of Mathematical Modelling and Numerical Optimisation, 1, 330-343.

https://doi.org/10.1504/IJMMNO.2010.035430

[7] Storn, R. (1996) On the Usage of Differential Evolution for Function Optimization. Biennial Conference of the North American Fuzzy Information Processing Sociey, Berkeley, 19-22 June 1996, 519-523.

[8] Gao, Y.L. and Liu, J.F. (2008) Adaptive Differential Evolution Algorithm. Journal of Hebei University of Engineering, 8, 11-14.

[9] Xiao S.-J. and Zhu, X.-F. (2009) A Modified Fast and Highly Efficient Differential Evolution Algorithm. Journal of Hefei University of Technology (Natural Science), 32, 1700-1703.

[10] Deng, Z.-X. and Liu, X.-J. (2008) Study on Strategy of Increasing Cross Rate in Differential Evolution Algorithm. Computer Engineering & Applications, 44, 33-36.