When a city's traffic signals are run by learning agents, each agent is usually rewarded for keeping its own queues short. That reward misleads the agent in the situation that matters most. An upstream intersection that turns green and sends a platoon of cars into an already full block looks good on its own scorecard, while the block downstream locks up. This is a spillback: queues propagate backward until they block intersections further upstream. The fix sounds simple: charge each agent for the effects it actually causes on its neighbors. Two facts make it hard. First, which neighbors an agent affects, and whether the effect helps or hurts, depends on the current traffic state. Releasing cars toward an empty block helps it; releasing them toward a full one harms it. Second, measuring causal effects in a noisy simulator mixes real coupling with background randomness.
We propose to measure these effects directly, borrowing the logic of co-immunoprecipitation. That is the biochemistry assay in which an antibody "pulls down" one bait protein and checks which partner proteins come with it, always against a negative control that measures nonspecific background. The traffic version works as follows. At sampled decision points we take a snapshot of the simulator, branch it, and compare the agent's chosen phase against a default phase. The output is the change in each neighbor's reward. Each comparison is paired with a control run that uses only the default action and changes only the noise seed. A neighbor counts as a real partner only if the measured effect clearly exceeds that background. We then train a small graph network to predict these state-dependent effects, signs included, and use the predictions as each agent's reward. The biology direction on context-dependent protein function supplies the hypothesis we test: the same agent's effect on the same neighbor reverses sign across traffic regimes, much as INPP4B switches from suppressing survival signaling to promoting it in NPM1-mutated leukemia (INPP4B promotes cell survival via SGK3 activation in NPM1-mutated leukemia). If that reversal is common, any credit scheme with a fixed neighbor graph and fixed signs must fail in exactly the spillback episodes that make fixed-time signals break down.
Core Claim
Reward decomposition for signal control should be state-dependent and signed, and it should come from paired interventional measurements that are filtered against a background-noise control. Building it from topology, distance, or attention over observations is not enough. The specific prediction is that this pays off mostly during demand surges and lane blockages, the conditions under which signal timings computed from historical averages fail. Under steady demand it should add little.
Formally, let $s$ be the network state, $a_i$ the phase chosen by intersection $i$, $\bar a_i$ a default action (keep the current phase), and $r_j$ the local reward of neighbor $j$ over a short horizon $H$. The pull-down effect is
$$c_{ij}(s) = \mathbb{E}\left[r_j \mid s, a_i\right] - \mathbb{E}\left[r_j \mid s, \bar a_i\right],$$
estimated with shared random numbers across the two branches. A control branch reruns $\bar a_i$ with a different noise seed and gives a background spread $\sigma_{ij}(s)$. Agent $i$'s shaped reward is
$$\tilde r_i = r_i + \sum_{j \in N_i(s)} \hat c_{ij}(s), \qquad N_i(s) = \{\, j : |\hat c_{ij}(s)| > \tau\, \sigma_{ij}(s) \,\},$$
where $\hat c_{ij}$ is the learned predictor and $\tau$ is a significance threshold. The formula is a difference reward restricted to a coalition that changes with the state. Our position on the tension the literature leaves open is this. DecompGAIL shows that feedback from neighbors an agent cannot influence ("irrelevant interaction misguidance") swamps learning. COMA and Shapley reallocation argue that purely local rewards produce lazy, selfish agents. Both are right if the boundary of "relevant" is measured from the current state rather than fixed in advance.
How This Differs From Existing Work
The traffic-control systems closest to this proposal improve how agents see the network, not how they are rewarded. CoLight uses graph attention to weight neighbor observations and shares parameters across intersections, but each agent still optimizes a local queue reward. SLight groups intersections by how they respond to control and routes them to shared Q-networks, again with localized queue penalties. The research file states explicitly that neither assigns counterfactual credit for downstream spillback. Our method changes the reward and leaves the policy architecture alone, so it can sit on top of either system.
Methods that do decompose global reward were built for other settings. COMA's centralized critic subtracts a baseline that averages out one agent's action, and it was demonstrated on small StarCraft teams. LIIR learns intrinsic rewards through meta-gradients, and the file reports that this becomes prohibitive beyond 8–10 interacting agents. Shapley reallocation proves that allocations are stable for convex traffic games, but it scales as $O(2^N)$ and was tested on a 30-vehicle highway rather than on signal infrastructure. DecompGAIL weights neighbor terms by distance, which is static and carries no sign. Our method shares COMA's counterfactual logic, but it computes the counterfactual by simulator branching over a gated neighborhood instead of through a global critic. It also differs from DecompGAIL by letting coupling strength and sign depend on state.
The biology papers motivate the design and constrain it; they are not used as methods. The context-dependent function literature shows a protein's effect reversing with mutational background (INPP4B), tissue (S100A11), or spatial origin (PGE2 autocrine vs paracrine; mPGES-1-Mediated Production of PGE2 and EP4 Receptor Sensing Regulate T Cell Colonic Inflammation). It also documents that computational models encode context as static categories, as with tissue tags in CDBridge. Static neighbor graphs in multi-agent RL make the same simplification. The co-immunoprecipitation literature supplies the measurement discipline, and its known failure modes become design constraints. Detergent lysis forces together proteins that never meet in the cell, which corresponds to including neighbors that are reachable but not causally coupled; the threshold $\tau$ guards against this. Stringent washing loses transient binders (H7N9 NP Co-IP-MS), which corresponds to setting $\tau$ too high or $H$ too short and missing slow multi-hop spillback; we sweep both settings. Targeted pull-downs such as IQGAP3–GLI1 separate direct binding from indirect cascades, which motivates checking whether $c_{ij}$ for two-hop neighbors is explained by the intermediate intersection. Following the in-situ cross-checks that biochemists run with proximity ligation, we test whether couplings measured in branched rollouts predict queue propagation in unbranched logs. This guards against the possibility that the branching procedure itself creates the couplings.
Research Program
The work has three parts. The first is a pull-down engine for CityFlow and SUMO. It snapshots the simulator state, runs paired branches with shared random numbers for the chosen and default actions plus a control branch, and records $\Delta r_j$ for all intersections within $k$ hops, with $k$ up to 3. This is too expensive to run for every agent at every step. In each episode we therefore sample a small fraction of (agent, decision) pairs, oversampling high-occupancy states so that spillback regimes are represented.
The second part is a coupling predictor $\hat c_{ij}(s)$: a message-passing network over the road graph that takes the local states of $i$, $j$, and the links between them and regresses the measured effect and its background spread. It is trained continually as policies change, because the couplings themselves depend on the policy.
The third part is the shaped reward $\tilde r_i$, plugged into the CoLight and SLight training loops unchanged.
The analysis centers on one quantity, the sign-flip rate. This is the fraction of significantly coupled pairs $(i,j)$ whose $c_{ij}$ takes both signs across states visited by a trained policy. It is the empirical test of the context-dependence hypothesis, and it decides whether the predictor's state input is necessary.
Baselines
The naive reference points are FixedTime and MaxPressure as implemented in the SLight evaluation (Scalable Traffic Signal Control with Shared Policy Framework). FixedTime is the static-timing regime this work aims to replace. MaxPressure is a serious competitor, because its upstream-minus-downstream queue rule already encodes some spillback awareness, and it needs no training.
The strongest existing method is SLight. On the 196-intersection Manhattan network NY1, it reports an average travel time of 870.41, against 1071.43 for Advanced-CoLight. On the 2,510-intersection NY2 network it reports 856.94, against 1053.90 for CoSLight. All numbers are from Scalable Traffic Signal Control with Shared Policy Framework. The research file has no reported result on Lacuna for JiNan or HangZhou. We will rerun SLight from its released configuration on identical traffic flows and seeds, and compare against our reproduced number rather than only the published one. Our method is applied to the same SLight backbone with the same environment-step budget. The simulator rollouts spent on pull-downs are counted against that budget and also reported separately in wall-clock time. Beating SLight means a lower average travel time over five seeds with non-overlapping confidence intervals on NY1 and NY2. We additionally require a clearly larger margin on surge and incident episodes than on steady ones, since that is the specific claim.
CoLight serves as a second backbone, to show that the reward change helps more than one architecture.
Credit baselines receive the same backbone and tuning budget:
- independent local reward, which is the default in both CoLight and SLight;
- a pressure-shaped local reward;
- a fixed distance-weighted neighbor-reward sum in the style of DecompGAIL's distance weighting;
- a COMA-style centralized counterfactual critic over the global average delay;
- on the small JN and HZ grids only, exact Shapley reallocation over each agent's 2-hop coalition.
Three ablations isolate the key ingredient. The first removes the control gate and sums raw effects over all $k$-hop neighbors, testing the "lysis artifact." The second freezes couplings into a static graph by averaging $\hat c_{ij}$ over states, removing context dependence while keeping measured magnitudes. The third replaces the learned predictor with direct rollouts on small grids, to bound what the predictor loses.
Why not just…?
Why not just use a pressure-based reward or MaxPressure itself? Pressure captures the immediate downstream queue, but only one hop away and with a fixed sign convention. CoLight already reports 11.69% lower travel time than the next best method, including MaxPressure (CoLight). That gap mixes architecture and reward, though, so it does not show that pressure-style credit is insufficient. This is a real threat. The pressure-shaped reward on the identical backbone is the comparison that settles it. If that baseline matches us on spillback-heavy episodes, the measured-coupling machinery is not worth its cost and we will say so.
Why not just use a centralized counterfactual critic like COMA on the global delay? COMA's evidence comes from small StarCraft teams, where it reached a mean win rate of about 81% against Independent Actor-Critic below 70% (COMA). With 196 or 2,510 intersections, a critic over global delay must learn one agent's marginal effect while hundreds of other agents add noise. This is the "environmental interference" problem described in All learning is Local. We run it directly. We expect it to be competitive on JN and HZ and to degrade on NY1 and NY2, and the scaling curve will show whether it does.
Why not just share fixed neighbor rewards weighted by distance, or reuse CoLight's attention weights as credit? Both are static in sign, and attention weights measure what an agent finds informative, not what it causes. The static-graph ablation and the sign-flip rate decide this. If fewer than roughly a tenth of coupled pairs ever flip sign, a fixed graph captures most of the benefit, and the context-dependence half of the proposal should be dropped in favor of the cheaper method.
Why not just use Shapley values or LIIR? Exact Shapley values are exponential in the number of agents, and the file reports that LIIR's meta-gradients become impractical beyond 8–10 agents (LIIR). We use Shapley values only where they can be computed, as a ground-truth check on the small grids. We do not treat them as a scalable competitor.
Decisive Experiments
Three checks determine whether the idea holds.
First, credit fidelity on JN and HZ. Using brute-force branched rollouts and exact 2-hop Shapley values as ground truth, we measure the rank correlation of $\hat c_{ij}$ with true marginal effects. We also measure the gate's false-inclusion rate, as precision of $N_i(s)$ against pairs whose true effect is within background noise.
Second, the sign-flip rate under trained policies on NY1. This tests whether "context-dependent function" is real in traffic networks, and it runs before any large training spend.
Third, stress tests on NY1 and NY2. We inject lane blockages and demand surges at scripted times and report average travel time, throughput, the count of spillback events (a downstream lane at capacity blocking upstream discharge), and the time to recover to pre-incident delay. The proposal succeeds only if gains over the reproduced SLight concentrate in these episodes. They must disappear when the gate is removed or the couplings are frozen. As a final check, the measured couplings must predict queue propagation in unbranched logs, so that the results do not rest on the branching procedure itself.
References
- INPP4B promotes cell survival via SGK3 activation in NPM1-mutated leukemia
- DecompGAIL: Learning Realistic Traffic Behaviors with Decomposed Multi-Agent Generative Adversarial Imitation Learning
- Counterfactual Multi-Agent Policy Gradients
- Stable and Efficient Shapley Value-Based Reward Reallocation for Multi-Agent Reinforcement Learning of Autonomous Vehicles
- CoLight: Learning Network-level Cooperation for Traffic Signal Control
- Scalable Traffic Signal Control with Shared Policy Framework
- LIIR: Learning Individual Intrinsic Reward in Multi-Agent Reinforcement Learning
- The Calcium Binding Protein S100A11 and Its Roles in Diseases
- mPGES-1-Mediated Production of PGE2 and EP4 Receptor Sensing Regulate T Cell Colonic Inflammation
- CDBridge: A Cross-omics Post-training Bridge Strategy for Context-aware Biological Modeling
- Proteomics Analysis of Cellular Proteins Co-Immunoprecipitated with Nucleoprotein of Influenza A Virus (H7N9)
- IQGAP3 activates Hedgehog signaling to confer stemness and metastasis via up-regulating GLI1 in lung cancer
- All learning is Local: Multi-agent Learning in Global Reward Games