When to Wake: Energy-Budgeted Online Coordination of Traffic Signals

Most online optimization methods assume that updating a decision is free. A controller observes the world, takes a gradient step, updates its penalty weights, tells its neighbors, and repeats. Every round costs nothing. Real roadside hardware does not work this way. A radio, a camera or radar, and an edge processor each draw a fixed "circuit power" whenever they are switched on. This is a power floor paid for being awake at all, regardless of how much useful work gets done. The floor matters most where energy is scarce: solar-powered or temporary signals, battery-backed operation during grid outages, and roadside units whose radio duty cycle is capped. For these deployments, how often a controller senses, computes, and talks is itself a decision with a price. This note proposes treating that decision as part of the optimization. Each intersection learns when it is worth waking up, and its guarantees on delay and safety are stated per unit of energy spent.

The core idea fits in two sentences. Each intersection runs an online optimizer that tracks a moving optimal signal plan. It wakes, senses, and coordinates with its neighbors only when its own bookkeeping says the plan has drifted far enough to justify the fixed wake-up cost. While asleep it executes a short forward-extrapolated plan computed at its last wake. Energy is handled as a budget that can be averaged over time. Queue spillback, where a downstream queue grows back far enough to physically block the upstream junction, is handled as a hard limit that cannot be averaged.

Core Claim

Under a fixed energy budget, an event-triggered, prediction-equipped constrained online controller reaches lower delay and fewer spillback events than the same controller woken on a fixed schedule. It also beats always-on controllers that are given the same total energy, for example by being forced to sample at a lower rate. The advantage should be concentrated in bursty, non-stationary demand, such as incidents, event surges, or signal malfunctions, and should vanish under stationary demand. A second claim follows from the circuit-power literature. The best prediction order is interior, not maximal. Higher-order extrapolation lets the controller sleep longer for the same tracking error, but each wake then costs more computation. Because of this, the energy-optimal controller deliberately runs a cheaper, less accurate tracker. This is the online-control analogue of the "operate at a gap from capacity" result of Grover, Woyach and Sahai, who showed that total transmit-plus-decoding power diverges as a link approaches Shannon capacity.

Research Program

Formulation. We use a store-and-forward network model. Each intersection's decision $x_t$ is a vector of green-time fractions per phase for cycle $t$. Queues evolve linearly in these fractions, so per-cycle delay $f_t(x_t)$ (queue-weighted) is convex. Each intersection also picks a wake probability $p_t \in [0,1]$. Randomizing the binary wake decision keeps expected energy linear and lets standard online-convex-optimization tools apply. With $E_w$ the energy of one wake (circuit floor times active time, plus transmit energy, plus a sleep-to-wake transition cost), $B$ the per-cycle energy budget, $q_{\ell,t}$ the queue on link $\ell$, $Q_\ell$ its storage capacity, and $\gamma>0$ a safety margin, the problem is

$$\min_{\{x_t,p_t\}} \sum_{t=1}^T f_t(x_t) \quad \text{s.t.} \quad \sum_{t=1}^T (p_t E_w - B) \le o(T), \qquad q_{\ell,t}(x_{1:t}) \le Q_\ell - \gamma \ \ \forall \ell, t.$$

The first constraint is an average budget. The second is a hard per-cycle limit tightened by a buffer. This split is deliberate, and it follows the warning in the research file. Slack saved early on a budget can safely be spent later, as Castiglioni et al. show for budget and return-on-investment constraints. A spilled-back link cannot be "repaid", as the analytical queueing model of Bierlaire's spillback analysis makes physically clear. For the hard constraint we use the buffered constraint from Mahdavi et al., which trades zero violation for higher regret. We will measure how much regret the margin $\gamma$ costs in practice.

Algorithm. The method supplier is the parameter-free virtual-queue method of Liu et al.. A virtual queue is a running tally of past constraint excess that acts as an adaptive penalty weight. Their method gives dynamic regret $O(\sqrt{T V_x})$, where $V_x$ is the total distance the optimum moves. It also gives $O(\sqrt{T})$ constraint violation, without needing a known horizon or Slater's condition (the requirement that a strictly feasible point exists). We extend it in three ways.

First, the energy budget gets its own virtual queue. That queue's level sets the cost of waking, so a depleted budget makes the controller sleepier.

