动作条件化的时空预测

arXiv cs.LG 论文

摘要

该论文提出了 ActionST,一种以动作为条件的时空预测方法,将显式响应叠加到独立于干预的参考预测上;同时还提出了 PairST,一个包含六个数据集的基准,各数据集均提供成对的参考未来与干预后未来,用于分别评估受影响区域和未受影响区域。

arXiv:2611.27044v1 Announce Type: new Abstract: We study spatio-temporal forecasting in networked systems under specified actions. The challenge is to capture the action's effects without predicting spurious changes in unaffected regions. However, direct supervision and evaluation of these effects require paired futures with and without the action, whereas observational trajectories reveal only the realized future. We introduce PairST, a benchmark comprising six datasets across traffic, power transmission and water distribution, with paired reference and intervened futures simulated from the same system state. These pairs enable separate evaluation of affected-region forecast accuracy and quiet-region response error. We further propose ActionST, which forecasts the intervened future by writing an explicit response onto an intervention-independent reference forecast. Specifically, node-time addressing constructs a query for each response position, a state-conditioned response writer computes candidate responses, and a graph-aware locality gate controls their strength. Experiments on six datasets demonstrate the effectiveness of ActionST at new action targets, with the lowest mean absolute error on five datasets and the best average rank. Our source code and the PairST benchmark are available at https://github.com/yutong-xia/ActionST.
查看原文
查看缓存全文

缓存时间: 2026/11/23 09:23

