TL;DR
Predicting a single Estimated Time of Arrival (ETA) hides the messy reality of logistics, where operational costs explode with unexpected delays and tail risks. PATH-HAZ predicts the entire probability distribution of travel times across multi-hop networks while mathematically guaranteeing no "time-travel" paradoxes, pinpointing exactly when delays build up, where along the route they originate, and what systemic factors (like a lingering afternoon storm) are behind them.
What Problem Does This Paper Address?
Suppose you’re shipping a package across a network of warehouses. A point estimate ("arrives at 2:00 PM") doesn't tell you if there’s a 30% chance it gets stuck in a loading bay until midnight. Predicting full Travel Time Distributions (TTDs) helps quantify risk, but accuracy at the final destination isn’t enough for real-world dispatching. Planners need structural explainability across hops.
Existing temporal graph neural networks lack the inductive biases to guarantee sensible multi-step predictions. Left unconstrained, neural models can accidentally predict that a truck arrives at warehouse B before leaving warehouse A, assume rigid bell-curve delays when real-world delays have fat, bimodal tails, or anchor the entire trip's forecast solely to the weather at 6:00 AM departure.
To make predictions actionable, the authors formalize five structural properties a model must satisfy simultaneously:
- Temporal Monotonicity (When): Strictly zero probability of negative travel or dwell times.
- Distributional Flexibility (When): Capacity to capture messy, multi-modal, long-tailed distributions without restrictive Gaussian assumptions.
- Exact Probability Composition (Where): Sound intermediate arrival distributions at every warehouse and road segment along the way.
- Prefix Equivariance (Where): If two routes share an initial path, a delay in that shared prefix propagates identically to both branches.
- Non-Markov Context (What): Accounting for hidden confounders—like regional storms or congestion waves—that couple non-adjacent steps over time.
Methods
The authors introduce PATH-HAZ, a discrete-time framework over a time grid of $M$ bins that satisfies all five guarantees by construction. It breaks a multi-hop route into alternating node visits (warehouse dwell times) and edge traversals (driving).
Here is how the standard and novel pieces fit together:
- Graph-then-Time Retrieval: A standard Graph Neural Network (GNN) encodes historical network snapshots independently once. What's new is how they are retrieved: instead of looking only at departure time $t_0$, cross-attention queries historical snapshots for every candidate arrival bin at the next node, matching calendar context (time of day/week) to proxy unobserved future confounders.
- Discrete Hazard Decoding: Rather than outputting a mean and variance, an MLP predicts discrete hazard rates—the probability a step finishes in time bin $k$, given it hasn't finished yet. Multiplying survival probabilities with hazards yields a valid, unconstrained probability mass function (PMF) that physically cannot assign probability mass before the step's start time.
- Dynamic Programming & Path State: To move to the next hop, PATH-HAZ marginalizes over the entire arrival distribution of the previous step via the law of total probability—an $O(M^2)$ matrix-vector operation, not a simple convolution, because step duration depends on when you arrive. Meanwhile, an expected path state vector accumulates embeddings monotonically along the prefix, preserving non-Markov history without peeking at future hops.
Datasets
PATH-HAZ is evaluated on three temporal-split datasets (50K transits per split for Logistics; 50K total transits each for HSR and AVL):
- Logistics (Newly Introduced): Released with the paper's code, this is an 8-week high-fidelity multimodal supply chain simulation across 58 warehouses and 1,258 directed edges. Driven by real-world weather and traffic patterns, trips average 28.8 hours with huge dispersion ($\pm 21.5$ hours).
- HSR: Real-world Chinese high-speed rail journeys across 720 stations and 3,407 links (tighter timescale; ~32.3 min per link).
- AVL: Real-world stop-level automatic vehicle location records from Toronto Transit Commission buses, converted into a temporal graph.
Key Insights and Ideas
- Averaging early blinds you to tail risk: Imagine a truck arrives at a warehouse at either 10:00 AM (clear) or 4:00 PM (thunderstorm) with 50/50 odds. Collapsing that bimodal arrival to its 1:00 PM mean evaluates conditions during clear skies and completely misses the storm! Marginalizing over full distributions preserves both branches; ablating this drops 80%-interval coverage from 73.7% down to 22.3%.
- Standard baselines "time-travel": Without structural monotonicity, tested baselines predicted arriving at a downstream node before an upstream one on 1.4% to 19.1% of multi-hop test trips (averaging 198 minutes of negative travel time on the worst offender). PATH-HAZ guarantees 0% violations.
- Attention finds causal proxies: In synthetic tests with known hidden confounders, PATH-HAZ's arrival-conditioned attention placed 97% of its weight on the exact minimal set of historical snapshots needed to infer the confounder, regardless of how old those snapshots were.
Key Results
PATH-HAZ outperforms four point-estimate and six probabilistic baselines across every metric on all three datasets:
- High-Speed Rail (HSR): Achieves 19.3% lower RMSE (19.6 min) than the best point-estimate baseline (HierETA) and 56% lower CRPS (7.3 min, measuring distributional accuracy) than the strongest probabilistic baseline (GMDNet).
- Logistics: Cuts RMSE by 21.0 minutes over GMDNet (to 499.4 min) and slashes Expected Calibration Error (ECE) by 61% (down to 0.007).
- Bus Transit (AVL): Improves RMSE by 4.5% and CRPS by 4.1% over the top baselines.
- Mid-Route Rerouting: Re-predicting from the current node after an en-route detour reduces RMSE by 36% compared to keeping the initial forecast, beating specialized en-route baselines.
Limitations and Future Work
- Quadratic Grid Cost: Exact probability composition scales as $O(KM^2)$ for $K$ nodes and $M$ time bins. While moderate grid sizes ($M=100$) saturate accuracy and offline key-indexing keeps snapshot retrieval under 8 ms, ultra-fine time grids over massive horizons will increase compute costs.
- Fixed Paths & Topology: The route must be known at prediction time (rerouting requires triggering a fresh forward pass from the current node), and the model requires an explicit graph topology—meaning raw GPS traces need map-matching before use. Future work points toward relaxing these constraints and scaling dynamic routing integration.
Summary updated