NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On Predicting Traveling Times in Scheduled Transportation (Extended Abstract)

Avigdor Gal, Avishai Mandelbaum, François Schnitzler, Arik Senderovich, Matthias WeidlichMUD @ ICML 2015

Introduction

Predicting exactly when a bus will arrive at a specific stop is a notorious challenge in urban planning. Passengers require accurate "online" predictions—updates for a journey already in progress—but traffic is inherently volatile.

Most existing predictive models fall into two distinct camps: historical models that learn patterns over months but miss sudden traffic jams, and real-time models that react to current conditions but lack long-term "memory." By combining the "snapshot principle" from Queueing Theory with modern Machine Learning (ML) ensembles, researchers have developed a hybrid approach to bridge this gap. The core innovation lies in treating a bus route as a sequence of independent segments and using the most recent bus's performance as a baseline for boosting regression tree models.

Methodology: Journey Segmentation and Hybrid Modeling

The researchers propose a two-pronged approach grounded in journey segmentation. Instead of predicting the time for a whole trip at once, they break the route into discrete segments between stops (from $\omega_i$ to $\omega_{i+1}$).

Journey segmentation model showing a bus traveling between stops $\omega_i$ and $\omega_{i+1}$.

This segmentation enables a three-step predictive framework:

  1. The Snapshot Predictor (Queueing Theory): The model utilizes the "Last-Bus-to-Travel-Segment" (LBTS) predictor. This non-learning method relies on the snapshot principle: a bus entering a segment will likely experience the same travel time as the bus that just finished that same segment.
  2. Machine Learning (Regression Trees): The problem is formalized as a regression task, incorporating features like the day of the week, time of day, and the time interval since the last bus. The team tested several ensemble methods, including Random Forests and AdaBoost.
  3. The Hybrid Approach: The paper's primary contribution is modifying boosting algorithms to use the snapshot predictor as the initial "base" model. The ML component then learns to correct the errors made by the snapshot predictor, effectively fusing real-time physical conditions with historical patterns.

Dataset

The models were evaluated using real-world data from the Dublin, Ireland bus network. The dataset includes GPS locations sampled at intervals ranging from 5 to 300 seconds. Dublin's complex urban layout and varying traffic conditions provided a rigorous testbed for the predictive models.

Key Insights

  • The Independence Assumption: The authors assume that travel time for a segment is independent of the specific journey pattern. This allows the model to use data from any bus line traversing a specific segment to predict the time for any other line on that same segment, vastly increasing the pool of usable real-time data.
  • Snapshot Robustness: Intuitively, a "snapshot" (using the last bus's time) might only seem useful for the immediate next stop. However, the snapshot predictor does not deteriorate significantly for longer trips, suggesting that traffic conditions possess a "temporal stickiness" that persists across multiple segments.
  • Boosting with a Head Start: By forcing the boosting algorithm to start with the snapshot prediction rather than a random guess or a simple mean, the model converges on higher accuracy much faster and maintains better relevance to current traffic conditions.

Results

  • Hybrid Superiority: The combined models (Snapshot + ML) consistently outperformed both standalone snapshot predictors and pure ML models that ignored the most recent bus's data.
  • Stable Relative Error: While the absolute error (in minutes) naturally increases as a journey gets longer, the relative error remains stable. This indicates the predictors are just as reliable for a 2-stop trip as they are for a 20-stop trip.
  • Counter-Intuitive Finding: The snapshot predictor did not lose precision for journeys with lower temporal proximity to the current bus, contradicting the initial hypothesis that it would only be effective for immediate predictions.

Limitations and Future Work

As an extended abstract, the paper leaves room for future exploration:

  • Specific Metrics: While the hybrid model is noted as superior, specific numerical improvements (e.g., Mean Absolute Error reductions) are not fully detailed.
  • Segment Dependencies: The model assumes segments are independent. In reality, a delay in one segment often correlates with a delay in the next (the "spillover effect"). Future work could involve modeling these spatial correlations.
  • Extreme Events: The research does not explicitly address how the model handles "black swan" events, such as major accidents or sudden road closures, which deviate entirely from both historical data and the "last bus" snapshot.

Summary updated

BibTeX
@inproceedings{gal2015predicting,
  author = {Avigdor Gal and Avishai Mandelbaum and François Schnitzler and Arik Senderovich and Matthias Weidlich},
  title = {{On Predicting Traveling Times in Scheduled Transportation (Extended Abstract)}},
  booktitle = {MUD @ ICML},
  year = {2015},
  url = {https://openreview.net/forum?id=B1EoYsbdZS},
}
Figure