Second, the wake rule compares an estimated drift of the optimum against that energy price. The drift is estimated from the change in local queue measurements and from the virtual queues on shared links with neighbors. This is the online-optimization counterpart of the learned gating of Yang, Chen and Kim. Their odometry system kept a high-power visual encoder on about 20% of the time and cut computation by up to 78.8%. That gating was learned and single-agent, with no constraint guarantees. Ours is analytic, networked, and comes with bounds.

Third, at each wake the controller computes a short forward plan. It uses the prediction-correction scheme of Simonetto et al., which extrapolates where the optimum is moving and then corrects. Their running gradient has tracking error $O(h)$, gradient trajectory tracking $O(h^2)$, and Newton trajectory tracking $O(h^4)$ in the step $h$. The controller executes this plan open-loop until the next wake. Li, Chen and Li showed that receding-horizon gradient control with exact $W$-step predictions has dynamic regret decaying like $\rho^W$, but their analysis is unconstrained and assumes perfect predictions. We need both a constrained setting and robustness to imperfect predictions.

Coordination happens only at wakes. A sleeping intersection's neighbors keep using its last broadcast penalty weight for the shared link. This staleness is the coupling cost we must bound and measure.

Theory. We target a bound in which dynamic regret splits into the Liu et al. term plus a sleep term. Our working hypothesis is a sleep term of order $T\,\bar{s}^{\,k}\,\omega$, where $\bar{s}$ is the typical sleep length, $k$ is the order of the tracker (1 for running gradient, 2 for gradient trajectory tracking), and $\omega$ is the rate at which the optimum drifts. This form comes from compounding the per-step tracking error of Simonetto et al. over an open-loop interval. It is a conjecture to prove or refute. We also need a bound on energy-budget violation and a zero-spillback guarantee conditional on the buffer exceeding the worst open-loop queue growth during one sleep interval. That last condition directly links $\gamma$ to the longest permitted sleep.

We note one limitation up front. The constant-violation results of Vaze and Sinha assume feasible sets that only shrink over time. Traffic feasible sets grow and shrink with demand, so we do not rely on those results.

Prior work by role. Several papers motivate the gap. CityLight and MalLight exchange neighbor information every step and treat communication as free. Wang et al. and Grover et al. show that ignoring the circuit floor yields policies that waste total energy. Other papers constrain the design: the spillback analysis rules out amortizing queue violations, and Sahu et al. show that momentum is provably suboptimal for moving optima, which rules out "just add momentum to sleep longer". The method suppliers are Liu et al., Simonetto et al. and Mahdavi et al.. The closest empirical evidence that sensing can be sparse is BP-EQ. It stabilizes an 11-intersection network with only 10% connected-vehicle penetration, with diminishing returns beyond 20%. That penetration result concerns spatial sparsity of data. Our work concerns temporal sparsity of activation, and the two are complementary.

Baselines

The naive reference is fixed-time signal plans with sensing and radios off. It sets the zero-energy floor for delay and spillback.

The always-on constrained optimizer is Liu et al.'s virtual-queue method, run every cycle with full sensing and neighbor exchange. It gives the best tracking our formulation can achieve at maximum energy. Any energy-budgeted method should approach its delay from above.

The strongest traffic competitor is distributed max-pressure control in the BP-EQ form. It is cheap to compute, has stability guarantees, and tolerates sparse data, which makes it exactly what a practitioner would deploy. We run it at several fixed sensing and communication rates so that each rate yields a point on its own energy-delay curve. We give it the same estimated-queue inputs and spillback-aware link capacities as our method. Its tuning budget, a grid over cycle length and sensing period, matches ours over $\gamma$ and the trigger scale. That paper reports results as stability thresholds (the 10% penetration tipping point and diminishing returns after 20%), not as delay numbers. No reported delay figure for it on our networks was found on Lacuna, so we will measure it ourselves.

The strongest learned competitor is CityLight. It reports an 11.68% average throughput improvement and a 22.59% transfer throughput gain across its five city networks. We run it always-on with its published architecture on the same networks. We charge it the same per-wake energy model, plus a compute term for its attention layers measured on a reference edge processor. We also run it at reduced decision frequency to place it on the energy-delay plane.

