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.
Figures & tables
Figure 1: Three requirements for action-conditioned spatio-temporal forecasting via response modeling.
System
Intervention
Dataset
Units
am
Locations
Days
Pairs
Traffic (CityFlow)
signal-phase change
PairST-T16
16
4
10/3/3
125/25/50
10,000/600/1,200
PairST-T196
196
4
16/4/4
80/16/32
10,240/512/1,024
Power (Grid2Op)
line disconnection
PairST-P59
59
7.8
16/4/4
75/20/22
9,600/639/704
PairST-P186
186
7.4
80/16/32
10,236/512/1,024
Water (EPANET)
pipe closure
PairST-W119
119
10.2
16/4/4
80/16/32
10,240/512/1,024
PairST-W40
40
0.466
13/3/3
96/20/40
9,984/480/960
Table 1: Statistics of PairST datasets. Units: intersections for traffic, transmission lines for power and links for water. am : active-response threshold of Eq. 2 , in vehicles for traffic, percent of the thermal limit for power and L/s for water. Locations, Days, Pairs: training/validation/test counts.
Figure 2: Spatial extent of the simulator response. 90th percentile of the window peak ∣ΔX∣ across non-target units at each hop distance from the target, relative to am , on training pairs. Hops reached from fewer than half of the training target locations are omitted, and values below 0.01am lie in the grey band.
Figure 3: The framework of ActionST.
Dataset
Metric
STGCN
GWNet
AGCRN
ConFormer
IGSTGNN
STAEformer
STID
ActionST (ours)
T16
MAE
1.334 ± 0.005
1.383 ± 0.018
1.492 ± 0.030
1.279 ± 0.007
1.293 ± 0.014
1.316 ± 0.019
1.305 ± 0.008
1.249 ± 0.010
AMAE
10.727 ± 0.552
10.236 ± 0.480
20.002 ± 0.880
7.449 ± 0.208
8.925 ± 0.019
8.833 ± 0.340
8.805 ± 0.757
6.164 ± 0.539
QMAE
0.233 ± 0.014
0.175 ± 0.005
0.267 ± 0.051
0.347 ± 0.023
0.177 ± 0.009
0.295 ± 0.023
0.334 ± 0.020
0.162 ± 0.002
T196
MAE
0.716 ± 0.004
0.711 ± 0.010
0.724 ± 0.008
0.805 ± 0.035
0.681 ± 0.014
0.690 ± 0.024
0.819 ± 0.009
0.663 ± 0.005
AMAE
10.508 ± 0.046
8.196 ± 0.618
11.918 ± 0.878
8.745 ± 0.564
8.407 ± 1.631
8.539 ± 2.600
9.274 ± 0.071
4.440 ± 0.156
QMAE
0.156 ± 0.001
0.116 ± 0.006
0.163 ± 0.035
0.454 ± 0.047
0.097 ± 0.008
0.130 ± 0.028
0.430 ± 0.029
0.098 ± 0.004
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).
Figure 4: Errors at and beyond the target, shown as ratios of ActionST to the strongest existing forecaster (below 1× is better). Gray segments connect the two regional estimates for each dataset, and bars propagate standard deviations on the log-ratio scale.
Figure 5: Component variants and hyperparameter sensitivity. (a, b) Ratios of mean test AMAE and QMAE to the full model, where values above 1× are 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 . Bars show the standard deviation over runs.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Figure A.1: Network layouts and one training pair per dataset, chosen by the median rule above. (a) Target trajectory without ( X0 ) and with ( XI ) the intervention, after the history tail ending at the forecast time (dotted), and ΔX at the target and one neighbour, with ±am dashed. (b) ΔX of 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∣ on the schematic layout, with the target outlined or black and excluded from the colour scale. Shading marks the intervention.
Dataset
Bin
Onsets (h)
Durations
Output window
PairST-T16
5 min
8, 10, 16, 18
20, 25 min
−1 h to +2 h
PairST-T196
5 min
8, 10, 16, 18
30, 40 min
−1 h to +2 h
PairST-P59
5 min
8, 12, 16, 20
30, 60 min
−10 min to +2.5 h
PairST-P186
5 min
8, 12, 16, 20
30, 60 min
−10 min to +2.5 h
PairST-W119
15 min
8, 11, 14, 17
1, 3 h
−1 h to +6 h
PairST-W40
15 min
8, 11, 14, 17
1, 3 h
−1 h to +6 h
Appendix
Table A.1: Record grid of each dataset. Onsets: hours after the start of the second simulated day. Output window: relative to the onset.
Figure A.2: Response characteristics of the PairST datasets, relative to am . (a) Window peak ∣Δ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∣ (solid, median and interquartile range) and target ∣Δ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 mark am , and values below 0.01am lie in the grey band.
Dataset
Unit
∣X0∣
Non-target peak
Affected
Quiet
Units aff.
Not recovered
PairST-T16
veh
5.1
5.5 [3.7, 6.8]
1.3
97.7
6.7
0.7 / 0.9
PairST-T196
veh
1.0
5.8 [2.2, 30.0]
0.5
99.1
1.0
15.7 / 27.8
PairST-P59
%
26.4
15.6 [9.4, 26.7]
1.8
96.5
3.4
0.9 / 1.0
PairST-P186
%
27.7
14.8 [8.5, 24.2]
0.6
99.0
1.1
0.9 / 1.1
PairST-W119
L/s
14.2
20.4 [7.1, 122]
7.3
90.0
8.5
17.9 / 23.2
PairST-W40
L/s
1.3
0.93 [0.13, 4.1]
2.3
97.4
7.7
0.0 / 0.0
Appendix
Table A.2: Response characteristics of the PairST datasets, with shares in percent. ∣X0∣ : median no-intervention magnitude over day and time bins. Non-target peak: largest ∣Δ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.
Setting
PairST-T16
PairST-T196
PairST-P59
PairST-P186
PairST-W119
PairST-W40
History length (h)
4
24
1
24
1
1
Base predictor blocks B
2
3
3
3
3
4
Writer radius k
2
2
3
2
2
1
Attention heads
8
16
8
8
8
8
Hinge weight λq
1/3
1/3
1/3
1/6
1/3
1/3
Weight decay
10−4
10−4
10−4
10−4
10−2
10−4
Appendix
Table B.1: Per-dataset settings of ActionST and the resulting number of trainable parameters.
Data Science and Artificial Intelligence, Dongbei University of Finance and Economics, Dalian, Liaoning, China · Institute of Systems, Molecular & Integrative Biology, University of Liverpool, Liverpool, United Kingdom