Organizations: University of New South Wales, Sydney, Australia · Hong Kong University of Science and Technology (Guangzhou), China · DataCruiser, Sydney, Australia · Hong Kong Polytechnic University, Hong Kong SAR, China · Hong Kong University of Science and Technology, Hong Kong SAR, China
Accurate forecasts of traffic flow, occupancy, and speed are essential for congestion management and travel planning. These variables exhibit distinct spatiotemporal patterns, and their coupled dynamics characterize the evolution of traffic conditions, such as the onset and dissipation of congestion. Existing methods often either neglect this coupling or struggle to capture the distinct dynamics of all three variables within a unified model. In this paper, we propose DeCo, a decoupled traffic state modeling framework with cross-variable coordination for forecasting flow, occupancy, and speed. Specifically, DeCo first trains a dedicated forecaster for each variable to specialize in its unique spatiotemporal dynamics. It then estimates a residual correction for each forecast by jointly leveraging the predicted trajectories and recent observations of all three variables, thereby exploiting cross-variable coupling and mitigating systematic prediction errors. We extend the flow-only PeMS03 and PeMS07 benchmarks to all three variables on their original sensors and release the aligned data. Experiments on PeMS03, PeMS04, PeMS07, and PeMS08 show that DeCo achieves the lowest mean absolute error for every variable on every dataset, up to 4.9% below RAGC, the strongest baseline. Code is available at https://github.com/lixus7/DeCo.
Figures & tables
Fig. 1: Multivariate traffic state forecasting. (a) Flow (F), occupancy (O), and speed (S) at N sensors are forecast H steps ahead from the past P steps. Existing methods forecast each variable alone, read the other variables as auxiliary input, or predict all variables jointly. Filled circles are histories and open circles forecasts. (b) DeCo trains dedicated forecasters fq for the three variables, and its coordination module g corrects their forecasts. Snowflakes mark the forecasters, which stay fixed while g is trained. (c) MAE reduction over the corresponding single-variable forecaster, with each group under the form it measures. Dashed lines and numbers give medians. (d) Speed MAE reduction by traffic state on each dataset. The spokes of a sector are PeMS03, PeMS04, PeMS07, and PeMS08. Panels (c) and (d) use DeCo with one forecaster per variable (DeCo-S).
† Every finite entry of the PeMS04/08 releases is treated as valid.
TABLE II: Datasets at five-minute resolution.
Fig. 2: Overview of DeCo. Stage 1 trains K fold forecasters per variable, Stage 2 trains the coordination module g on their out-of-fold forecasts, and inference averages the corrected forecasts over the folds and blends them with the early-fusion forecasts.
Fig. 3: DeCo in detail. White panels show the main flow. Each tinted panel expands the box of the same color, namely the coordination module, its variable mixing ϕq , and cross-fitting.
PeMS03
PeMS04
Flow
Occ.
Speed
Flow
Occ.
Speed
Model
Variant
MAE
RMSE
MAE
RMSE
MAE
RMSE
MAE
RMSE
MAE
RMSE
MAE
RMSE
STAEformer
SISO
15.42 ± .13
26.65 ± .11
0.958 ± .006
2.519 ± .025
1.970 ± .032
4.048 ± .044
19.13 ± .06
31.64 ± .17
0.744 ± .002
1.977 ± .006
1.586 ± .004
3.627 ± .031
MISO
15.22 ± .05
26.52 ± .08
0.954 ± .013
2.541 ± .043
1.913 ± .008
3.927 ± .019
19.05 ± .06
31.45 ± .16
0.743 ± .001
1.982 ± .004
1.562 ± .002
3.580 ± .015
MIMO
15.68 ± .05
26.67 ± .10
0.953 ± .005
2.489 ± .004
1.918 ± .008
3.883 ± .027
19.59 ± .05
31.53 ± .09
0.753 ± .004
1.963 ± .007
1.594 ± .009
3.585 ± .009
HimNet
SISO
15.31 ± .04
26.28 ± .16
0.940 ± .005
2.551 ± .021
1.930 ± .008
4.017 ± .011
19.33 ± .09
32.01 ± .33
0.746 ± .002
1.994 ± .006
1.574 ± .005
3.674 ± .030
TABLE III: Test MAE and RMSE (mean ± SD over three seeds). Bold marks the best value and underlining the second best. Ties at the displayed precision share a rank.
PeMS04
PeMS08
Model
Flow
Occ.
Speed
Flow
Occ.
Speed
STAEformer
19.05 b
0.743 b
1.562 b
14.18 a
0.651 b
1.273 b
HimNet
19.33 a
0.741 b
1.566 b
14.69 b
0.657 b
1.299 b
D 2 STGNN
19.51 a
0.759 b
1.582 b
15.19 a
0.666 a
1.310 b
DecoupleST
18.95
0.736
1.560
14.49
0.651
1.289
RAGC
19.00
0.737
1.529
14.57
0.638
1.238
TABLE IV: Test MAE on PeMS04 and PeMS08 (mean over three seeds). Bold marks the lowest value in each column.
Fig. 4: Ablation (test MAE, three-seed mean). (a) MAE increase (%) over DeCo as its components are removed, down to a single forecaster. (b) MAE increase over DeCo-S, which uses one forecaster per variable, when the histories or the forecasts of the other variables are set to zero, when the module sees the target variable alone, and when it is removed. The gray bar is the early-fusion forecaster (MISO). (c) MAE reduction of DeCo over DeCo without coordination and of DeCo-S over the target-only module, with 95% intervals.
Fig. 5: MAE reduction (%) over the single forecasters by forecast lead. Solid lines are DeCo-S and dashed lines the target-only module. Each line is the mean over the four datasets, and its band spans the lowest and highest dataset.
Fig. 6: Sensitivity of the MAE, as the change (%) against the setting used in DeCo, marked by the shaded band. (a) Number of fold forecasters K kept per variable, against K=12 . Each point is the mean of two evenly spaced choices of the K forecasters. (b) Early-fusion weight, against w=0.2 . Each line is one dataset, averaged over the three variables.
Fig. 7: Speed MAE reduction (%) of DeCo-S over the target-only module in each traffic state. The three bars of a state use the three congestion definitions, from strict to loose, named by their speed and occupancy percentiles. Bars are means over the four datasets, and whiskers span the lowest and highest dataset.
Single forecaster
Fold average
Data
Var.
RAGC
+ Coord.
RAGC
+ Target-only
+ Coord. ∗
DeCo
PeMS03
Flow
14.56
14.42
14.39
14.40
14.24
14.06
Occ.
0.888
0.884
0.878
0.880
0.877
0.875
Speed
1.798
1.814
1.779
1.793
1.797
1.791
PeMS04
Flow
19.00
18.82
18.69
18.56
18.55
18.34
Occ.
0.737
0.724
0.727
0.722
0.716
0.709
TABLE V: DeCo with RAGC forecasters (test MAE, three-seed mean).
Fig. 8: Speed MAE reduction (%) over the single forecasters across the sensors of each dataset, for the target-only module and DeCo-S. Boxes span the quartiles with a line at the median, whiskers reach the 5th and 95th percentiles, and the number above a box is the share of sensors with a lower MAE.
Fig. 9: Onset-warning F1 and state macro-F1 (%) at leads of 15, 30, and 60 minutes on PeMS04 and PeMS08 (mean of the two datasets, three seeds). Each baseline is shown in its best trained form at each lead. The numbers are the scores of DeCo at 60 minutes.
Fig. 10: MAE reduction (%) over the single forecasters (mean of the three variables) against training hours per seed. DeCo keeps K=1 , 2, 3, 4, 6, and 12 fold forecasters from left to right, and each baseline has its SISO, MISO, and MIMO forms. Hollow markers include runs on non-H100 GPUs.
Flow
Occ.
Speed
Model
Variant
15
30
60
15
30
60
15
30
60
PeMS04
STAEformer
SISO
18.27
19.10
20.68
0.684
0.753
0.832
1.356
1.640
1.918
MISO
18.16
19.01
20.62
0.683
0.752
0.833
1.336
1.615
1.889
MIMO
18.51
19.55
21.42
0.689
0.761
0.847
1.362
1.651
1.917
HimNet
SISO
18.29
19.32
20.92
0.681
0.755
0.837
1.334
1.624
1.913
TABLE VI: Test MAE at leads of 15, 30, and 60 minutes on PeMS04 and PeMS08 (mean over three seeds). Bold marks the best value and underlining the second best.
Flow
Occ.
Speed
Dataset
Forecaster
Avg.
+ g
Avg.
+ g
Avg.
+ g
PeMS04
Graph WaveNet
19.26
19.03
0.748
0.737
1.567
1.540
STGCN
19.73
19.11
0.753
0.737
1.559
1.542
STID
18.71
18.58
0.732
0.727
1.549
1.537
PeMS08
Graph WaveNet
14.36
14.18
0.630
0.624
1.239
1.231
STGCN
14.86
14.47
0.648
0.636
1.256
1.242
TABLE VII: Test MAE of the fold average of three further forecasters, without and with the coordination module (three module seeds).
Fig. 11: Speed at one PeMS08 sensor during a congestion onset in the test period. Each forecast is drawn at the time it refers to.
Dongbei University of Finance & Economics Dalian, Liaoning, China · Hong Kong University of Science and Technology (Guangzhou) Guangzhou, Guangdong, China
Columbia University New York, NY, USA · San Francisco State University San Francisco, CA, USA · University of California, Berkeley Berkeley, CA, USA +5