arXiv:2608.25275cs.AIAug 2026

Manuscript Offprint

arXiv:2608.25275

PhaseShift: Topology-Aware Data Harmonization and Model Consolidation Across Signalized Intersections

Yash Ranjan, Artur Kumik, Rahul Sengupta, Anand Rangarajan, Sanjay Ranka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yash Ranjan, Artur Kumik, Rahul Sengupta, Anand Rangarajan, Sanjay Ranka

University of Florida, Gainesville, FL, USA

Abstract—Learned traffic-behavior models are commonly trained separately for each intersection, creating model portfolios that cannot share evidence across sites. We present PhaseShift, a topology-aware framework that harmonizes heterogeneous roadside trajectories into a shared actor-centric representation and trains one reusable backbone. Ego-relative coordinates, trajectory-induced movement paths, normalized signal context, and variable-cardinality interaction tokens remove site conventions while preserving behaviorally relevant topology. The backbone supports pooled operation, zero-shot use at a held-out intersection, and low-data adaptation. We evaluate five intersections in two Florida regions on balanced field data—100,000 training windows and equal-sized test sets per site—under a replay-conditioned, best-of-sampled-trajectory protocol. At 10 s, one pooled model lowers both minADE and minFDE relative to independently trained local models at all five sites, with median reductions of 36.8% and 22.0%. Leave-one-intersection-out deployment, including one cross-region fold, beats local training on both 10-s metrics at four of five sites, although short-horizon performance is less uniform. Fine-tuning with 1,000 target update windows improves on zero-shot at three sites and is the strongest regime at one. At site 7, every cross-site mixture sharply lowers long-horizon error under a fixed 100,000-window budget; test-likelihood gains argue against a best-of-sample dispersion-only explanation. Local models fall behind calibrated IDM at the two highest-flow sites after long autoregressive rollouts; pretrained-backbone regimes do not. Within this five-site evaluation, PhaseShift demonstrates consolidation across heterogeneous physical-control settings while identifying sites that still require adaptation. The protocol measures conditional single-vehicle generation under replayed context, not closed-loop traffic simulation.

Index Terms—physical AI, multi-intersection pretraining, data harmonization, model consolidation, signalized intersections, trajectory generation

I. INTRODUCTION

Deploying learned traffic models across a road network can create a portfolio of narrowly specialized models. If every intersection and operating condition is treated as an independent dataset, five intersections observed across seven day-of-week domains can require as many as 35 models. Training, calibrating, validating, and maintaining each model separately is costly, and observations collected in one domain cannot strengthen another. The point is not that every recurring condition warrants a separate model; it is that a site-specific workflow provides no principled reuse path when a new local condition appears.

This paper asks whether heterogeneous intersection data can instead support one shared model without erasing the local context that governs behavior. Our workflow harmonizes the data, learns a reusable backbone, deploys it directly where it generalizes, and adapts only the domains with a meaningful residual. It follows the pretraining-and-reuse pattern, but our claims are limited to regional harmonization and consolidation. We use site-condition domain for an intersection under a recurring operating condition, such as a time period, signal plan, or demand regime; the present study treats each intersection as one domain.

Signalized intersections make this difficult because observed trajectories arise from an entangled physical system. Topology determines feasible movements and conflicts; signal control determines when movements are released; demand shapes queues and interaction frequency; and road users respond heterogeneously. Roadside sensing adds distinct coordinate frames and controller conventions, incomplete tracks, occlusion, and tracking noise. Cross-site learning therefore requires removing incidental conventions while retaining the physical and control context that generates behavior.

Classical microscopic simulators combine authored road networks with explicit car-following, lane-changing, gap-acceptance, and signal-control rules [1]. Learned motion models estimate behavior from trajectories, but prior intersection systems are commonly developed around one or a small number of authored geometries [2]–[4]. In roadside deployments, geometry, control, demand, human behavior, and sensing quality vary jointly rather than as independently controlled factors. Cross-site modeling is therefore a physical-AI problem: learning reusable structure from noisy measurements of changing physical-control regimes.

We introduce PhaseShift, a topology-aware framework for multi-intersection data harmonization and model consolidation. PhaseShift converts each roadside scene into a common actor-centric representation using ego-relative coordinates, trajectory-induced movement paths, normalized signal state, stop lines, and variable-cardinality road-user tokens. One shared actor-conditional backbone is pretrained across multiple intersection domains without a learned site identifier, then used as one pooled model over known domains, zero-shot at a held-out intersection, or as initialization for limited target adaptation.

PhaseShift makes three contributions:

• Topology- and control-aware data harmonization. We map trajectories, neighboring actors, pedestrians, movement geometry, stop lines, and signal states into a shared actor-centric token space while retaining the local physical–control structure needed for conditional trajectory generation.

• Shared pretraining and specialization. One backbone supports pooled operation, leave-one-intersection-out zero-shot deployment, and low-data adaptation. Per-domain residuals distinguish sites covered by the common model from those that warrant specialization or investigation.

• A five-domain field evaluation. On balanced trajectories from five intersections in two Florida regions, we compare one pooled model with independently trained local models, evaluate every held-out site, adapt every target, and run a fixed-window-count composition sweep at one site as a first control on the diversity–volume confound.

References (21)