When, Where, What: Structural Guarantees for Travel Time Prediction on Temporal Graphs
Abstract
Predicting full travel time distributions (TTDs) along multi-hop paths, rather than point estimates, matters in logistics and transit, where operational costs scale with the variance and tail risk of delays. Yet distributional accuracy alone does not support downstream planning such as dispatching and delivery promises. Planners also need to know when delays accumulate, where along the path they arise, and what systemic factors are associated with them. We formalize five structural properties to answer these questions. Explaining when requires (1) ordering, zero probability of negative traversal times at every step, and (2) flexibility, the capacity to represent non-Gaussian, long-tailed step distributions. Explaining where requires (3) composition, sound marginals and step-wise conditionals at every intermediate step, and (4) prefix equivariance, consistent propagation of delays in a shared prefix to every branch that follows it. Explaining what requires (5) non-Markov context, because confounders such as weather fronts or congestion waves couple non-adjacent steps. Existing temporal graph learning methods do not guarantee these properties jointly. We propose PATH-HAZ, a discrete-time hazard model that satisfies all five by construction through a path state carrying the start time and accumulated node embeddings forward along the path. Discrete hazard rates parameterize each step-conditional PMF given the step type, path state, and realized step start time, yielding (1) and (2). Marginalizing each conditional over the previous step's arrival distribution, rather than a point estimate, lets dynamic programming compose path-level PMFs, yielding (3) and (4). A GNN encodes each historical snapshot once. Cross-attention then retrieves, per node and candidate arrival time rather than the departure time alone, the snapshots whose conditions proxy hidden confounders, yielding (5). On simulated logistics, high-speed rail, and bus transit data, PATH-HAZ outperforms point-estimate baselines (up to 19.3\% lower RMSE) and probabilistic baselines (up to 56\% lower CRPS), while explaining when and where delays arise and what factors are associated with them.