Extreme Learning Machine on High Dimensional and Large Data ApplicationsView this Special Issue
Research Article | Open Access
Wen-jun Chu, Xing-chen Zhang, Jun-hua Chen, Bin Xu, "An ELM-Based Approach for Estimating Train Dwell Time in Urban Rail Traffic", Mathematical Problems in Engineering, vol. 2015, Article ID 473432, 9 pages, 2015. https://doi.org/10.1155/2015/473432
An ELM-Based Approach for Estimating Train Dwell Time in Urban Rail Traffic
Dwell time estimation plays an important role in the operation of urban rail system. On this specific problem, a range of models based on either polynomial regression or microsimulation have been proposed. However, the generalization performance of polynomial regression models is limited and the accuracy of existing microsimulation models is unstable. In this paper, a new dwell time estimation model based on extreme learning machine (ELM) is proposed. The underlying factors that may affect urban rail dwell time are analyzed first. Then, the relationships among different factors are extracted and modeled by ELM neural networks, on basis of which an overall estimation model is proposed. At last, a set of observed data from Beijing subway is used to illustrate the proposed method and verify its overall performance.
Dwell time is the time that a public transport vehicle spends at a station or a stop for passenger alighting and boarding . In any mode of public transportation, it is an important parameter, which determines the system performance and service quality to a large extent. On one hand, dwell time constitutes a significant part of the total trip time, which is the key criterion for service quality of public transit. On the other hand, dwell time determines the capacity utilization of infrastructure, thus affecting the efficiency of the whole transit system. Therefore, reasonable estimation of dwell time plays an important role in operation of various public transit systems.
A number of studies have been conducted on dwell time estimation in various types of public transportation and corresponding research approaches can be roughly classified into two categories: regression approach and microsimulation approach.
Regression approach is to establish regression model with observed data to describe the relationship between dwell time and corresponding factors. This approach is first used in the estimation of bus dwell time. Levinson  proposed a linear regression model to estimate bus dwell time, in which the bus dwell time is formulated as a linear function of two primary contribution factors—number of alighting and boarding passengers and the amount of time required for bus doors opening and closing. Since then, a number of studies were carried out to take into account some other contributing factors for the bus dwell time estimation. For example, Guenthner and Hamat  investigated the relationship between the bus dwell time and bus fare collection system. Levine and Torng  analyzed impact of bus floor types on the bus dwell time. Jaiswal et al.  examined influence of platform walking on bus rapid transit stations on bus dwell time. Tirachini  studied impact of fare payment technology in urban bus services. Most previous studies on urban rail dwell time estimation also applied the regression approach. Weston  proposed a polynomial regression model using the survey data of London Metro, in which various contributing factors, including the number of alighting and boarding passengers, passenger distribution, and on-board crowdedness, are considered. Lam et al.  proposed a linear regression model on basis of observed data from two LRT stations. Lin and Wilson  compared linear and nonlinear regression models with observed data of MBTA Green Line and proved that crowdedness has a nonlinear effect on urban rail dwell time. On this basis, Puong  proposed a nonlinear dwell time model that can fit 90% of observed data from MBTA Red Line.
As can be seen, almost all proposed regression models on dwell time estimation are polynomial. In these studies, the model structure is first determined through certain hypothesis and then corresponding parameters are calibrated. Under this condition, though these models fit respective field data well, the generalization performance of them cannot be ensured.
Microsimulation approach is to calculate the required dwell time on basis of single passenger behavior description under computer environment. In recent years, computer-based pedestrian simulation technology rapidly develops and is gradually introduced into dwell time estimation. Li et al.  applied Monte Carlo simulation to simulate the bus dwell process, in which a binary door choice model predicting the proportion of alighting passengers through front or rear door is integrated. Zhang et al.  proposed a cellular automaton based alighting and boarding microsimulation model for passengers in Beijing subway stations, which is proven effective in estimating urban rail dwell time. Baee et al.  investigated the influence of different boarding/alighting strategies on urban rail dwell time on basis of a microsimulation model, in which an inclination function governing passengers’ movement in a two-dimensional queue is introduced. In addition, some commercial pedestrian simulation software programs, such as VISSIM and Legion, are applied to calculate dwell time in many related studies.
Theoretically speaking, microsimulation models have better generalization performance than regression model. If the behavior of passengers is described properly, the model can be used in any scenario. However, existing microscopic simulation theory is still insufficient in describing pedestrian behavior under crowded condition. As a result, the accuracy of microsimulation dwell time estimation models cannot be ensured at present.
In urban rail transit system, train operation is typically based on timetables which are made in advance and the dwell time at each station is assigned beforehand. Under this condition, the reasonability of preassigned dwell time may have a significant influence on the performance of the whole system. If the assigned dwell time is insufficient for passenger alighting and boarding, delay will happen and complicated adjustments need to be made in the predesigned timetable so as to ensure the following train operation. On the other side, if the assigned dwell time is too long, the headway between two consecutive trains will also be overlong, consequently limiting the capacity of the whole transit line. Therefore, in all urban rail transit systems, especially in those with heavy traffic such as Beijing subway, reasonable estimation of dwell time is essential to create effective timetables and make a compromise between service quality and transportation capacity.
Artificial neural network is a widely used method of data fitting. It can approximate complex nonlinear mappings directly from the input sample without making much hypothesis beforehand. In this paper, a new proposed artificial neural network method ELM is used in urban rail dwell time estimation. The outline of the paper is as follows. In Section 1, previous research regarding dwell time estimation of public transportation is reviewed. Section 2 elaborates the principles and steps of ELM. Section 3 makes a detailed analysis on the factors of train dwell time at urban rail stations and Section 4 presents the structure of the proposed model. In Section 5, several data sets on Beijing subway are used to evaluate the proposed model. Conclusions and discussions are given in Section 6.
2. Extreme Learning Machine
Single-hidden layer feedforward network (SLFN) is a widely used type of artificial neural network, which has been proven effective in complex nonlinear approximation [14–16]. Figure 1 illustrates the structure of a standard SLFN. In this network, input nodes and output nodes are included, corresponding to -dimensional input vector and -dimensional out vector. nodes are contained in the hidden layer and is the threshold of the th hidden node. is the activation function. is the weight vector connecting the input nodes and the th hidden node and is the weight vector connecting the th hidden node and the output nodes.
Given arbitrary training samples , where and , the output of the above SLFN is
If this SLFN can approximate these samples with zero error, that is, , then there exist , , and such that
These equations can be written compactly aswhere
As named in Huang and Babri , is called the hidden layer output matrix of the SLFN and the th column of it corresponds to the output of th hidden node with respect to inputs. As proven by Huang et al. , given arbitrary and , the least square solution of in formula (3) can be obtained by formula (7):where is the Moore-Penrose generalized inverse of matrix . On this basis, a simple and efficient training algorithm for SLFN called ELM is proposed , whose procedure can be summarized as follows.
Step 1. Randomly assign input weight and bias , .
Step 2. Calculate the hidden layer output matrix according to formula (4).
Step 3. Calculate the output weight according to formula (7).
Due to the fast training speed, ELM has been widely used for many applications . In this paper, ELM is applied to approximate the complex relationship between the factors of urban rail dwell time.
3. Factors of Urban Rail Dwell Time
Urban rail dwell time is typically defined as the time elapsed between the door opening and closing of a train sitting at a station . In this period, several tasks need to be accomplished, as shown in Figure 2.
In Figure 2, the horizontal axis represents time and represents the time when the train stops and doors begin to open. On the vertical axis, four types of task are listed. The duration of door opening and closing process is mainly determined by the mechanism of the vehicles. The confirmation process represents the interval between the end of passenger alighting at all doors and the beginning of door closing process, which is used for operators confirming the completion of passenger alighting. The start time of this process depends on the door at which passenger boarding completes last, that is, the door . The times of alighting and boarding tasks vary across doors. According to previous research, this is mainly because the numbers of alighting, through, and boarding passengers differ from door to door. In other words, the duration of alighting and boarding process at a door is mainly decided by the number of passengers alighting and boarding from this door and the crowdedness of corresponding vehicle. And these parameters will be affected by the passenger flow and platform pattern of this station and previous stations.
Nevertheless, in practical terms, there exist overlaps between some consecutive tasks. As shown in Figure 2, the overlap between door opening and passenger alighting represents that some passengers begin to alight before the door is fully open and the overlap between passenger alighting and boarding represents that some passengers do not obey the “get off and then on” rule. Under this condition, times of these processes cannot be separately considered, no matter from the perspective of survey or estimation. Therefore, an overall concept, passenger service time, is proposed here, which represents the period from the beginning of door opening to the end of passenger boarding at single or all doors.
On basis of the above analysis, the factors of urban rail dwell time and their interaction can be concluded, which is shown in Figure 3.
4. Urban Rail Dwell Time Estimation
The key notations used in the dwell time estimation are shown in Notation Definitions section.
4.2. Problem Statement
Generally speaking, in practical operation of urban rail system, the operation-related parameters, that is, platform pattern, vehicle performance, and operation efficiency, are relatively stable. Therefore, only the influence of the traffic-related parameters which is the concern of most previous research is taken into account here. On this basis, the urban rail dwell time estimation problem can be described as follows.
Consider a -door urban rail train that will make a stop on a station. On the train, A passengers will alight at the station and passengers will not. On the platform of the station, passengers who enter the platform through entrance are waiting to get on this train. In addition, the train needs to close all its doors and operators need to spend to confirm the full close of all doors. Thus, assign a minimum dwell time for the train, which is sufficient for passengers alighting and boarding at the station.
According to the analysis in Section 3, the required dwell time can be seen as the accumulation of three parts: the maximum single-door passenger service time, duration of door closing process, and confirmation time; that is,where the passenger service time at th door is determined by the number of boarding, alighting, and through passengers at this door; that is,
Furthermore, for a specific station, the distribution of boarding passengers on the platform is always accorded with certain rules , which means certain mapping exists between the vector and the boarding passenger vector ; that is,
By contrast, the distribution of alighting and through passengers on board, which is determined by platform pattern of previous stations, is more complicated. In previous research, the alighting and through passengers on board are usually assumed to be uniformly distributed  or distributed with constant proportion . In this paper, the uniform distribution is adopted for and ; that is,
To summarize, the required dwell time can be described as follows:
As can be seen, the key to dwell time estimation is to approximate the mappings and .
4.3. ELM-Based Estimation Model
In this section, two ELM neural networks are designed to approximate the mappings shown in formula (12). On this basis, an overall estimation model is proposed.
4.3.1. Single-Door Passenger Service Time (SDPST) Model
In order to approximate the relationship between and , that is, , an ELM neural network is designed, whose structure is shown in Figure 4(a). As illustrated in this figure, the model has an input vector of three dimensions which represent , , and , respectively, and a single-dimensional output vector . Sigmoid function is chosen as the activation function of the hidden nodes and the number of hidden nodes needs to be determined through -fold cross-validation with training data set.
4.3.2. Platform Passenger Distribution (PPD) Model
Another ELM neural network is designed to describe the distribution rule of passengers on platform, as shown in Figure 4(b).
This model has an input vector of dimensions which represent the numbers of boarding passengers from each entrance and an output vector of dimensions which represent the number of boarding passengers at each door. Besides, the activation function of this model is also sigmoid function and the number of hidden nodes is , which also needs to be determined through cross-validation.
4.3.3. Overall Dwell Time Estimation Model
On basis of the previous two models, an overall model for urban rail dwell time estimation is proposed, which is shown in Figure 5. In this model, the mappings and in formula (12) are replaced by SDPST model and PPD model, respectively, and this two ELM neural networks need to be trained separately with corresponding data sets.
5. Model Evaluation
5.1. Data Collection and Processing
A survey is conducted on the outbound platform of Zhichunlu station of Line 13, Beijing subway. This platform is a typical side platform with three stairways and one escalator acting as entrances and exits, as shown in Figure 6. In the survey, 24 recorders are assigned to observe the 24 doors of trains, respectively, and another two are assigned to record the number of boarding passengers entering from the two entrances. After 10 days’ survey, a raw data set containing 8304 instances from 346 trains is obtained, whose structure is illustrated in Table 1. It should be noted that the actual number of through passenger cannot be observed precisely from platform. Therefore, the attribute c, which is used to describe the crowdedness on the vehicle, is replaced by the number of through passengers that stand on board near the door.
From this raw data set, the operation-related parameters and three useful data sets are derived.
5.1.1. Operation-Related Parameters
Firstly, the confirmation and door closing times are derived. Considering the effect of scheduled dwell time, only the records in which actual dwell time exceeds scheduled dwell time are used and the sum of constant parameters and is assigned with the average of differences between and PST; that is,
5.1.2. SDPST Data Set
This data set has 8304 instances, each of which represents a passenger service process at a single door. Four attributes, a, b, c, and PST, are contained and corresponding data can be extracted directly from the raw data set. This data set can be used to train the SDPST model.
5.1.3. PPD Data Set
346 instances are contained in this data set, each of which corresponds to an observed train. There are 26 attributes per instance. Two of them are the numbers of boarding passengers entering from the two entrances (named as and ) and the rest represent the number of boarding passengers at each door (named as , ). In this way, the distribution of boarding passengers for each observed train can be described by the instances of this data set. Therefore, this data set can be used to train the PPD model.
5.1.4. Dwell Time Data Set
This data set concerns the relationship between dwell time of trains and corresponding passenger flow. Therefore, 346 records corresponding to 346 observed trains are included and each of them has five attributes: the total number of alighting passengers A, the numbers of boarding passengers entering from Entrance 1 and Entrance 2, that is, and , the total number of through standees , and required dwell time . The former three attributes can all be obtained through accumulating the corresponding single-door data of the raw data set, while is obtained according to
5.2. Training of SDPST Model
With the SDPST data set, ELM is used to train the SDPST model. Meanwhile, for comparison, another two popular algorithms, LMBP and SVM, are also applied on this specific regression problem. All the attributes in this data set are normalized into range and the data set is divided into two parts: 4000 observations are used for training and the rest are used for testing. For ELM, the number of hidden nodes is gradually increased by an interval of 5 and the optimal number 65 is obtained using 3-fold cross-validation method, which is illustrated in Figure 7. Similarly, the number of hidden nodes in the BP network is also determined through repeated cross-validations. For SVM, RBF is used as kernel function and the cost parameter and kernel parameter are both chosen from set through repeated tests.
All the simulations are carried out in MATLAB 8.2 environment running in a Core2 Quad, 2.67 GHz CPU, and corresponding results are shown in Table 2. As shown in this table, no matter in training speed or generalization performance, ELM is remarkably better than the other two algorithms. In other words, the ELM-based SDPST performs better in estimating the single-door passenger service time.
For further comparison, a basic social force model  is established to simulate passengers alighting and boarding at single door of urban train. The parameters of this model are calibrated according to the observed data of a basic case, in which the numbers of alighting, boarding, and through passengers are all 5; that is, . On this basis, different cases are tested on this microsimulation model and the results are compared with the proposed model. In the test, the numbers of alighting and through passengers are all set to be 5; that is, . The number of boarding passengers is gradually increased and corresponding PST outputted by the microsimulation model is compared with the result estimated by the ELM-based SDPST model, which is shown in Figure 8. As can be seen, the results of the proposed model are in good accordance with the observed data. The microsimulation model fits the observed data well when , but it does not perform well when .
Furthermore, using the SDPST model trained by ELM, the relationship between passenger service time (PST) and corresponding factors (a, b, and c) at single door is also investigated. With the other two factors fixed at 5, the variation of PST with each factor is tested. As shown in Figure 9, PST is in nonlinear relationship with each of the three factors, which is much different with previous studies [8–10].
5.3. Training of PPD Model
With the PPD data set, the PPD model is trained to describe the boarding passenger distribution on the outbound platform of Zhichulu station (Line 13). The data set is also normalized into and divided into two parts: 200 observations are used for training and the rest are used for testing. The other two algorithms, LMBP and SVM, are also applied on this data set and their performances are compared with ELM in Table 3. As can be seen, the training speed of ELM is still remarkably faster than that of the other two algorithms. As for generalization performance, ELM is similar to the SVM and slightly better than LMBP. In conclusion, the ELM-based model obtains best performance on the PPD data set.
5.4. Evaluation of Overall Estimation Model
With the above two models trained by ELM, the overall model can be used to estimate the train dwell time of Line 13 at Zhichunlu station. The proposed overall model is compared with two polynomial models. One is proposed by Lam et al.  and shown as formula (15). The other is proposed by Puong  and shown as formula (16):
Using the dwell time data set, least squares method is used to calibrate the parameters of the above two models. Considering the outputs of these three models are all single-dimensional, the coefficient of determination which is usually denoted as is adopted to evaluate their regression performance. The model whose is closer to 1 is considered better. The results are listed in Table 4. As can be seen, the ELM-based model proposed in this paper performs much better than the other two polynomial models.
This paper proposed a new model to estimate urban rail dwell time. In this model, two crucial relationships among the factors of urban rail dwell time are modeled by two SLFNs, which are trained with ELM. Using a set of observed data from Beijing subway, the training of these two networks is illustrated, during which ELM is proven more effective than other two algorithms, and advantage of the proposed approach is also verified by comparing with an existing estimation model.
|:||Index of doors|
|:||Number of doors|
|:||Index of platform entrances|
|:||Number of platform entrances|
|:||Total number of alighting passengers|
|:||Number of boarding passengers entering the platform through th entrance|
|:||m-dimensional column vector, whose th component is ; that is,|
|:||Total number of through passengers|
|:||Number of alighting passengers at th door|
|:||Number of boarding passengers at th door|
|:||Number of through passengers at th door|
|:||n-dimensional column vector, whose th component is ; that is,|
|:||n-dimensional column vector, whose th component is ; that is,|
|:||n-dimensional column vector, whose th component is ; that is,|
|:||Passenger service time at th door|
|:||Duration of door closing process|
|:||Required dwell time.|
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
The authors are grateful to the editor and reviewers for their valuable suggestions which improved the paper. This work is supported by National Natural Science Foundation of China (U1361114).
- Q. Meng and X. Qu, “Bus dwell time estimation at bus bays: a probabilistic approach,” Transportation Research Part C: Emerging Technologies, vol. 36, pp. 61–71, 2013.
- H. S. Levinson, “Transit travel time performance,” Transportation Research Record, vol. 915, pp. 1–6, 1983.
- R. P. Guenthner and K. Hamat, “Transit dwell time under complex fare structure,” Journal of Transportation Engineering, vol. 114, no. 3, pp. 367–379, 1988.
- J. Levine and G. Torng, “Dwell-time effects of low-floor bus design,” Journal of Transportation Engineering, vol. 120, no. 6, pp. 914–929, 1994.
- S. Jaiswal, J. Bunker, and L. Ferreira, “Influence of platform walking on brt station bus dwell time estimation: Australian analysis,” Journal of Transportation Engineering, vol. 136, no. 12, pp. 1173–1179, 2010.
- A. Tirachini, “Estimation of travel time and the benefits of upgrading the fare payment technology in urban bus services,” Transportation Research C: Emerging Technologies, vol. 30, pp. 239–256, 2013.
- J. G. Weston, “London underground train service model: a description of the model and its uses,” in Proceedings of the Computer Applications in Railway Planning and Management Conference (COMPRAIL '90), pp. 133–147, Rome, Italy, 1990.
- W. H. K. Lam, C.-Y. Cheung, and C. F. Lam, “A study of crowding effects at the Hong Kong light rail transit stations,” Transportation Research Part A: Policy and Practice, vol. 33, no. 5, pp. 401–415, 1999.
- T. M. Lin and N. H. M. Wilson, “Dwell time relationships for light rail systems,” Transportation Research Record: Journal of the Transportation Research Board, vol. 1361, pp. 287–295, 1991.
- A. Puong, Dwell Time Model and Analysis for the MBTA Red Line, MIT OpenCourseWare, 2000, http://ocw.mit.edu/index.htm.
- M. T. Li, F. Zhao, L. F. Chow, H. Zhang, and S. C. Li, “Simulation model for estimating bus dwell time by simultaneously considering numbers of disembarking and boarding passengers,” Transportation Research Record, no. 1971, pp. 59–65, 2006.
- Q. Zhang, B. Han, and D. Li, “Modeling and simulation of passenger alighting and boarding movement in Beijing metro stations,” Transportation Research Part C: Emerging Technologies, vol. 16, no. 5, pp. 635–649, 2008.
- S. Baee, F. Eshghi, S. M. Hashemi, and R. Moienfar, “Passenger boarding/alighting management in urban rail transportation,” in Proceedings of the Joint Rail Conference (JRC '12), pp. 823–829, Philadelphia, Pa, USA, April 2012.
- K. Hornik, M. Stinchcombe, and H. White, “Multilayer feedforward networks are universal approximators,” Neural Networks, vol. 2, no. 5, pp. 359–366, 1989.
- G. B. Huang, Learning capability of neural networks [Ph.D. thesis], Nanyang Technological University, Singapore, 1998.
- G.-B. Huang, Y.-Q. Chen, and H. A. Babri, “Classification ability of single hidden layer feedforward neural networks,” IEEE Transactions on Neural Networks, vol. 11, no. 3, pp. 799–801, 2000.
- G.-B. Huang and H. A. Babri, “Upper bounds on the number of hidden neurons in feedforward networks with arbitrary bounded nonlinear activation functions,” IEEE Transactions on Neural Networks, vol. 9, no. 1, pp. 224–229, 1998.
- G.-B. Huang, Q.-Y. Zhu, and C.-K. Siew, “Extreme learning machine: theory and applications,” Neurocomputing, vol. 70, no. 1–3, pp. 489–501, 2006.
- R. Rajesh and J. S. Prakash, “Extreme learning machines—a review and state-of-the-art,” International Journal of Wisdom Based Computing, vol. 1, no. 1, pp. 35–49, 2011.
- D. Helbing and P. Molnár, “Social force model for pedestrian dynamics,” Physical Review E, vol. 51, no. 5, pp. 4282–4286, 1995.
Copyright © 2015 Wen-jun Chu 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.