Next Article in Journal
Object Recognition Using Non-Negative Matrix Factorization with Sparseness Constraint and Neural Network
Previous Article in Journal
Noisy ECG Signal Analysis for Automatic Peak Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Interactive Genetic Algorithm Oriented toward the Novel Design of Traditional Patterns

Key Laboratory of Advanced Manufacturing Technology, Ministry of Education, Guizhou University, Guiyang 550025, China
*
Author to whom correspondence should be addressed.
Information 2019, 10(2), 36; https://doi.org/10.3390/info10020036
Submission received: 23 November 2018 / Revised: 25 December 2018 / Accepted: 8 January 2019 / Published: 22 January 2019
(This article belongs to the Section Information Applications)

Abstract

:
To create alternative complex patterns, a novel design method is introduced in this study based on the error back propagation (BP) neural network user cognitive surrogate model of an interactive genetic algorithm with individual fuzzy interval fitness (IGA-BPFIF). First, the quantitative rules of aesthetic evaluation and the user’s hesitation are used to construct the Gaussian blur tool to form the individual’s fuzzy interval fitness. Then, the user’s cognitive surrogate model based on the BP neural network is constructed, and a new fitness estimation strategy is presented. By measuring the mean squared error, the surrogate model is well managed during the evolution of the population. According to the users’ demands and preferences, the features are extracted for the interactive evolutionary computation. The experiments show that IGA-BPFIF can effectively design innovative patterns matching users’ preferences and can contribute to the heritage of traditional national patterns.

1. Introduction

Creating consumers’ preferred products to achieve commercial goals is an important aspect of product design [1]. Traditional patterns are an important part of the design of national crafts, and they are mostly designed manually according to the designer’s own experience; therefore, the designs of patterns are restricted by the individual’s level of experience, which is inefficient. Meeting the various design requirements of traditional crafts is difficult [2]. Batik shape patterns are abundant and diverse, with elegant colors and ethnic-specific features. These patterns are rich in aesthetic, cultural, and re-design values, occupying an important position in the development history of modern textiles around the world. Therefore, the batik shape patterns design methods are important. In the study of pattern designs, shape grammar [3] and the fractal algorithm [4] are usually used to extract and reconstruct patterns. However, both use a combined transformation based on shape rules, and shape rules are finite in number. Batik shape patterns are complicated in composition, difficult to represent using traditional geometry, and there are design styles and cultural connotations in the traditional national designs. It is difficult to retain heritage and meet the market demand in the design of these patterns. To explore the emotions of users and design traditional national patterns that users prefer, in order to fully improve the competitiveness of products, further study is warranted.
Aiming at addressing the deficiency of existing pattern design methods, a novel design method is introduced in this study based on the back propagation (BP) neural network user cognitive surrogate of the interactive genetic algorithm with the individual’s fuzzy interval fitness (IGA-BPFIF). The advantages of the method in this paper are as follows: (1) constructing the fitness function based on aesthetic evaluation to form the central value of the fuzzy interval in order to retain and inherit the style characteristics of national patterns and the design of national patterns with greater beauty for users, (2) considering users’ cognitive hesitation to revise the evaluation value to increase the diversity of the evolutionary population, (3) using machine learning to predict the fitness of evolutionary individuals to reduce users’ operation fatigue, and (4) the BP neural network is trained according to error back propagation by measuring mean squared error (MSE); the training data and surrogate model are continuously updated to guarantee the precision of the surrogate model. For designers, the method can stimulate design inspiration and improve the speed of design to a certain extent. For enterprises, it plays a crucial role in customization of crafts by meeting customers’ needs and preferences.
This article is organized as follows. In Section 2, we present the related work. In Section 3, the proposed method is described. In Section 4, the performed experiments are outlined, along with an analysis of the results obtained. In Section 5, we analyze and discuss the algorithm’s performance. Finally, in Section 6, the conclusions and a discussion concerning future work are presented.

2. Related Work

