Elsevier

Applied Soft Computing

Volume 12, Issue 11, November 2012, Pages 3390-3400
Applied Soft Computing

Linguistic fuzzy model identification based on PSO with different length of particles

https://doi.org/10.1016/j.asoc.2012.07.014Get rights and content

Abstract

To generate the structure and parameters of fuzzy rule base automatically, a particle swarm optimization algorithm with different length of particles (DLPPSO) is proposed in the paper. The main finding of the proposed approach is that the structure and parameters of a fuzzy rule base can be generated automatically by the proposed PSO. In this method, the best fitness (fgbest) and the number (Ngbest) of active rules of the best particle in current generation, the best fitness (fpbesti) which ith particle has achieved so far and the number (Npbesti) of active rules of it when the best position emerged are utilized to determine the active rules of ith particle in each generation. To increase the diversity of structure, mutation operator is used to change the number of active rules for particles. Compared with some other PSOs with different length of particles, the algorithm has good adaptive performance. To indicate the effectiveness of the give algorithm, a nonlinear function and two time series are used in the simulation experiments. Simulation results demonstrate that the proposed method can approximate the nonlinear function and forecast the time series efficiently.

Graphical abstract

An example for determining the active fuzzy rules, the graphic shows the procedure of how to determine the dimension of the flying particles.

  1. Download : Download full-size image

Highlights

► The structure and parameters of fuzzy rule base can be self-generated. ► The active rule of particles is adaptive modified with the fitness information of swarm. ► The equation is designed to determined the active rules of all particles.

Introduction

Fuzzy set theory has been successfully applied in many different areas of engineering including, but not limited to, nonlinear system modeling [1], control [2], [3] and image processing [4]. A major difficulty in finding an appropriate fuzzy rule base for a given task is often encountered in practice. A trial and error method is widely used in most cases but with a heavy computational burden and low efficiency, especially when there is no adequate prior assumption. Therefore, more attention has been paid to build a suitable fuzzy rule base automatically for a given task. C-Means clustering and searching tree methods were applied to identify the structure [5], and the complex method was used to identify the parameters of a fuzzy rule base. All samples should be used to determine centers of clusters in this algorithm and tree searching might lead to heavy computation cost. The pairwise learning approach and preference relations are used to deal with multi-class classification for linguistic fuzzy rule based classification systems, the effectiveness of this method is indicated by testing of some classification problems [6]. A spectral analysis method for fuzzy rule-based systems that performs data modeling consistently according to the symbolic relations expressed by the rules is introduced to improve the interpretability of the rules and the model's accuracy [7]. Fuzzy clustering technique and some approximate similarity measures are introduced to improve the accuracy of fuzzy model [8], the performance of TSK model is improved by it. Support vector machine is utilized to learn fuzzy rule-based classification systems [9]. With the development of evolutionary computation, Genetic algorithms (GAs) play a very important role in optimizing parameters of fuzzy rule base with the pre-defined structure. GA was adopted to identify the parameters of fuzzy rules under condition that the structure of the fuzzy rule base is predefined by C-means clustering algorithm [10]. GA was used to design membership functions and rule sets of fuzzy logic controllers with fuzzy domain specified in advance [11]. C-Means clustering algorithm with hierarchical clustering method was employed to determine the number of rules [12]. In the first stage, all samples are used to design the centers of clusters, and the total number of clusters was reduced by the hierarchical clustering method in the second stage. GAs are very useful for optimizing the parameters of a fuzzy rule base, for the crossover of the two fuzzy rule bases with different structures is very difficult, the best result of them based on the predefined structure of the fuzzy rule base [10]. To optimize the structure and parameters of fuzzy rule base simultaneously, an interactive genetic algorithm was introduced by Onisawa and Fujihara [13]. An individual is represented by a set of chromosomes and each chromosome represents a fuzzy rule. The crossover operator might occur between two chromosomes with different structures, the essential of crossover in this method is mutation because the genes for crossover operator are nonallelic. The efficiency of GA might be decreased in this method because the performance of GA mainly depends on the crossover operator of alleles. To avoid the difficulty in crossover operator of two chromosomes with different structures, some other methods without crossover operator are introduced to optimize fuzzy rule base. Evolutionary programming (EP) has been introduced to design an optimal fuzzy rule base [14]. Mutation is the unique genetic reinsertion operator for individuals. Some efficient results are acquired, but there are many parameters, such as two mutation probabilities αs and αp for structure and parameters, which are difficult to be selected. Moreover, the q tournament selection is a time dissipative operator. A systematic fuzzy modeling mechanism, without any pre-assumption about the structure of the data, which is capable of generating a fuzzy rule base automatically from numerical data and presenting a good tradeoff between the complexity and the accuracy of the model, is introduced in [15], the approach has successfully been applied to well-known benchmark datasets and real-world problems. Based on the 2-tuples linguistic representation model, a multi-objective evolutionary approach to quickly learn the associated rule base and generate a set of linguistic fuzzy-rule based systems with different tradeoffs between accuracy and interpretability in regression problems is presented in [16], [17]. A decision tree method is used to extract fuzzy rules from the output of the system [18]. The bacterial evolutionary algorithm combined with Levenberg–Marquardt method is used to extract fuzzy rule base from training set was presented in [19], [20].

