Computational Intelligence and Neuroscience

Volume 2014, Article ID 375487, 8 pages

http://dx.doi.org/10.1155/2014/375487

## Forecasting the Short-Term Passenger Flow on High-Speed Railway with Neural Networks

School of Traffic and Transportation Engineering, Central South University, Changsha 410075, China

Received 24 July 2014; Revised 4 October 2014; Accepted 4 October 2014; Published 4 November 2014

Academic Editor: Yongjun Shen

Copyright © 2014 Mei-Quan Xie et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Short-term passenger flow forecasting is an important component of transportation systems. The forecasting result can be applied to support transportation system operation and management such as operation planning and revenue management. In this paper, a divide-and-conquer method based on neural network and origin-destination (OD) matrix estimation is developed to forecast the short-term passenger flow in high-speed railway system. There are three steps in the forecasting method. Firstly, the numbers of passengers who arrive at each station or depart from each station are obtained from historical passenger flow data, which are OD matrices in this paper. Secondly, short-term passenger flow forecasting of the numbers of passengers who arrive at each station or depart from each station based on neural network is realized. At last, the OD matrices in short-term time are obtained with an OD matrix estimation method. The experimental results indicate that the proposed divide-and-conquer method performs well in forecasting the short-term passenger flow on high-speed railway.

#### 1. Introduction

Short-term passenger flow forecasting is an important component of transportation systems which can be used to fine-tune travel behaviors, enhance service quality, reduce passenger crowd, and raise revenues of transportation systems. The forecasting results of short-term passenger flow can be applied to support transportation system operation and management such as operation planning, station passenger crowd regulation planning, and revenue management.

As a rapid intercity transportation mode, high-speed railway is developing rapidly in many countries and has become an emerging trend worldwide. In competition with aviation and road infrastructure, high-speed railway shows safer, more convenience, and more efficient performance in terms of land use and energy efficiency. In China, high-speed railway, as an immature transport mode, effectively relieves the high pressure of passenger demands of busy trunk railway lines among the major cities. From the view of economy, high-speed railway is also a high-cost commodity. And the economic principle of allocating investments to high-speed railway is dependent on passenger flows. If the forecasting results of the short-term passenger flow on high-speed railway are known well by the decision maker, the operational cost such as staff and facility cost can be controlled. It is an important issue to support sustainable development for high-speed railway.

The expression forms of passenger flow are varied in railway system. The OD matrix is one form. The number of passengers travelling on a railway line or in a railway network is another, and if you want to get OD matrix, passenger assignment is a right and ordinary choice. In this paper, the former stands for passenger flow. That is to say, forecasting the short-term passenger flow on high-speed railway is to forecast the OD matrices in short-term period.

Theoretically, if every OD pair is forecasted separately and then combined, the OD matrix table of predicted passenger flow can be got. But it is a huge workload. The research motivation of this paper is a novel and time-saving method of short-term passenger flow forecasting based on neural networks. The contributions are as follows: (i) the divide-and-conquer method forecasts the passenger flow between stations, which are great contribution to line planning, especially the stop modes for trains; (ii) it gives a frame to predict the passenger flow in special holiday.

The remainder of this paper is structured as follows. In Section 2 we give a literature overview. Section 3 describes the short-term passenger flow forecasting problem and discusses the divide-and-conquer method in detail. In Section 4 we design a numerical example and do some reasons analysis. Finally, we draw some conclusions in Section 5.

#### 2. Literature Review

There is a rich list of publications on short-term transportation forecasting. The most common approaches to cope with short-term forecasting problems are extrapolation. Many different model prototypes have been applied, and they can be divided into three categories generally: parametric and nonparametric techniques [1, 2] and hybrid ones. Parametric techniques and nonparametric techniques refer to the functional dependency assumed between independent variables and the dependent variable [3].

For the parametric techniques, several methods have been used to forecast transportation demand, and autoregressive integrated moving average (ARIMA) [4] is used mostly. With the characteristics of seasonality and trends, seasonal ARIMA has been applied to forecast traffic flow [5, 6]. However, the applications of ARIMA and seasonal ARIMA models are limited because they assume linear relationships among time-lagged variables so that they may not capture the structure of nonlinear relationships [7].

In the nonparametric techniques, neural network [8], nonparametric regression [1], and Gaussian maximum likelihood [9] have been applied to forecast transportation demand. Among these methods, neural networks have been frequently adopted as the modeling approach because they possess the characteristics of adaptability, nonlinearity, and arbitrary function mapping capability [7]. The passenger flows on high-speed railway have some nonlinear characteristics, so the method of neural networks, plus optimized and metaoptimized one [10–13], is used by scholars. And the method is also used in this paper.

For hybrid techniques, there are lots of publications on traffic flow forecasting, for instance, a hybrid model that combines both wavelets analysis and neural network [14], empirical mode decomposition, and neural networks [3]. Recently, Jiang et al. [15] proposed a hybrid approach combining ensemble empirical mode decomposition and gray support vector machine to forecast the short-term high-speed rail demand, which is demonstrated with three typical OD pairs along the Wuhan-Guangzhou high-speed railway in China.

For the ordinary urban networks, estimating OD matrix by road traffic flows mainly includes several steps as follows: checking and measuring road flow and obtaining a priori information; procuring road network characters and traffic assignment matrix; estimating OD matrix according to special estimate models. In the above steps, the main factors influencing the precision of OD estimation are the accuracy of the estimate model, reliability of a priori information, accuracy of road flow checked and measured, and the rationality of the traffic assignment method. In addition, the solution to the model is also a problem worthy of discussion and the feasibility, simplicity, and convenience of the solution influence the applicability of the model.

On railway operation, there are also some publishers to tackle with the problem of OD estimation [16], but the structured approach cannot meet the requirement of real-time performance and prediction precision. So a new OD estimation method is discussed in Section 3.

#### 3. Methods

##### 3.1. Problem Definition

The term “OD matrix” means the number of passengers of each OD pair on the railway line, not for the trains, just as shown in Table 1.

There are some variables that should be explained in Table 1. is Station . There are stations on the railway line. is the numbers of passengers who depart from Station and arrive at Station ; that is to say, travel from Station to Station by the train. While , . is the numbers of passengers who arrive at Station and depart from all the stations but Station on the railway line. is the numbers of passengers who arrive at all the stations but Station on the railway line and depart from Station .

And we can draw up some equations from Table 1 as follows:

Equation (3) shows that the number of passengers who depart from the different origin stations is equal to the number of passengers who arrive at the destination stations in the railway system.

Theoretically, there is a superposition method to predict the short-term passenger flow. That is to say, if every OD pair is forecasted separately and then combined, the OD matrix table of predicted passenger flow can be got. If there are stations in the railway network, there will be OD pairs. So to that extent, the amount of work is very huge. So a divide-and-conquer and timesaving method is proposed in this paper.

##### 3.2. Forecasting Method

The divide-and-conquer method has three steps, and the historical and present OD matrices and passenger travel demand are the basis, just as shown in Figure 1. The method will be introduced in detail as follows.

*Step 1 (acquirement of or in period ). *In order to get the short-term passenger flow, we must get the historical and present OD matrices data which would be called OD matrix table in period from 1 to , and the bigger the number is, the closer the data is to the forecasting period.

The data and are easy to get with (1) and (2).

*Step 2 (forecasting or in period based on neural network). *With the continuing increase in computing power and availability of data, there has been a growing interest in the use of artificial neural networks for forecasting purposes. And the most commonly used form for forecasting is the feed forward multilayer perception. It is a forward connected network which usually has three layers named input layer, hidden layer, and output layer, as shown in Figure 2.