Batik is one of the intangible cultural heritages in the world, famous for its long history and cultural connotation. In our previous work, Yuan et al. digitally designed butterfly patterns [5] using a fractal algorithm to enrich the batik patterns, classified batik shape patterns [6], and performed retrieval [7] using a machine learning algorithm. Lv et al. realized batik renderings using an interpolation subdivisions algorithm [8]. In order to meet users’ personalized needs for batik shape patterns and expand the batik shape patterns design methods, we propose a novel design method based on the interactive genetic algorithm (IGA) in this paper.
The design methods based on the IGA are one of the most effective solutions for responding to user needs and preferences, achieving remarkable results in modifying and improving designs [9]. IGA is an optimized algorithm that is an extension of the traditional genetic algorithm. Through the integration of human intelligence, the optimization of implicit performance indicators, such as human preferences, cognition, emotions, and psychological characteristics, is effective. Therefore, IGA has been widely used in fields such as education [10], engineering [11], and the arts [12]. However, the uncertainty, vagueness, and gradualism of users’ cognitive preferences, with fluctuation and evaluation fatigue, affect the performance of the algorithm to a large extent. There are two aspects to the solutions to this problem. The first is to speed up the convergence of IGA, which reduces the number of individuals evaluated by users, thereby easing user fatigue; and the second is to apply a fitness estimation strategy to predict the remaining evolutionary individuals automatically through a small number of individuals evaluated by users as samples, which reduces user evaluation times to reduce user fatigue.
To increase the convergence speed of IGA, there are two major categories of studies. One involves reducing the noise of evaluation, and prior studies have proposed interest degree [13], trust degree [14], credibility [15], hesitation [16,17], and other cognitive rules to reduce the evaluation noise. The second set of solutions involves improving the genetic operators [18]. For the fitness estimation strategies, there are two main categories of research. Methods, such as elite set [19], directed graph [20], grey model [21], fuzzy range [22], and maximum entropy criterion [23], have been proposed. The other category involves applying the fitness function approximation model. At present, studies have been based on machine learning methods [24,25] and on the collaborative filtering algorithms [26].
Although IGA can respond to users’ needs to a certain extent, in traditional interactive genetic algorithms (IGA-T), users’ cognition is fuzzy, which leads to the inability to accurately measure evolution individuals’ fitness as well as user’ aesthetic fatigue. Problems with deviation of evolution direction and lacking evolution with low optimized efficiency easily occur. At present, the IGA mainly focuses on an individual’s image evaluation, and studies on the aesthetic evaluation of evolutionary individuals are lacking.

3. The Proposed Method

The method in this paper builds a unified architecture that integrates user cognitive characteristics, a machine agent model, and evolutionary knowledge. The fitness is formed with a fuzzy Gaussian function for evolutionary individuals of the quantitative rules of aesthetic evaluation and users’ cognitive hesitation. Then the fitness of the fuzzy interval is formed through λ-cut set to depict uncertainty of user cognitive. In general, IGA requires a large number of labeled samples generated by a human user who finds the optimal solution. Therefore, if a learning algorithm that simulates the user cognitive processes will reduce fatigue to a large extent. After learning from the training set, the network can automatically map the relationship between the network’s input and output. Therefore, in this paper, when the human user feels fatigue, a stable cognitive surrogate model based on BP neural network is obtained by K-fold cross validation on the basis of the human user’s historical evaluation information. After evolution of M generations, the agent model presents M optimal individuals in successive generations and the estimated adaptive values. If the predicted values deviate from the human user’s expectations, the user can submit the evaluation again and the system will update the training data set automatically. By measuring MSE, the agent model is updated through the user’s preferences. The algorithm process is shown in Figure 1.

3.1. Individual’s Fuzzy Interval Fitness