# Action-Conditioned Spatio-Temporal Forecasting
Source: [https://arxiv.org/html/2611.27044](https://arxiv.org/html/2611.27044)
Yangyou LiuAffiliation:Sichuan UniversityYuxuan LiangAffiliation:The Hong Kong University of Science and Technology \(Guangzhou\)Yuankai WuAffiliation:Sichuan UniversitySee\-Kiong NgAffiliation:National University of SingaporeRoger ZimmermannAffiliation:National University of Singapore

###### Abstract

We study spatio\-temporal forecasting in networked systems under specified actions\. The challenge is to capture the action’s effects without predicting spurious changes in unaffected regions\. However, direct supervision and evaluation of these effects require paired futures with and without the action, whereas observational trajectories reveal only the realized future\. We introducePairST, a benchmark comprising six datasets across traffic, power transmission and water distribution, with paired reference and intervened futures simulated from the same system state\. These pairs enable separate evaluation of affected\-region forecast accuracy and quiet\-region response error\. We further proposeActionST, which forecasts the intervened future by writing an explicit response onto an intervention\-independent reference forecast\. Specifically, node–time addressing constructs a query for each response position, a state\-conditioned response writer computes candidate responses, and a graph\-aware locality gate controls their strength\. Experiments on six datasets demonstrate the effectiveness of ActionST at new action targets, with the lowest mean absolute error on five datasets and the best average rank\. Our source code and the PairST benchmark are available at[https://github\.com/yutong\-xia/ActionST](https://github.com/yutong-xia/ActionST)\.

###### Keywords:

spatio\-temporal forecasting, action\-conditioned forecasting, intervention forecasting, reference\-and\-response prediction, paired simulation

††footnotetext:\\forloop@affilnum1¡0\.
\\Notice@String## 1Introduction

Spatio\-temporal \(ST\) forecasting plays an important role in decision\-making across many domains, such as traffic\([Li et al\., 2018](https://arxiv.org/html/2611.27044#bib.bib17);[Wu et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib37)\), energy\([Aryandoust et al\., 2022](https://arxiv.org/html/2611.27044#bib.bib1);[Niu et al\., 2025](https://arxiv.org/html/2611.27044#bib.bib25)\), air quality\([Yi et al\., 2018](https://arxiv.org/html/2611.27044#bib.bib38);[Liang et al\., 2023](https://arxiv.org/html/2611.27044#bib.bib19)\)and public health\([Deng et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib6);[Panagopoulos et al\., 2021](https://arxiv.org/html/2611.27044#bib.bib27)\)\. Many of these decisions involve taking*actions*to improve system operation, such as adjusting traffic signals\([Wei et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib35);[Lai et al\., 2025](https://arxiv.org/html/2611.27044#bib.bib15);[Zou et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib42)\)or disconnecting a power line\([Fisher et al\., 2008](https://arxiv.org/html/2611.27044#bib.bib10);[Marot et al\., 2021](https://arxiv.org/html/2611.27044#bib.bib23)\)\. To inform these decisions, we therefore ask:how will signals across the network evolve under a specified action?To study this question systematically, we formulate the task of*action\-conditioned spatio\-temporal forecasting*\.

![Refer to caption](https://arxiv.org/html/2611.27044v1/fig_motivation_requirements.png)Figure 1:Three requirements for action\-conditioned spatio\-temporal forecasting via response modeling\.To evaluate whether forecasts capture the changes caused by an action, we seek a benchmark that pairs futures with and without it from the same system state\. However, existing benchmarks\([Li et al\., 2018](https://arxiv.org/html/2611.27044#bib.bib17);[Liu et al\., 2023b](https://arxiv.org/html/2611.27044#bib.bib21);[Gou et al\., 2025](https://arxiv.org/html/2611.27044#bib.bib11);[Li et al\., 2025a](https://arxiv.org/html/2611.27044#bib.bib16)\)provide histories and observed futures, but lack paired futures with and without a specified action\. In practice, real\-world systems cannot generally be reset to observe both futures from the same state\. Large\-scale field experiments are also costly and challenging to implement\([Baum\-Snow & Ferreira, 2015](https://arxiv.org/html/2611.27044#bib.bib3)\), with additional ethical constraints\([Hernán & Robins, 2020](https://arxiv.org/html/2611.27044#bib.bib12)\)\.

Beyond the data gap, this task also calls for models that capture how specified actions affect a network over time\. Conventional ST forecasters do not explicitly model actions\([Yu et al\., 2018](https://arxiv.org/html/2611.27044#bib.bib39);[Wu et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib37);[Bai et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib2)\)\. Event\-conditioned forecasters additionally incorporate observed incidents into prediction\([Wang et al\., 2026a](https://arxiv.org/html/2611.27044#bib.bib33);[Fan et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib9);[Kitahara et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib13)\)\. Meanwhile, action\-conditioned world models address domain\-specific settings, including antenna adjustments\([Qi et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib28)\), policy changes\([Ma et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib22)\)and robot motion\([Chen et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib5)\)\. Here, we study a common forecasting formulation for operational actions across different physical networks\.

Therefore, to address the data gap, we construct a benchmark termedPaired Intervention Futures forSpatio\-Temporal Systems \(PairST\), which simulates futures without and with the action from the same system state, termed the*reference future*and*intervened future*, respectively\. PairST comprises six datasets across traffic, power transmission and water distribution\. Its paired futures also support direct supervision and evaluation of action\-induced changes\.

To forecast the intervened future, we model the action\-induced change explicitly as a*response*relative to the reference future\. Paired futures make this response observable, yet predicting it poses three requirements:state dependence,selectivity, andaddressability\. First, the response should depend on the pre\-intervention system state \(Figure[1](https://arxiv.org/html/2611.27044#S1.F1)a\)\. Closing the same road at rush hour and late at night can have very different effects\. Second, the predicted response should capture changes at affected node–time positions while remaining near zero in quiet regions \(Figure[1](https://arxiv.org/html/2611.27044#S1.F1)b\)\. Third, the response should be controllable at individual node–time positions, so that temporal constraints, e\.g\., no response before onset, can be enforced locally \(Figure[1](https://arxiv.org/html/2611.27044#S1.F1)c\)\.

To meet these three requirements, we therefore propose a novel framework termedAction\-conditionedSpatio\-Temporal Neural Network \(ActionST\), which forecasts the intervened future by writing an explicit response onto an intervention\-independent reference forecast\. Specifically, node–time addressing constructs a query for each response position, a state\-conditioned response writer computes candidate responses, and a graph\-aware locality gate controls their strength\. The response path also keeps the response exactly zero under an empty intervention and before onset, and lets the response at each future step depend only on the intervention executed by then\.

Our contributions are summarized as follows\.

- •A Paired Multi\-System Benchmark\.We build PairST, a benchmark with six datasets across three different domains, including traffic, power transmission and water distribution\. It provides paired futures with and without an action from the same system state, supporting direct supervision and evaluation of action\-induced changes\.
- •An Action\-Conditioned Forecasting Model\.We propose ActionST, which writes gated, state\-conditioned responses at individual node–time positions\. The framework guarantees null identity, pre\-onset invariance and prefix consistency by construction\.
- •Comprehensive Experiments\.We conduct comprehensive experiments on six PairST datasets against seven baselines, where ActionST achieves the lowest mean absolute error \(MAE\) on five datasets and the best average rank\. Further analyses evaluate response propagation, component contributions and hyperparameter sensitivity\.

## 2Related Work

Spatio\-Temporal Forecasting\.Spatio\-Temporal \(ST\) forecasters capture network dependencies and temporal patterns using graph convolutions\([Li et al\., 2018](https://arxiv.org/html/2611.27044#bib.bib17);[Yu et al\., 2018](https://arxiv.org/html/2611.27044#bib.bib39);[Wu et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib37);[Bai et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib2)\), node and time embeddings\([Liu et al\., 2023a](https://arxiv.org/html/2611.27044#bib.bib20);[Shao et al\., 2022](https://arxiv.org/html/2611.27044#bib.bib31)\)or diffusion\([Wen et al\., 2023](https://arxiv.org/html/2611.27044#bib.bib36)\)\. OpenCity\([Li et al\., 2025b](https://arxiv.org/html/2611.27044#bib.bib18)\)and UniST\([Yuan et al\., 2024](https://arxiv.org/html/2611.27044#bib.bib40)\)learn transferable representations through pretraining\. Event\-conditioned methods, including ConFormer\([Wang et al\., 2026a](https://arxiv.org/html/2611.27044#bib.bib33)\), IGSTGNN\([Fan et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib9)\)and CASTANET\([Kitahara et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib13)\), additionally incorporate observed incidents\. In this work, we consider actions specified at prediction time, including actions never taken from the current state\.

Action\-Conditioned Models\.Action\-conditioned models predict futures under antenna adjustments in mobile networks\([Qi et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib28)\), policy interventions\([Ma et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib22)\)or optical\-flow actions for video generation\([Chen et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib5)\)\. Related designs include LEAP nets’ latent perturbations that vanish for the reference topology\([Donon et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib8)\)and internal interventions that redirect video predictions\([Wang et al\., 2026b](https://arxiv.org/html/2611.27044#bib.bib34)\)\. In contrast, ActionST combines an intervention\-independent reference with gated, state\-conditioned response writing at node–time positions\.

Interventional and Counterfactual Prediction\.Another line of work estimates outcomes under alternative treatment sequences from observational data\. CRN\([Bica et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib4)\)and Causal Transformer\([Melnychuk et al\., 2022](https://arxiv.org/html/2611.27044#bib.bib24)\)address time\-varying confounding, while GST\-UNet\([Oprescu et al\., 2025](https://arxiv.org/html/2611.27044#bib.bib26)\)also considers ST interventions and interference\. In contrast, PairST provides paired simulator futures for directly supervising and evaluating action\-induced changes\.

Table 1:Statistics of PairST datasets\. Units: intersections for traffic, transmission lines for power and links for water\.ama\_\{m\}: active\-response threshold of Eq\.[2](https://arxiv.org/html/2611.27044#S4.E2), in vehicles for traffic, percent of the thermal limit for power and L/s for water\. Locations, Days, Pairs: training/validation/test counts\.
## 3Problem Formulation

Action\-conditioned ST forecasting predicts future network signals given an observed history and a specified action\.

Network Signals\.LetG=\(V,E\)G=\(V,E\)denote a network withN=\|V\|N=\|V\|nodes, and let𝐗h∈ℝN×T×D\\mathbf\{X\}^\{\\mathrm\{h\}\}\\in\\mathbb\{R\}^\{N\\times T\\times D\}containDDobserved features over theTTsteps before the forecast time\. We predictD′D^\{\\prime\}output features over anSS\-step future window, indexed byτ∈\{1,…,S\}\\tau\\in\\\{1,\\ldots,S\\\}\.

Actions\.An*action*is an operation applied to a specified component of the network over a specified time interval\. We represent it by a structured intervention record

I=\(κ,i⋆,τon,ℓ,η\),I=\(\\kappa,i^\{\\star\},\\tau\_\{\\mathrm\{on\}\},\\ell,\\eta\),whereκ\\kappadenotes the operation type,i⋆∈Vi^\{\\star\}\\in Vits target,τon\\tau\_\{\\mathrm\{on\}\}its onset position in the forecast window,ℓ\>0\\ell\>0its duration in time steps, andη∈𝒫κ\\eta\\in\\mathcal\{P\}\_\{\\kappa\}its parameters from the type\-specific parameter space𝒫κ\\mathcal\{P\}\_\{\\kappa\}\.

In a traffic network, for example, an actionIIcan hold intersectioni⋆i^\{\\star\}at signal phaseη\\etaforℓ\\ellsteps starting atτon\\tau\_\{\\mathrm\{on\}\}, whereκ\\kappais this phase\-holding operation, as a traffic controller does to manage traffic around a major event such as a marathon\. Analogous actions switch a transmission line out of service for maintenance or close a valve to isolate a water pipe for repair\. Such an action targets one component for a limited time, yet its effects can spread to neighboring components and persist after normal operation resumes\. The empty record∅\\varnothingdenotes no action\.

Prediction Task\.Given the historical observations𝐗h\\mathbf\{X\}^\{\\mathrm\{h\}\}, the network graphGGand the action recordII, we predict the*intervened future*𝐗I∈ℝN×S×D′\\mathbf\{X\}^\{I\}\\in\\mathbb\{R\}^\{N\\times S\\times D^\{\\prime\}\}, namely how the network signals evolve under the action\.Our goalis to learn a functionℱθ​\(⋅\)\\mathcal\{F\}\_\{\\theta\}\(\\cdot\)that maps these inputs to the intervened future:

\[𝐗h,G,I\]→ℱθ​\(⋅\)\[𝐗^I\]\.\[\\mathbf\{X\}^\{\\mathrm\{h\}\},G,I\]\\xrightarrow\{\\mathcal\{F\}\_\{\\theta\}\(\\cdot\)\}\[\\hat\{\\mathbf\{X\}\}^\{I\}\]\.\(1\)
Action\-Induced Response\.To characterize the changes caused by the action, we compare the intervened future𝐗I\\mathbf\{X\}^\{I\}with the*reference future*𝐗0\\mathbf\{X\}^\{0\}, the future from the same initial state without the action, and define the*response*Δ​𝐗=𝐗I−𝐗0\\Delta\\mathbf\{X\}=\\mathbf\{X\}^\{I\}\-\\mathbf\{X\}^\{0\}\. This difference separates action\-induced changes from the system’s evolution without the action\.

## 4PairST Benchmark

To provide a benchmark for action\-conditioned ST forecasting, we build PairST with simulators of traffic, power transmission and water distribution networks\. For each system state and action, the simulator generates the reference and intervened futures from the same state\.

### 4\.1Dataset Construction

PairST contains six datasets across three different domains, with two datasets per domain\. Each dataset is one physical network named by its system and number of graph units\. Specifically, the three domains are described below:

- •Traffic\.We generate PairST\-T16 and PairST\-T196 in CityFlow\([Zhang et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib41)\)on CoLight’s Hangzhou and New York roadnets\([Wei et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib35)\)\. An intervention changes the signal phase of one intersection, and the forecast variable is the vehicle count\.
- •Power\.We generate PairST\-P59 and PairST\-P186 in Grid2Op’s NeurIPS\-2020 and WCCI\-2022 environments\([Donnot, 2020](https://arxiv.org/html/2611.27044#bib.bib7);[Marot et al\., 2021](https://arxiv.org/html/2611.27044#bib.bib23);[Serré et al\., 2022](https://arxiv.org/html/2611.27044#bib.bib30)\)\. An intervention temporarily disconnects one transmission line, and the forecast variable is line loading in percent of the thermal limit\.
- •Water\.We generate PairST\-W119 and PairST\-W40 on EPANET’s\([Rossman et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib29)\)Net3 and Net2 networks\. An intervention temporarily closes one pipe, and the forecast variable is signed link flow in litres per second\.

Table[1](https://arxiv.org/html/2611.27044#S2.T1)summarizes the network sizes, action types and data splits\. Appendix[A](https://arxiv.org/html/2611.27044#A1)gives the graph of each dataset \(Figure[A\.1](https://arxiv.org/html/2611.27044#A1.F1)c\) and the complete simulator, record and qualification settings\.

Data Splits\.To test generalization across target locations, PairST evaluates forecasts at*new action targets*, namely locations never acted on in training\. We therefore split each dataset by action target, so that validation and test actions act only at locations never targeted in training, and keep training, validation and test days disjoint so that no system state is shared across splits\. All splits use the same physical network and action settings \(action types, onsets and durations\)\.

### 4\.2Dataset Analysis

We analyze the sparsity and spatial extent of action\-induced changes in PairST\. To quantify these properties, we first distinguish affected and quiet positions using the paired response\.

Response Regions\.An action can substantially change some network signals while leaving others nearly unchanged\. A*position*is indexed by a node, a future step and an output feature, writtenu=\(i,τ,c\)u=\(i,\\tau,c\)withi∈Vi\\in V,τ∈\{1,…,S\}\\tau\\in\\\{1,\\ldots,S\\\}andc∈\{1,…,D′\}c\\in\\\{1,\\ldots,D^\{\\prime\}\\\}, andΩ\\Omegacontains all positions in the forecast window\. For each datasetmm, we fix an active\-response thresholdama\_\{m\}in its native unit before model fitting and define

Ωmaff\\displaystyle\\Omega^\{\\mathrm\{aff\}\}\_\{m\}=\{u∈Ω:\|Δ​Xu\|≥am\},\\displaystyle=\\\{u\\in\\Omega:\|\\Delta X\_\{u\}\|\\geq a\_\{m\}\\\},\(2\)Ωmquiet\\displaystyle\\Omega^\{\\mathrm\{quiet\}\}\_\{m\}=\{u∈Ω:\|Δ​Xu\|<am/2\}\.\\displaystyle=\\\{u\\in\\Omega:\|\\Delta X\_\{u\}\|<a\_\{m\}/2\\\}\.Positions between the two thresholds remain in the overall evaluation but enter neither region\-specific metric\. On the traffic datasetsama\_\{m\}is four vehicles, and on power and water it is half the median peak\|Δ​X\|\|\\Delta X\|outside the target over training pairs \(Table[1](https://arxiv.org/html/2611.27044#S2.T1)\)\.

Sparsity\.Over training pairs, responses affect only a small fraction of the forecast window\. Affected positions account for only 0\.5%–7\.3% of a dataset’s output positions, while quiet positions account for 90%–99% \(Appendix Table[A\.2](https://arxiv.org/html/2611.27044#A1.T2)\)\. This sparsity follows from the actions themselves: each changes one component for a limited time, so most nodes and steps remain close to the reference future\.

Spatial Extent\.Responses differ markedly across systems in how far they spread from the target\. On five datasets, even the most responsive tenth of non\-target units reachesama\_\{m\}only within two hops of the target, whereas on PairST\-W119 it stays near or aboveama\_\{m\}out to 20 hops \(Figure[2](https://arxiv.org/html/2611.27044#S4.F2)\)\.

Together, these properties call for models that confine predicted changes to affected positions while adapting their spatial reach to each system\.

Figure 2:Spatial extent of the simulator response\. 90th percentile of the window peak\|Δ​X\|\|\\Delta X\|across non\-target units at each hop distance from the target, relative toama\_\{m\}, on training pairs\. Hops reached from fewer than half of the training target locations are omitted, and values below0\.01​am0\.01\\,a\_\{m\}lie in the grey band\.

## 5Methodology

![Refer to caption](https://arxiv.org/html/2611.27044v1/fig_framework.png)Figure 3:The framework of ActionST\.We propose ActionST to meet the requirements of addressability, state dependence and selectivity \(Figure[1](https://arxiv.org/html/2611.27044#S1.F1)\)\.

Framework Overview\(Figure[3](https://arxiv.org/html/2611.27044#S5.F3)\)\. ActionST first forecasts the future network signals as if no action were taken, then predicts how the action changes this forecast\. A base predictorHϕH\_\{\\phi\}maps the historical observations𝐗h\\mathbf\{X\}^\{\\mathrm\{h\}\}to two outputs, i\.e\., a hidden vectorhi∈ℝdhh\_\{i\}\\in\\mathbb\{R\}^\{d\_\{h\}\}for every nodeiiand the reference forecast𝐗^0\\hat\{\\mathbf\{X\}\}^\{0\}\(Figure[3](https://arxiv.org/html/2611.27044#S5.F3)a\)\. To distinguish nodes and times whose recent histories look alike, it also takes the node identity and the time of day as inputs, following STID\([Shao et al\., 2022](https://arxiv.org/html/2611.27044#bib.bib31)\), together with the forecast lead, i\.e\., the time from the forecast time to the onset, which places the output window in time\. Herehih\_\{i\}is the pre\-intervention representation of nodeiiat forecast time, which the response path takes as input, and𝐗^0\\hat\{\\mathbf\{X\}\}^\{0\}is the forecast to which the predicted change is added at the end\.

A response path then predicts the changes caused by the action \(Figure[3](https://arxiv.org/html/2611.27044#S5.F3)b\) through three modules:Node–Time Addressing \(NTA\)constructs a query for each node and future step, theState\-Conditioned Response Writer \(SCRW\)computes a candidate response at each query, and theGraph\-Aware Locality Gate \(GLG\)controls how strongly each candidate is written\. Together, they determine the position, content and strength of each write in a response stateΔ​Z∈ℝN×S×d\\Delta Z\\in\\mathbb\{R\}^\{N\\times S\\times d\}, and a bias\-free linear readout decodes it into a change that is added to the reference forecast \(Figure[3](https://arxiv.org/html/2611.27044#S5.F3)c\)\. The forecast at nodeiiand future stepτ\\tauis

𝐗^i,τI=𝐗^i,τ0\+𝝈⊙\(Wout​Δ​Zi,τ\),\\hat\{\\mathbf\{X\}\}^\{I\}\_\{i,\\tau\}=\\hat\{\\mathbf\{X\}\}^\{0\}\_\{i,\\tau\}\+\\boldsymbol\{\\sigma\}\\odot\\big\(W\_\{\\mathrm\{out\}\}\\Delta Z\_\{i,\\tau\}\\big\),\(3\)where𝐗^i,τI,𝐗^i,τ0∈ℝD′\\hat\{\\mathbf\{X\}\}^\{I\}\_\{i,\\tau\},\\hat\{\\mathbf\{X\}\}^\{0\}\_\{i,\\tau\}\\in\\mathbb\{R\}^\{D^\{\\prime\}\},Δ​Zi,τ∈ℝd\\Delta Z\_\{i,\\tau\}\\in\\mathbb\{R\}^\{d\}is the response state written at that node and step,ddis the width of the response path,Wout∈ℝD′×dW\_\{\\mathrm\{out\}\}\\in\\mathbb\{R\}^\{D^\{\\prime\}\\times d\}is the weight of the readout,𝝈∈ℝD′\\boldsymbol\{\\sigma\}\\in\\mathbb\{R\}^\{D^\{\\prime\}\}holds the training standard deviation of each output feature and⊙\\odotis the element\-wise product\. The layer\-level architectures of the base predictor and the response path are given in Appendix[B\.2](https://arxiv.org/html/2611.27044#A2.SS2)\. Next, we introduce the three modules of the response path in Figure[3](https://arxiv.org/html/2611.27044#S5.F3)b, i\.e\., NTA, SCRW and GLG\.

### 5\.1Node–Time Addressing

To predict action\-induced changes separately at each node and future step, the response path needs a distinct query for each node–time position\(i,τ\)\(i,\\tau\)\. NTA builds this query from the pre\-intervention state of nodeiiand the future stepτ\\taubeing predicted, which providesaddressability\.

In Figure[3](https://arxiv.org/html/2611.27044#S5.F3)b, a layer normalization followed by a linear map projects the node representationhih\_\{i\}of the base predictor to a statesi∈ℝds\_\{i\}\\in\\mathbb\{R\}^\{d\}of the response path, and a learned embeddingpτ∈ℝdp\_\{\\tau\}\\in\\mathbb\{R\}^\{d\}identifies the output positionτ\\tau\. Their sum forms the query

qi,τ=si\+pτ\.q\_\{i,\\tau\}=s\_\{i\}\+p\_\{\\tau\}\.\(4\)Because the output window is anchored at the onset,τ\\taualso fixes the query’s time relative to the intervention\. SCRW \(Section[5\.2](https://arxiv.org/html/2611.27044#S5.SS2)\) then answers each query with a candidate response\.

### 5\.2State\-Conditioned Response Writer

The same action can have very different effects under different operating conditions, e\.g\., at rush hour and late at night \(Section[1](https://arxiv.org/html/2611.27044#S1)\)\. To capture thisstate dependence, SCRW answers each node–time query with a candidate response computed from the action and the pre\-intervention states of the nodes around the target\.

Prefix\-Causal Encoding\.By a future stepτ\\tau, only the part of the action executed so far can have affected the network, so two interventions that differ only in duration should have the same predicted response until the shorter one ends, which matters in practice because the end of an action is often uncertain when the forecast is issued\. Inspired by the causal convolutions of WaveNet\([van den Oord et al\., 2016](https://arxiv.org/html/2611.27044#bib.bib32)\), we therefore encode the intervention so that no input of the response path reveals how long it lasts beyond each output position\. We writeI≤τI\_\{\\leq\\tau\}for the part of the record executed up toτ\\tau, andI≡τI′I\\equiv\_\{\\tau\}I^\{\\prime\}if two records with the same forecast window induce the same executed action at every step up toτ\\tau\. In place of the duration, the response path reads the*release features*ofτ\\tau, namely the time since onset, the time since the intervention ended \(zero while it is active\), and indicators of whether it is active or has ended\.

State\-Conditioned Attention\.The query at\(i,τ\)\(i,\\tau\)asks how the action changes nodeiiat stepτ\\tau\. To place it relative to the action, the writer adds toqi,τq\_\{i,\\tau\}a target\-relative encodingei∈ℝde\_\{i\}\\in\\mathbb\{R\}^\{d\}of the hop distance and direction of nodeiifrom the target and its out\-degree, and a release encodingρτ∈ℝd\\rho\_\{\\tau\}\\in\\mathbb\{R\}^\{d\}of the release features ofτ\\tau\. Because the writer identifies the target only througheie\_\{i\}, it treats new and training action targets in the same way\. The query then attends to the nodes withinkkdirected hops of the target, the target included, withkkset per dataset \(Appendix[B\.2](https://arxiv.org/html/2611.27044#A2.SS2)\), whose keys and values project\[sj,α,ej\]\[s\_\{j\},\\alpha,e\_\{j\}\], whereα∈ℝd\\alpha\\in\\mathbb\{R\}^\{d\}embeds the type, parameter and magnitude of the intervention\. The attention output, withρτ\\rho\_\{\\tau\}added again, gives the candidate responseCi,τ=W⁡\(qi,τ,s,I≤τ,G\)∈ℝdC\_\{i,\\tau\}=W\(q\_\{i,\\tau\},s,I\_\{\\leq\\tau\},G\)\\in\\mathbb\{R\}^\{d\}, which thus depends on what the action is, where it acts and the pre\-intervention states around the target\.

### 5\.3Graph\-Aware Locality Gate

SCRW decides what to write at each node–time position, yet most positions stay quiet under an action \(Section[4\.2](https://arxiv.org/html/2611.27044#S4.SS2)\), so writing every candidate in full would create spurious changes\. GLG providesselectivityby assigning each candidate a continuous weightgi,τ=Gate⁡\(si,I≤τ,τ,G\)∈\(0,1\)g\_\{i,\\tau\}=\\operatorname\{Gate\}\(s\_\{i\},I\_\{\\leq\\tau\},\\tau,G\)\\in\(0,1\), which keeps the candidate responseCi,τC\_\{i,\\tau\}when near one and suppresses it when near zero, while the content and direction of the response always come fromCi,τC\_\{i,\\tau\}\. A two\-layer perceptron with a sigmoid output sets this weight from where nodeiilies relative to the target \(eie\_\{i\}\), its pre\-intervention state \(sis\_\{i\}\), the magnitude of the action and its phase atτ\\tau\(the time relative to onset and the release features\), so the gate can stay open while the intervention is active and adapt once it has ended\. Because the weight is learned rather than fixed to decay with hop distance, the gate can also adapt its spatial reach to each system \(Figure[2](https://arxiv.org/html/2611.27044#S4.F2)\)\. Exact pre\-onset zeros come instead from the hard mask introduced next in Section[5\.4](https://arxiv.org/html/2611.27044#S5.SS4)\.

Table 2:Results on six PairST datasets\. Best in bold, second\-best underlined\. Datasets are named without the PairST\- prefix\. GWNet: Graph WaveNet\. Avg\. rank: mean rank over the 18 dataset and metric rows \(lower is better\)\.DatasetMetricSTGCNGWNetAGCRNConFormerIGSTGNNSTAEformerSTIDActionST \(ours\)T16MAE1\.334±\\pm0\.0051\.383±\\pm0\.0181\.492±\\pm0\.0301\.279±\\pm0\.0071\.293±\\pm0\.0141\.316±\\pm0\.0191\.305±\\pm0\.0081\.249±\\pm0\.010AMAE10\.727±\\pm0\.55210\.236±\\pm0\.48020\.002±\\pm0\.8807\.449±\\pm0\.2088\.925±\\pm0\.0198\.833±\\pm0\.3408\.805±\\pm0\.7576\.164±\\pm0\.539QMAE0\.233±\\pm0\.0140\.175±\\pm0\.0050\.267±\\pm0\.0510\.347±\\pm0\.0230\.177±\\pm0\.0090\.295±\\pm0\.0230\.334±\\pm0\.0200\.162±\\pm0\.002T196MAE0\.716±\\pm0\.0040\.711±\\pm0\.0100\.724±\\pm0\.0080\.805±\\pm0\.0350\.681±\\pm0\.0140\.690±\\pm0\.0240\.819±\\pm0\.0090\.663±\\pm0\.005AMAE10\.508±\\pm0\.0468\.196±\\pm0\.61811\.918±\\pm0\.8788\.745±\\pm0\.5648\.407±\\pm1\.6318\.539±\\pm2\.6009\.274±\\pm0\.0714\.440±\\pm0\.156QMAE0\.156±\\pm0\.0010\.116±\\pm0\.0060\.163±\\pm0\.0350\.454±\\pm0\.0470\.097±\\pm0\.0080\.130±\\pm0\.0280\.430±\\pm0\.0290\.098±\\pm0\.004P59MAE3\.088±\\pm0\.0933\.075±\\pm0\.0302\.976±\\pm0\.1073\.194±\\pm0\.2063\.000±\\pm0\.1862\.718±\\pm0\.1213\.325±\\pm0\.0412\.570±\\pm0\.065AMAE19\.017±\\pm0\.98818\.105±\\pm0\.55221\.336±\\pm0\.10417\.855±\\pm0\.17817\.326±\\pm0\.43518\.814±\\pm0\.96617\.698±\\pm0\.15018\.059±\\pm0\.059QMAE0\.598±\\pm0\.0260\.507±\\pm0\.0580\.446±\\pm0\.0501\.126±\\pm0\.2310\.601±\\pm0\.0750\.503±\\pm0\.0861\.437±\\pm0\.0050\.151±\\pm0\.038P186MAE5\.390±\\pm0\.0365\.665±\\pm0\.0205\.807±\\pm0\.0605\.416±\\pm0\.0205\.693±\\pm0\.0595\.341±\\pm0\.0915\.504±\\pm0\.0445\.293±\\pm0\.005AMAE15\.752±\\pm1\.02414\.585±\\pm0\.40219\.540±\\pm0\.28915\.054±\\pm0\.11515\.499±\\pm0\.41115\.603±\\pm0\.14115\.216±\\pm0\.35215\.604±\\pm0\.061QMAE0\.681±\\pm0\.0560\.352±\\pm0\.0241\.037±\\pm0\.0611\.350±\\pm0\.1380\.346±\\pm0\.0660\.302±\\pm0\.0731\.264±\\pm0\.0840\.098±\\pm0\.006W119MAE11\.281±\\pm0\.30310\.921±\\pm0\.19011\.749±\\pm0\.05812\.393±\\pm0\.23111\.068±\\pm0\.28011\.747±\\pm0\.34212\.147±\\pm0\.12111\.746±\\pm0\.202AMAE26\.745±\\pm0\.72423\.590±\\pm0\.52725\.731±\\pm8\.08733\.159±\\pm0\.08224\.466±\\pm1\.24321\.352±\\pm0\.43233\.845±\\pm0\.34234\.348±\\pm2\.185QMAE1\.925±\\pm0\.2471\.145±\\pm0\.0232\.168±\\pm0\.3422\.590±\\pm0\.1981\.389±\\pm0\.0511\.948±\\pm0\.4612\.644±\\pm0\.0310\.393±\\pm0\.306W40MAE0\.550±\\pm0\.0400\.603±\\pm0\.0490\.567±\\pm0\.0490\.607±\\pm0\.0100\.584±\\pm0\.0090\.568±\\pm0\.0340\.635±\\pm0\.0240\.489±\\pm0\.046AMAE5\.635±\\pm0\.8455\.949±\\pm1\.5806\.957±\\pm1\.9946\.853±\\pm0\.0205\.912±\\pm0\.9911\.962±\\pm0\.1247\.376±\\pm0\.1156\.444±\\pm1\.535QMAE0\.075±\\pm0\.0400\.108±\\pm0\.0340\.075±\\pm0\.0280\.156±\\pm0\.0150\.092±\\pm0\.0370\.229±\\pm0\.0160\.151±\\pm0\.0210\.017±\\pm0\.022Avg\. rank4\.783\.835\.785\.783\.443\.896\.222\.28
### 5\.4Constrained Write

The response state combines the candidate response and the gate under hard constraints that determine whether a write is permitted,ΔZi,τ=𝟏\[τ≥τon\]gi,τCi,τ\\Delta Z\_\{i,\\tau\}=\\mathbf\{1\}\[\\tau\\geq\\tau\_\{\\mathrm\{on\}\}\]\\,g\_\{i,\\tau\}\\,C\_\{i,\\tau\}\. The indicator blocks writes before the onset, and a hard null rule sets the candidate response exactly to zero when the record is empty\.

Together with the prefix\-causal encoding of Section[5\.2](https://arxiv.org/html/2611.27044#S5.SS2), these constraints give three structural properties, listed in the constrained write of Figure[3](https://arxiv.org/html/2611.27044#S5.F3)b\. WritingΔ​ZI\\Delta Z^\{I\}for the response state under recordII, they are\(i\)*null identity*,I=∅⇒Δ​ZI=𝟎I=\\varnothing\\Rightarrow\\Delta Z^\{I\}=\\mathbf\{0\}, i\.e\., an empty record writes nothing,\(ii\)*pre\-onset invariance*,τ<τon⇒Δ​Zi,τI=𝟎\\tau<\\tau\_\{\\mathrm\{on\}\}\\Rightarrow\\Delta Z^\{I\}\_\{i,\\tau\}=\\mathbf\{0\}, i\.e\., nothing is written before the onset, and\(iii\)*prefix consistency*,I≡τI′⇒ΔZI:,≤τ=ΔZI′:,≤τI\\equiv\_\{\\tau\}I^\{\\prime\}\\Rightarrow\\Delta Z^\{I\}\_\{:,\\leq\\tau\}=\\Delta Z^\{I^\{\\prime\}\}\_\{:,\\leq\\tau\}, i\.e\., two records with the same executed prefix write the same response up toτ\\tau\. BecauseWoutW\_\{\\mathrm\{out\}\}is bias\-free, Eq\.[3](https://arxiv.org/html/2611.27044#S5.E3)carries these properties to the forecast, so an empty record gives𝐗^I=𝐗^0\\hat\{\\mathbf\{X\}\}^\{I\}=\\hat\{\\mathbf\{X\}\}^\{0\}exactly\.

### 5\.5Training Objective

Having defined how responses are written, we train the model to predict the reference and intervened futures, capture action\-induced changes, and limit spurious responses in quiet regions\. The base predictor and the response path are trained jointly from scratch, and paired targets enter only the objective, never the model inputs\.ℒpred\\mathcal\{L\}\_\{\\mathrm\{pred\}\}sums the mean absolute error \(MAE\) of the reference and intervened futures, which supervises both outputs\.ℒresp\\mathcal\{L\}\_\{\\mathrm\{resp\}\}trains the affected\-region response by combining the response MAE on affected positions with a one\-third\-weighted medium stratum,am/2≤\|Δ​X\|<ama\_\{m\}/2\\leq\|\\Delta X\|<a\_\{m\}\. Each training term is first averaged within a pair\.

ℒresp\\mathcal\{L\}\_\{\\mathrm\{resp\}\}covers only affected and medium positions, so the response in the quiet region, where most positions lie, is supervised only indirectly throughℒpred\\mathcal\{L\}\_\{\\mathrm\{pred\}\}\. To superviseselectivitydirectly, we measure the magnitude of the predicted response there,

Equiet=1\|Ωmquiet\|​∑u∈Ωmquiet\|Δ​X^u\|\.E\_\{\\mathrm\{quiet\}\}=\\frac\{1\}\{\|\\Omega^\{\\mathrm\{quiet\}\}\_\{m\}\|\}\\sum\\nolimits\_\{u\\in\\Omega^\{\\mathrm\{quiet\}\}\_\{m\}\}\|\\Delta\\hat\{X\}\_\{u\}\|\.\(5\)A hinge penalizes it only beyond the toleranceϵ\\epsilon, the 90th percentile over training pairs of the mean true\|Δ​X\|\|\\Delta X\|in the quiet region, so predicted quiet changes may reach the simulator’s own quiet magnitude rather than being forced to zero\. The overall loss function is obtained by combining these terms,

ℒ=ℒpred\+ℒresp\+λq​\[Equiet−ϵ\]\+,\\mathcal\{L\}=\\mathcal\{L\}\_\{\\mathrm\{pred\}\}\+\\mathcal\{L\}\_\{\\mathrm\{resp\}\}\+\\lambda\_\{q\}\\,\[E\_\{\\mathrm\{quiet\}\}\-\\epsilon\]\_\{\+\},\(6\)whereλq\\lambda\_\{q\}weights the quiet\-region hinge\. Finally, no consistency penalty is needed because Eq\.[3](https://arxiv.org/html/2611.27044#S5.E3)givesΔ​𝐗^=𝐗^I−𝐗^0=𝝈⊙\(Wout​Δ​Z\)\\Delta\\hat\{\\mathbf\{X\}\}=\\hat\{\\mathbf\{X\}\}^\{I\}\-\\hat\{\\mathbf\{X\}\}^\{0\}=\\boldsymbol\{\\sigma\}\\odot\(W\_\{\\mathrm\{out\}\}\\Delta Z\)by construction\.

## 6Experiments

In this section, we evaluate ActionST through four research questions \(RQs\):

- •RQ1\.How does ActionST compare with existing ST forecasters under actions at new targets?
- •RQ2\.Does ActionST forecast affected regions accurately without spurious changes in quiet regions?
- •RQ3\.Do its gains extend beyond the intervention target?
- •RQ4\.How do the response\-path components affect accuracy and selectivity?

### 6\.1Experimental Setup

Baselines\.For comparison, we select seven existing ST forecasters, i\.e\., STGCN\([Yu et al\., 2018](https://arxiv.org/html/2611.27044#bib.bib39)\), Graph WaveNet\([Wu et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib37)\), AGCRN\([Bai et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib2)\), ConFormer\([Wang et al\., 2026a](https://arxiv.org/html/2611.27044#bib.bib33)\), IGSTGNN\([Fan et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib9)\), STAEformer\([Liu et al\., 2023a](https://arxiv.org/html/2611.27044#bib.bib20)\)and STID\([Shao et al\., 2022](https://arxiv.org/html/2611.27044#bib.bib31)\)\. To compare all methods on the same outputs, we adapt each baseline to read the intervention record as nine additional input channels at every node and history step, which mark the target and encode the timing and settings of the action, and to output a reference forecast𝐗^0\\hat\{\\mathbf\{X\}\}^\{0\}and an explicit responseΔ​𝐗^\\Delta\\hat\{\\mathbf\{X\}\}, whose sum gives𝐗^I\\hat\{\\mathbf\{X\}\}^\{I\}\(Appendix[B\.1](https://arxiv.org/html/2611.27044#A2.SS1)\)\.

Evaluation Metrics\.For any setAAof scored positions, pooled across test pairs, define

ErrA⁡\(Y^,Y\)=1\|A\|​∑u∈A\|Y^u−Yu\|\.\\operatorname\{Err\}\_\{A\}\(\\hat\{Y\},Y\)=\\frac\{1\}\{\|A\|\}\\sum\\nolimits\_\{u\\in A\}\|\\hat\{Y\}\_\{u\}\-Y\_\{u\}\|\.\(7\)The core errors are

MAE\\displaystyle\\mathrm\{MAE\}=ErrΩ⁡\(𝐗^I,𝐗I\),\\displaystyle=\\operatorname\{Err\}\_\{\\Omega\}\(\\hat\{\\mathbf\{X\}\}^\{I\},\\mathbf\{X\}^\{I\}\),\(8\)AMAE\\displaystyle\\mathrm\{AMAE\}=ErrΩmaff⁡\(𝐗^I,𝐗I\),\\displaystyle=\\operatorname\{Err\}\_\{\\Omega^\{\\mathrm\{aff\}\}\_\{m\}\}\(\\hat\{\\mathbf\{X\}\}^\{I\},\\mathbf\{X\}^\{I\}\),QMAE\\displaystyle\\mathrm\{QMAE\}=ErrΩmquiet⁡\(Δ​𝐗^,Δ​𝐗\)\.\\displaystyle=\\operatorname\{Err\}\_\{\\Omega^\{\\mathrm\{quiet\}\}\_\{m\}\}\(\\Delta\\hat\{\\mathbf\{X\}\},\\Delta\\mathbf\{X\}\)\.MAE is the primary task metric\. Because affected positions are sparse \(Section[4\.2](https://arxiv.org/html/2611.27044#S4.SS2)\), MAE alone can hide both a missed response and a fabricated one, so AMAE scores the intervened forecast where the simulator responds and QMAE scores the response error in the quiet region\.

Note that AMAE combines errors at the intervention targeti⋆i^\{\\star\}with errors at affected non\-target positions, so we also decompose it into

T​\-​AMAE\\displaystyle\\mathrm\{T\\text\{\-\}AMAE\}=Err\{u∈Ωmaff:i=i⋆\}\(𝐗^I,𝐗I\),\\displaystyle=\\operatorname\{Err\}\_\{\\\{u\\in\\Omega^\{\\mathrm\{aff\}\}\_\{m\}:\\,i=i^\{\\star\}\\\}\}\(\\hat\{\\mathbf\{X\}\}^\{I\},\\mathbf\{X\}^\{I\}\),\(9\)NT​\-​AMAE\\displaystyle\\mathrm\{NT\\text\{\-\}AMAE\}=Err\{u∈Ωmaff:i≠i⋆\}\(𝐗^I,𝐗I\)\.\\displaystyle=\\operatorname\{Err\}\_\{\\\{u\\in\\Omega^\{\\mathrm\{aff\}\}\_\{m\}:\\,i\\neq i^\{\\star\}\\\}\}\(\\hat\{\\mathbf\{X\}\}^\{I\},\\mathbf\{X\}^\{I\}\)\.For all metrics, lower values indicate better performance\.

Evaluation Protocol\.Each learned method is executed three times on the same fixed data split, and we report the mean and standard deviation of each metric\. Every selection uses validation data\. All tables score forecasts issued one hour before the intervention onset\.

Implementation Details\.All learned methods are implemented in PyTorch and trained with AdamW at a learning rate of10−310^\{\-3\}and a batch size of 16\. Appendix[B](https://arxiv.org/html/2611.27044#A2)gives the baseline implementations and adaptations, the architecture and per\-dataset configuration of ActionST, and the training and selection protocol\.

Figure 4:Errors at and beyond the target, shown as ratios of ActionST to the strongest existing forecaster \(below1×1\\timesis better\)\. Gray segments connect the two regional estimates for each dataset, and bars propagate standard deviations on the log\-ratio scale\.
### 6\.2Model Comparison \(RQ1\)

To addressRQ1, the MAE entries of Table[2](https://arxiv.org/html/2611.27044#S5.T2)compare the overall intervened\-future accuracy of the existing forecasters and ActionST on the six datasets\. ActionST attains the lowest MAE on five of the six datasets, 0\.9% to 11\.0% below the most accurate existing forecaster on each, and the best average rank\. On PairST\-P186, the margin lies within the runner\-up’s run\-to\-run spread\. On PairST\-W119, it ranks fourth, and two of its three runs predict almost no response\.

Figure 5:Component variants and hyperparameter sensitivity\. \(a, b\) Ratios of mean test AMAE and QMAE to the full model, where values above1×1\\timesare worse\. An entry is unshaded when its absolute mean difference is no larger than the larger run\-to\-run standard deviation\. \(c–e\) Test AMAE \(circles, left axis\) and QMAE \(squares, right axis\) on each dataset, in the units of Table[2](https://arxiv.org/html/2611.27044#S5.T2)\. Bars show the standard deviation over runs\.
### 6\.3Response Evaluation \(RQ2\)

To addressRQ2, the AMAE and QMAE entries of Table[2](https://arxiv.org/html/2611.27044#S5.T2)compare affected\-region accuracy and quiet\-region selectivity\. Because predicting no response already gives a low QMAE, the two errors are read together\. On traffic, ActionST attains the lowest AMAE on both datasets, 17% and 46% below the most accurate existing forecaster, while its QMAE is the lowest on PairST\-T16 and within 2% of the lowest on PairST\-T196\. On power, it lowers QMAE by about two thirds relative to every existing forecaster, while its AMAE stays within 7% of the best\. On water, its QMAE is again the lowest, but its AMAE is higher than that of most existing forecasters, so the low quiet\-region error there partly reflects a weaker response rather than better selectivity\. Within each system, the second dataset reproduces the pattern of the first\.

### 6\.4Response Propagation \(RQ3\)

To examine whether the gains extend beyond the intervention target, Figure[4](https://arxiv.org/html/2611.27044#S6.F4)compares the T\-AMAE and NT\-AMAE of ActionST with those of the strongest existing forecaster, i\.e\., the one with the lowest validation MAE on each dataset\. On the traffic datasets, T\-AMAE decreases by 13% and 42%, and NT\-AMAE by 39% and 48%, on PairST\-T16 and PairST\-T196, respectively\. On the power datasets, the gain concentrates at the target\. ActionST reduces T\-AMAE by 62% on PairST\-P59 and by 15% on PairST\-P186, while NT\-AMAE differs from the strongest forecaster by at most 5%\. Water marks the current boundary: PairST\-W40 shows lower mean ratios with large run\-to\-run variation, whereas PairST\-W119 is worse at both target and affected non\-target positions\. Thus, on both traffic datasets, ActionST’s forecasting gains extend beyond the intervention target\.

### 6\.5Ablation Study \(RQ4\)

To addressRQ4, we compare four variants on PairST\-T16 and PairST\-P59, keeping the base predictor, data, objective and training rule fixed \(Figure[5](https://arxiv.org/html/2611.27044#S6.F5)a,b\):w/o Resplets the base predictor read the intervention directly instead of using a separate response path,w/o Attnreplaces the attention writer with a parameter\-matched node–time MLP,w/o Gateremoves the locality gate, andw/o Prefixexposes the full intervention record instead of its executed prefix\.

Response separation provides the largest benefit, as w/o Resp roughly doubles QMAE on PairST\-T16 and increases it more than fivefold on PairST\-P59\. Removing the gate raises QMAE by 22% and nearly fourfold on the two datasets, respectively, while leaving AMAE essentially unchanged, whereas replacing the attention writer raises PairST\-T16 AMAE by 15% and more than doubles PairST\-P59 QMAE\. Exposing the full record does not reduce AMAE or QMAE beyond run\-to\-run variation, so prefix\-causal encoding provides prefix consistency \(Section[5\.4](https://arxiv.org/html/2611.27044#S5.SS4)\) at no cost in accuracy\. Overall, response separation contributes most, while the attention writer and the gate preserve affected\-region accuracy and quiet\-region selectivity\.

### 6\.6Hyperparameter Study

We vary the response widthdd, the writer radiuskkand the quiet\-hinge weightλq\\lambda\_\{q\}one at a time on PairST\-T16, PairST\-P59 and PairST\-W119\. These control the capacity, neighbourhood context and quiet\-region emphasis of the response path, respectively \(Figure[5](https://arxiv.org/html/2611.27044#S6.F5)c–e\)\. The MAE of the intervened future changes by at most 5\.5% across the tested ranges, whereas AMAE and QMAE vary more and expose a trade\-off between affected\-region and quiet\-region error\. The middle response width gives the lowest AMAE on all three datasets\. Increasingkklowers QMAE on PairST\-T16 and PairST\-P59 without moving AMAE beyond run\-to\-run variation\. Increasingλq\\lambda\_\{q\}from1/61/6to2/32/3lowers QMAE on these two datasets by 17% and 37%, respectively, although AMAE rises on PairST\-T16\. On PairST\-W119, the largest width and radius suppress the response almost entirely, so their lower QMAE does not indicate improved selectivity\.

## 7Conclusion

We studied action\-conditioned ST forecasting, which asks how a networked system will evolve under a specified action\. We constructed PairST, whose same\-state paired futures on six datasets across traffic, power transmission and water distribution supervise and evaluate the response directly\. Building on these pairs, ActionST forecasts the intervened future by writing an explicit response onto an intervention\-independent reference forecast\. At new action targets, ActionST gave a more accurate intervened forecast than the compared forecasters on five of six datasets\. Its affected\-region advantage was largest on traffic, where it extended beyond the intervention target, and on power it lowered quiet\-region response error by about two thirds with affected\-region error within 7% of the best\. PairST currently covers one action type per system and a single action at one target in each scenario\. In the future, extending PairST to more action types, repeated actions and simultaneous actions at multiple locations is a promising research direction\.

## References

- Aryandoust et al\. \(2022\)Aryandoust, A\., Patt, A\., and Pfenninger, S\.Enhanced spatio\-temporal electric load forecasts using less data with active deep learning\.*Nature Machine Intelligence*, 4\(11\):977–991, 2022\.doi:10\.1038/s42256\-022\-00552\-x\.
- Bai et al\. \(2020\)Bai, L\., Yao, L\., Li, C\., Wang, X\., and Wang, C\.Adaptive graph convolutional recurrent network for traffic forecasting\.In*Advances in Neural Information Processing Systems*, 2020\.
- Baum\-Snow & Ferreira \(2015\)Baum\-Snow, N\. and Ferreira, F\.Causal inference in urban and regional economics\.In*Handbook of Regional and Urban Economics*, volume 5, pp\. 3–68\. Elsevier, 2015\.
- Bica et al\. \(2020\)Bica, I\., Alaa, A\. M\., Jordon, J\., and van der Schaar, M\.Estimating counterfactual treatment outcomes over time through adversarially balanced representations\.In*International Conference on Learning Representations*, 2020\.
- Chen et al\. \(2026\)Chen, Y\., Li, P\., Xu, Y\., Ma, Q\., Yang, J\., Wang, K\., Yang, J\., An, D\., Guan, H\., Liu, G\., Si, J\., Huang, J\., Liu, J\., Liu, N\., Huang, Y\., and Wang, L\.FlowWAM: Optical flow as a unified action representation for world action models, 2026\.URL[https://arxiv\.org/abs/2607\.13017](https://arxiv.org/abs/2607.13017)\.
- Deng et al\. \(2020\)Deng, S\., Wang, S\., Rangwala, H\., Wang, L\., and Ning, Y\.Cola\-GNN: Cross\-location attention based graph neural networks for long\-term ILI prediction\.In*Proceedings of the 29th ACM International Conference on Information & Knowledge Management*, pp\. 245–254, 2020\.doi:10\.1145/3340531\.3411975\.
- Donnot \(2020\)Donnot, B\.Grid2op: A testbed platform to model sequential decision making in power systems\.[https://github\.com/Grid2Op/grid2op](https://github.com/Grid2Op/grid2op), 2020\.
- Donon et al\. \(2020\)Donon, B\., Donnot, B\., Guyon, I\., Liu, Z\., Marot, A\., Panciatici, P\., and Schoenauer, M\.LEAP nets for system identification and application to power systems\.*Neurocomputing*, 416:316–327, 2020\.doi:10\.1016/j\.neucom\.2019\.12\.135\.
- Fan et al\. \(2026\)Fan, L\., Li, B\., Zou, T\., Ye, J\., and Du, B\.Incident\-guided spatiotemporal traffic forecasting\.In*Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\.1*, pp\. 243–254, 2026\.doi:10\.1145/3770854\.3780215\.
- Fisher et al\. \(2008\)Fisher, E\. B\., O’Neill, R\. P\., and Ferris, M\. C\.Optimal transmission switching\.*IEEE Transactions on Power Systems*, 23\(3\):1346–1355, 2008\.doi:10\.1109/TPWRS\.2008\.922256\.
- Gou et al\. \(2025\)Gou, X\., Li, Z\., Lan, T\., Lin, J\., Li, Z\., Zhao, B\., Zhang, C\., Wang, D\., and Zhang, X\.TraffiDent: A dataset for understanding the interplay between traffic dynamics and incidents\.In*Advances in Neural Information Processing Systems*, volume 38, 2025\.doi:10\.52202/085713\-2796\.
- Hernán & Robins \(2020\)Hernán, M\. A\. and Robins, J\. M\.*Causal Inference: What If*\.Chapman & Hall/CRC, Boca Raton, 2020\.URL[https://miguelhernan\.org/whatifbook](https://miguelhernan.org/whatifbook)\.
- Kitahara et al\. \(2026\)Kitahara, T\., Shirakami, R\., Takeuchi, K\., and Kashima, H\.CASTANET: Causality\-aware spatio\-temporal adversarial network using traffic incident effects, 2026\.URL[https://arxiv\.org/abs/2608\.27942](https://arxiv.org/abs/2608.27942)\.
- Klise et al\. \(2017\)Klise, K\. A\., Bynum, M\., Moriarty, D\., and Murray, R\.A software framework for assessing the resilience of drinking water systems to disasters with an example earthquake case study\.*Environmental Modelling & Software*, 95:420–431, 2017\.doi:10\.1016/j\.envsoft\.2017\.06\.022\.
- Lai et al\. \(2025\)Lai, S\., Xu, Z\., Zhang, W\., Liu, H\., and Xiong, H\.LLMLight: Large language models as traffic signal control agents\.In*Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining, V\.1*, pp\. 2335–2346, 2025\.doi:10\.1145/3690624\.3709379\.
- Li et al\. \(2025a\)Li, H\., Qu, H\., Tan, X\., You, L\., Zhu, R\., and Fan, W\.UrbanEV: An open benchmark dataset for urban electric vehicle charging demand prediction\.*Scientific Data*, 12:523, 2025a\.doi:10\.1038/s41597\-025\-04874\-4\.
- Li et al\. \(2018\)Li, Y\., Yu, R\., Shahabi, C\., and Liu, Y\.Diffusion convolutional recurrent neural network: Data\-driven traffic forecasting\.In*International Conference on Learning Representations*, 2018\.
- Li et al\. \(2025b\)Li, Z\., Xia, L\., Shi, L\., Xu, Y\., Yin, D\., and Huang, C\.Open spatio\-temporal foundation models for traffic prediction\.*ACM Transactions on Intelligent Systems and Technology*, 2025b\.doi:10\.1145/3773912\.
- Liang et al\. \(2023\)Liang, Y\., Xia, Y\., Ke, S\., Wang, Y\., Wen, Q\., Zhang, J\., Zheng, Y\., and Zimmermann, R\.AirFormer: Predicting nationwide air quality in China with transformers\.In*Proceedings of the AAAI Conference on Artificial Intelligence*, volume 37, pp\. 14329–14337, 2023\.doi:10\.1609/aaai\.v37i12\.26676\.
- Liu et al\. \(2023a\)Liu, H\., Dong, Z\., Jiang, R\., Deng, J\., Deng, J\., Chen, Q\., and Song, X\.Spatio\-temporal adaptive embedding makes vanilla transformer SOTA for traffic forecasting\.In*Proceedings of the 32nd ACM International Conference on Information and Knowledge Management*, pp\. 4125–4129\. ACM, 2023a\.doi:10\.1145/3583780\.3615160\.
- Liu et al\. \(2023b\)Liu, X\., Xia, Y\., Liang, Y\., Hu, J\., Wang, Y\., Bai, L\., Huang, C\., Liu, Z\., Hooi, B\., and Zimmermann, R\.LargeST: A benchmark dataset for large\-scale traffic forecasting\.In*Advances in Neural Information Processing Systems*, volume 36, 2023b\.doi:10\.52202/075280\-3293\.
- Ma et al\. \(2026\)Ma, Y\., Wang, Z\., Sun, W\., Zhang, Z\., Shi, K\., Chawla, N\., and Ye, Y\.Policy4OOD: A knowledge\-guided world model for policy intervention simulation against the opioid overdose crisis, 2026\.URL[https://arxiv\.org/abs/2602\.12373](https://arxiv.org/abs/2602.12373)\.
- Marot et al\. \(2021\)Marot, A\., Donnot, B\., Dulac\-Arnold, G\., Kelly, A\., O’Sullivan, A\., Viebahn, J\., Awad, M\., Guyon, I\., Panciatici, P\., and Romero, C\.Learning to run a power network challenge: a retrospective analysis\.In*Proceedings of the NeurIPS 2020 Competition and Demonstration Track*, volume 133 of*Proceedings of Machine Learning Research*, pp\. 112–132\. PMLR, 2021\.URL[https://proceedings\.mlr\.press/v133/marot21a\.html](https://proceedings.mlr.press/v133/marot21a.html)\.
- Melnychuk et al\. \(2022\)Melnychuk, V\., Frauen, D\., and Feuerriegel, S\.Causal transformer for estimating counterfactual outcomes\.In*International Conference on Machine Learning*, volume 162 of*PMLR*, 2022\.
- Niu et al\. \(2025\)Niu, Y\., Psaltis, D\., Moser, C\., and Lambertini, L\.Solar forecasting with causality: A graph\-transformer approach to spatiotemporal dependencies, 2025\.URL[https://arxiv\.org/abs/2509\.15481](https://arxiv.org/abs/2509.15481)\.
- Oprescu et al\. \(2025\)Oprescu, M\., Park, D\. K\., Luo, X\., Yoo, S\., and Kallus, N\.GST\-UNet: A neural framework for spatiotemporal causal inference with time\-varying confounding\.In*Advances in Neural Information Processing Systems*, volume 38, 2025\.doi:10\.52202/085713\-0582\.
- Panagopoulos et al\. \(2021\)Panagopoulos, G\., Nikolentzos, G\., and Vazirgiannis, M\.Transfer graph neural networks for pandemic forecasting\.In*Proceedings of the AAAI Conference on Artificial Intelligence*, volume 35, pp\. 4838–4845, 2021\.doi:10\.1609/aaai\.v35i6\.16616\.
- Qi et al\. \(2026\)Qi, X\., Chai, H\., Wang, Y\., and Li, Y\.Beyond static forecasting: Unleashing the power of world models for mobile traffic extrapolation, 2026\.URL[https://arxiv\.org/abs/2604\.08199](https://arxiv.org/abs/2604.08199)\.
- Rossman et al\. \(2020\)Rossman, L\., Woo, H\., Tryby, M\., Shang, F\., Janke, R\., and Haxton, T\.EPANET 2\.2 user manual\.Technical Report EPA/600/R\-20/133, U\.S\. Environmental Protection Agency, Washington, DC, 2020\.URL[https://cfpub\.epa\.gov/si/si\_public\_record\_report\.cfm?dirEntryId=348882](https://cfpub.epa.gov/si/si_public_record_report.cfm?dirEntryId=348882)\.
- Serré et al\. \(2022\)Serré, G\., Boguslawski, E\., Donnot, B\., Pavão, A\., Guyon, I\., and Marot, A\.Reinforcement learning for energies of the future and carbon neutrality: A challenge design\.In*2022 IEEE Symposium Series on Computational Intelligence \(SSCI\)*, Singapore, 2022\.URL[https://arxiv\.org/abs/2207\.10330](https://arxiv.org/abs/2207.10330)\.
- Shao et al\. \(2022\)Shao, Z\., Zhang, Z\., Wang, F\., Wei, W\., and Xu, Y\.Spatial\-temporal identity: A simple yet effective baseline for multivariate time series forecasting\.In*Proceedings of the 31st ACM International Conference on Information and Knowledge Management*, pp\. 4454–4458\. ACM, 2022\.doi:10\.1145/3511808\.3557702\.
- van den Oord et al\. \(2016\)van den Oord, A\., Dieleman, S\., Zen, H\., Simonyan, K\., Vinyals, O\., Graves, A\., Kalchbrenner, N\., Senior, A\., and Kavukcuoglu, K\.WaveNet: A generative model for raw audio, 2016\.URL[https://arxiv\.org/abs/1609\.03499](https://arxiv.org/abs/1609.03499)\.
- Wang et al\. \(2026a\)Wang, H\., Yong, J\., Wang, J\., Fukushima, S\., and Jiang, R\.Towards resilient transportation: A conditional transformer for accident\-informed traffic forecasting\.In*Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\.1*, pp\. 1424–1434\. ACM, 2026a\.doi:10\.1145/3770854\.3780312\.
- Wang et al\. \(2026b\)Wang, X\., Zheng, H\., Yuan, M\., Yang, L\., and Liu, Z\.A chosen future can still be rewritten: Causal writability in video models, 2026b\.URL[https://arxiv\.org/abs/2609\.15980](https://arxiv.org/abs/2609.15980)\.
- Wei et al\. \(2019\)Wei, H\., Xu, N\., Zhang, H\., Zheng, G\., Zang, X\., Chen, C\., Zhang, W\., Zhu, Y\., Xu, K\., and Li, Z\.CoLight: Learning network\-level cooperation for traffic signal control\.In*Proceedings of the 28th ACM International Conference on Information and Knowledge Management*, pp\. 1913–1922\. ACM, 2019\.doi:10\.1145/3357384\.3357902\.
- Wen et al\. \(2023\)Wen, H\., Lin, Y\., Xia, Y\., Wan, H\., Wen, Q\., and Zimmermann, R\.DiffSTG: Probabilistic spatio\-temporal graph forecasting with denoising diffusion models\.In*Proceedings of the 31st ACM International Conference on Advances in Geographic Information Systems*, pp\. 1–12, 2023\.doi:10\.1145/3589132\.3625614\.
- Wu et al\. \(2019\)Wu, Z\., Pan, S\., Long, G\., Jiang, J\., and Zhang, C\.Graph WaveNet for deep spatial\-temporal graph modeling\.In*Proceedings of the Twenty\-Eighth International Joint Conference on Artificial Intelligence*, pp\. 1907–1913, 2019\.doi:10\.24963/ijcai\.2019/264\.
- Yi et al\. \(2018\)Yi, X\., Zhang, J\., Wang, Z\., Li, T\., and Zheng, Y\.Deep distributed fusion network for air quality prediction\.In*Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining*, pp\. 965–973, 2018\.doi:10\.1145/3219819\.3219822\.
- Yu et al\. \(2018\)Yu, B\., Yin, H\., and Zhu, Z\.Spatio\-temporal graph convolutional networks: A deep learning framework for traffic forecasting\.In*Proceedings of the Twenty\-Seventh International Joint Conference on Artificial Intelligence*, pp\. 3634–3640\. International Joint Conferences on Artificial Intelligence Organization, 2018\.doi:10\.24963/ijcai\.2018/505\.
- Yuan et al\. \(2024\)Yuan, Y\., Ding, J\., Feng, J\., Jin, D\., and Li, Y\.UniST: A prompt\-empowered universal model for urban spatio\-temporal prediction\.In*Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining*, Barcelona, Spain, 2024\.doi:10\.1145/3637528\.3671662\.
- Zhang et al\. \(2019\)Zhang, H\., Feng, S\., Liu, C\., Ding, Y\., Zhu, Y\., Zhou, Z\., Zhang, W\., Yu, Y\., Jin, H\., and Li, Z\.CityFlow: A multi\-agent reinforcement learning environment for large scale city traffic scenario\.In*The World Wide Web Conference \(WWW ’19\)*, pp\. 3620–3624\. ACM, 2019\.doi:10\.1145/3308558\.3314139\.
- Zou et al\. \(2026\)Zou, X\., Yang, Y\., Chen, Z\., Hao, X\., Chen, Y\., Huang, C\., and Liang, Y\.Traffic\-R1: Reinforced LLMs bring human\-like reasoning to traffic signal control systems\.In*Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\)*, pp\. 21823–21838\. Association for Computational Linguistics, 2026\.doi:10\.18653/v1/2026\.acl\-long\.995\.URL[https://aclanthology\.org/2026\.acl\-long\.995/](https://aclanthology.org/2026.acl-long.995/)\.

## Appendix APairST Dataset Details

This section gives the generation, split and threshold settings of the PairST datasets and characterizes their simulator response, computed on training pairs unless a split is named\.

### A\.1Generation Details

Traffic\.Both datasets run in CityFlow\([Zhang et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib41)\)and record the mean vehicle count on the incoming lanes of each intersection in five\-minute bins\. PairST\-T16 uses the anonymized CoLight Hangzhou4×44\\times 4assets\([Wei et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib35)\)and PairST\-T196 the CoLight New York28×728\\times 7assets, and both are source assets rather than geographically faithful city maps\. Demand is synthetic on both, with departures following a shared daily profile and routes resampled from each asset’s route pool\.

Power\.PairST\-P59 runs the small NeurIPS\-2020 Track\-1 environment of Grid2Op\([Donnot, 2020](https://arxiv.org/html/2611.27044#bib.bib7);[Marot et al\., 2021](https://arxiv.org/html/2611.27044#bib.bib23)\), with 36 substations and 59 lines, and PairST\-P186 the WCCI\-2022 environment, with 118 substations and 186 lines, both with the opponent disabled and the maintenance schedule retained\. Power flows are solved with PandaPower on PairST\-P59 and LightSim2Grid on PairST\-P186\. Both datasets record line loading, the flow of each line as a percentage of its thermal limit, at the native five\-minute step, and each day is one load and generation scenario of the environment\.

Water\.Both datasets run EPANET\([Rossman et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib29)\)through WNTR\([Klise et al\., 2017](https://arxiv.org/html/2611.27044#bib.bib14)\)with pressure\-driven demand and record signed link flow in litres per second \(L/s\) in fifteen\-minute bins\. Each day multiplies the base demand of every junction by the exponential of a graph\-smoothed spatial field and a temporal AR\(1\) process, with standard deviations0\.150\.15and0\.100\.10and temporal correlation0\.950\.95, clipped to\[0\.5,1\.6\]\[0\.5,1\.6\]\. The spatial standard deviation is taken over the positive\-demand junctions on PairST\-W40 and over all junctions on PairST\-W119\.

Graphs\.On traffic, each node is an intersection, and a directed edge runs from one intersection to the next when a road leaves the first and enters the second\. On power, each node is a transmission line, and two lines are connected when they share a substation\. On water, each node is a link, and two links are connected when they share a junction, tank or reservoir, so the power and water graphs are undirected\. Hop distances follow these edges, and the direction in the target\-relative encoding is the compass direction between the planar positions of two nodes\. Figure[A\.1](https://arxiv.org/html/2611.27044#A1.F1)c draws each graph on the schematic layout of its asset, together with one training pair per dataset\. The pair is the one closest to the dataset’s training medians of the target peak, the non\-target peak and the number of affected non\-target units, and the neighbour is the lowest\-indexed unit one hop from the target\.

Figure A\.1:Network layouts and one training pair per dataset, chosen by the median rule above\. \(a\) Target trajectory without \(𝐗0\\mathbf\{X\}^\{0\}\) and with \(𝐗I\\mathbf\{X\}^\{I\}\) the intervention, after the history tail ending at the forecast time \(dotted\), andΔ​X\\Delta Xat the target and one neighbour, with±am\\pm a\_\{m\}dashed\. \(b\)Δ​X\\Delta Xof every unit by hop distance, with the colour range set by the non\-target units and the intervention start \(solid\) and end \(dotted\)\. \(c\) Peak\|Δ​X\|\|\\Delta X\|on the schematic layout, with the target outlined or black and excluded from the colour scale\. Shading marks the intervention\.History and Forecast Windows\.In every dataset the first simulated day supplies the 24\-hour history, and every intervention starts on the second day\. Every onset lies at least 8 hours into the second day, so a forecast issued up to 8 hours before the onset, the longest lead the generators use, still has the full 24\-hour history as input\. The history ends at the forecast time, and the output window starts at or after it\.

Onsets and Durations\.The four traffic onsets fall at the morning demand peak, two hours after it, and one hour before and after the evening peak, and the power and water onsets are spread over the day, every four and every three hours\. Each location carries eight records, four onsets crossed with two durations, and the same grid applies in every split \(Table[A\.1](https://arxiv.org/html/2611.27044#A1.T1)\)\. On traffic, the eight records of a location set each of the four signal phases equally often\.

Table A\.1:Record grid of each dataset\. Onsets: hours after the start of the second simulated day\. Output window: relative to the onset\.Response Thresholds\.The traffic thresholdam=4a\_\{m\}=4vehicles is shared by both traffic datasets and was fixed without reference to their responses\.

### A\.2Splits and Qualification

Eligible targets are, for traffic, the signalized intersections whose signal plan carries these four phases, for power the lines whose disconnection does not split the grid and yields a valid outcome, chiefly one without game over, on at least 95% of calibration scenarios, and for water the initially open pipes whose closure does not disconnect the network\. Each dataset ranks its eligible targets by the response size of a calibration screen and selectsmin⁡\(24,eligible\)\\min\(24,\\text\{eligible\}\)locations stratified by that size, drawn by a seeded rule on traffic and water and taken as the lower median of each stratum on power\. A seeded assignment within strata then splits them into training, validation and test in proportions of about2/32/3,1/61/6and1/61/6, so that every split spans the range of response sizes\. PairST\-T16 and PairST\-W40 have fewer than 24 eligible targets and use all of them\. Days are drawn by each generator’s seeded rule, and no day belongs to two splits\. A power day is accepted only when its two no\-action replays agree and every record of its split is valid on it\. Table[1](https://arxiv.org/html/2611.27044#S2.T1)gives the final counts\.

Before any model is trained, each dataset must show exact paired replay, an acceptance rate of at least0\.950\.95, a response rate of at least0\.500\.50, a quiet\-position share of at least0\.250\.25, and no training location or day in validation or test\. Response rate is the share of accepted pairs with an active response outside the target\.

### A\.3Characteristics of Action\-Induced Changes

Beyond the single pairs of Figure[A\.1](https://arxiv.org/html/2611.27044#A1.F1), we characterize action\-induced changes in PairST through their magnitude and sparsity, spatial extent, temporal evolution and distributions across data splits\.

Figure A\.2:Response characteristics of the PairST datasets, relative toama\_\{m\}\. \(a\) Window peak\|Δ​X\|\|\\Delta X\|of non\-target units by hop distance: median, interquartile range and 10th to 90th percentile, at hops reached from at least half of the training target locations\. \(b\) Largest non\-target\|Δ​X\|\|\\Delta X\|\(solid, median and interquartile range\) and target\|Δ​X\|\|\\Delta X\|\(dashed, median\) at each step, per duration, with the onset marked\. \(c\) Non\-target peak by split, as boxes with 10th to 90th percentile whiskers and one dot per location median\. Dashed lines markama\_\{m\}, and values below0\.01​am0\.01\\,a\_\{m\}lie in the grey band\.Response Size and Sparsity\.Table[A\.2](https://arxiv.org/html/2611.27044#A1.T2)reports the response size and sparsity of each dataset in its native unit, and PairST\-W119 has both the largest share of affected positions and the heaviest tail of non\-target peaks\.

Table A\.2:Response characteristics of the PairST datasets, with shares in percent\.\|X0\|\|X^\{0\}\|: median no\-intervention magnitude over day and time bins\. Non\-target peak: largest\|Δ​X\|\|\\Delta X\|outside the target in a pair’s output window, median \[interquartile range\]\. Affected, Quiet: shares of output positions, target included\. Units aff\.: median share of non\-target units affected at some step\. Not recovered: pairs with a non\-quiet unit in the last 30 minutes of the window, short / long duration\.Spatial Extent\.The response of a non\-target unit shrinks with its hop distance to the target, and at no distance on any dataset does the median unit reachama\_\{m\}, so an affected non\-target unit is the exception at every distance \(Figure[A\.2](https://arxiv.org/html/2611.27044#A1.F2)a\)\.

Temporal Evolution\.On most datasets the response begins at the onset and returns to quiet within the output window, and only on PairST\-W119 and PairST\-T196 does part of it outlast the intervention \(Figure[A\.2](https://arxiv.org/html/2611.27044#A1.F2)b and Not recovered in Table[A\.2](https://arxiv.org/html/2611.27044#A1.T2)\)\.

Split Comparability\.On every dataset the non\-target peaks of the training, validation and test splits overlap, although each validation and test split has only three or four target locations, which set its distribution \(Figure[A\.2](https://arxiv.org/html/2611.27044#A1.F2)c\)\.

## Appendix BExperimental Implementation

This section gives the implementation and training settings behind every result table\.

### B\.1Baselines and the Shared Intervention Interface

We compare seven ST forecasting baselines and adapt them to a shared intervention interface\. Each baseline chooses its input length from 1, 4 and 24 hours by the validation MAE of𝐗I\\mathbf\{X\}^\{I\}in the first run\. Except for STAEformer, which keeps its released width, its width is selected against a budget of 11\.8 million trainable parameters, within±10%\\pm 10\\%where its width range permits and otherwise at the closest width\.

- •STGCN\([Yu et al\., 2018](https://arxiv.org/html/2611.27044#bib.bib39)\)\.STGCN alternates gated temporal convolutions and Chebyshev graph convolutions in two ST\-Conv blocks\. We translate the authors’ TensorFlow implementation111[https://github\.com/VeritasYin/STGCN\_IJCAI\-18/tree/4ab75ab](https://github.com/VeritasYin/STGCN_IJCAI-18/tree/4ab75ab)to PyTorch and replace its single\-step readout with the shared multi\-horizon output interface\. It needs at least 10 input steps, so on water it uses only the 4\- and 24\-hour inputs\. Its parameter count grows with the input length, so its width \(115 or 116 on traffic and power, 170 or 171 on water\) matches the budget on average over the feasible input lengths, and single lengths differ from it by up to 158%\.
- •Graph WaveNet\([Wu et al\., 2019](https://arxiv.org/html/2611.27044#bib.bib37)\)\.Graph WaveNet combines dilated causal temporal convolutions with graph convolutions over predefined and learned adjacency matrices\. We use the CausalST copy of its PyTorch implementation222[https://github\.com/nnzhan/Graph\-WaveNet/tree/6b162e8](https://github.com/nnzhan/Graph-WaveNet/tree/6b162e8)and adapt its input and output projections to the shared interface\. Its width is the largest of its range, 128, at 83% below the budget\.
- •AGCRN\([Bai et al\., 2020](https://arxiv.org/html/2611.27044#bib.bib2)\)\.AGCRN combines recurrent units with node\-adaptive graph convolutions, learning node\-specific parameters and an adaptive adjacency matrix\. We use the official implementation333[https://github\.com/LeiBAI/AGCRN/tree/7fbbf2a](https://github.com/LeiBAI/AGCRN/tree/7fbbf2a)with the shared record inputs and two\-output forecasting interface\. Its width of 254 matches the budget, and on PairST\-P186 its 24\-hour input exceeds the available accelerator memory and is not run\.
- •ConFormer\([Wang et al\., 2026a](https://arxiv.org/html/2611.27044#bib.bib33)\)\.ConFormer combines spatial attention with graph\-propagated incident context that modulates layer normalization\. We use the official implementation444[https://github\.com/Dreamzz5/ConFormer/tree/743603f](https://github.com/Dreamzz5/ConFormer/tree/743603f)with the target indicator as its accident flag, a zero regulation flag and the shared record encoding as additional inputs\. Its width of 96, or 97 on water, matches the budget within 2%\.
- •IGSTGNN\([Fan et al\., 2026](https://arxiv.org/html/2611.27044#bib.bib9)\)\.IGSTGNN fuses incident context with traffic states through incident\-\-sensor attention and models the temporal decay of incident effects\. We use the official end\-to\-end implementation555[https://github\.com/fanlixiang/IGSTGNN/tree/64c6e24](https://github.com/fanlixiang/IGSTGNN/tree/64c6e24)and encode the action type, parameter and target\-relative graph distances through its incident pathway, alongside the shared record channels\. It needs at least 11 input steps, so on water it uses only the 4\- and 24\-hour inputs, and on PairST\-P186 its 24\-hour input exceeds the available accelerator memory and is not run\. Its width is the largest of its range, 128, at 71% to 72% below the budget\.
- •STAEformer\([Liu et al\., 2023a](https://arxiv.org/html/2611.27044#bib.bib20)\)\.STAEformer combines temporal and spatial self\-attention with an adaptive ST embedding\. We use the official implementation666[https://github\.com/XDZhelheim/STAEformer/tree/fc49d39](https://github.com/XDZhelheim/STAEformer/tree/fc49d39), append the shared record channels to its inputs, and retain its released embedding width of 24 on every dataset\.
- •STID\([Shao et al\., 2022](https://arxiv.org/html/2611.27044#bib.bib31)\)\.STID combines node and time identity embeddings with residual MLP blocks\. We use the official implementation777[https://github\.com/GestaltCogTeam/STID/tree/e8b313b](https://github.com/GestaltCogTeam/STID/tree/e8b313b), append the shared record encoding, and expand its output projection to produce reference and response channels over the forecast window\. Its width is the largest of its range, 128, at 82% to 86% below the budget\.

Shared Intervention Interface\.The adapters provide each baseline and ActionST with the same history, graph and intervention record\. Each baseline reads the record as nine shared input channels, appended to the history value at every input position and read through each model’s own input projection: the target indicator, the time relative to the onset, an in\-window flag, the duration, the action parameter, the magnitude, the lead, the time of day and the day index\. One network computes a reference channel and a response channel from these inputs, giving𝐗^I=𝐗^0\+Δ​𝐗^\\hat\{\\mathbf\{X\}\}^\{I\}=\\hat\{\\mathbf\{X\}\}^\{0\}\+\\Delta\\hat\{\\mathbf\{X\}\}\. An empty record gives exactly zero response, and QMAE scores the explicit response channel against the paired response target\. The reference channel is supervised on𝐗0\\mathbf\{X\}^\{0\}but remains conditioned on the intervention\. Every baseline is trained on the same forecast and response terms as ActionST, with a one\-third\-weighted penalty on every predicted quiet change in place of the hinge\.

### B\.2ActionST Architecture and Configuration

This section gives the layers and settings of each component in Figure[3](https://arxiv.org/html/2611.27044#S5.F3)\.

Base Predictor\.Each node is represented by one token, following STID\([Shao et al\., 2022](https://arxiv.org/html/2611.27044#bib.bib31)\)\. A linear projection of the node’s recent values, a node embedding, an embedding of the time of day of the last observed step and a linear embedding of the forecast lead are concatenated into this token\.BBresidual MLP blocks, each a linear layer, a ReLU, dropout and a second linear layer with a skip connection, refine the token intohih\_\{i\}, and a linear readout mapshih\_\{i\}to𝐗^0\\hat\{\\mathbf\{X\}\}^\{0\}\. The base predictor uses no graph\. It embeds the recent values, the node, the time of day and the lead with width 128 each, initializes its embeddings with standard deviation 0\.1 and uses dropout 0\.15\.

Response Path\.In SCRW, the writer queryqi,τ\+ei\+ρτq\_\{i,\\tau\}\+e\_\{i\}\+\\rho\_\{\\tau\}passes through a layer normalization before multi\-head attention\. The keys and values are obtained from\[sj,α,ej\]\[s\_\{j\},\\alpha,e\_\{j\}\]by a linear layer, a GELU and a layer normalization\. The attention output plusρτ\\rho\_\{\\tau\}passes through a layer normalization and a linear layer to giveCi,τC\_\{i,\\tau\}, and the release encodingρτ\\rho\_\{\\tau\}is itself a linear layer, a GELU and a linear layer applied to the release features\. GLG is a linear layer, a GELU, a linear layer and a sigmoid applied to its inputs, with 128 hidden units\. The response path has widthd=320d=320and dropout 0\.1\. The writer’s output projection starts at zero, and the gate’s output bias starts at\+3\+3, sog≈0\.95g\\approx 0\.95at initialization\.

Per\-Dataset Settings\.Every dataset has one output feature, soD′=1D^\{\\prime\}=1and the readoutWoutW\_\{\\mathrm\{out\}\}in Eq\.[3](https://arxiv.org/html/2611.27044#S5.E3)is a single row\. The remaining settings are selected per dataset on validation data and are listed in Table[B\.1](https://arxiv.org/html/2611.27044#A2.T1)\. Each training batch also contains one example with the empty record, and otherwise the null rule, objective and training rule keep one definition on every dataset\.

Table B\.1:Per\-dataset settings of ActionST and the resulting number of trainable parameters\.SettingPairST\-T16PairST\-T196PairST\-P59PairST\-P186PairST\-W119PairST\-W40History length \(h\)42412411Base predictor blocksBB233334Writer radiuskk223221Attention heads8168888Hinge weightλq\\lambda\_\{q\}1/31/31/31/31/31/31/61/61/31/31/31/3Weight decay10−410^\{\-4\}10−410^\{\-4\}10−410^\{\-4\}10−410^\{\-4\}10−210^\{\-2\}10−410^\{\-4\}Parameters \(M\)2\.392\.972\.922\.972\.903\.41
### B\.3Training and Selection Protocol

During training, the lead between the forecast time and the onset is drawn uniformly from 1, 3 and 6 hours for each example and epoch\. Every learned baseline uses AdamW with learning rate10−310^\{\-3\}, weight decay10−410^\{\-4\}, a cosine schedule and batch size 16, for at most 200 epochs with early stopping after 20 validation evaluations without improvement in the validation MAE of𝐗I\\mathbf\{X\}^\{I\}\. ActionST uses the same optimizer, learning rate and batch size, with the weight decay of Appendix[B\.2](https://arxiv.org/html/2611.27044#A2.SS2), and trains on the full training split for 40 epochs under a cosine schedule that decays to zero, without early stopping\. Its checkpoint is the epoch with the lowest validation MAE of𝐗I\\mathbf\{X\}^\{I\}\. The thresholdϵ\\epsilonof Eq\.[6](https://arxiv.org/html/2611.27044#S5.E6)is computed once per dataset, before training, from its training pairs at the one\-hour lead\. Oversized baseline batches use gradient accumulation at the same effective batch size\. Batch\-normalized models retain the full batch\.

For Figure[4](https://arxiv.org/html/2611.27044#S6.F4), selecting the existing forecaster with the lowest validation MAE yields ConFormer on PairST\-T16 and PairST\-P186, IGSTGNN on PairST\-T196 and PairST\-W119, STAEformer on PairST\-P59, and AGCRN on PairST\-W40\.

相似文章

AdaST:面向时空预测的自适应耦合框架

arXiv cs.AI

AdaST 提出了一种自适应时空预测框架,利用异构感知专家将输入分解为具有不同耦合机制的组成部分,再通过一个考虑相关性的模块进行重组,从而在交通、气候和能源预测任务上超越了最先进的基线方法。

STKAN:用于时空预测的Kolmogorov-Arnold Networks

arXiv cs.LG

本文介绍了STKAN,一种集成泰勒多项式Kolmogorov-Arnold网络模块以实现空间和时间令牌混合的时空预测架构。在五个交通基准上的实验显示出竞争性表现,表明非线性函数逼近器可以补充架构设计。