NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Forecast-Stratified Switchback Trials for Open-Road Automated Vehicle Control

Fleets of automated vehicles can smooth highway "phantom jams", the stop-and-go waves that form without any obvious cause. Proving that they do so on a real highway is hard. The largest field test to date ran 100 automated vehicles on Interstate 24. Its evidence comes from comparing periods when the controller was active against baseline days or inactive periods (Traffic Control via Connected and Automated Vehicles (CAVs): An Open-Road Field Experiment with 100 CAVs, Enabling Mixed Autonomy Traffic Control). The fuel savings of 10% to 24% it cites come from simulation, not from a randomized field estimate. With only about 3% of vehicles under control, the real effect on fuel or speed is likely small. It is also buried under large swings in incoming traffic volume, weather and incidents. Two windows can differ more because one had 15% more inflow than because the controller was switched on.

We propose a trial design for exactly this setting. The whole corridor is treated as one experimental unit and switched between "controller on" and "controller off" in time windows, a design known as a switchback. Its assignment is then steered by a short-horizon forecast of the traffic that is about to arrive. Windows are grouped into strata by forecast upstream inflow and density. Within each stratum, assignment alternates between arms from a random starting arm, so high-demand and low-demand windows are spread evenly across arms by construction. Our claim is that this cuts the variance of the estimated treatment effect substantially, and more than linear post-hoc adjustment. The reason is that traffic outcomes respond nonlinearly to demand: near capacity, flow breaks down sharply. Because the assignment is randomized and known, the design still supports exact randomization-based confidence intervals.

Core Claim and What Is New

Two lines of work supply the ingredients, and neither covers this setting. Covariate Ordered Systematic Sampling (COSS) orders experimental units by a pre-experiment covariate and alternates them into arms (Covariate Ordered Systematic Sampling as an Improvement to Randomized Controlled Trials). It reported a 65% reduction in standard error when the covariate-outcome relationship was linear. When the relationship was quadratic, it reported a 70% reduction, while the regression adjustment CUPED gave no substantial gain over an unadjusted trial. COSS is the method we reuse. It assumes, however, that all units and their covariates are known before assignment, that units are independent, and that there is a single ordering covariate. On a highway, windows arrive one after another, the covariate is only a forecast available minutes ahead, and the controller's effect lingers after it is switched off.

Randomization Inference for Peer Effects (Randomization Inference for Peer Effects) shows how to keep design-based inference valid when units interfere, provided interference stays within defined clusters. It motivates our choice of unit: the corridor-window is the cluster, so spatial spillover between automated and human drivers stays inside the unit by construction. That work studies static roommate groups. It does not address interference that carries forward in time.

The new piece is an online, forecast-stratified alternation rule with explicit washout periods. It comes with a variance analysis that tells a field team how to trade three things against each other: window length, washout length, and stratum granularity.

Research Program

The design. The corridor-day is divided into decision points. At each point a forecast $\hat{X}_t$ of upstream inflow and density over the next window is computed from upstream detectors or third-party speed feeds. The forecast is binned into one of a few strata. Each stratum keeps its own alternation sequence, which starts from a fair coin flip and then alternates strictly, the next window in that stratum taking the arm opposite to the previous one. The randomness lives in the per-stratum starting coins, which is what keeps the design valid. Each window begins with a washout segment that is excluded from the outcome. Its length is set from the time a stop-and-go wave takes to travel through the measured section, so that waves created or damped under the previous arm do not contaminate the next measurement.

The estimator. The estimate is the stratum-weighted difference in means,

$$\hat{\tau} = \sum_{s} w_s \left(\bar{Y}_{s,1} - \bar{Y}_{s,0}\right),$$

where $s$ indexes forecast strata, $w_s$ is the share of windows in stratum $s$, and $\bar{Y}_{s,1}$ and $\bar{Y}_{s,0}$ are mean window outcomes under controller-on and controller-off in that stratum. The primary outcome is estimated fuel per vehicle-mile for all vehicles. Secondary outcomes are speed variance and the frequency of hard braking. Inference uses the randomization distribution generated by re-drawing the per-stratum starting coins.

What the analysis delivers. It should show three things:

  1. how the residual variance within strata depends on forecast quality;
  2. where alternation's small systematic bias, a property COSS also reports, matters at realistic numbers of windows;
  3. how many effective windows a 5-day deployment yields once washout is subtracted.

Intuitively, the gain from stratifying scales with how much of the window-to-window variance the forecast explains, including its nonlinear part. Linear adjustment only removes the linear part.

Baselines