Particle swarm optimization is a population-based heuristic search technique, each particle represents a potential solution within the searching space. PSO was first introduced by Eberhart and Kennedy in 1995 [21] and the convergence of it was studied by van den Bergh and Engelbrecht [22]. The same as other evolutionary computation methods, PSO also can be applied to optimize parameters of fuzzy rule base with the predefined or fixed structure [23], [24], [25]. Based on maximum entropy principle (MEP), PSO is utilized to optimize the centers of clusters under condition that the number of fuzzy rules has been predefined [26]. In this method, the centers of clusters are initialized randomly, then the memberships of all rules are determined by MEP, and PSO is used to modify the centers. Multi-strategy ensemble method with PSO is used for dynamic optimization [27]. The swarm in this method is divided into two parts, Gaussian local search and differential mutation are introduced into these two parts, the convergence ability of PSO is enhanced and the local convergence of the swarm is avoided. Ant and particle swarm cooperative optimization (OSAC) is designed to generate rules from on-line training data when the structure of fuzzy rule base is predefined by an on-line clustering method, the highly overlapping fuzzy sets are avoided [28]. Combined with fuzzy C-mean (FCM) clustering and recursive least-squares, a hybrid stages particle swarm optimization (HSPSO) learning method is introduced to generate evolutional fuzzy modeling systems to approach nonlinear functions [29]. In these methods, the length of genes for all particles is the same for the subtraction operators are difficult to be realized when particles with different structure. To automatically generate RBF neural network with PSO, MAX and MIN methods were introduced to optimize the structure and parameters of RBF neural network simultaneously [30]. The results indicated that the MAX method has higher convergence speed and accuracy than MIN method. The good performance of PSO is derived by choosing a special fitness function.

As previously reviewed, there are many works focus on optimizing parameters of fuzzy rule base with PSO under condition that the structure of it is predefined or assumed, all particles in these methods have the same length to satisfy the renewal equations of PSO algorithm. Clustering method is very efficient in determining the structure of fuzzy rule base, but all samples of the system are almost needed to reach high accuracy, the algorithm might involve heavy computation cost. Compared with fix structure of PSO algorithm, there are fewer PSO algorithms on determining the structure and parameters of the fuzzy rule base simultaneously with different lengths of particles. The MAX and MIN methods are the representative ones which using different lengths particles to optimize the structure and parameters of radial basis function neural networks (RBFNs) automatically. In MAX method, the maximum from the number list, which is composed by the random generated number of cells, is initially selected as the active number of cells for all particles, the length of all particles in same generation equals to the maximum. In next generation, the number list will renewed randomly between the minimum and maximum number of radial basis functions, the same procedure as the initial generation is used to determine the active number of cells for all particles till the algorithm is ended. It is obviously that the active number for some particles is redundant, and the convergence speed of algorithm might be slowed. In MIN method, the minimum from the number list which is formed as in MAX method is selected as the active number for all particles, and the number list is also renewed randomly in different generation. In this method, the information for some particles is insufficient because the minimum from the number list is selected. Moreover, the adaptive performance of these methods is not good because the active number of particles is fixed in same generation. To optimize the structure and parameters of fuzzy rule base, PSO should be modified because the fixed structure of particles cannot realize the task, and the adaptive performance of current PSO with different length of particles is insufficient. When we want to realize PSO with different length particles and sufficient adaptive performance for designing the structure and parameters of fuzzy rule base automatically, all particles in the same generation should have different length according to the current environment.

In this paper, a particle swarm optimization algorithm with different length of particles is proposed to generate fuzzy rule base automatically. In the method, if a particle wants to renew it's position, the number of active rules of it is determined by the four factors, the number of active rules and the fitness value of the best particle in current generation, the number of active rules and the fitness value of this particle when the best position of it has emerged so far. An adaptive mutation method is adopted to determine the number of rules of the fuzzy rule base [14]. In this way, the proposed algorithm has good adaptive performance. To show the effectiveness of the given method, three nonlinear systems are simulated in the paper.

The rest of the paper is organized as follows. The representation of fuzzy rule base and approximate reasoning are described in Section 2. Standard particle swarm optimization algorithm is introduced in Section 3. The PSO with different length of particles (DLPPSO) for designing fuzzy rule base is presented in Section 4. In Section 5, some simulation experiments are illustrated to show the effectiveness of the improved algorithm. Some conclusions are described in Section 6.

Section snippets

The representation of fuzzy rule base

In general, the structure of a linguistic fuzzy rule base is determined by the number of rules and the relative importance of input fuzzy variables for the rules, and it can be represented by a connection matrix whose size is determined by the number of fuzzy rules and input variables. For a system with i rules and j input variables, the size of the connection matrix for the structure of the linguistic rule base is i rows and j columns. The structure of the fuzzy rule base can be shown in Fig. 1

The standard particle swarm optimization algorithm

In PSO, each particle has a position vector (Pi) and a velocity vector (Vi). At every learning cycle, each particle's position and velocity are updated by the two best positions. The first best (pbesti) is the ith particle's best solution that it has achieved so far. The other (gbest) is obtained by choosing the overall best value from all particles in current generation. The new velocity and position of particles are derived by Eqs. (5), (6).Vi(t+1)=wVi(t)+c1r1(Ppbesti(t)Pi(t))+c2r2(Pgbest(t)

PSO with different length of particles (DLPPSO)

The first task of the DLPPSO is to represent the fuzzy rule base with appropriate chromosome. For DLPPSO, each particle represents a fuzzy rule base. The number of active rules and the parameters of them should be contained in the fuzzy rule base. For example, a fuzzy rule base contains i fuzzy rules, j inputs and k outputs, the structure of the particle is shown in Fig. 5.

The second task of the DLPPSO is to determine the number of fuzzy rules and parameters of particles. For example, if the

Experimental results and illustrative examples

To demonstrate the efficiency of the proposed adaptive algorithm, different types of nonlinear problems are presented in this section. The other two methods (MAX-method and MIN-method) are also tested on these three problems. Well-known benchmark examples are used for the sake of easy comparison with some existing models. The training parameters are set as: wmax = 0.9, wmin = 0.4, c1 = c2 = 2.0 [31]. In general, the population size is between 50 and 100. For all examples in the paper, the population

Conclusions

An adaptive evolutional particle swarm optimization is proposed to design fuzzy rule base automatically. Mutation operator is used to modify the structure of the fuzzy rule base, and parameters of it are optimized by the modified PSO. For the structure of particles keep changing through evolutionary procedure, the number of active rules not equal those of the best particle, the subtraction in updating equations of standard PSO cannot be realized. Considering the best fitness and the number of

Acknowledgments

This work is partially supported by the Natural Science Research Project of Higher Education of Anhui Province, China (Grant No. KJ2011A252), the Natural Science Foundation of Anhui Province, China, Project (Grant No. 10040606Q56), and National Natural Science Foundation of China (Grant No. 61101197), Sci-tech talents cultivation Fund projects of HuaiBei city (Grant No. 20110304).

References (60)

  • F. Laaouad et al.

    A nonlinear model for a turbo compressor using fuzzy logic approach

  • C.L. Karr et al.

    Fuzzy control of pH using genetic algorithms

    IEEE Transactions on Fuzzy Systems

    (1993)
  • G. Rahmi et al.

    Fuzzy logic control of a nonlinear structural system against earthquake induced vibration

    Journal of Vibration and Control

    (2007)
  • F. Reiner et al.

    Fuzzy logic classification in image processing

    Fuzzy Sets and Systems

    (1996)
  • M. Sugeno et al.

    A fuzzy-logic-based approach to qualitative modeling

    IEEE Transactions on Fuzzy Systems

    (1993)
  • A. Fernández et al.

    Solving multi-class problems with linguistic fuzzy rule based classification systems based on pairwise learning and preference relations

    Fuzzy Sets and Systems

    (2010)
  • A.G. Evsukoff et al.

    Design of interpretable fuzzy rule-based classifiers using spectral analysis with structure and parameters optimization

    Fuzzy Sets and Systems

    (2009)
  • M.Y. Chen et al.

    Rule-base self-generation and simplification for data-driven fuzzy models

    Fuzzy Sets and Systems

    (2004)
  • Y.X. Chen et al.

    Support vector learning for fuzzy rule-based classification systems

    IEEE Transactions on Fuzzy Systems

    (2003)
  • H.S. Hwang et al.

    Linguistic fuzzy model identification

    IEE Proceedings Control Theory and Application

    (1995)
  • A. Homaifar et al.

    Simultaneous design of membership functions and rule sets for fuzzy controllers using genetic algorithms

    IEEE Transactions on Fuzzy Systems

    (1995)
  • B. Everitt

    Cluster Analysis

    (1981)
  • T. Onisawa et al.

    Fuzzy rules acquisition using interactive genetic algorithms

  • H.S. Hwang

    Automatic design of fuzzy rule base for modeling and control using evolutionary programming

    IEE Proceedings Control Theory and Application

    (1999)
  • B. Rezaee et al.

    Data-driven fuzzy modeling for Takagi-Sugeno-Kang fuzzy system

    Information Sciences

    (2010)
  • R. Alcalá et al.

    A multiobjective evolutionary approach to concurrently learn rule and data bases of linguistic fuzzy-rule-based systems

    IEEE Transactions on Fuzzy Systems

    (2009)
  • D. Meng et al.

    Extracting linguistic rules from data sets using fuzzy logic and genetic algorithms

    Neurocomputing

    (2012)
  • K.R. Hossein et al.

    FCM-fuzzy rule base: a new rule extraction mechanism

    Innovations in Information Technology (IIT)

    (2011)
  • C. Cristiano et al.

    Bacterial memetic algorithm for fuzzy rule base optimization

  • G. László et al.

    Improvements to the bacterial memetic algorithm used for fuzzy rule base extraction

  • J. Kennedy et al.

    Particle swarm optimization

  • F. van den Bergh et al.

    A study of particle swarm optimization particle trajectories

    Information Science

    (2006)
  • A.A.A. Esmin et al.

    Particle swarm optimization for fuzzy membership functions optimization

    IEEE International Conference on Systems, Man and Cybernetics

    (2002)
  • K. Belarbi et al.

    Genetic algorithm for the design of a class of fuzzy controllers: an alternative approach

    IEEE Transactions on Fuzzy Systems

    (2000)
  • C.F. Juang

    A hybrid of genetic algorithm and particle swarm optimization for recurrent network design

    IEEE Transactions on Systems, Man, and Cybernetics, Part B: Cybernetics

    (2004)
  • D.B. Chen et al.

    Data-driven fuzzy clustering based on maximum entropy principle and PSO

    Expert Systems with Applications

    (2009)
  • W.L. Du et al.

    Multi-strategy ensemble particle swarm optimization for dynamic optimization

    Information Science

    (2008)
  • C.F. Juang et al.

    A self-generating fuzzy system with ant and particle swarm cooperative optimization

    Expert Systems with Applications

    (2009)
  • H.M. Feng

    Hybrid stages particle swarm optimization learning fuzzy modeling systems design

    Tamkang Journal of Science and Engineering

    (2006)
  • H.M. Feng

    Self-generation RBFNs using evolutional PSO learning

    Neurocomputing

    (2006)
  • Cited by (17)

    • Bayesian analysis of time series using granular computing approach

      2016, Applied Soft Computing Journal
      Citation Excerpt :

      In [44], the autoregressive and movinag average models are combined with the fuzzy rule based approach using Mamdani inference mixed with some techniques of counting in fuzzy sets. Chen et al. [45] propose an approach for the automatic generation of the fuzzy rule base. In [46], the imprecise linguistic information is incorporated into the forecasting process by means of the linear regression.

    • Nature-inspired optimal tuning of input membership functions of Takagi-Sugeno-Kang fuzzy models for Anti-lock Braking Systems

      2015, Applied Soft Computing
      Citation Excerpt :

      The input m.f.s of TSK fuzzy models are tuned in Ref. [49] by a combination of Island Model Parallel Genetic Algorithm and space search memetic algorithm. The cross-entropy method [50], the genetic algorithms [51], the chaotic ant swarm optimizer [52], the Bacterial Foraging Optimization algorithms [53], the migration algorithms [54,55] and the PSO-based optimization of linguistic fuzzy models [56] prove good performance in fuzzy model optimization. Illustrative extensions to type-2 fuzzy systems are applied in Refs. [57–59] to delta parallel robots, autonomous wheeled mobile robots and machine learning data sets.

    • Online identification of evolving Takagi-Sugeno-Kang fuzzy models for crane systems

      2014, Applied Soft Computing
      Citation Excerpt :

      The experimental results validate these models by the application of the algorithm on the pendulum–crane system laboratory equipment. The models are compared with three other TSK modeling approaches: a batch modeling approach represented by the adaptive-network-based fuzzy interference system (ANFIS) [32] which is very popular in fuzzy modeling of crane systems [17–30], the eFS Lab implementation [33,34] of the online identification algorithm of evolving TSK fuzzy models proposed in [31], and the evolving TSK fuzzy modeling approach represented by Dynamic Evolving Neural-Fuzzy Inference System (DENFIS) [35–37]. The comparison with these TSK fuzzy models shows that the proposed evolving TSK fuzzy models ensure the performance enhancement on both training and validation data in a computationally undemanding manner.

    View all citing articles on Scopus
    View full text