We constructed a Gaussian membership function with quantifiable rules of aesthetic evaluation as the central value of fuzzy fitness f ˜ ( x i ) and the user’s hesitation time as the width of f ˜ ( x i ) , which was transformed into the fuzzy interval fitness through the λ -cut set. Evolutionary individuals were selected using the interval probabilistic dominant strategy with the league scale of 2 used by Shi et al. [27]. Then, subsequent crossover, mutation, and iteration operations were performed. Patterns can be adjusted to enhance their expression, and finally produce a satisfactory solution.
Without loss of generality, considering an evolutionary individual x i S , the domain of the fitness f ( x i ) is [ f a ( x i ) , f b ( x i ) ] R . The Gaussian membership function of f ˜ ( x i ) is shown in Equation (1):
( f ( x i ) ) μ f ˜ ( x i ) = e 1 2 [ f ( x i ) f c ( x i ) σ ( x i ) ]
where f c ( x i ) is the central value of f ˜ ( x i ) , σ ( x i ) is the width of f ˜ ( x i ) , and the theoretical domain of the Gaussian membership function is ( f ( x i ) ) μ f ˜ ( x i ) ( 0 , 1 ] . Then, the λ -cut set f λ ( x i ) of ( f ( x i ) ) μ f ˜ ( x i ) is obtained as the fuzzy interval fitness F ˜ ( x i ) , as shown in Equation (2):
F ˜ ( x i ) = [ f c ( x i ) 2 ln λ σ ( x i ) , f c ( x i ) + 2 ln λ σ ( x i ) ] [ F a ( x i ) , F b ( x i ) ]
The central value f c ( x i ) of the evolving individual x i is composed of several sub-factors { f 1 , f 2 , f n } and can be expressed as f c ( x i ) = i = 1 n w i f i , where w i represents the weight corresponding to f i . The characteristics of existing batik patterns were analyzed, and f c ( x i ) was decomposed into three seed factors: style f 1 , tone f 2 , and layout f 3 as the aesthetic evaluation index. The mean of the field was normalized to [ 0 , 100 ] . f 1 is quantified using the user’s subjective rating. f 2 is quantified using the mean of the color histogram mutual information. Based on the principle of formal aesthetics, f 3 is quantified using beauty indicators such as balance, symmetry, and centroid deviation [28], which is f 3 = i = 1 3 w 3 i f 3 i [ 0 , 1 ] , where w 3 i represents the weight corresponding to f 3 i . To maintain the same range of theoretical domain, take f 3 = 100 f 3 [ 0 , 100 ] .
The degrees of balance represent the difference in the total weight of the patterns on both sides of the horizontal and vertical axes of symmetry; the higher the balance, the calmer the psychological feeling, i.e., f 31 is closer to 1, and the higher the balance, as shown in Equation (3):
f 31 = 1 1 2 ( | w l w r max ( | w l | , | w r | ) | + | w t w b max ( | w t | , | w b | ) | ) , w j = i = 1 n j a i j d i j , j = l , r , t , b
where l , r , t , b represent the left, right, upper, and lower spaces of the pattern, respectively; a i j represents the space occupied by line i in j space; d i j represents the distance between the centerline of the pattern i and the centerline of the pattern space; and n j denotes the number of patterns contained in a space. In this paper, the minimum external contiguous rectangle of the contour line is taken as the area of the pattern space.
Symmetry refers to the degrees of symmetry between patterns along the vertical, horizontal, and diagonal lines. The higher the degree of symmetry, the more solemn the psychological feeling, i.e., f 32 is closer to 1, and the higher the balance, as shown in Equation (4):
f 32 = 1 1 3 ( | s 1 | + | s 2 | + | s 3 | )
where s 1 , s 2 , s 3 represent the symmetry degree of the vertical, horizontal, and diagonal lines of the pattern, respectively, shown as follows:
s 1 = 1 12 ( | x u l x u r | + | x l l x l r | + | y u l y u r | + | y l l y l r | + | h u l h u r | + | h l l h l r | + | b u l b u r | + | b l l b l r | + | θ u l θ u r | + | θ l l θ l r | + | r u l θ u r | + | r l l θ l r | )
s 2 = 1 12 ( | x u l x l l | + | x u r x l r | + | y u l y l l | + | y u r y l r | + | h u l h l l | + | h u r h l r | + | b u l b l l | + | b u r b l r | + | θ u l θ l l | + | θ u r θ l r | + | r u l r l l | + | r u r r l r | )
s 3 = 1 12 ( | x u l x l r | + | x u r x l l | + | y u l y l r | + | y u r y l l | + | h u l h l r | + | h u r h l l | + | b u l b l r | + | b u r b l l | + | θ u l θ l r | + | θ u r θ l l | + | r u l r l r | + | r u r r l l | )
where x j , y j , h j , b j , θ j , r j represent the dimensionless values after normalization of x j , y j , h j , b j , θ j , r j , respectively, conform to the following constraints:
x j = i n j | X i j X c | , j = u l , u r , l l , l r
y j = i n j | Y i j Y c | , j = u l , u r , l l , l r
R j = i n j ( X i j X c ) 2 + ( Y i j Y c ) 2
h j = i n j H i j , b j = i n j B i j θ j = i n j | Y i j Y c X i j X c |
o i = O i min 1 j n { O j } min 1 j n { O j } min 1 j n { O j } , o = x , y , h , b , θ , r
where u l , u r l l , and l r represent the space on the upper left, upper right, lower left, and lower right of the pattern, respectively; ( X i j , Y i j ) and ( X c , Y c ) represent the coordinates of the pattern i in the center of j in a certain space and the center of the pattern, respectively; B i j and H i j represent the width and height of the minimum rectangle external to the grain profile, respectively; and n j denotes the total number of patterns in a space.
Centroidal deviation represents the minimum degrees of the rectangular center between the centroid and contour line. The lower the deviation, the more stable the psychological feeling, i.e., f 33 is closer to 1, and the higher the balance, as shown in Equation (5):
f 33 = 1 1 2 ( | i = 1 n a i ( x i x c ) 1 2 i = 1 n a i b w | + | i = 1 n a i ( y i y c ) 1 2 i = 1 n a i b l | )
where ( x i , y i ) and ( x c , y c ) represent the centroid of the pattern i and the center of the smallest rectangle external to the contour of the pattern i , respectively; a i represents the area occupied by pattern; b w and b l represent the width and the length of the smallest rectangle external to the contour i of the pattern, respectively.
In IGA, users have different degrees of hesitation with different cognition [17]. At the early stage of evolution, the user is not familiar with evolutionary individuals, thus the user has a strong sense of hesitation at this time. Therefore, the fitness of evolutionary individuals has greater uncertainty, so a wider interval value is selected as the fitness of evolutionary individuals. With progressing evolution, user cognition gradually becomes clear and hesitation gradually disappears; therefore, the width of the fitness value interval of an evolutionary individual continually decreases. Therefore, the evaluation time T ( x i ) of individual x i can be used as the user’s cognitive hesitation to describe the width of the fitness value interval. From Equation (2), when λ and f c ( x i ) are certain, the width of F ˜ ( x i ) is determined by σ ( x i ) . Therefore, σ ( x i ) is represented by T ( x i ) as σ ( x i ) =   T ( x i ) .

3.2. BP Neural Network User Cognitive Surrogate Model

