中南大学学报(自然科学版)

Telecommunication traffic forecasting based on BP neural network trained by PSO

DONG Xian(董仙), XU Bing-ji(徐炳吉)

(School of information Engineering, China University of Geosciences, Beijng 100083, China)

Abstract: Telecommunication traffic forecasting based on BP neural network which is optimized by particle swarm optimization (PSO) algorithm is presented. PSO is a novel random optimization method based on swarm intelligence, which has more powerful ability of global optimization. Here, we use the telecommunication traffic ranging from 1989 to 2005 in China as the sample to the neural network, which has been trained by PSO, are employed to illustrate the presented model. The experimental results prove that the proposed method optimized by PSO can quicken the learning speed of the network and improve the forecasting precision compared with the conventional BP method and show that the method is not only simple to calculate, but also practical and effective.

Key words: BP neural network; particle swarm optimization; telecommunication traffic forecasting

CLC number: TP273                Document code: A             Article ID: 1672-7207(2011)S1-0023-03

1 Introduction

Telecommunications industry is an important part of the national economy. Telecommunication traffic represents the amount of information needed to pass the telecommunications, which is important for performing many power utility functions, such as equipment accounting, short-term maintenance, production organization, etc. Therefore, accurate telecommunication traffic forecasting plays an important role in planning the professional telecom network engineering.

To solve the forecasting problem, artificial neural network (ANNs) methods have been proposed. ANNs are able to give better performance in dealing with the nonlinear relationships among their input variables[1]. The conventional back propagation algorithm (BP) is successfully applied to complex nonlinear problems. However, using BP method needs the transfer function of each neuron must be different. Moreover, it has been proven that gradient techniques are slow to train and are sensitive to the initial guess which can possibly be trapped in a local minimum[2].

To overcome these shortcomings, here we introduce particle swarm optimization algorithm (PSO) to optimize the BP network to solve the telecommunication traffic forecasting problem. The PSO algorithm is applied to the neural network in the training phase, to obtain a set of weights that will minimize the error function in competitive time. Weights are progressively updated until the convergence criterion is satisfied. The objective function to be minimized by the PSO algorithm is the predicted error function[3].

In the following sections, we first briefly describe some essentials of PSO, then present sufficient algorithm optimized by PSO. Then, the algorithm is applied for telecommunication traffic forecasting. At last, we give the conclusions of this paper.

2 Particle swarm optimization algorithm

Particle swarm optimization (PSO) is an optimization algorithm based on the community intelligence principle, which was originally proposed by Kennedy et al[4]. The PSO algorithm is based on the biological and sociological behavior of animals such as schools of fish and flocks of birds searching for their food. PSO imitates this behavior by creating a population with random search solution, and each potential solution is represented as a particle in a population (called swarm). The social sharing of information among the particles of a population may provide an evolutionary advantage[5]. Each particle is flown through the multi-dimension search space with random and adaptable velocity in order to find the lower function values (global minimum).

Supposing the dimension for a searching space is d, the total number of particles is m, the position of the is expressed as , the velocity of the  is expressed as , the best position of the  particle is denoted as , the corresponding fitness is represented as local best (pbest,i), the best position of the

whole swarm is denoted as , and its fitness is represented as global best ().

Therefore, particles are manipulated according to the equations:

             (1)

          (2)

where d=1, 2, …, n; i=1, 2, …, n; n is the size of the population; w is the inertia weight; c1 and c2 are two positive constants; r1 and r2 are uniformly distributed random numbers in the range [0, 1]. In addition, the velocity of the particle is limited to the range [vmin, vmax], w can be determined by Eq.(3).

         (3)

where wmax and wmin are separately maximum and minimum of w, tmax is the maximum iteration time, t is the present iterative time.

3 BP neural network trained by PSO

In artificial neural networks, back propagation network is a powerful tool for prediction of nonlinearities. It consists of three layers: input layer, hidden layer and output layer. All of the layers are fully interconnected with each other by weights as shown in Fig.1.

Fig.1 BP neural network architecture

The BP training algorithm is an iterative gradient descent algorithm designed to minimize the mean square error E between the actual output of a multilayer feed forward perceptron and the desired output and updates the weights by moving them along the gradient- descendent direction[6]. However, unless the mean square error E is positive, otherwise it can possibly be trapped in a local minimum. The PSO algorithm, on the contrary, is a global algorithm, which has a strong ability to find global optimistic results. Therefore, by combining the PSO with the BP, a new algorithm referred to as PSO–BP hybrid algorithm is formulated in this paper.

