Models of how drivers pick routes run into two linked problems. First, the number of possible routes between two points grows exponentially with network size. Second, routes that share roads are not independent alternatives, so a standard logit model counts a shared highway corridor several times and sends too much traffic onto it. The established fix samples a manageable set of plausible routes, corrects for how that set was sampled, and adds a term for overlap between routes. This fix was built for a network whose travel times never change. In a real city, travel times shift by the hour and after incidents. When they do, the sampled routes, the sampling correction, and the overlap measure all go stale. Today the only principled response is to discard the sample and draw a new one for every network state.
We propose a different approach. Draw routes from a recursive logit model, a route choice model that treats a trip as a sequence of link-by-link decisions. Its route probabilities can be recomputed exactly under any set of travel times with one sparse linear solve. Draws made under earlier travel times can then be pooled with a few fresh ones. The pool is corrected with a mixture importance weight that stays exact, and the overlap measure is recomputed from expected link flows rather than from a list of routes. The result is a route choice model that captures correlated corridors and tracks a drifting network without enumerating routes and without resampling from scratch.
Core Claim
The sampling-of-alternatives correction of Sampling of alternatives for route choice modeling adds $\ln(k_{in}/q(i))$ to the utility of route $i$, where $q(i)$ is the probability that the route generator produces $i$ and $k_{in}$ is how often it was drawn for traveler $n$. That paper, and its companions Importance sampling of alternatives for route choice models and Choice set generation for route choice models using a sampling approach, use a destination-biased random walk with fixed shape parameters and fixed link costs.
The research file frames the resulting gap as bias: a correction computed under old costs mis-penalizes routes after a shift. We think that framing is partly wrong, and the reason sets our design. The correction is valid for any sampling protocol whose probabilities are known, so draws made under old costs, corrected with the old $q$, still give consistent estimates. What actually breaks under drift is threefold. Coverage fails, because newly attractive detours are almost never in a stale sample. Prediction fails, because a sampled model forecasting flows needs a choice set that represents the current network. And the overlap measure fails: the Extended Path Size of Frejinger et al. is computed on a route set that no longer reflects which corridors are in use. Our method targets these three failures.
The mechanism has two parts. For the first, let $P_s(a\mid k)$ be the probability of taking link $a$ out of link $k$ under a recursive logit model evaluated at time slice $s$, obtained from the linear system $z = Mz + b$ described in A tutorial on recursive models for analyzing and predicting path choice behavior. The probability of generating route $i$ at slice $s$ is then the product $q_s(i) = \prod_{(k,a)\in i} P_s(a\mid k)$. This is exact, and it can be re-evaluated for any stored slice at no extra enumeration cost.
For the second, suppose that at the current slice $t$ each draw first picks a source slice $s$ with probability $\pi_s$ and then samples a route from $q_s$. This is true mixture sampling. Old draws are reused by recording them as realizations of this mixture, and a mandatory share of fresh draws is always included at $s=t$. The corrected utility is then
$$V^{\text{corr}}_{int} = V_{int} + \ln\frac{k_{in}}{\sum_{s \le t} \pi_s\, q_s(i)},$$
where $V_{int}$ is the modeled utility of route $i$ for traveler $n$ at slice $t$. This is the balance-heuristic weight from multiple importance sampling, applied to the sampling-of-alternatives correction.
Overlap is handled by a path-level model estimated on the corrected set. It includes subnetwork error components in the style of Capturing Correlation in Route Choice Models using Subnetworks. It also includes an overlap attribute built from recursive logit expected link flows at slice $t$, which replaces the Extended Path Size and can be recomputed without any route list.
Research Program
The first task is theoretical and short. We will verify that the mixture correction satisfies the conditions needed for consistent estimation under mixture sampling with the chosen route added. We will also bound how the variance of the estimator grows with the divergence between stale and current proposals, so that $\pi_s$ can be set by an effective-sample-size rule. We will then handle the fact that recursive logit proposals can generate cycles. There are two options: keep cyclic routes in the universal set, or reject them and renormalize $q_s$ by the probability of acyclic draws. We will test both.
The second task is the model itself. Its utilities have time-varying travel time and a small number of regime-specific coefficients. This loosely follows A Two-Stage Algorithm for Origin-Destination Matrices Estimation Considering Dynamic Dispersion Parameter for Route Choice, which let drivers' sensitivity to travel time vary over time but kept an ordinary logit with the overlap problem. Error components are shared across the paths that use each subnetwork, and the model is estimated by simulated maximum likelihood on the corrected sets.
The third task is engineering. We will store the recursive logit solution for each slice, cache route draws with their link sequences, and make re-evaluation of $q_s(i)$ vectorized.
The recursive logit is our proposal, not our final model, for a specific reason. The tutorial states that recursive models are limited to link-additive utilities, and that non-additive features require expanding the state space. The subnetwork correlations that fit Borlänge data better than link-level corrections span links that are not adjacent, which is exactly what a Markovian model cannot represent without that expansion. Sampling from the recursive logit gives us its cheap, exact probabilities while letting the final model carry path-level structure.
Baselines
The naive reference point is resampling from scratch at every slice with the Kumaraswamy-biased random walk and the Extended Path Size of Sampling of alternatives for route choice modeling, with the same total number of route draws our method uses. A second naive point reuses the first slice's sample with its original correction and never refreshes it. It isolates the coverage failure we claim matters. The only reported number for this family is from the 38-node synthetic network. There, the uncorrected model estimated the scale parameter as low as 0.14 against a true value of 1.0, while the corrected model with universal-set Path Size recovered all parameters. We expect every corrected variant to match that recovery at the first slice; the question is what happens after shifts.
The strongest competitor is a time-sliced recursive logit with the Link Size attribute and its nested extension from A nested recursive logit model for route choice analysis. That paper models overlap through link-specific error scales plus a Link Size attribute and needs no sampling at all. It reports that the nested model with Link Size gave the best in-sample fit and the lowest cross-validated log-likelihood loss on Borlänge, but no reported numeric value for this loss was found on Lacuna. We will re-solve both models at every slice with the same travel-time inputs and the same held-out trips, and give them the same hyperparameter search budget. Beating them means lower held-out log-likelihood loss and lower link-flow error after shifts, at comparable wall-clock cost. Any win must also be traced to the path-level error components rather than to the sampling machinery.
For aggregate flows we include a black-box forecaster. TESTAM: A Time-Enhanced Spatio-Temporal Attention Model with Mixture of Experts handles abrupt traffic changes by routing between temporal, static-graph, and dynamic-graph experts. It is reported to beat 13 baselines on METR-LA, PEMS-BAY and EXPY-TKY, but no reported MAE value was found on Lacuna. We also include a simpler forecaster wrapped with Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift, which normalizes each input window's mean and variance and restores them on output. Its reported gain is an MSE drop from 6.408 to 0.471 for N-BEATS on ETTh2 at horizon 960. These are trained on the same link-level series. On the Seattle corridor, the reference is Wang et al.'s reported 34.7% reduction in link-flow RMSE and a reduction of OD error from 3426.9 to 23.6.
Three ablations isolate the key ingredient. The first replaces the mixture weight with the current-slice $q_t$ alone. The second swaps the recursive logit proposal for the Kumaraswamy walk. The third replaces flow-based overlap with the Extended Path Size.
Why not just…?
Why not just use time-sliced recursive logit and skip sampling entirely? This is the real threat. Re-solving a linear system per slice is cheap, and the Link Size attribute already captures some overlap. The file's evidence that it falls short is indirect. The tutorial concedes the link-additivity limit, and the subnetwork paper shows that non-local error components beat local link corrections on Borlänge, but under static conditions. If the nested recursive logit with Link Size matches our model on held-out likelihood after shifts, including on synthetic data generated with non-adjacent subnetwork correlation, we will conclude that path-level structure is not worth its cost. The synthetic experiment is built to make this outcome observable, not hidden.
Why not just resample from scratch at every slice? Resampling is valid and simple, and with an unlimited draw budget it should be at least as good as our method. The argument for reuse is efficiency. Under a fixed budget per slice, pooling multiplies the effective sample size whenever consecutive slices are similar, which is the normal case for recurring congestion. The matched-budget comparison measures this directly across shift magnitudes. We expect the advantage to vanish under abrupt shocks, where the effective-sample-size rule should shift weight to fresh draws automatically. Showing that it does so is part of the test.
Why not just forecast link flows with a shift-robust deep model? For short-horizon flow forecasting on recurring patterns, TESTAM or a RevIN-wrapped forecaster may well win, and we will report it if so. These models have no travelers, choice sets or route substitution. They cannot answer counterfactuals such as a closed corridor or a new link. RevIN also assumes the look-back window's statistics represent the forecast horizon, which fails exactly at shocks. Our claim is limited to held-out route choices and to counterfactual flows, where black-box forecasters have no mechanism.
Proposed Experiments
The ground-truth study uses two synthetic settings. The first is the 38-node, 64-link network with its exact universal set of 170 routes. The second is the Borlänge network of more than 7,000 links, with choices simulated from a known error-component model. That model has five subnetwork components defined on the R.50 and R.70 corridors. Travel times follow time-varying profiles: smooth peak cycles, capacity drops, and sudden closures, with shapes taken from EXPY-TKY speed series. On the small network, exact enumeration gives true choice probabilities at every slice. We measure parameter recovery (t-tests against true values), bias in the scale parameter, KL divergence between predicted and true route distributions, and effective sample size as a function of shift magnitude.
The real-data study uses the Borlänge GPS trips: 1,832 trips over 1,420 OD pairs. Held-out log-likelihood loss is compared against the recursive logit, recursive logit with Link Size, and the nested variant, under the paper's static travel times. We then add injected travel-time perturbations to test predictive robustness. We do not claim the Borlänge data itself contains temporal drift; the file describes it as uncongested and static. The Seattle SHRP 2 corridor provides the only real dynamic test in the file. There we plug each route choice model into Wang et al.'s two-stage OD estimation loop and compare link-flow RMSE against their reported figures and against the black-box forecasters.
The decisive checks are three. First, on synthetic data with non-adjacent subnetwork correlation, our model must beat the nested recursive logit with Link Size on post-shift held-out likelihood; otherwise the path-level layer is unjustified. Second, at a matched draw budget, the mixture-corrected pool must match or beat resampling from scratch in KL divergence and parameter recovery across shift sizes. It must also fall back to fresh draws on shocks without losing accuracy. Third, flow-based overlap must track the true correlation structure after a corridor closure better than the Extended Path Size. If only the second check passes, the contribution narrows to a cheaper way of maintaining sampled choice sets, and we would report that honestly.
References
- Sampling of alternatives for route choice modeling
- Importance sampling of alternatives for route choice models
- Choice set generation for route choice models using a sampling approach
- A tutorial on recursive models for analyzing and predicting path choice behavior
- Capturing Correlation in Route Choice Models using Subnetworks
- A Two-Stage Algorithm for Origin-Destination Matrices Estimation Considering Dynamic Dispersion Parameter for Route Choice
- A nested recursive logit model for route choice analysis
- TESTAM: A Time-Enhanced Spatio-Temporal Attention Model with Mixture of Experts
- Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift