Tendency-Based Approach For Link
Tendency-Based Approach For Link
Abstract: From the historical bus trajectories, it was found that the headway bias amplified as buses travel on the route. When controls on
buses are unavailable, the following buses will maintain the movement tendency toward their previous one, whether being closer to, farther
away, or stable, judged by the running state in which buses fall. A tendency-based model for link travel time estimation was proposed, and
three tendency-based corrections were introduced in the model, which are the long-term tendency, the short-term tendency, and the combined-
term tendency. Then, contrast experiments were conducted in which the boundary of the running state is a control variable to show the
performance of the tendency-based model under different boundary values. The experiment results show that, with the increase of the boun-
dary value, the degree of improvement of the tendency-based mode to the historical data–based model first increases, then decreases, and
converges to zero finally. The optimal boundary value for the tendency-based model was calibrated, judged by the net number of trips
improved and net mean absolute error reduced, and the results show that the long-term and the combined-term tendency-based models
have a lower optimal boundary and higher optimization potential, and are faster to be steady enough, which made the short-term
tendency-based model less competitive. DOI: 10.1061/(ASCE)TE.1943-5436.0000486. © 2013 American Society of Civil Engineers.
CE Database subject headings: Buses; Travel time; Estimation.
Author keywords: Bus transit; Link travel time; Estimation; Movement tendency.
49010
Movement Tendency between Buses
49007
For a frequently serviced bus route, the headway regularity is 49004
always considered as the most important component of the service
49001
4:00 6:00 8:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00 0:00
N Hankou Road Stop Time of day (Date: May 7, 2010)
Shanxi South Road Stop
Xizang Middle Road Stop
Huangpi North Road Stop Fig. 2. Historical bus trajectories (178 trips)
S Shimen NO.1 Road Stop
Shanxi North Road Stop
Tongren Road Stop
15
Huashan Road Stop Departure Terminal
Changshu Road Stop Midway stop 10
Huaihai Middle Road Stop
Headway Bias/min
Destination Terminal
Hengshan Road Stop 5
Jianguo West Road Stop
Zhongshan Hospital Stop 0
Fenglin Road Stop
-5
No.2 Bus Company Stop
Cancer Hospital Stop
Shanghai Stadium Stop -10
Dongan Newly State Stop
Wanping South Road Stop -15
49001 49004 49007 49010 49013 49016 49019
Shanghai Swimming Gymnasium Stop Stop No.
Fig. 1. Illustration of the experimental route (southbound) Fig. 3. Path headway bias with buses traveling on the route
vice regularity has been broken and it is hard for buses to recover
the deviations by themselves. Daganzo and Pilachowski (2011)
pointed out that buses may still lose ground to the buses they follow Tendency-Based Model
when the gaps are beyond a critical value, even if the schedule- Compared with the historical data–based model, corrections were
based or headway-based control schemes are available. introduced in the tendency-based model with respect to the move-
The movement tendency is defined as the following buses main- ment tendency-based trips. The path headway bias is the long-term
taining the running state to the preceding one as they travel on the fluctuation of bus headway, which stands for the long-term move-
bus route when controls are unavailable. In accord with the running ment tendency between trips, while the link headway bias is the
states, the movement tendency has three types as well: short-term fluctuation of bus headway and stands for the short-term
• Maintaining tendency in which the headway will remain stable movement tendency between trips. Three types of corrections were
as buses travel on the route if they fall in the stable state; considered in the tendency-based model—a long-term tendency-
• Closing tendency in which the headway will be narrowed based correction, a short-term tendency-based correction, or a
as buses travel on the route if they fall in the closing combined-term tendency-based correction.
state; and
• Departing tendency in which the headway will be enlarged as Long-Term Tendency-Based Model
buses travel on the route if they fall in the departing state. The long-term tendency-based correction method is based on the
assumption that the path headway bias will be further amplified on
the next link in proportion when buses fall in the closing state or the
Link Travel Time Estimation Model departing state, or remain the same when buses fall in the stable
state.
A tendency-based model to link travel time estimation was pro-
posed in which corrections were introduced with respect to the tESn Snþ1 ðk þ 1Þ ¼ tASn Snþ1 ðkÞ þ β LSn Snþ1 ðk þ 1ÞΔhS1 Sn ðk; k þ 1Þ ð3Þ
movement tendency between trips, which is judged by the running
state in which buses fall. The historical data–based model, in con- where β LSn Snþ1 ðk þ 1Þ = long-term tendency-based adjustment coef-
trast, was proposed as well. ficient, which is judged by the states in which buses fall.
8
< 0;
> ðh▿ ≤ ΔhS1 Sn ðk; k þ 1Þ ≤ hΔ Þ
β LSn Snþ1 ðk þ 1Þ ¼ 1 A ð4Þ
>
: tA ðkÞ tSn Snþ1 ðkÞ; ðΔhS1 Sn ðk; k þ 1Þ > hΔ or ΔhS1 Sn ðk; k þ 1Þ < h∇ Þ
S1 Sn
tESn Snþ1 ðk þ 1Þ ¼ tASn Snþ1 ðkÞ þ β SSn Snþ1 ðk þ 1ÞΔhSn−1 Sn ðk; k þ 1Þ ð5Þ
where β SSn Snþ1 ðk þ 1Þ = short-term tendency-based adjustment coefficient, which is judged by the states in which buses fall.
8
< 0;
> ðh▿ ≤ ΔhS1 Sn ðk; k þ 1Þ ≤ hΔ Þ
S 1
β Sn Snþ1 ðk þ 1Þ ¼ ð6Þ
>
: tA tASn Snþ1 ðkÞ; ðΔhS1 Sn ðk; k þ 1Þ > h▿ or ΔhS1 Sn ðk; k þ 1Þ < h∇ Þ
Sn−1 Sn ðkÞ
Combined-Term Tendency-Based Model tESn Snþ1 ðk þ 1Þ ¼ tASn Snþ1 ðkÞ þ αβ LSn Snþ1 ðk þ 1ÞΔhS1 Sn ðk; k þ 1Þ
The combined-term correction method is based on the assumption
þ ð1 − αÞβ SSn Snþ1 ðk þ 1ÞΔhSn−1 Sn ðk; k þ 1Þ ð7Þ
that the headway bias on the next link is affected by the compre-
hensive effect of the long-term tendency and the short-term ten- where α = weight of the long-term tendency, which is assumed to
dency mentioned previously. be 0.5.
As mentioned previously, the performance of the tendency-based All measures developed subsequently made use of the difference
models is determined by the boundary of the running state. It is between the estimated link travel time and the actual link travel
always the case that the path headway bias between trips at all stops time, which is known as the estimation errors.
is between the maximum and the minimum values.
εSn Snþ1 ðkÞ ¼ tESn Snþ1 ðkÞ − tASn Snþ1 ðkÞ ð9Þ
δ min ðk; k þ 1Þ ≤ ΔhS1 Sn ðk; k þ 1Þ ≤ δ max ðk; k þ 1Þ; n ¼ 2; : : : ; N where tESn Snþ1 ðkÞ = estimated travel time of trip k on the link Sn Snþ1 ;
tASn Snþ1 ðkÞ = actual travel time of trip k on the link Sn Snþ1 ; and
ð8Þ
εSn Snþ1 ðkÞ = travel time estimation error of trip k on the link Sn Snþ1 .
Downloaded from ascelibrary.org by Sree Vidyaniethan Engineering College on 11/09/13. Copyright ASCE. For personal use only; all rights reserved.
10 10
0 0
-10 -10
-20
Downloaded from ascelibrary.org by Sree Vidyaniethan Engineering College on 11/09/13. Copyright ASCE. For personal use only; all rights reserved.
-20
-30 -30
2 46 90 134 178 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
(a) Boundary of the running state/percentage
(a) Trip No.
40
40
20
20
10
10
0
0
-10
-10
-20
-20
-30
-30 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
2 46 90 134 178 (b) Boundary of the running state/percentage
(b) Trip No.
30 30
Relative Mean Absolute Errors/s
20 20
10 10
0 0
-10 -10
-20 -20
-30 -30
2 46 90 134 178 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
(c) Trip No. (c) Boundary of the running state/percentage
Fig. 5. Relative MAE of the tendency-based model on trips: (a) long- Fig. 6. Relative MAE of the tendency-based model under percentage
term tendency-based model; (b) short-term tendency-based model; of boundary values: (a) long-term tendency-based model; (b) short-
(c) combined-term tendency-based model term tendency-based model; (c) combined-term tendency-based model
model seems to be more stable than the long-term tendency-based data–based model than the short-term tendency-based model. How-
model because the relative MAE values are more centralized. ever, the differences among them become less significant because
the distribution of the relative mean absolute errors narrowed
Performance Comparison under Different Boundary Values gradually with the increase of the boundary value, and all of them
(Percentage) converged to zero finally (as shown in Fig. 6).
Under different boundary values of the running state, the estimation A critical percentage value of the boundary of the running state
accuracy of the tendency-based model is different as well. The for all trips has not been observed because the relative MAE values
long-term tendency-based model and the combined-term tendency- of all trips under the same boundary are not consistent over or
based model achieves a greater improvement to the historical below zero.
Number of trips
Trips worsened (long-term tendency)
-30
0 300 600 900 1200 0
0 2 4 6 8 10 12 14 16 18
(a) Boundary of the running state/s (a) Boundary of the running state/min
40
60
Long-term tendency
30
Relative Mean Absolute Errors/s
30 Short-term tendency
20
(a) number of trips improved or worsened; (b) net improved number
of trips
10
-10 [as shown in Fig. 8(a)]. The net number of trips improved,
subtracting the number of trips worsened from the number of trips
-20 improved, achieves its highest value at 4.00 to 4.10 min for the
long-term tendency-based model (49 trips), at 5.80 to 5.85 min for
-30 the combined-term tendency-based model (34 trips), and at 4.38 to
0 300 600 900 1200
(c)
4.40 min for the short-term tendency-based model (45 trips) [as
Boundary of the running state/s
shown in Fig. 8(b)]. When the boundary is larger than 8.98 min,
Fig. 7. Relative MAE of the tendency-based model under absolute there will be no trips worsened in the tendency-based model, but
boundary values: (a) long-term tendency-based model; (b) short-term the trips improved are rare.
tendency-based model; (c) combined-term tendency-based model At the same time, the accumulated relative MAE values of the
trips improved and that of the trips worsened drops gradually with
the increase of the boundary values, but the former drops much
faster than the latter, especially when the boundary ranges from
Performance Comparison under Different Boundary Values 0 to 6 min [as shown in Fig. 9(a)]. The net MAE values of the
(Absolute) tendency-based model, pulsing the accumulated MAE values of
In contrast, the absolute values of the boundary were matched the trips improved with that of the trips worsened, achieves its
with the estimation results, and an amazing phenomenon was lowest value at 4.07 min for the long-term tendency-based model
found that when the absolute value of the boundary is beyond (−301 s), at 6.22 min for the short-term tendency-based
a critical value, the tendency-based model will always gain an model (−175 s), and at 4.38 min for the combined-term
improvement on estimation accuracy to the historical data–based tendency-based model (−277 s) [as shown in Fig. 9(b)].
model, which proved the assumption in movement tendency def- In fact, when the boundary is larger than 1.28 min for the long-
inition (as shown in Fig. 7). Additionally, the degree of improve- term tendency-based model, 3.82 min for the short-term tendency-
ment drops with the increase of the boundary values after it is based model, and 2.20 min for the combined-term tendency-based
beyond the critical value. model, the tendency-based model begins performing better than the
historical data–based model on estimation accuracy.
Boundary Calibration Judged by the net optimized number of trips and net improved
With the increase of the boundary values, the number of trips wors- estimation accuracy, the optimal boundary was calibrated at
ened drops at a faster rate than the number of trips improved 4.07 min for the long-term tendency-based model, 4.40 min for
0 20
1500 30
1200
20
900
Net relative MAE/s
0 -10
Long-term tendency
-300 -20 Long-term tendency
Short-term tendency
Short-term tendency
Combined-term tendency
-600 Combined-term tendency
0 2 4 6 8 10 12 14 16 18 -30
(b) Boundary of the running state/min 2 46 90 134 178
(b) Trip No.
Fig. 9. Estimation accuracy affected by the absolute boundary values:
60%
(a) relative MAE of improved or worsened trips; (b) net improved
relative MAE of all trips
Relative Percentage of MAE Values
40%
20%
the combined-term tendency-based model, and approximately
6 min for the short-term tendency-based model. The long-term 0%
tendency-based model is slightly better than the combined-
term tendency-based model at the optimal solution to the boundary -20%
of the running state, but both of them are significantly better than
Short-term tendency
the short-term tendency-based model, judged by the net improved -40%
Combined-term tendency
estimation accuracy and number of trips optimized. Long-term tendency
-60%
2 46 90 134 178
Model Evaluation
(c) Trip No.
With the boundary of the running state set at 4.00 min, estimation
on all trips was conducted to show the degree of improvement
Fig. 10. Comparison of the estimation accuracy between models with
of the tendency-based model to the historical data–based model
calibrated boundary: (a) MAE among models on different trips;
(as shown in Fig. 10).
(b) relative MAE of tendency-based models on different trips; (c) rela-
The improvement of the tendency-based model was mainly cen-
tive percentage of MAE of tendency-based models on different trips
tralized around the peak hours (from 7:00 to 10:00 and from 15:00
to 18:00), but also companied with failures in improvement. The
percentage of improvement can reach up to 40%, but that of
deterioration is at the same scale as well [as shown in Fig. 10(c)]. explanation for this phenomenon is that the running state is not
Fortunately, the worsened trips with a high percentage are mostly at completely stable, and buses are still able to transfer from the clos-
low MAE values. ing or departing state to the stable state by the occasional variation.
The failures in improvement of the tendency-based model de- Additionally, the short-term tendency-based model is much slower
crease with the increase of the maximum absolute headway bias. to be steady enough, and the performance is less competitive
The long-term and the combined-term tendency-based model will as well.
not fail at all in the improvement to the historical data–based model
on estimation accuracy, but the number of trips improved is limited
when the maximum absolute headway bias is larger than approx- Summary, Discussion, and Conclusion
imately 8.38 min (as shown in Fig. 11). However, when the maxi-
mum absolute headway bias is between 4.00 to 8.38 min, Focusing on the phenomenon that headway bias tends to be am-
both gains and losses in improvement are possible; a reasonable plified as buses travel on the route, a tendency-based model for link
-10 References
-20
Long-term tendency Abkowitz, M., and Engelstein, I. (1982). “Temporal and spatial dimensions
Short-term tendency
Downloaded from ascelibrary.org by Sree Vidyaniethan Engineering College on 11/09/13. Copyright ASCE. For personal use only; all rights reserved.