The specific procedure for this PSO-BP algorithm can be summarized as follows:

Step 1: Normalize the sample data groups according to Eq. (4), then define the structure of the BP network according to the input and output sample.

               (4)

where xi is defined as an initial group of data among the collected data groups. xmax and xmin express the maximum and minimum data group among the collected data groups, respectively.

Step 2: Define the topological structure of BP network and initialize the weight and threshold value. Define n and Gmax, initialize the inertia weight factor w(0), Pbest and gbest, set c1 and c2.

Step 3: Define the fitness function according to the mean of output error sum of squares as follows:

          (5)

Where yk is the actual forecasting output value, tk is the target value, n is the numbers of training sample, m is the nodes of output. According to Eq.(5), define the fitness of each particle f(xi), if this position is better than pbest,i, pbest,i will be replaced by this position; otherwise, pbest,i remains.

Step 4: Choose the maximum of the pbest,i as the current gbest of the particle.

Step 5: According to Eq.(3), update the inertia weight. Use Eqs.(1) and (2) to update the position and speed of each particle.

Step 6: Set t=t+1.

Step 7: Judge the stopping criteria, if the maximal iterative times are met, stop the iteration, and the positions of particles are the optimal solution. Otherwise, the procedure is repeated from step 3.

4 Simulation experiment in telecommunication traffic forecasting

In order to test the performance of the algorithm given above, the paper takes the telecommunication traffic from 1989 to 2005 in China as the process data. This paper adopts a typical 3-tier BP NN model which is optimized by PSO algorithm. Here we choose the 1994-2002 data as the train sample, and among these data we select the former four years as the input sample, the following data as the output sample. In addition, we choose the data from 2004 to 2005 as the test sample. The programs of PSO-BP are compiled by MATLAB R2008a. After many experiments and comparison, the parameters are as follows: the structure parameter of network is 4-11-1; the size populations are 20, the size dimensions are 10; c1 and c2 are all equaled to 2.0; the iteration will repeat until the tmax equals 2 000; and the minimum expected distortion is 1×10-4; velocity threshold vmax=20. In order to save the limited space, this specific program progress is omitted.

We compare the forecast results by PSO-BP algorithm and BP algorithm as shown in Table 1. Figs.2 and 3 show predicting results with BP method and PSO-BP algorithm, respectively.

It’s obvious that PSO-BP algorithm has more small deviation than the BP algorithm. The PSO-BP forecasting results are very close to the target output results. Especially for the test sample in 2004, the error of PSO-BP algorithm is 6.8%, and the error of conventional BP algorithm is 18%. Therefore, the PSO-BP is more effective, and can effectively improve the forecasting precision in some degree.

Table 1 Simulation results with different artificial neural networks

Fig.2 Prediction with BP algorithm

Fig.3 Prediction with PSO-BP algorithm

5 Conclusions

In this paper, a BP-based PSO algorithm is applied to forecast telecommunication traffic. The PSO-BP algorithm takes full advantages of the better performance of global optimized search of PSO and the local optimized search of BP neural networks. The result also suggests that the model presented above can provide highly accuracy in the field of forecasting. We will test the proposed algorithm across a wide range of  important problems and applications in the next future work.

References

[1] Sanchez-Sinencio E, Lau C. Artificial neural networks, paradigms, applications, and hardware implementations[M]. NJ: IEEE Press, 1992: 34-46.

[2] Rumelhart D E, Hinton G E, Williams R J. Learning representation by back propagating errors[J]. Nature, 1986, 323: 533-536.

[3] Bashir Z A, El-Hawary M E. Applying wavelets to short-term load forecasting using PSO-based neural networks[J]. IEEE Transations on Power System, 2009, 24(1): 20-27.

[4] Kennedy J, Eberhart R. Particle swarm optimization[C]//Proc IEEE Int’l Conf on Neural Networks IV. Perth, Australia, 1995: 1942-1948.

[5] Ebehart R C, Simpson P K, Dobbins R W. Computational intelligence, in PC tools[M]. New York: Academic Press Professional, 1996: 355-357.

[6] El-Telbany M, El-Karmi F. Short-term forecasting of Jordanian electricity demand using particle swarm optimization[J]. Electric Power Systems Research, 2008, 78: 425-433.

(Edited by CHEN Can-hua)

Received date: 2011-04-15; Accepted date: 2011-06-15

Corresponding author: DONG Xian; Tel: +86-15910689982; E-mail: dxcugb@163.com