Due to frequent operations intended for human interaction, users easily tire. The construction of the surrogate model is conducive to reducing user fatigue, expanding the search scope of the algorithm, and increasing the diversity of the population. As a non-linear information dynamics model, BP neural networks realize non-linear mapping from input to output and have good fault-tolerant, adaptive, and generalization characteristics. BP neural networks are mainly applied to problems of approximate function, pattern recognition, data compression, and classification. Based on a human user’s own historical evaluation information, the surrogate model in this paper obtains the modified fitness using Equation (2) as the labeled samples, adopts K-folded cross validation to train the BP neural network surrogate model, and divides the data into k parts. Each piece of data D ( k ) = { ( x i , F ˜ ( x i ) ) , i = 1 , 2 , , N k } was selected in turn as the test data, and the remaining k – 1 parts as the training data. As the three-layer BP neural network has a continuous mapping capability from arbitrary input to output, this model adopts the three-layer BP neural network: input layer, hidden layer, and output layer, where w i h and w h o represent the connection weight of neuron nodes in the input layer and hidden layer, hidden layer, and output layer, respectively. The unipolar sigmoid function f ( x ) = 1 1 + e x is used as the transfer function. The number i of the input layer is determined by the component number of the evolving individual x i . The number of nodes of neurons in the output layer o is 2, which represents the upper limit F a ( x i ) and lower limit F b ( x i ) of the predicted interval fitness F ( x i ) . The number of hidden layer neuron nodes h was determined using h = i + o 2 in Lin et al. [29]. w i h and w h o are dynamically adjusted using gradient descent technology, such that the objective function measured by MSE is M S E = 1 N k i = 1 N k ( F ( x i ) F ~ ( x i ) ) 2 . When the error accuracy requirement is met, the training ends, and the cognitive surrogate model based on BP neural network is obtained. The topology of the surrogate model is shown in Figure 2. The model is used to predict the fitness of subsequent evolution individuals to reduce user operational burden.
As the construction of the surrogate model is based on a human user’s own historical evaluation information, with the progress of evolution, user preferences tend to fluctuate, and the fitness of some evolutionary individuals predicted by the surrogate model may deviate from the user expectation. At this point, the surrogate model needs to identify the user preferences to update. As the ultimate goal of IGA is to search once for the optimal individual surrogate model performances, and the number of evolution generations is M times, where M is the initial population size, the optimal individual of each generation is saved, and M predicted optimal individuals are presented to users. If the predicted fitness of individuals deviates from the user’s expectations, the user can re-submit the evaluation data. The evaluation data are included in data set D ( k ) as the sample data randomly, and the training sample data are verified through K-fold cross validation. If M S E e , where e is error accuracy, the surrogate model will update automatically.

4. Evolution Design Experiment with Batik Style Patterns

We collected a large number of batik shape patterns to analyze their characteristics, as shown in Figure 3. A batik shape tablecloth is shown as an example in Figure 3a. Generally, a batik shape pattern can be divided into a border pattern, which is shown in Figure 3b, and the main pattern, which is shown in Figure 3c. The main batik pattern can be separated to extract a specific pattern structure, as shown in Figure 3d.

4.1. Individual Codes

Customers’ display performance requirements consist of several sub-requirements { d 1 , d 2 , , d n } . In this paper, display performance is coded according to the customer’s pattern structure, the specified pattern type, and the pattern size requirements. The pattern structure requirement is taken as an example, as shown in Figure 4. The L module is the border pattern; modules C, E, and I are both mainly patterns that mostly reflect the meaning of the pattern. The pattern type is specified by the customer; other modules are decorative patterns. As the batik pattern style is mostly two-square continuous or four-square continuous, eight patterns were randomly selected from the decorative pattern library, and they were rotated to a fixed angle for the decorative module gene library. The main pattern modules C and D (dragon patterns) and module E (bronze drum patterns) are taken as examples. The gene pool of each module included eight patterns, the values of coded decimals ranged from 0 to 7, which was converted to 3-bit binary code, then the search space contained 8 12   =   2 36 candidate solutions.

4.2. Experimental Environment and Parameters Setting