Two ablations isolate the key ingredients. The first keeps our controller unchanged but replaces the drift-triggered wake rule with a fixed period matched to the same average energy. The second keeps the trigger but drops prediction, holding the last decision while asleep. Beating max-pressure means lower average travel time and fewer spillback events at every matched energy level on the bursty scenarios. Beating CityLight means matching its throughput within its own reported margin at a fraction of its energy, or exceeding it at equal energy. Beating the fixed-period ablation is the test that decides whether the idea survives.

Why not just…?

Why not just run the existing virtual-queue optimizer on a fixed duty cycle? This is the most serious threat. If demand drifts at a roughly constant rate, a well-chosen fixed period is nearly optimal, and our trigger adds complexity for nothing. We expect the trigger to win only when the optimum's drift is uneven in time, as with incidents, stadium surges, or signal failures of the kind MalLight studies. A fixed period then either sleeps through the surge or wastes energy during calm periods. The matched-energy ablation tests exactly this. If fixed periods equal the trigger on bursty scenarios too, we would drop the trigger and report the prediction-order result alone.

Why not just use max-pressure, which is already cheap? Max-pressure's computation is trivial, but its sensing and radio activity is not. The circuit floor is paid for by keeping cameras, radar, and V2X radios awake, not by arithmetic. Max-pressure at a reduced sensing rate is therefore a fair and strong competitor, and we include it. Its known weaknesses are spillback, because pressure misreads clearing capacity once downstream links block, as Bierlaire's analysis shows, and the lack of any delay-optimality guarantee. Whether these weaknesses matter at the energy levels we target is an empirical question that our energy-delay frontiers answer directly.

Why not just ignore roadside energy, since vehicles burn far more? For grid-connected urban signals this objection is largely right, and we do not claim otherwise. The proposal targets regimes where the budget is genuinely binding: off-grid and solar signals, outage operation on battery, and capped radio duty cycles. Here a controller that wakes too often simply stops working. The same mathematics applies whenever any per-activation resource is rationed, including channel airtime. If the binding-budget regime turns out to be narrow, the prediction-order result still transfers to any duty-cycled embedded controller.

Why not just train a MARL policy with an energy penalty in the reward? One could do this. But IntersectionZoo documents zero-shot failures of PPO, MAPPO and MADDPG when they are deployed outside their training distribution. A soft reward penalty also gives no guarantee against spillback or overspending the budget under distribution shift, which is precisely where triggering matters. We test this with an energy-penalized CityLight variant on held-out surge scenarios.

Proposed Experiments

We use the Manhattan (196 intersections) and Jinan (3930 intersections) networks from CityLight, and an 11-intersection network built to match the BP-EQ setup. Each network gets three demand regimes: its recorded demand, a stationary resampling of that demand, and injected bursts (incident lane closures, event surges, and single-signal malfunctions).

The energy model charges each wake for sensing, a radio exchange with every neighbor, and computation. The circuit floor is swept over two orders of magnitude. The 144 mW fixed-decoder figure from Grover et al. serves as one anchor for radio decoding power, though it comes from a 60 GHz and 2.5 GHz link model rather than V2X hardware. We report results across the sweep rather than at a single value. Wake-up transition energy is included explicitly, since Yang et al. list it as a gap in gating work.

Metrics are average travel time, throughput, count and duration of spillback events, total and per-node energy, energy-budget violation, and dynamic regret. Regret is measured against a hindsight-optimal green-split sequence obtained by solving the full store-and-forward linear program offline.

The first decisive check is the energy-delay frontier on bursty demand. The method succeeds only if it dominates both fixed-period ablation and max-pressure at matched energy, and shows no advantage on stationary demand. An advantage on stationary demand would itself suggest a bug.

The second check sweeps tracker order (hold, running gradient, gradient trajectory tracking, Newton trajectory tracking) against circuit floor. It tests whether the energy-optimal order is interior and moves toward cheaper trackers as computation cost rises.

The third check measures spillback as a function of the margin $\gamma$ and the maximum sleep interval. It verifies empirically the predicted link between the two. It also tests whether averaging the queue constraint, the "spend the slack" approach, produces gridlock that the buffered version avoids.

The fourth check measures the cost of stale neighbor penalty weights. We compare synchronized against independent wakes on the Jinan network, to see whether coordination through shared-link virtual queues survives asynchronous sleeping at city scale.