Transportation Modeling and ManagementView this Special Issue
Research Article | Open Access
Pengpeng Jiao, Tuo Sun, Lin Du, "A Bayesian Combined Model for Time-Dependent Turning Movement Proportions Estimation at Intersections", Mathematical Problems in Engineering, vol. 2014, Article ID 607195, 8 pages, 2014. https://doi.org/10.1155/2014/607195
A Bayesian Combined Model for Time-Dependent Turning Movement Proportions Estimation at Intersections
Time-dependent turning movement flows are very important input data for intelligent transportation systems but are impossible to be detected directly through current traffic surveillance systems. Existing estimation models have proved to be not accurate and reliable enough during all intervals. An improved way to address this problem is to develop a combined model framework that can integrate multiple submodels running simultaneously. This paper first presents a back propagation neural network model to estimate dynamic turning movements, as well as the self-adaptive learning rate approach and the gradient descent with momentum method for solving. Second, this paper develops an efficient Kalman filtering model and designs a revised sequential Kalman filtering algorithm. Based on the Bayesian method using both historical data and currently estimated results for error calibration, this paper further integrates above two submodels into a Bayesian combined model framework and proposes a corresponding algorithm. A field survey is implemented at an intersection in Beijing city to collect both time series of link counts and actual time-dependent turning movement flows, including historical and present data. The reported estimation results show that the Bayesian combined model is much more accurate and stable than other models.
Time-dependent turning movement flows are very important input data for traffic signal control system, route guidance system, and other ITS systems. However, using the existing traffic detection devices, it is impossible to achieve the turning movement flows at intersections directly. Since the real-time link flows of entering and exiting legs can be detected conveniently, the dynamic turning movements estimation methods based on detected time-series of link counts, that is, dynamic origin-destination flows estimation (DODE), have been studied extensively in the literature.
Using different methods, existing researches have formulated many DODE models, which can be generally classified into five categories according to the modeling techniques: parameter optimization method, entropy maximization method, maximum likelihood method, Kalman filtering (KF) method, and variational inequality (VI) method. The previous three categories are extended from the static origin-destination (O-D) estimation problems, the KF model is a kind of state-space method, and the VI model is a rather new technique.
Along a different line, existing DODE models have focused on different objective networks, including intersection, freeway segment, and general road network. Intersection models were the earliest to be developed, and most of them were extended from static O-D estimation models. Cremer and Keller (1981) , Cremer (1983) , and Cremer and Keller (1984)  have constructed relations between time series of link traffic flows and dynamic turning movement flows, that is, dynamic O-D flows, and formulated a series of least square models. Nihan and Davis (1987)  further proposed a revised least square model using recursive method and designed the truncation and normalization processes to satisfy the constraints requirement of dynamic turning proportions. Bell  also presented a revised optimization model to estimate intersection turning movement flows, which considered the platoon dispersion between entrance and exit legs. All above researches only employed the inequality constraints in the optimization models. To further incorporate the equality constraints, Li and De Moor (1999)  put forward a new least square model. Considering that the occasional outliers of detected flows may greatly influence the results of least square models, Jiao et al.  proposed a least absolute deviation model and designed a genetic algorithm to obtain the optimal solution. All these models fall within the scope of parameter optimization method, they can achieve rather accurate estimation results; however, they are not efficient enough.
Introduction of dynamic travel time and dynamic route choice extended intersection models to freeway segment and general network. Most of these models employed state-space formulations, for example, Okutani (1987) , Ashok and Ben-Akiva (2000, 2002) [9, 10], Lin and Chang (2007) , Li et al. (2009) , and so forth. These models were all formulated using KF techniques and were applicable for freeway segment or general road network. Since this paper mainly deals with intersection problems, we do not put too much emphasis on the review of these models, but the efficiency of KF method is rather valuable for time-dependent turning movement proportions estimation at intersections.
More recently, Nie and Zhang (2008)  employed the variational inequality technique in the DODE problem and formulated several new VI models. Lou and Yin (2010)  inferred turning movements with incomplete information at intersections and further incorporated them into a decomposition scheme for estimating dynamic O-D flows on actuation-controlled signalized arterials. Lu et al. (2013)  considered the influences of congestion and presented a single-level nonlinear optimization model to estimate the dynamic O-D flows, integrating a dynamic user equilibrium constraint. All these models have proved to be rather accurate.
Further analyses of existing researches show that the estimated dynamic O-D flows often fluctuate within a range around the actual values, that is, in some specific intervals, some models tend to overestimate the O-D flows, while other models tend to underestimate them. One possible way to approach this problem is to develop a combined model framework that can automatically integrate multiple submodels that run simultaneously.
To the best of our knowledge, there is no existing research which estimates the intersection turning movements in a combined model framework. Fortunately, similar methods have been used in short-term traffic forecast through combining multiple prediction models using the errors the models made in the previous time intervals, for example, Zheng et al. (2006)  and Dong et al. (2010) . However, the nature of dynamic turning movement estimation is different to that of short-term traffic forecast. Therefore, the key feature of this paper is to integrate several different estimation models and to present a combined model to estimate the turning movement proportions at intersections.
The rest of this paper is organized as follows. Section 2 illustrates the basic problem statement and variable definitions. Section 3 presents a revised back propagation (BP) neural network model to estimate intersection turning movement proportions and further develops a self-adaptive learning rate approach and the gradient descent with momentum method to solve the BP neural network model. Section 4 formulates an efficient KF method and designs a revised sequential KF algorithm. Based on above two submodels, Section 5 further proposes a Bayesian combined model, which is calibrated using both historical data and estimated results in past several intervals. Section 6 reports the evaluation results based on practical traffic survey data. Section 7 concludes the paper and recommends some future researches.
2. Problem Statement and Variable Definitions
This paper deals with a typical intersection with entrance legs and exiting legs, as described in Figure 1.
For convenience of illustration, we first define following variables used in this paper: is detected link flows at entering leg during interval , ; is detected link flows at exiting leg during interval , ; is turning flows entering from leg during interval with destination at leg , that is, the time-varying turning movement flows; is turning movement proportions, that is, .
Additionally, we use the superscript “N” to denote the specific variables in BP neural network model, “KF” to indicate the specific variables in KF model, and “H” to show the historical data.
Based on the and obtained from traffic detection devices, the key issue of this paper is to estimate the time-varying turning movements or turning proportions from the detected time series of link counts.
3. Back Propagation Neural Network Model
3.1. Architecture of the BP Neural Network Model
The architecture of the BP neural network model is shown in Figure 2. It mainly has the following advantages.(1)It has very strong self-learning abilities and is capable of addressing very complicated nonlinear estimation problems, especially for short-term cases.(2)The large amount of training data can be achieved from traffic surveillance systems directly, which will greatly improve the performance of the estimation.(3)The back propagation of estimation errors enables the dynamic adjustment of weights, which speeds up the training process and improves the accuracy of the model.
There are three layers in the BP neural network model.(1)Input layer: three neurons in the input layer, corresponding to the link counts of the upstream approach. Here the number of neurons is subject to the number of upstream lanes and detectors.(2)Hidden layer: 15 neurons in the hidden layer, which is decided through many experiments. The logarithmic sigmoid transfer function is used in the hidden layer, which outputs results between 0 and 1, corresponding to the actual range of turning movement proportions. The formulation of the transfer function is (3)Output layer: three neurons in the output layer, corresponding to the turning movement flows of left-turn, go straight and right-turn directions, that is, the estimation results. Linear transfer function is used in the output layer.
In this paper, historically detected link flows and surveyed turning proportions are used as the training set to train the BP neural network model, and currently detected link flows are used as the test set to estimate the turning fractions.
3.2. Algorithm of Self-Adaptive Learning Rate and Gradient Descent with Momentum
Since common BP neural network method is rather slow in the training process and often arrives at locally optimal solution , this paper adopts the integrated algorithm of self-adaptive learning rate and gradient descent with momentum, which accelerates the training process dramatically and guarantees the reliability of the algorithm.
The self-adaptive learning rate approach is formulated as follows: where is the learning rate of step , is the growth factor of learning rate, is the weight of step , is the difference between current weight and the previous weight, and is the function returning the sign of the variable in the square bracket.
Here the learning rate is adjusted automatically according to the gradient in the previous step, with the initial value within 0.01, 0.8.
The gradient descent with momentum method is presented as follows: where denotes neurons in the input layer, indicates neurons in the hidden layer, shows neurons in the output layer, is the weight from neuron in the hidden layer to neuron in the input layer, is the weight from neuron in the output layer to neuron in the hidden layer; is the momentum factor with the constraint ; is the threshold of node in the hidden layer, and is the threshold of node in the output layer. Both and keep updating with the training process.
The above algorithm is coded using language of Matlab software.
4. Kalman Filtering Model
4.1. KF Model
To estimate the dynamic turning movement flows efficiently, we further propose a revised Kalman filtering model using the turning movement proportions as the state variables to reflect the interrelations between the link flows at entering and exiting legs.
We formulate the state transition equation as follows: where is a column vector form of and is a column vector of random errors. is actually a Gaussian white noise vector, its mean value is , and its covariance matrix is , where is a constant semipositive matrix and is the Kronecker delta; that is, while ; otherwise .
According to (3), we formulate the measurement equation as follows: where is a column vector of detected link flows at exiting legs, is the corresponding measurement matrix, and is the column vector of link flows detection errors; its mean value is , and its covariance matrix is , where is also a constant semipositive matrix, just like .
4.2. Revised Sequential KF Algorithm
To improve the estimation efficiency, we design a revised sequential KF algorithm  to avoid the inverse matrix computation. The truncation and normalization processes  are also integrated into the algorithm to modify the results to satisfy the inherent constraints of in (1) and (2).
Furthermore, the initial values of are preset according to the number of lanes turning to different directions instead of conventional average number 0.33, as shown in (9). This revision of initial values of will accelerate the convergence of the revised KF algorithm: where is the number of lanes from entering leg turning to exiting leg . In case of the presence of mixed lane, it is divided into the involved directions averagely.
Except for the initial values of and the truncation and normalization processes, the other steps in the algorithm are rather similar to existing sequential KF algorithms .
This algorithm is also coded using M language of Matlab software.
5. Bayesian Combined Model
Through the above two models, one can obtain the time-dependent turning movement proportions and , respectively, where is the result from BP neural network model and is the result from KF model. To get more accurate and stable estimation results, we integrate these two models into a combined model framework, as shown in Figure 3.
From Figure 3 one can find out that the Bayesian combined model is actually a weighted average result of BP neural network and KF models: where is the estimation result of the combined model, is the weight of BP neural network model, and is the weight of KF model.
By adjusting the above two weights, each submodel may be strengthened or weakened. If we set the weight of a submodel to zero, this model will be neglected. According to a comparison of estimation errors, these weights are decided logically, and the details are shown below.
According to the historical estimated results of two submodels and the historical actual turning proportions, we can get the mean absolute percentage error (MAPE) of two submodels, respectively. Here we use to denote the historic MAPE of BP neural network model and to denote the historic MAPE of KF model. The prior probabilities to choose BP neural network model and KF model are presented as follows: where the superscript “N” means BP neural network model, the superscript “KF” means KF model, the function denotes a choice probability, is the prior probability of model (BP neural network model), and is the prior probability of model (KF model). Equations in (11) illustrate the influences of historical estimation errors.
To further reflect the influences of current estimation errors, we define and as the MAPEs of currently running BP neural network and KF models, respectively. Here the MAPEs are from previous 5 intervals; that is, they are updating momentarily: where is the probability of generating estimation using model and is the probability of generating estimation using model .
In (12), the most important issue is that the present actual turning proportions are unavailable. To address this problem, we use the Bayesian weighted results instead of actual values. For the first five intervals, the corresponding historical actual values are used alternatively. Since the previous five intervals remain rolling, there is actually an updating mechanism in the Bayesian combined model stated here, as shown in Figure 3.
According to the Bayesian theorem, the posterior probability  can be formulated as follows: where is the posterior probability of BP neural network model and is the posterior probability of KF model.
Finally we obtain the weights of two submodels:
6. Case Study
To testify the accuracy and efficiency of two submodels and the Bayesian combined model, we collected the real-world data of 2 hours through a field survey during morning peak hours at the intersection of Zhaodengyu road and Pinganli west road, which is located in Xicheng district, Beijing city, China. We achieved enough data for the case study, including time-varying link flows on all entering and exiting legs and dynamic turning movement flows from all entrance legs. The survey was conducted twice during the same morning peak hour periods in two days, respectively. Data of the first day is used as the historical information, and data of the second day is used as currently detected information.
Furthermore, we implemented three algorithms and achieved all estimated turning movement proportions using three models, respectively. A time interval of 3 minutes is used in the paper; therefore there are totally 40 intervals in each day.
For the historical estimation, the previous 30 intervals are used to train the BP neural network model, and the results of last 10 intervals are estimated. Furthermore, all these 40 historical intervals are used to train the BP neural network model for present estimation.
The right-turn at east entrance, go straight at west entrance, and left-turn at north entrance, that is, , , and , are taken, for instance, to show the accuracy of the proposed models. The mean average percentage error (MAPE), mean percentage error (MPE), root mean square error (RMSE), and normalized root mean square error (NRMS) between actual and estimated values are selected as the evaluation criteria. The reduction in these indices thus represents the potential improvement of the proposed models and algorithms: where is the total number of time intervals.
The evaluation indices of two submodels and the Bayesian combined model are all reported in Table 1. Because the estimation results of KF model during its initialization period are usually unreliable, the results of the first 20 intervals are excluded from the indices statistics.
As expected, one can find out the following results from the case study.(1)All three models are rather accurate. Relatively, the Bayesian combined model yields better estimation results than those from two submodels, which is obvious from the magnitudes of all four evaluation indices in Table 1. It clearly indicates the advantage of the Bayesian combined model framework. If historical data are available, the proposed method can provide accurate estimation of dynamic turning movement proportions.(2)Concerning the capability to track the dynamic characteristics of turning fractions, the Bayesian combined model still achieves the best results. It is mainly because of the increased system observability from historical data.(3)Results of all three models fluctuate within a range around the actual values; that is, during some intervals, the BP neural network model tends to overestimate the turning fractions, while the KF model tends to underestimate them, and vice versa during some other intervals. However, the turbulence of estimation results from Bayesian combined model is the minimum. It indicates that the proposed Bayesian combined model is the most stable and robust.(4)The results of go through direction are better than those of left-turn and right-turn directions. It is mainly due to the rather bigger values of the go through proportions.(5)Estimation results of all turning fractions show that the KF model is rather more accurate than the BP neural network model. The possible reason is that only data of 40 intervals are used for training, which reduces the accuracy of the BP neural network model.
This paper addresses three models concerning time-dependent turning movement proportions estimation at intersections: BP neural network model, KF model, and Bayesian combined model. We first present a revised BP neural network model and develop a self-adaptive learning rate approach and the gradient descent with momentum method for solution. For more efficient estimation, we propose a revised KF model and design a modified sequential KF algorithm. Taking into account historical information and estimation errors, we further integrate above two submodels into a Bayesian combined model framework, which is calibrated using both historical and present estimation errors. The reported examples based on practical traffic survey data have demonstrated that the Bayesian combined model is much more accurate and stable than other two submodels.
Further researches are directed towards two aspects. The first is to take into account the travel time of intersection turning vehicles under traffic congestion. The second is to extend the combined model to freeway segment and general road network and to estimate O-D flows for large-scale network.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
The research reported here has been partially supported by National Natural Science Foundation of China Project (51208024), Science and Technology Project of Ministry of Housing and Urban-Rural Development of China (2013-K5-6), and the Importation and Development of High-Caliber Talents Project of Beijing Municipal Institutions (CIT&TCD201404071). The authors thank the anonymous reviewers for their constructive comments and suggestions.
- M. Cremer and H. Keller, “Dynamic identification of O-D flows from traffic counts at complex intersections,” in Proceedings of the 8th International Symposium on Transportation and Traffic Theory, pp. 121–142, University of Toronto Press, Toronto, Canada, 1981.
- M. Cremer, “Determining the time dependent trip distribution in a complex intersection for traffic responsive control,” in Proceedings of the 4th International IFAC/IFIP/IFORS Conference on Control in Transportation Systems, Baden-Baden, Germany, 1983.
- M. Cremer and H. Keller, “A systems dynamics approach to the estimation of entry and exit O-D flows,” in Proceedings of the 9th International Symposium on Transportation and Traffic Theory, pp. 431–450, Vnu Science Press, Utrecht, The Netherlands, 1984.
- N. L. Nihan and G. A. Davis, “Recursive estimation of origin-destination matrices from input/output counts,” Transportation Research B, vol. 21, no. 2, pp. 149–163, 1987.
- M. G. H. Bell, “The estimation of origin-destination matrices by constrained generalised least squares,” Transportation Research B: Methodological, vol. 25, no. 1, pp. 13–22, 1991.
- B. Li and B. De Moor, “Recursive estimation based on the equality-constrained optimization for intersection origin-destination matrices,” Transportation Research B: Methodological, vol. 33, no. 3, pp. 203–214, 1999.
- P. P. Jiao, H. P. Lu, and L. Yang, “Real-time estimation of turning movement proportions based on genetic algorithm,” in Proceedings of the 8th International IEEE Conference on Intelligent Transportation Systems, pp. 484–489, Vienna, Austria, September 2005.
- I. Okutani, “The kalman filtering approaches in some transportation and traffic problems,” in Proceedings of the 10th International Symposium on Transportation and Traffic Theory, pp. 397–416, Elsevier Science, New York, NY, USA, 1987.
- K. Ashok and M. E. Ben-Akiva, “Alternative approaches for real-time estimation and prediction of time-dependent origin-destination flows,” Transportation Science, vol. 34, no. 1, pp. 21–36, 2000.
- K. Ashok and M. E. Ben-Akiva, “Estimation and prediction of time-dependent origin-destination flows with a stochastic mapping to path flows and link flows,” Transportation Science, vol. 36, no. 2, pp. 184–198, 2002.
- P. W. Lin and G. L. Chang, “A generalized model and solution algorithm for estimation of the dynamic freeway origin-destination matrix,” Transportation Research B: Methodological, vol. 41, no. 5, pp. 554–572, 2007.
- J. W. Li, B. L. Lin, Z. H. Sun, and X. F. Geng, “An estimation model of time-varying origin-destination flows in expressway corridors based on unscented Kalman filter,” Science in China E: Technological Sciences, vol. 52, no. 7, pp. 2069–2078, 2009.
- Y. Nie and H. M. Zhang, “A variational inequality formulation for inferring dynamic origin-destination travel demands,” Transportation Research B: Methodological, vol. 42, no. 7-8, pp. 635–662, 2008.
- Y. Lou and Y. Yin, “A decomposition scheme for estimating dynamic origin-destination flows on actuation-controlled signalized arterials,” Transportation Research C, vol. 18, no. 5, pp. 643–655, 2010.
- C. C. Lu, X. Zhou, and K. Zhang, “Dynamic origin-destination demand flow estimation under congested traffic conditions,” Transportation Research C: Emerging Technologies, vol. 34, pp. 16–37, 2013.
- W. Zheng, D. H. Lee, and Q. Shi, “Short-term freeway traffic flow prediction: bayesian combined neural network approach,” Journal of Transportation Engineering, vol. 132, no. 2, pp. 114–121, 2006.
- S. Dong, R. M. Li, L. G. Sun, T. H. Chang, and H. P. Lu, “Short-term traffic forecast system of Beijing,” Transportation Research Record, no. 2193, pp. 116–123, 2010.
- X. Wen, L. Zhou, X. Li, and B. W. Zhang, Neural Network Simulation and Application Using Matlab [Monograph], Science Press, 2003.
- Y. Lin, Y. L. Cai, and Y. X. Huang, “Kalman filtering based dynamic OD matrix estimation and prediction for traffic systems,” in Proceedings of the 6th International IEEE Conference on Intelligent Transportation Systems, vol. 2, pp. 1515–1520, Shanghai, China, 2003.
- D. J. C. MacKay, Information Theory, Inference and Learning Algorithms, Cambridge University Press, Cambridge, UK, 2003.
Copyright © 2014 Pengpeng Jiao 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.