To measure the performance of IGA-BPFIF, IGA-T, interactive genetic algorithms with individual’s interval fitness (IGA-IIF) in Shi et al. [27], and the neural network surrogate models based on individual’s interval fitness in interactive genetic algorithms (IGA-NNISF) in Gong et al. [30] were compared. The parameters settings are shown in Table 1. We set the same control parameters for all four algorithms. The evolution parameters setting was completed as follows. The initial population size was M = 9 ; the crossover probability and mutation probability were set to p c = 0.85 and p m = 0.05 through multiple experiments, respectively; the selection operator was set as the selection of roulette with interval probability in Shi et al. [27]; the crossover operator was set as a two-point crossover; and the mutation operator was set as a single point mutation. The process for setting the surrogate model parameters was as follows. Since the pattern structure included 12 modules, the nodes of input layer i = 12 and the output were F a ( x i ) and F b ( x i ) . With a normalization procedure, the nodes of the output layer were o = 2 and the nodes of the hidden layer were h = 7 according to h = i + o 2 in Lin et al. [29]. The modified fitness was determined according to the data evaluated by a human user who is trying to determine the solution to Equation (2) of the labeled samples. The labeled samples were divided into k = 3 parts. Each piece of datum D ( k ) = { ( x i , F ˜ ( x i ) ) , i = 1 , 2 , , N k } was selected in turn as the test datum and the remaining two parts as the training data to initialize the surrogate model. The MSE precision threshold was set to e = 0.01 . The rest of the parameters in IGA-BPFIF were set as follows: f c ( x i ) is composed of style f 1 , color f 2 , and layout f 3 , and is standardized by domain [ f a ( x i ) , f b ( x i ) ] [ 0 , 100 ] . Since the traditional batik shape patterns are all white flowers on a blue background, the color f 2 corresponds to weight w 2 = 0 . If more emphasis is placed on pattern style, the weight w 1 of this factor increases. f 3 is calculated according to Equations (3)–(5). The weights of w 11 , w 12 , and w 13 are all 1/3.
To set the terminal condition, the terminal evolutionary generation was set as the number of individuals that were evaluated by the user, which was 270. This means that if the users had not found their satisfied individual after 30 evolution generations without applying any surrogate model, the system automatically ends. If users find a satisfactory solution before the terminal evolutionary generation is met, they can manually end population evolution.
The system was programmed with PyQt 5, which was developed by Riverbank Computing in Wales, England, and the operating system interface is shown in Figure 5. The user clicks the initialization button, the system automatically generates the initial evolution population, and provides a display. Then, a human user evaluates the evolutionary individuals according to their preferences and clicks the next generation button, and the population conducts the selection, crossover, and mutation operations to generate new populations. If the human user’s evaluation generations exceed five, the agent model can be selected to replace the user evaluation, which means there are more than 45 labeled samples. The system takes the evaluation results of the first five generations of individuals, which means 45 labeled samples are automatically taken as the initial training data. Then, the system divides the samples into three parts to adopt K-fold cross validation to train the BP neural network cognitive surrogate model. The system estimates the adaptive value of each generation of evolution individuals, and the population carries out genetic operations to generate new populations. The surrogate model represents the optimal individual of each generation and the predicted adaptive value after nine generations. If the predicted value deviates from the user’s expectations, the user can submit the evaluation again, and the system will update the training data set automatically. If M S E > 0.01 , then the model will update automatically. The process repeats until the human user finds a satisfactory evolutionary individual.

4.3. Results

For the purpose of this paper, a satisfied individual human user is the result of the experiment. Table 2 displays a subject’s preferences for each algorithm in the 10th generation as the optimal result for each algorithm in the 10th generation. The optimal individual fitness for IGA-BPFIF was higher than IGA-T, IGA-IIF, and IGA-NNISF.
Both the proposed algorithm, IGA-BPFIF, and IGA-NNISF selected the surrogate model after the fifth generation of evolution. When algorithms converge, the performance differences of IGA-BPFIF, IGA-T, IGA-IIF, and IGA-NNISF were compared from three aspects: the total number of iterations in each evolution, the number of individuals evaluated by the user, and the number of searched individuals in the system. As subjects, 25 graduates were randomly selected and used with the above four different algorithms to illustrate the general applicability of our method. The contrast indicators data were respectively recorded, as shown in Table 3. The average values (Avg.) and variance scores (Var.) were calculated for the three aspects above for the four different algorithms, and the comparison results are shown in Table 4. The IGA-IIF generations when the algorithm converges were fewer than IGA-T, indicating that IGA-IIF could minimize user fatigue to some extent. The number of individuals evaluated by the user of IGA-NNISF was significantly lower than IGA-IIF, indicating that IGA-NNISF could better minimize user fatigue; however, the IGA-NNISF generations were no better than IGA-IIF when the algorithm converged because IGA-NNISF applied the interval fitness in IGA-IIF, and due to the surrogate model, a user could find the satisfactory solution with more than 30 generations. The average evolution generations and the average number of individuals evaluated by users of IGA-BPFIF accounted for 35.20% and 21.74% of IGA-T, 39.71% and 24.38% of IGA-IIF, and 38.13% and 83.24% of IGA-NNISF, respectively. For a user who found a satisfactory item on IGA-BPFIF, the human–computer interaction operation of this algorithm was greatly reduced compared with the other algorithms mentioned above. Then, the number of searched items in the system increases significantly. The average number of searched individuals in the system accounted for 158.75% of IGA-T, 177.99% of IGA-IIF, and 170.90% of IGA-NNISF. To a certain extent, this reflects the effectiveness of the algorithm in improving the quality of individual evolution and reducing user aesthetic fatigue.
For the convergence performance of IGA-BPFIF, Figure 6 compares the fitness of evolutionary individuals. The y-coordinates in Figure 6a,b represent the average fitness of all evolutionary individuals F c ( t ) = i = 1 9 F c ( x i ) and the average width of interval fitness, respectively. The interval fitness of the evolutionary individual is determined by the upper and lower limits of the interval F c ( x i ) = 1 2 ( F a ( x i ) + F b ( x i ) ) ; the x-coordinate represents the number of iterations. The four curves represent the trend of each generation of the evolution individuals of IGA-T, IGA-IIF, IGA-NNISF, and IGA-BPFIF. As can be seen from Figure 6a, the average fitness of IGA-BPFIF gradually increased with the increase in evolution generation, indicating that the evolution direction conforms to the cognitive rule. Figure 6b shows that although the average width of the interval fitness fluctuates a little, the overall trend gradually decreased, indicating that the uncertainty of user evaluation gradually decreased. As IGA-NNISF adopts the interval fitness in IGA-IIF, the average fitness was the same.
Figure 7 compares the number of different individuals. The number of individual variations of the four algorithms increased with the increase in the number of generations. After 20 iterations, the increasing number of different individuals represented by IGA-T was no longer significant. After 25 iterations, the increasing number of different individuals represented by IGA-IIF was no longer obvious; however, IGA-BPISF experienced significant growth in the number of different individuals. This shows that IGA-BPFIF was more complex than the other three algorithms in terms of time complexity. IGA-BPFIF had more opportunities to find satisfactory solutions. By comparing the evolutionary generations under the algorithm convergence condition in Table 1, the search efficiency of this algorithm was shown to be higher than that of the other algorithms. The reason is that IGA-BPFIF modified the adaptive value of the different individual through the user’s cognitive hesitation, which significantly increased the number of different individuals in each generation, thereby effectively improving the search efficiency of IGA-BPFIF. Therefore, to a certain extent, the results showed that the proposed algorithm can modify the adaptive value of the evolving individual by constructing a quantitative system for aesthetic evaluation and users’ cognitive hesitation, which is conducive to reducing user evaluation noise.
Individuals with fitness greater than 70 were regarded as satisfactory solutions. Figure 8 provides a satisfaction comparison of the four algorithms. When the number of generations was less than 30, the number of satisfying solutions for IGA-BPFIF was greater than those for IGA and IGA-IIF, and when the number of generations was more than 30, the number of satisfying solutions for IGA-BPFIF was 40% more than IGA-NNISF. Therefore, our algorithm effectively improved the success rate of IGA and the satisfaction degree of the users.

5. Discussion

Set T as the number of evolutionary generations when the algorithm converges, and T 1 and T 2 as the number of evolution before and after the application of surrogate model, respectively; then, T = T 1 + T 2 . In IGA-T and IGA-IIF, the number of individuals evaluated by the user and the total number of system evaluation individuals were both T × M . T was certain due to T 2 × ( M 1 ) > 0 . As a result, IGA-NNISF could effectively reduce the number of individuals evaluated by the user. For IGA-BPFIF, the user evaluated the number of individuals T 1 × M N T × M and the number of searched individuals by the system was T 1 × M + T 2 × M 2 . Since the surrogate model was used once, it was necessary to evolve the individuals M times and the system presents the optimal individual in each generation. If the predicted fitness of the individuals deviated from the user expectations, user evaluation was needed. Therefore, when the number of searched individuals by the system was certain, T 2 in IGA-BPFIF was 1 M in IGA-NNISF. Set T 2 = t . Due to N t × M 0 , the number of individuals evaluated by a user in IGA-BPFIF was lower than in IGA-NNISF. As the total number of searched individuals in IGA-BPFIF increases exponentially, the fitness function was constructed using the quantitative rules of aesthetic evaluation and the user’s cognitive hesitation to form the fuzzy interval fitness. Therefore, satisfactory individuals were more likely to be found. In summary, compared with the above three methods, the algorithm in this paper could reduce evaluation noise, user fatigue, and effectively improve the IGA optimization performance to some extent.

6. Conclusions

In this paper, the fitness was measured using the aesthetic evaluation function combined with user cognitive hesitation to analyze user cognition. The surrogate model based on a BP neural network is trained using K-fold cross-validation. By measuring MSE, user preferences were identified and the surrogate model was continuously updated to guarantee performance. Experimental results showed that the algorithm could reduce user evaluation fatigue to a certain extent. Future work will focus on improving designs in terms of reusability and speed, better alignment with customer preferences, and a more effective aesthetic evaluation system optimization method will be introduced. Appropriate evolutionary strategies are still needed to accelerate the algorithm convergence.

Author Contributions

J.L. and W.P. administrated the project; M.Z. conceived the idea and researched the theme; M.Z. and X.L. designed and performed the experiments. J.L. and M.Z. wrote and revised the manuscript.

Funding

This research was supported by the Natural Science Foundation of China (Nos. 51865004, 2014BAH05F01) and the Provincial Project Foundation of Guizhou, China (Nos. [2018]1049, [2016]7467).

Acknowledgments