The naive reference point is the block comparison used on I-24 (Traffic Control via Connected and Automated Vehicles (CAVs): An Open-Road Field Experiment with 100 CAVs): controller-active days or peak periods contrasted with baseline periods. It is the current practice. We will run it on the same simulated days and real data with the same total controller-on time, and measure its bias, which should be the main failure.

The second baseline is an unconstrained Bernoulli switchback. Each window is assigned by an independent coin flip, with the same window and washout lengths as our design, so only the assignment rule differs.

The third is a switchback blocked by time of day, the stratification a practitioner would choose without any forecast. It is a strong competitor because time of day is cheap and captures much of the demand cycle.

The fourth, and the strongest existing method, is an unconstrained switchback followed by covariate adjustment. We use two versions: CUPED-style linear adjustment on the forecast, and a flexible nonlinear regression adjustment fitted with cross-fitting. Both see the same forecast our design uses. The only number on record for the linear version is the COSS paper's result: linear adjustment matched COSS at a 65% standard-error reduction in the linear case and gave no substantial gain in the quadratic case. No reported result was found on Lacuna for flexible nonlinear adjustment or for any switchback design in traffic.

Two ablations isolate the key ingredients. The first stratifies on a shuffled, non-prognostic forecast, which isolates the value of the forecast. The second drops the washout, which isolates carryover.

All designs get identical simulated days, seeds, window counts and forecast inputs. We count our design as beating a baseline if it has a lower root-mean-squared error at equal or better confidence-interval coverage, and if it reaches 80% power for a 3% fuel effect with meaningfully fewer days.

Why not just…?

Why not just randomize freely and adjust afterward with a flexible regression? This is the real threat. The COSS evidence only defeats linear adjustment, and a well-fitted nonlinear model could recover most of the gain. The nonlinear-adjustment baseline above settles this directly. If it matches our design, the honest conclusion is that design-stage balance matters mainly when there are few windows. The deliverable then becomes a guide to when windows are scarce enough for design to beat adjustment, with the combination of design and adjustment as the recommended default.

Why not just block on time of day? Calendar blocking ignores the variation that drives the noise on any given day: incidents, weather and inflow surges. We will report how much of the variance the time-of-day design leaves unexplained compared with the forecast strata. If that gap is small on the I-24 placebo data, the forecast machinery is not worth its cost, and we will say so.

Why not just evaluate controllers in simulation? The I-24 team itself notes that interactions between automated and human drivers are hard to model accurately in simulation (Enabling Mixed Autonomy Traffic Control). Simulation estimates such as the 10% to 24% fuel range are exactly what a field trial must confirm. We use simulation only to check the design against a known ground truth, not as the evidence of controller benefit.

Why not just randomize which automated vehicles are active at the same time? Active and inactive vehicles share the road, so the human drivers who make up the comparison are themselves treated through spillover. Randomization Inference for Peer Effects (Randomization Inference for Peer Effects) points to cluster-level units as the way to keep inference valid under such interference. That is why our unit is the whole corridor-window.

Proposed Experiments

Simulation with known ground truth. We build the ground-truth testbed in Flow (Flow: A Modular Learning Framework for Mixed Autonomy Traffic, Benchmarks for reinforcement learning in mixed-autonomy traffic), using the merge and bottleneck scenarios, because they have open inflows. We stretch both into long corridor-days with three sources of variation: time-varying inflow, perturbed human driver parameters as a weather proxy, and randomly placed incidents. Controlled vehicles make up about 3% of traffic and run a fixed wave-damping policy. Each simulated day is run twice from the same seeds, once fully on and once fully off. Comparing the two runs at every window gives the true effect and lets us measure carryover directly.

Simulation analysis. Across hundreds of days, we measure bias, root-mean-squared error, interval coverage and power for every design. We sweep window length, washout length, number of strata and forecast noise.

Placebo tests on real traffic. We use I-24 MOTION trajectory data from baseline periods. Pseudo-treatments are assigned under each design to windows where no controller ran, so the true effect is zero. This yields each design's real-world variance and false-positive rate under actual demand dynamics. We then inject known synthetic effects of 1% to 5% to estimate power.

Decisive checks. Three results decide the case. The first is whether forecast-stratified switchback beats nonlinear post-hoc adjustment in root-mean-squared error at the window counts a 5-day deployment allows. The second is whether the shuffled-forecast ablation erases the gain, confirming that the gain comes from the covariate and not from alternation itself. The third is whether removing washout produces detectable bias in the paired-simulation ground truth. If all three hold, the result is a deployable design for the next open-road trial, giving that trial a valid causal estimate at a sample size it can afford.