An Improved Extreme Learning Machine Based on Gravitational Search Algorithm for Groundwater Modeling in Lowland Reclamation Areas

DOI : 10.17577/IJERTV6IS010236

Download Full-Text PDF Cite this Publication

Text Only Version

An Improved Extreme Learning Machine Based on Gravitational Search Algorithm for Groundwater Modeling in Lowland Reclamation Areas

Purwoharjono

Nurhayati

Departement of Civil Engineering University of Tanjungpura Pontianak, Indonesia

Departement of Electrical Engineering University of Tanjungpura

Pontianak, Indonesia

Nasrullah Chatib

Departement of Civil Engineering University of Tanjungpura Pontianak, Indonesia

AbstractThis research was conducted to improve Extreme Learning Machine (ELM) with Gravitational Search Algorithm (GSA) which applied to create groundwater height level model of tidal lowland reclamation areas in Indonesia. The availability of groundwater height fluctuation information is essential in managing tidal lowland reclamation areas mainly related to the use of the areas as agricultural areas (cultivating crops). The improvement on ELM based on GSA is applied to adjust input weights and hidden biases so that the performance of ELM can also be improved. Groundwater flow in this research is categorized as one-dimensional flow. Data used in this research consist of groundwater height in secondary canal, rainfall, evapo-transpiration, hydraulic conductivity, and distance between two secondary canals. The prediction performed by improved ELM based on GSA is better than ELM. Based on this result, improved ELM based on GSA could be applied to predict groundwater height level. Thus, this improvement could help decision makers to determine perfect water management strategy and suitable cultivation pattern for tidal lowland reclamation areas.

KeywordsExtreme Learning Machine; Gravitational Search Algorithm; Tidal Lowland; Ground Water

  1. INTRODUCTION

    Indonesia has about 33.4 million Ha lowland areas, consisting of 20 million Ha tidal lowland areas, 12 million Ha non-tidal lowland areas, and 1.4 million Ha lebak lowland areas spread across Kalimantan, Sumatera, and Papua (Ngudiantoro 2009). Since 1968, Indonesian government has done reclamation efforts on lowland areas in order to increase agricultural products and improve the areas.

    Water management is the key of tidal lowland improvement as agricultural field, especially in cultivating crops. Tidal lowland improvement as agricultural field must be supported by information regarding groundwater height fluctuation. Groundwater fluctuation can be used as indicator of water availability which determines cultivation pattern (Susanto 2003). Groundwater fluctuation can be identified by predicting groundwater height fluctuation. Therefore, a model

    which is able to predict groundwater height fluctuation accurately is needed in order to obtain information regarding groundwater height in tidal lowland area.

    In this research, the model used in predicting groundwater height level is Extreme Learning Machine (ELM). The ELM is improved to upgrade its performance.

    The improvement is based on Gravitational Search Algorithm (GSA). GSA is applied to adjust input weight rate and hidden biases. Therefore, it will improve ELM method. This improvement is relatively new, since the implementation of this method as tidal lowland groundwater flow model has not ever been done before.

    Data used in this research consist of groundwater height in secondary canal, rainfall, evapo-transpiration, hydraulic conductivity, and distance between two secondary canals and groundwater height level in tidal lowland area.

    The result of this research is expected to be able to predict tidal lowland area groundwater height level as a reference in deciding strategies regarding water and land management, especially for agricultural uses (i.e. cultivating crops).

  2. EXTREME LEARNING MACHINE

    1. Extreme Learning Machine

      ELM is a new learning method for artificial neural network. This method was introduced by Huang in 2004. ELM is feedforward artificial neural network with single layer which is commonly known as Single Layer Feedforward Neural Network (SLFNs) (Huang et al. 2004; Huang et al. 2005; Huang et al. 2006; Huang et al. 2008; Sun et al. 2008; Widodo et al. 2013; Nurhayati et al. 2013).

      Standard mathematical model for SLFNs with N hidden biases and g(x) activation function with N different samples

      xi , ti are expressed by:

      T n

      xi xi1 , xi 2 …, xin R ; and

      ti ti1 , ti 2

      …, tim R is:

      T m

      1. Determining the parameters of GSA.

        ~

        N

        g x

        ~

        N gw .x

        • b o

          (1)

      2. Initializing a population with random positions.

      3. Evaluating the fitness function.

        i i j

        i1

        i

        i1

        i j i j

      4. Updating the gravity constant (G).

      T

      where j =1,2,…, N 5. Calculating the inertial mass (M) for each agent.

      wi wi1

      i i1

      bi

      , wi 2

      , i 2

      ,…, win

      T

      ,…, im

      : the weight vector which

      connects i-th hidden nodes and input nodes

      : the weight vector which

      connects i-th hidden nodes and output nodes

      : i-th hidden nodes threshold

      1. Calculating the acceleration (a).

      2. Updating the velocity (v).

      3. Updating the position of agent.

      4. Repeating again starting from step 1 to 8 and stop until the maximum number of iterations has been met.

      The flowchart of the GSA, as shown in Figure 1.

      wi x j

      : wi and x j inner products

      ~

      Start

      Generate initial population

      SLFNs with N hidden nodes and activation function

      gx are assumed to be able to predict as many as N samples

      ~

      Evaluate the fitness for each agent

      N

      with zero error. Thus, it can be notated as: o j t j 0

      Update the G, best and worst of the population

      ~

      j 1

      N

      gw .x

      • b t

      , where j = 1, , N (2)

      i

      i1

      i j i j

      Calculate M and a for each agent

      This formula can be simply expressed as:

      H = T (3)

      Update velocity and position

      where:

      H w ,…, w ~ , b ,…, b ~ , x ,…, x

      1 N 1 N 1 N

      N

      gw1 .x1 b1 gw ~ .x b ~

      N

      N

      (4)

      No Meeting end of criterion?

      gw1 .xN b1

      gw ~ .x b ~ ~

      N

      Yes

      T

      N

      t T

      N N x N

      Return best solution

      1 1

      T

      dan

      T

      T

      (5)

      Stop

      ~ ~

      t N

      N N x N

      N x m

      Fig.1. Flowchart of the GSA (Rashedi et al. 2009; Purwoharjono et al. 2013)

      H in expression (4) indicates hidden layer output matrix of the neural network. gw1 .x1 b1 indicates hidden neuron

      output which is closely related to the inputs. indicates output weight matrix and T indicates target (output) matrix.

      In ELM, input weight and hidden biases are determined randomly, thus hidden layer output weight is determined by expression (3).

  3. METHODOLOGY OF RESEARCH

    Step 1: Initialization of Population

    If one assumes that there is a system with N (dimension of the search space) mass, the mass of the ith position is explained as follows. At first, the position of the mass is fixed randomly.

    xi x1,, xd ,, xn ,i 1,, N

    (7)

    =H T T (6)

    i i i

    Where:

    1. Gravitational Sarch Algorithm

    Gravitational search algorithm is a new metaheuristic optimation algorithm which is influenced by Newton Law regarding gravitation and movement. GSA was introduced by Esmat Rashedi in 2009. Based on GSA, agent is considered as object, and performance is measured by mass. Every object attracts other objects due to gravitational force.Procedures for implementing the GSA method to the problem of hourly groundwater modeling are shown below:

    d = Position of the ith mass in dth dimension.

    x

    i

    Step 2: Extreme learning machine

    Training and testing process are essential in the prediction process using ELM. Training process was intended to develop a model of the ELM while testing was used to evaluate the validity of ELM as prediction model. Therefore the data were categorized into two, namely training data and

    testing data. Data were proportioned by the ratio of 60:40, (i.e. 60% for training and 40% for testing).

    Step 3: Fitness Measurement

    Objective function of ELM based GSA is mean square error (MSE).

    Where:

    rand j : random number on the interval [0,1]

    kbest : unit of k agent with the highest fitness

    i

    The force operated on i-th mass M tand j-th mass

    M j t on the specified t-th time is described by

    d (t) G(t)

    i

    j

    d

    d

    gravitational theory as follow:

    MSE

    n e 2 / n

    (8)

    M (t) M (t)

    (15)

    i

    i1

    Where: ei X i Fi

    Fij

    Rij (t)

    x j (t) xi (t)

    To evaluate the object function, the best and the worst fitness were measured on each iteration by:

    Where:

    Rij t : Euclidian range between i-th agent and j-th agent

    best(t) min

    j(1,N )

    fit j (t)

    (9)

    X

    i

    t , X

    t

    j

    2

    worst(t)

    where:

    fit j (t)

    max

    j(1,N )

    fit j (t)

    (10)

    : fitness of j-th agent on t-th time

    : Small constant

    Step 7: Acceleration Measurement

    On this step, the acceleration of i-th agent on t-th time and

    i

    besttand worstt

    : the best fitness (minimum rate)

    and the worst fitness (maximum rate)

    d-th dimension ad t is measured by the gravitation law and the law of motion below:

    Step 4: Gravitational Constant Measurement

    Updating gravitational constant (G) are done based on the best fitness population (minimum) and the worst fitness

    aid

    Fid (t)

    i

    (t) Mg d (t)

    (16)

    population (maximum). Gravitational constant on the t-th time (G(t)) is measured by:

    Step 8: Velocity Measurement

    On this step, n velocity of i-th agent on t-th time and d-th

    i

    G(t) G exp t

    (11)

    dimension vd t is measured by the gravitation law and the

    0

    T

    law of motion below:

    v d (t 1) rand v d (t) a d (t)

    (17)

    Where:

    G0

    : gravitational constant input (random)

    i

    Where:

    i i i

    : constant

    t : number of iteration

    T : total iteration

    Step 5: Inert Mass and Gravitation Measurement

    Measuring inert mass (M) for each agent are done based on expression (12) and (13).

    randi

    : random number on the interval [0,1]

    Start

    Generate initial population Extreme Learning Machine

    mgi (t)

    Where:

    fiti t

    Mgi (t)

    fiti (t) worst(t)

    best(t) worst(t)

    : fitness of i-th agent on t-th time

    N

    mgi (t)

    mg j (t)

    (12)

    (13)

    Evaluate the fitness for each agent

    Update the G, best and worst of the population Calculate M and a for each agent

    Update velocity and position

    Where:

    j1

    No Meeting end of criterion?

    Mgi (t) : mass of i-th agent on t-th time

    Step 6: Total Force Measurement

    ij

    On this step, total force operated on i-th agent measured by:

    Fid tis

    Yes Return best solution

    Stop

    Fig 2. ELM-based GSA improvement flowchart

    Fid t rand j F d t

    (14)

    jkbestji

    Step 9: Agent Position Update

    On thisstep, the next position of i-th agent on d-th

    i

    dimension xd t 1 is updated based on:

    xid (t 1) xid (t) vid (t 1)

    Step 10: Repetition

    (18)

    On this phase, the previous steps (the 3 step up to the 9) are repeated until the iteration reaches the criteria. At the end of the iteration, the algorithm will return position rate of each agents into the specified dimension. This rate also serves as global solution. An improved ELM based on GSA algorithm applied to predict groundwater level is shown by Figure 2.

  4. RESULT AND DISCUSSION

After the text edit has been completed, the paper is ready for the template. Duplicate the template file by using the Save As command, and use the naming convention prescribed by your conference for the name of your paper. In this newly created file, highlight all of the contents and import your prepared text file. You are now ready to style your paper; use the scroll down window on the left of the MS Word Formatting toolbar.

The convergence results using improved ELM based on are as follows:

x 10-3

6

Mean Square Error(MSE)

5.5

5

4.5

4

0 20 40 60 80 100

Iteration

Fig 3. Convergence of improved ELM based on GSA

Convergence curve of improved ELM based on GSA in MSE arrangement is shown on Figure 3. Convergence characteristics indicates that MSE arrangement of improved ELM based on GSA is able to result lower MSE rate compared to standard ELM.

The testing results (predictions) using improved ELM based on GSA are as follows:

Fig 4. Groundwater level well-W1 as a result from the training using improved ELM based on GSA

Fig 5. Groundwater level well-W2 as a result from the training using improved ELM based on GSA

Fig 6. Groundwater level well-W3 as a result from the training using improved ELM based on GSA.

Fig 7. Groundwater level well-W4 as a result from the training using improved ELM based on GSA

Fig 8. Groundwater level well-W5 as a result from the training using improved ELM based on GSA

Figure 4, figure 5, figure 6, figure 7 and figure 8 shows that the groundwater level on well W-1, well W-2, well W-3, well W-4 and well-W5 as a result from training using ELM has a relatively small error rate value. It meant that the result of the groundwater level of the training was the same as the groundwater level of the result of the observation. Therefore, it can be concluded that the training on groundwater level was successful. The values of the error rate as a result of the training were as follows: RMSE well-W1 = 0.0333, RMSE well-W2 = 0.0272, RMSE well-W3 = 0.0291, RMSE well- W4 = 0.0365, and RMSE well-W5 = 0.0303.

The result of the groundwater level prediction using ELM was as follows:

Fig 9. Groundwater level well-W1as a result from the prediction using improved ELM based on GSA.

Fig 10. Groundwater level well-W2 as a result from the prediction using improved ELM based on GSA.

Fig 11. Groundwater level well-W3 as a result from the prediction using improved ELM based on GSA.

Fig 12. Groundwater level well-W4 as a Result from the prediction using improved ELM based on GSA.

Fig 13. Groundwater level well-W5 as a result from the prediction using improved ELM based on GSA.

Figure 9, figure 10, figure 11, figure 12 and figure 13 shows that the ground water level as a result from prediction on well W-1, well W-2, well W-3, well W-4 and well-W5 using ELM has a relatively small error rate value. It meant that the result of the groundwater level of the training was the same as the groundwater level of the result of the observation. Therefore, t can be concluded that the prediction on groundwater level was successful. The values of the error rate as a result of the prediction were as follows: RMSE well-W1 = 0.0297, well-W2 RMSE = 0.0224, RMSE well-W3 = 0.0383, well-W4 RMSE= 0.0223.RMSE well-W5

= 0.0205.

Comparison of the results of the ground water level prediction using improved ELM based on GSA and ELM can be seen in Table 1.

TABLE I. Comparison of the Results of the Groundwater Level Using Improved Elm based on Gsa and Elm

Simulation

MSE Training

MSE Testing

ELM

0.0357

0.0306

ELM-GSA

0.0315

0.0275

Table 1 show that the result of training and prediction using ELM-GSA and ELM is able to work well in recognizing input data given to the system because the error rate is relatively small. The result of training and prediction using ELM-GSA is better than those using ELM.

Fig 14. Comparison of the results of the ground water level training using the ELM and ELM-GSA on well-w1

Fig 15. Comparison of the results of the ground water level training using the ELM and ELM-GSA on welL-W2.

Fig 16. Comparison of the results of the ground water level training using the ELM and ELM-GSA on well-W3

Fig 17. Comparison of the results of the ground water level training using the ELM and ELM-GSA on well-W4.

Fig 18. Comparison of the results of the ground water level training using the ELM and ELM-GSA on well-W5.

Figure 14, 15, 16, 17 and 18 describes groundwater level training on each well (well-W1, well-W2, well-W3, well-W4 and well-W5) using improved ELM based on GSA. It indicates that improved ELM-GSA has better MSE rate than standard ELM.

Fig 19. Comparison of the results of the ground water level prediction using the ELM and ELM-GSA on well-W1.

Fig 20. Comparison of the results of the ground water level prediction using the ELM and ELM-GSA on well-W2.

Fig 21. Comparison of the results of the ground water level prediction using the ELM and ELM-GSA on well-W3.

Fig 22. Comparison of the results of the ground water level prediction using the ELM and ELM-GSA on well-W4.

Fig 23. Comparison of the results of the ground water level prediction using the ELM and ELM-GSA on well W-5.

Figure 19, 20, 21, 22 and 23 describes groundwater level predictions on each well (well-W1, well-W2, well-W3, well- W4 and well-W5) using improved ELM based on GSA. It indicates that improved ELM-GSA has better MSE rate than standard ELM.

ACKNOWLEDGMENT

Researchers would like to thank the Ministry of Research, Technology and Higher Education of the Republic of Indonesia through The Development and Upgrading of Seven Universities in Improving the Quality and Relevance of Higher Education in Indonesia. Researchers also would like to thank the leader of the Laboratory of Fluid Mechanics and Hydraulics Test, Department of Civil Engineering, Faculty of

Engineering, University Tanjungpura Pontianak on the facilities used for research.

REFERENCES

  1. Agus Widodo, Novitasari Naomi, Suharjito and Fredy Purnomo (2013) Prediction of research topics using combination of machine learning and logistic curve. Journal of Theoretical and Applied Information Technology 49(3):725-732

  2. E.Rashedi, H.Nezamabadi-pour and S.Saryazdi (2009) GSA: A gravitational search algorithm. Information Sciences 179:2232-2248

  3. Huang G.B., Zhu Q.Y. and SiewC.K. (2004) Extreme learning machine: A new learning scheme of feedforward neural networks. Proceedings of International Joint Conference on Neural Networks Budapest (Hungary) 2:985-990

  4. Huang G.B. and Siew C.K. (2005) Extreme learning machine with randomly assigned RBF kernels. International Journal of Information Technology 11(1):16-24

  5. Huang G.B., Zhu Q.Y. and Siew C.K. (2006) Extreme learning machine: Theory and applications. Neurocomputing 70:489-501

  6. Huang G.B.,Lia M.B., Chen L. and Siew C.K. (2008) Incremental extreme learning machine with fully complex hidden nodes. Neurocomputing 71:576-583.

  7. Kartikeyan, Nagesh Kumar D. and Graillot Didier (2013) Prediction of ground water level in the uplands of a tropical coastal riparian wetland using artificial neural network. Water Resour Manage 27:871-883

  8. Nayak P.C., Rao, Satyaji Y.R. and Sudheer K.P. (2006) Groundwater level forecasting in a shallow aquifer using artificial neural network approach. Water Resour Manage 20:77-90

  9. Ngudiantoro, HidayatPawitan, Muhammad Ardiansyah, M.Yanuar J.Purwanto andSusanto R.H. (2010) Modeling of water table fluctuation on tidal lowlands area of B/C Type: A Case in South Sumatra. Forum Pascasarjana 33(2):101-112

  10. Nurhayati, IndratmoSoekarno, Iwan K. Hadihardaja and M. Cahyono (2013) The prediction of groundwater level on tidal lowland reclamation using extreme learning machine. Accepted in Journal of Theoretical and Applied Information Technology

  11. Purwoharjono, Muhammad Abdillah, Ontoseno Penangsang, Adi Soeprijanto (2013) Optimal placement of SVC for losses reduction and voltage profile improvement in electrical power system using improved gravitational search algorithm. International Review of Electrical Engineering (IREE) 8(1):329-339

  12. Susanto RH (2003) Fire issues and solutions related to agricultural development in the area of swamp / peat. Proceeding of Workshop on Peatland fire in Sumatera: problems and solutions, Palembang South Sumatra (Indonesia) 147-160

  13. Sun Z.L., Choi T.M., Au K.F. and Yu Y. (2008) Sales forecasting using extreme learning machine with application in fashion retailing. Decision Support Systems 46:411-419

Leave a Reply