The authors would like to convey our heartfelt gratefulness to the reviewers and the editor for the valuable suggestions and important comments which greatly helped us to improve the presentation of this manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wu, J.; Wu, Z. Integrated risk management and product innovation in China: The moderating role of board of directors. Technovation 2014, 34, 466–476. [Google Scholar] [CrossRef]
  2. Zhang, X.; Wang, J.; Lu, G.; Fei, S.; Zhang, D. Extraction and reuse of pattern configuration based on ontology and shape grammar. J. Zhejiang Univ. (Eng. Sci.) 2018, 52, 461–472. [Google Scholar]
  3. Knight, T.; Stiny, G. Making grammars: From computing with shapes to computing with things. Des. Stud. 2015, 41, 8–28. [Google Scholar] [CrossRef] [Green Version]
  4. Chul, M. A study on application of fractal structure on graphic design. Arch. Des. Res. 2004, 17, 1–18. [Google Scholar]
  5. Yuan, Q.; Lv, J.; Huang, H. Auto-Generation Method of Butterfly Pattern of Batik Based on Fractal Geometry. Int. J. Signal Process. 2016, 9, 269–342. [Google Scholar] [CrossRef]
  6. Yuan, Q.; Lu, J.; Huang, H.; Pan, W. Research of batik image classification based on support vector machine. Comput. Model. New Technol. 2014, 18, 193–196. [Google Scholar]
  7. Yuan, Q.; Xu, S.; Jian, L. A new method for retrieving batik shape patterns. J. Assoc. Inf. Sci. Technol. 2018, 69, 578–599. [Google Scholar] [CrossRef]
  8. Lv, J.; Pan, W.; Liu, Z. Method of Batik Simulation Based on Interpolation Subdivisions. J. Multimedia 2014, 9, 286–293. [Google Scholar] [CrossRef]
  9. Semnani, D.; Hadjianfar, M.; Aziminia, H.; Sheikhzadeh, M. Jacquard pattern optimizing in weft knitted fabrics via interactive genetic algorithm. Fash. Text. 2014, 1, 1–9. [Google Scholar] [CrossRef]
  10. Kaliakatsos-Papakostas, M.A.; Floros, A.; Vrahatis, M.N. Interactive music composition driven by feature evolution. Springerplus 2016, 5, 826–864. [Google Scholar] [CrossRef]
  11. Araújo, A.A.; Paixao, M.; Yeltsin, I.; Dantas, A.; Souza, J. An Architecture based on interactive optimization and machine learning applied to the next release problem. Autom. Softw. Eng. 2017, 24, 623–671. [Google Scholar] [CrossRef]
  12. Khajeh, M.; Payvandy, P.; Derakhshan, S.J. Fashion set design with an emphasis on fabric composition using the interactive genetic algorithm. Fash. Text. 2016, 3, 1–16. [Google Scholar] [CrossRef]
  13. Qian, X.; Feng, H.; Zhao, G.; Mei, T. Personalized Recommendation Combining User Interest and Social Circle. IEEE Trans. Knowl. Data Eng. 2014, 26, 1763–1777. [Google Scholar] [CrossRef]
  14. Guo, G.; Zhang, J.; Yorke-Smith, N. A Novel Recommendation Model Regularized with User Trust and Item Ratings. IEEE Trans. Knowl. Data Eng. 2016, 28, 1607–1620. [Google Scholar] [CrossRef]
  15. Sun, X.; Lu, Y.; Gong, D.; Zhang, K. Interactive genetic algorithm with CP-nets preference surrogate and application in personalized search. Control Decis. 2015, 30, 1153–1161. [Google Scholar]
  16. Dou, R.; Zong, C. Application of Interactive Genetic Algorithm based on hesitancy degree in product configuration for customer requirement. Int. J. Comput. Int. Syst. 2014, 72, 74–84. [Google Scholar] [CrossRef]
  17. Dou, R.; Zong, C.; Li, M. An interactive genetic algorithm with the interval arithmetic based on hesitation and its application to achieve customer collaborative product configuration design. Appl. Soft Comput. 2016, 38, 384–394. [Google Scholar] [CrossRef]
  18. Kim, J. Design and Implementation of Learning Contents Using Interactive Genetic Algorithms with Modified Mutation. J. Korea Soc. Comput. Inf. 2005, 10, 85–92. [Google Scholar]
  19. Gong, D.; Chen, J. Interactive genetic algorithms with selecting individuals using elite set. Acta Electron. Sin. 2014, 42, 1538–1544. [Google Scholar]
  20. Mu, R.; Zeng, X. Collaborative Filtering Recommendation Algorithm Based on Knowledge Graph. Math. Probl. Eng. 2018, 2018. [Google Scholar] [CrossRef]
  21. Guo, G.; Chen, L. Interactive Genetic Algorithms with Grey Modeling for Individuals Fitness; IEEE Computer Society: Hangzhou, China, 2012; pp. 144–147. [Google Scholar]
  22. Wu, Y.; Zhang, X.; Yu, H.; Wei, S.; Guo, W. Collaborative filtering recommendation algorithm based on user fuzzy similarity. Intell. Data Anal. 2017, 21, 311–327. [Google Scholar] [CrossRef]
  23. Guo, G.; Chen, L. An Interactive Genetic Algorithms Based on Maximum Entropy Principle with Individuals’ Fitness Not Assigned by User. Acta Electron. Sin. 2017, 45, 2997–3004. [Google Scholar]
  24. Sun, X.; Gong, D.; Zhang, W. Interactive genetic algorithms with large population and semi-supervised learning. Appl. Soft Comput. 2012, 12, 3004–3013. [Google Scholar] [CrossRef]
  25. Sun, X.; Gong, D.; Jin, Y.; Chen, S. A New Surrogate-Assisted Interactive Genetic Algorithm with Weighted Semisupervised Learning. IEEE Trans. Cybern. 2013, 43, 685–698. [Google Scholar] [PubMed]
  26. Gong, D.; Yang, L.; Sun, X. Applying Knowledge of Users with Similar Preference to Construct Surrogate Models of IGA. Chin. J. Electron. 2015, 24, 555–562. [Google Scholar] [CrossRef]
  27. Shi, Z.; Han, M. Support vector echo-state machine for chaotic time-series prediction. IEEE Trans. Neural Netw. 2007, 18, 359–372. [Google Scholar] [CrossRef]
  28. Zhou, A.; Su, J.; Yan, S.; Ouyang, J.; Shi, C.; Yuwang, B. Nonlinear Information Dynamics Model of Synthetic Evaluation on Product Form Aesthetic. J. Mech. Eng. 2018, 54, 150–159. (In Chinese) [Google Scholar] [CrossRef]
  29. Lin, Y.; Lai, H.; Yeh, C. Neural network models for product image design. In Proceedings of the 8th International Conference on Knowledge-Based Intelligent Information and Engineering Systems, Wellington, New Zealand, 20–25 September 2004; pp. 618–624. [Google Scholar]
  30. Gong, D.; Sun, X.; Ren, J. Surrogate Models Based on Individual’s Interval Fitness in Interactive Genetic Algorithms. Chin. J. Electron. 2009, 18, 689–694. [Google Scholar]