Input layer is used for receiving information from external inputs. The number of neurons in input layer depends on the number of input features such as holiday data, weekend data, daily data, and monthly data for passenger flow on high-speed railway. Hidden layer can be seen as a feature extractor. It mixes information from input layer and generates new features for network learning. The number of neurons in hidden layer is case by case. Output layer generates forecasts and propagates errors for parameter estimation. The number of neurons in output layer depends on how many lead-time forecasts are requested.

Further, in Figure 2, each broken line between different layers has one weight on it and represents a parameter. And the adjustment of these weights is done by backpropagation algorithm, so BP neural network turns into a common forecasting method and it will be used in this paper to forecast or in period . That is to say, the values of or in period are input data and or in period are output data.

Theoretically, the hidden layer can be more than one layer, and the more the layers are, the higher the precision of forecasting value is. But if there are more enough neurons in hidden layer for single-hidden layer neural network, the precision of forecasting value will also be higher. The single-hidden layer neural network is used in theory research and practical application frequently. Its functional form is where is the number of neurons in hidden layer; is the number of neurons in input layer; is the number of neurons in output layer; is output value of neuron; is input value of neuron; is the connection weight between neuron in hidden layer and neuron in input layer; is the connection weight between neuron in hidden layer and neuron in output layer; is activation function of neurons; is the threshold value of neuron in hidden layer; is the threshold value of neuron in output layer.

Above all, single-hidden layer BP neural network is applied in this paper.

*Step 3 (OD estimation). *The method of passenger flow forecasting based on OD backward induction gives out a way to get the OD matrices [16], but the structured approach cannot meet the operation requirement in real-time performance and prediction precision. If we have enough historical data in the process of railway operation, the way of inferring the OD matrix is feasible [17]. This way is called OD estimation in this paper.

In order to describe the problem commodiously, is defined.

is a ratio of passenger flow in the form of OD (Table 2). It can be described as follows:

While , ; . And ; .

In every period, the value of is different, so we define as the ratio in period . If we get the values of and (or and ) in period , the OD matrix in period will be obtained easily.

The value of in period will be realized in Step 2. So the value of in period is critical. In the same condition (weather, holiday, weekend, and so on), there will be some trend among these values of in successive period. For example, the values of in period and period have some stable transitive relation. So we can let the replace approximatively. Of course, the replacement should be tested and adjusted, just as shown in Figure 1.

Besides, there are some special issues to put in words. At first, the OD matrices among the same type of holiday (3-day holiday, 7-day holiday, the Spring Festival, etc.) have some special trends, called holiday trends for short in this paper and which Jiang et al. [15] studied lately. The short-term passenger flow forecasting in holiday is a special issue which combines the holiday trends and conventional forecasting program and so does the weekend. In this paper, we will not study the holiday trends, so the data referring to holiday is left out in the next part. Secondly, the part “adjusting or not” in Figure 1 should be handled based on some rules, especially for passenger flow forecasting in holidays.

#### 4. Numerical Example and Reasons Analysis

Assume a high-speed railway line which is put into operation in short time with 15 stations. There are 3 stations in big city, namely,* S*_{1},* S*_{10}, and* S*_{15}, with more passengers. We got the OD matrices for the historical passenger flow on the line in successive 10 months. A month stands for a period. The detailed OD matrices are left out in this paper, but the values of in period have been organized in Table 3. For simplicity, some special data in special days are not taken into consideration, such as holiday and weekend. So is an average number for daily data in the month.

Samples used for training are described as follows. The data in period is used as the first input vector, and the data in period is the corresponding output vector. The data in period is used as the second input vector, and the data in period is the corresponding output vector. The rest may be deduced by analogy. Then we have got 7 training samples.

Before the forecasting work, the running process of BP networks is described as shown in Figure 3.

In this paper, training samples are the data of in period . Parameter initialization includes the initialization of maximum training time, training goal, neurons of hide layers, and so on. The number of neurons of hide layers is 50, maximum training time is 1500, and training goal is 0.01 in this numerical example.

By virtue of the platform of MATLAB, program for neural network is run. Then the forecasting result is shown in Table 4. And is the error of the output layer. The values of are all smaller than 0.01, so the forecasting results are acceptable.

After data mining from passenger ticket system, the OD matrix can be obtained. Further, the ratio of passenger flow in period (10) is just shown in Table 5. And OD matrix of the passenger flow in period (11) can be calculated with or (6), as shown in Table 6.

So far, we have got the passenger flow in period (11) as shown in Table 6. From Table 6, we can get some conclusions as follows.(1)The passenger flow between* S*_{1} and* S*_{10},* S*_{1} and* S*_{15}, and* S*_{10} and* S*_{15} is bigger than others.(2)The passenger flow between the same two stations is not much difference. For instance, the passenger flow from* S*_{1} to* S*_{2} is 429 in period (11), and the number is 469 from* S*_{2} to* S*_{1}.

The conclusions are very close to the real operation.

The results of short-term passenger flow forecasting can provide useful information for decision maker of high-speed railway systems. With the results of short-term passenger flow forecasting, decision makers can appropriately adjust the operation plans, activate the station passenger crowd regulation plan, and adjust fares. The operation plans can be slightly modified based on the fluctuation of passenger flow to ensure that the required service level of the high-speed railway systems can be met. The minor modifications can be made in the operation plans such as train service plan, train schedule, timetable, train-set circulation, and crew schedule.

In this paper, single-hidden layer BP neural network is used to forecast the numbers of passengers who arrive at each station or depart from each station in period . Compared with the numerical example, the passenger flows are gradually increasing from month to month, and the forecasting results are bigger than the data in period . As for a line which is put into operation lately, the attracted passengers will be gradually getting more until it gets stable. So the forecasting results are in line with reality. At the same time, the error in output layer is smaller than 0.01, and the forecasting results can be accepted. Then OD estimation method is used to provide OD matrix quickly; it is practical and timesaving.

#### 5. Conclusions and Further Research

An accurate and stable passenger flow casting can be applied to support transportation system operation and management such as operation planning, revenue planning, and facility improvement. This paper proposes a divide-and-conquer method based on neural network for short-term passenger flow with three steps. In the first step, the numbers of passengers who arrive at each station or depart from each station, namely, or , in period are extracted from the short-term passenger flow, OD matrix in this paper, which can be mined from passenger ticket system. And as to special days such as National Day, there are some trends among the same type of holiday on passenger flow, so part of data is not taken into consideration in this paper. In the second step, short-term passenger flow forecasting for the numbers of passengers who arrive at each station or depart from each station in period based on neural network is realized. In the third step, OD matrix estimation method is used to get the OD matrices in short-term period. The experimental results indicate that the proposed divide-and-conquer method performs well in forecasting the short-term passenger flow on high-speed railway. In particular, the short-term passenger flow forecasting in holiday is a special issue which combines the trends and conventional forecasting program; it is the work to be further studied.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported by Hunan Provincial Natural Science Foundation of China (Grant no. 14JJ3030), Doctoral Scientific Foundation of the Ministry of Education of China (Grant no. 20120162120042), and Natural Science Foundation of China (Grants nos. 71401182 and 71471179).

#### References

- B. L. Smith, B. M. Williams, and K. R. Oswald, “Comparison of parametric and nonparametric models for traffic flow forecasting,”
*Transportation Research Part C*, vol. 10, no. 4, pp. 303–321, 2002. View at Publisher · View at Google Scholar · View at Scopus - E. I. Vlahogianni, J. C. Golias, and M. G. Karlaftis, “Short-term traffic forecasting: overview of objectives and methods,”
*Transport Reviews*, vol. 24, no. 5, pp. 533–557, 2004. View at Publisher · View at Google Scholar · View at Scopus - Y. Wei and M.-C. Chen, “Forecasting the short-term metro passenger flow with empirical mode decomposition and neural networks,”
*Transportation Research Part C: Emerging Technologies*, vol. 21, no. 1, pp. 148–162, 2012. View at Publisher · View at Google Scholar · View at Scopus - S. Lee and D. B. Fambro, “Application of subset autoregressive integrated moving average model for short-term freeway traffic volume forecasting,”
*Transportation Research Record*, vol. 1678, pp. 179–188, 1999. View at Publisher · View at Google Scholar · View at Scopus - B. M. Williams and L. A. Hoel, “Modeling and forecasting vehicular traffic flow as a seasonal ARIMA process: theoretical basis and empirical results,”
*Journal of Transportation Engineering*, vol. 129, no. 6, pp. 664–672, 2003. View at Publisher · View at Google Scholar · View at Scopus - C.-F. Chen, Y.-H. Chang, and Y.-W. Chang, “Seasonal ARIMA forecasting of inbound air travel arrivals to Taiwan,”
*Transportmetrica*, vol. 5, no. 2, pp. 125–140, 2009. View at Publisher · View at Google Scholar · View at Scopus - G. Zhang, B. E. Patuwo, and M. Y. Hu, “Forecasting with artificial neural networks: the state of the art,”
*International Journal of Forecasting*, vol. 14, no. 1, pp. 35–62, 1998. View at Publisher · View at Google Scholar · View at Scopus - M. Dougherty, “A review of neural networks applied to transport,”
*Transportation Research Part C*, vol. 3, no. 4, pp. 247–260, 1995. View at Publisher · View at Google Scholar · View at Scopus - Y. F. Tang, W. H. K. Lam, and P. L. P. Ng, “Comparison of four modeling techniques for short-term AADT forecasting in Hong Kong,”
*Journal of Transportation Engineering*, vol. 129, no. 3, pp. 271–277, 2003. View at Publisher · View at Google Scholar · View at Scopus - H. Dia, “An object-oriented neural network approach to short-term traffic forecasting,”
*European Journal of Operational Research*, vol. 131, no. 2, pp. 253–261, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - E. I. Vlahogianni, M. G. Karlaftis, and J. C. Golias, “Optimized and meta-optimized neural networks for short-term traffic flow prediction: a genetic approach,”
*Transportation Research Part C: Emerging Technologies*, vol. 13, no. 3, pp. 211–234, 2005. View at Publisher · View at Google Scholar · View at Scopus - T.-H. Tsai, C.-K. Lee, and C.-H. Wei, “Neural network based temporal feature models for short-term railway passenger demand forecasting,”
*Expert Systems with Applications*, vol. 36, no. 2, pp. 3728–3736, 2009. View at Publisher · View at Google Scholar · View at Scopus - K. Kumar, M. Parida, and V. K. Katiyar, “Short term traffic flow prediction for a non urban highway using artificial neural network,”
*Procedia—Social and Behavioral Sciences*, vol. 104, pp. 755–764, 2013. View at Google Scholar - S.-Z. Zhao, T.-H. Ni, Y. Wang, and X.-T. Gao, “A new approach to the prediction of passenger flow in a transit system,”
*Computers & Mathematics with Applications*, vol. 61, no. 8, pp. 1968–1974, 2011. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - X.-S. Jiang, L. Zhang, and M. Chen, “Short-term forecasting of high-speed rail demand: A hybrid approach combining ensemble empirical mode decomposition and gray support vector machine with real-world applications in China,”
*Transportation Research Part C: Emerging Technologies*, vol. 44, pp. 110–127, 2014. View at Publisher · View at Google Scholar · View at Scopus - X.-M. Li, G.-Z. Huang, and J. Tang, “Passenger flow forecasting based on OD-matrix estimation model,”
*Journal of the China Railway Society*, vol. 30, no. 6, pp. 7–12, 2008. View at Google Scholar · View at Scopus - K. Perrakis, D. Karlis, M. Cools, D. Janssens, K. Vanhoof, and G. Wets, “A Bayesian approach for modeling origin-destination matrices,”
*Transportation Research Part A: Policy and Practice*, vol. 46, no. 1, pp. 200–212, 2012. View at Publisher · View at Google Scholar · View at Scopus