DutyTTE: Deciphering Uncertainty in Origin-Destination Travel Time Estimation

Xiaowei Mao, Yan Lin, Shengnan Guo, Yubin Chen, Xingyu Xian, Haomin Wen, Qisen Xu, Youfang Lin, Huaiyu Wan · DOI

Abstract

Accurate Origin-Destination (OD) travel time estimation (TTE) is vital for navigation, ride-hailing, and logistics. However, existing methods often provide single-point estimates that fail to account for the inherent stochasticity of traffic. We present DutyTTE, a novel framework that generates reliable confidence intervals by integrating Deep Reinforcement Learning (DRL) for path prediction with a Mixture of Experts (MoE) mechanism for uncertainty quantification. By optimizing for global path alignment and contextual segment volatility, DutyTTE significantly improves both estimation accuracy and the reliability of predicted time windows.

What Problem Does This Paper Address?

Most modern navigation systems provide a "point estimate" for travel time—for instance, predicting a trip will take exactly 22 minutes. In reality, traffic conditions are highly variable; that same trip might take 18 minutes in light traffic or 35 minutes if a bottleneck occurs. For logistics and ride-hailing services, knowing the uncertainty (the range of possible arrival times) is as important as the average estimate.

Quantifying this uncertainty involves two major challenges:

  1. Path Alignment: Travel time is fundamentally dependent on the route taken. If a model predicts an incorrect path due to "error accumulation" in standard autoregressive models, the resulting time estimate will be flawed.
  2. Contextual Volatility: Road segments do not have static travel times. Their distributions shift based on the time of day, day of the week, and local traffic events. Aggregating these varying uncertainties across a multi-segment trip is a complex mathematical task.

Methods

DutyTTE addresses these hurdles through a multi-stage architecture that combines path prediction with specialized uncertainty modeling.

The DutyTTE framework architecture.

DRL-based Path Prediction

Instead of local, next-step supervised learning, DutyTTE treats path generation as a Reinforcement Learning problem. It employs Self-Critical Sequence Training (SCST), where the agent receives rewards based on global alignment metrics: Longest Common Subsequence (LCS) and Dynamic Time Warping (DTW). This approach encourages the model to generate paths that are globally similar to actual historical trajectories, mitigating the risk of drifting into unrealistic routes.

MoE-guided Uncertainty Quantification (MoEUQ)

To capture the diverse "personalities" of road segments, the framework uses a Mixture of Experts (MoE). A gating network analyzes segment features—such as historical time distributions, road embeddings, and departure times—to route data to specialized "experts." This allows the model to apply different mathematical treatments to high-variance rush-hour traffic versus more predictable off-peak conditions.

MIS Loss

The model is optimized using the Mean Interval Score (MIS). This loss function strikes a balance by penalizing intervals that are too wide (which lack utility) or too narrow (which fail to capture the actual travel time), ensuring the predicted "time windows" are both tight and accurate.

Datasets and Key Results

The researchers evaluated DutyTTE using two massive real-world taxi trajectory datasets from Didi Chuxing:

  • Chengdu: ~1.6 million trajectories.
  • Xi’an: ~1.9 million trajectories.

Performance Highlights

  • Superior Accuracy: DutyTTE achieved a 14.39% to 15.65% improvement in Mean Absolute Percentage Error (MAPE) over competitive baselines like T-WDR and MWSL-TTE.
  • Reliable Intervals: The model demonstrated a Prediction Interval Coverage Probability (PICP) of over 91% for a 90% confidence level. This indicates that the model's predicted windows are highly reliable in real-world scenarios.
  • Path Fidelity: Alignment metrics (DTW/LCS) improved by 7.48% to 12.50%, proving that the DRL approach successfully reduces route-finding errors.

Key Insights and Future Work

The success of DutyTTE stems from prioritizing global rewards over local likelihood. By focusing on the final destination and the entire path's alignment, the model avoids the pitfalls of traditional step-by-step prediction. Furthermore, the use of MoE acknowledges that a "one-size-fits-all" uncertainty parameter is insufficient for complex urban road networks.

Future research could enhance DutyTTE by incorporating real-time external signals, such as weather conditions, traffic accidents, or major social events, which are currently not fully captured by historical trajectory data. Additionally, optimizing the training complexity of the DRL-MoE pipeline remains an area for further refinement.

Summary updated

BibTeX
@inproceedings{mao2025dutytte,
  author = {Xiaowei Mao and Yan Lin and Shengnan Guo and Yubin Chen and Xingyu Xian and Haomin Wen and Qisen Xu and Youfang Lin and Huaiyu Wan},
  title = {{DutyTTE: Deciphering Uncertainty in Origin-Destination Travel Time Estimation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i12.33350},
}
Figure