Figure 1. The algorithm process.
Figure 1. The algorithm process.
Information 10 00036 g001
Figure 2. Topology of the surrogate model.
Figure 2. Topology of the surrogate model.
Information 10 00036 g002
Figure 3. Representation of the composition of a batik shape pattern. (a) Batik shape tablecloth, (b) border pattern of a batik shape tablecloth, (c) main pattern of a batik shape tablecloth, and (d) pattern structure of a batik shape tablecloth.
Figure 3. Representation of the composition of a batik shape pattern. (a) Batik shape tablecloth, (b) border pattern of a batik shape tablecloth, (c) main pattern of a batik shape tablecloth, and (d) pattern structure of a batik shape tablecloth.
Information 10 00036 g003
Figure 4. Representation of pattern’s structure.
Figure 4. Representation of pattern’s structure.
Information 10 00036 g004
Figure 5. The system interface.
Figure 5. The system interface.
Information 10 00036 g005
Figure 6. Comparison of the fitness of evolutionary individuals: (a) average of fitness and (b) average width of interval fitness.
Figure 6. Comparison of the fitness of evolutionary individuals: (a) average of fitness and (b) average width of interval fitness.
Information 10 00036 g006
Figure 7. Comparison of the number of different individuals.
Figure 7. Comparison of the number of different individuals.
Information 10 00036 g007
Figure 8. Comparison of satisfaction.
Figure 8. Comparison of satisfaction.
Information 10 00036 g008
Table 1. Parameters settings.
Table 1. Parameters settings.
Evolution Parameters SettingSurrogate Model Parameters SettingRemaining Parameters in IGA-BPFIF
M p c p m i o h k e w 1 w 2 w 3 w 11 w 12 w 13
90.850.05122730.011/201/21/31/31/3
Table 2. Optimal result in the 10th generation.
Table 2. Optimal result in the 10th generation.
AlgorithmIGA-TIGA-IIFIGA-NNISFIGA-BPFIF
Optimal Individual Information 10 00036 i001 Information 10 00036 i002 Information 10 00036 i003 Information 10 00036 i004
Fitness61687084
Table 3. Contrast indicators comparison.
Table 3. Contrast indicators comparison.
AlgorithmContrast Indicators1234522232425
IGA-TEvolution generations273029302530282927
Number of individuals evaluated by the user243270261270225270252261243
Number of searched individuals243270261270225270252261243
IGA-IIFEvolution generations242530262527242523
Number of individuals evaluated by the user216225270234225243252270243
Number of searched individuals216243270234225243252270243
IGA-NNISFEvolution generations252632252422243522
Number of individuals evaluated by the user656672656462647562
Number of searched individuals225234288225216198216315198
IGA-BPFIFEvolution generations899101287109
Number of individuals evaluated by the user575155566252515457
Number of searched individuals243324324405567243162405324
Table 4. Algorithm performance comparison.
Table 4. Algorithm performance comparison.
AlgorithmEvolution GenerationsNumber of Individuals Evaluated by the UserNumber of Searched Individuals
Avg.Var.Avg.Var.Avg.Var.
IGA-T28.122.36253.08191.16253.08191.16
IGA-IIF25.085.16225.72417.96225.72417.96
IGA-NNISF26.1216.9433366.1216.94333235.081372.41
IGA-BPFIF9.964.0455.0428.12333401.7626,506.44

Share and Cite

MDPI and ACS Style

Lv, J.; Zhu, M.; Pan, W.; Liu, X. Interactive Genetic Algorithm Oriented toward the Novel Design of Traditional Patterns. Information 2019, 10, 36. https://doi.org/10.3390/info10020036

AMA Style

Lv J, Zhu M, Pan W, Liu X. Interactive Genetic Algorithm Oriented toward the Novel Design of Traditional Patterns. Information. 2019; 10(2):36. https://doi.org/10.3390/info10020036

Chicago/Turabian Style

Lv, Jian, Miaomiao Zhu, Weijie Pan, and Xiang Liu. 2019. "Interactive Genetic Algorithm Oriented toward the Novel Design of Traditional Patterns" Information 10, no. 2: 36. https://doi.org/10.3390/info10020036

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop