[Paper Review] Origin-Destination Travel Time Oracle for Map-based Services
This paper proposes DOT, a two-stage framework for building an Origin-Destination Travel Time Oracle (ODT-Oracle) that leverages historical trajectories to estimate travel times accurately and explainably. It uses a conditioned Pixelated Trajectories (PiT) denoiser to infer representative trip paths while filtering outliers, followed by a Masked Vision Transformer (MViT) for precise travel time estimation, outperforming baselines in accuracy, scalability, and explainability on real-world datasets.
Given an origin (O), a destination (D), and a departure time (T), an Origin-Destination (OD) travel time oracle~(ODT-Oracle) returns an estimate of the time it takes to travel from O to D when departing at T. ODT-Oracles serve important purposes in map-based services. To enable the construction of such oracles, we provide a travel-time estimation (TTE) solution that leverages historical trajectories to estimate time-varying travel times for OD pairs. The problem is complicated by the fact that multiple historical trajectories with different travel times may connect an OD pair, while trajectories may vary from one another. To solve the problem, it is crucial to remove outlier trajectories when doing travel time estimation for future queries. We propose a novel, two-stage framework called Diffusion-based Origin-destination Travel Time Estimation (DOT), that solves the problem. First, DOT employs a conditioned Pixelated Trajectories (PiT) denoiser that enables building a diffusion-based PiT inference process by learning correlations between OD pairs and historical trajectories. Specifically, given an OD pair and a departure time, we aim to infer a PiT. Next, DOT encompasses a Masked Vision Transformer~(MViT) that effectively and efficiently estimates a travel time based on the inferred PiT. We report on extensive experiments on two real-world datasets that offer evidence that DOT is capable of outperforming baseline methods in terms of accuracy, scalability, and explainability.
Motivation & Objective
- To address the challenge of inaccurate travel time estimation in map-based services due to outlier trajectories for the same OD pair and departure time.
- To improve the accuracy and explainability of ODT-Oracles by modeling spatial-temporal correlations in historical trajectories.
- To develop a scalable framework that infers the most probable travel path (PiT) and estimates travel time without requiring detailed path information.
- To reduce the impact of noisy or outlier trajectories on travel time estimation by learning representative trajectory patterns.
- To provide a model that offers both high accuracy and interpretability through visualizable, inferred PiT representations.
Proposed method
- A conditioned Pixelated Trajectories (PiT) denoiser is proposed to infer a representative PiT (a spatial-temporal representation of a trip) from an OD pair and departure time, learning correlations between historical trajectories and OD inputs.
- The PiT denoiser operates as a diffusion-based model that progressively denoises a noisy PiT to reconstruct a plausible, outlier-resistant trajectory representation.
- The inferred PiT is then processed by a Masked Vision Transformer (MViT) that models global spatial and temporal dependencies in the PiT to estimate the final travel time.
- The MViT is trained end-to-end to predict travel time based on the spatial layout and time offsets encoded in the inferred PiT.
- The framework is trained and evaluated on two real-world trajectory datasets, with performance measured via RMSE, MAE, and route inference metrics (precision, recall, F1).
- The method explicitly handles temporal variation by learning how travel patterns differ across departure times, enabling time-aware travel time estimation.
Experimental results
Research questions
- RQ1Can a diffusion-based model effectively infer a representative travel path (PiT) from an OD pair and departure time while filtering out outlier trajectories?
- RQ2How accurately can the inferred PiT capture the spatial and temporal patterns of real-world travel behavior across different times of day?
- RQ3To what extent does the MViT component improve travel time estimation accuracy compared to baseline models using the same PiT input?
- RQ4Can the proposed framework achieve superior performance in accuracy, scalability, and explainability compared to existing ODT-Oracle methods?
- RQ5How well does the model generalize to unseen OD pairs and departure times, particularly when historical trajectories vary significantly?
Key findings
- DOT achieves state-of-the-art performance with an F1 score of 88.280% on the Chengdu dataset and 88.584% on the Harbin dataset in route inference, significantly outperforming Dijkstra (42.065%) and DeepST (56.911%) in the same task.
- The RMSE for travel time estimation is substantially lower than baselines, with the model achieving high accuracy in both datasets, indicating robustness to trajectory variation.
- The PiT inference stage effectively removes outlier trajectories: in a case study, the model correctly inferred a clean PiT even when one of four trajectories was significantly longer (35 min vs. 15 min), avoiding contamination of the estimate.
- The inferred PiTs closely match ground truth travel times across different times of day, with Figure 12 showing that the model captures time-varying traffic conditions with high fidelity.
- The MViT component enables efficient and accurate modeling of global spatial-temporal dependencies in the PiT, leading to superior travel time predictions compared to path-based or averaging-based methods.
- The explainability of the model is enhanced by the visualizable PiT, which provides an intuitive, interpretable representation of the most probable travel path for a given query.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.