Next Article in Journal
An Improved YOLOv8 Model for Pavement Distress Detection Under Low-Computing-Power Conditions
Previous Article in Journal
Portable and Digital MOX Sensor Electronic Nose with Thermal Modulation: Design, Stability Analysis, and Long-Term Validation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multiscale Traffic Dynamics Representation for Forecasting via MEMD-Guided Dual-Branch Recurrent Networks

School of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2026, 26(11), 3369; https://doi.org/10.3390/s26113369
Submission received: 19 March 2026 / Revised: 18 May 2026 / Accepted: 22 May 2026 / Published: 26 May 2026
(This article belongs to the Section Intelligent Sensors)

Abstract

Traffic flow forecasting remains challenging because raw traffic flow observations often contain mixed temporal patterns, including slowly varying trends and fast local fluctuations. To address this issue, this paper proposes a Multivariate Empirical Mode Decomposition (MEMD)-guided dual-branch recurrent framework for multistep point forecasting. Specifically, MEMD is used as an alignment-preserving multivariate decomposition mechanism to obtain frequency-aligned components, which are then reconstructed into low-frequency trend and high-frequency residual components. The trend component is modeled by a Long Short-Term Memory (LSTM) branch to capture smooth long-term evolution, while the residual component is learned by a Bidirectional Gated Recurrent Unit (Bi-GRU) branch to characterize short-term oscillatory dynamics. A lightweight fusion head is then used to integrate the two branch-specific representations for final prediction. Experiments on PeMS04 and PeMS08, two traffic datasets derived from the California Department of Transportation Performance Measurement System, show that the proposed method achieves competitive performance across mean absolute error (MAE), root mean square error (RMSE), and mean absolute percentage error (MAPE), reaching 19.67/31.59/12.95% on PeMS04 and 15.51/24.43/9.86% on PeMS08. Compared with representative recent baselines, the proposed method achieves competitive results, with relative gains reaching 5.89% on PeMS04 and 5.35% on PeMS08 in selected metric-wise comparisons. These results indicate that MEMD-guided trend–residual representation learning can improve multistep traffic flow forecasting.

1. Introduction

Traffic flow forecasting is a fundamental task in intelligent transportation systems because it supports signal control, route guidance, congestion mitigation, and large-scale traffic management. In this study, traffic flow measurements refer to time-series observations collected by road sensors, such as flow and speed. Despite substantial progress, accurate multistep prediction remains challenging [1], because traffic observations often mix slowly varying background demand, recurrent mobility patterns, and short-lived local disturbances, making the resulting sequences nonlinear and nonstationary [2,3]. A diagnostic analysis on PeMS04 further shows that mixed-scale dynamics substantially affect forecasting errors. The raw-input baseline yields mean absolute error/root mean square error (MAE/RMSE) values of 15.39/26.28 in stable intervals, but the errors increase to 41.24/56.34 during rapid transitions and reach 41.96/57.77 in peak intervals. With trend–residual reconstruction, the proposed framework reduces MAE, RMSE, and mean absolute percentage error (MAPE) by 22.91%, 20.01%, and 25.44% during rapid-transition intervals, indicating that organizing multiscale components before prediction improves forecasting stability.
Existing traffic forecasting methods include statistical models, recurrent networks, graph-based models, and attention-based architectures. Statistical models are efficient but often rely on restrictive assumptions [3]. Recurrent architectures such as Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) improve temporal modeling from historical observations [4], while graph-based and attention-based models strengthen spatial interaction modeling and long-range dependency learning [5,6]. However, many methods still model raw traffic sequences directly and require a single predictor to absorb multiple temporal regimes into one latent representation. As a result, slow structural evolution and fast local fluctuations are often learned together, although they reflect markedly different temporal behaviors. This mixed-scale representation may weaken multistep forecasting stability [7].
For traffic flow data, the challenge is not only architectural but also representational. When components with distinct temporal scales are entangled at the input level, local representation errors may accumulate over longer horizons [8]. This suggests that improving forecasting performance requires not only a stronger predictor, but also a more suitable organization of traffic flow observations before prediction.
Motivated by this observation, we propose a decomposition-guided forecasting framework that reorganizes multiscale traffic observations before recurrent learning. The framework uses Multivariate Empirical Mode Decomposition (MEMD) to obtain aligned multiscale components across variables [9]. Rather than serving as a standalone preprocessing tool or a new decomposition algorithm, MEMD is used as a multivariate alignment mechanism for constructing forecasting-oriented trend–residual representations. The reconstructed trend and residual representations are modeled by component-specific recurrent branches, with LSTM capturing trend continuity and Bidirectional Gated Recurrent Unit (Bi-GRU) capturing rapidly changing residual patterns. The branch-specific representations are then integrated through a lightweight fusion head for multistep forecasting [10].
By reconstructing persistent evolution and transient variation before prediction, the proposed framework avoids forcing heterogeneous temporal behaviors into a single latent state. Experiments on PeMS04 and PeMS08, two benchmark datasets derived from the California Department of Transportation Performance Measurement System (Caltrans PeMS), show that the proposed framework achieves competitive forecasting performance against representative baselines. These results suggest that trend–residual representation learning provides a useful way to organize heterogeneous temporal patterns before multistep prediction.
The contributions of this study are summarized as follows.
  • A MEMD-guided trend–residual framework is used to reconstruct frequency-aligned components into compact trend and residual representations.
  • A heterogeneous dual-branch architecture models the reconstructed components with component-specific encoders: LSTM for trend evolution and Bi-GRU for residual fluctuations.
  • Experiments and ablations on PeMS04 and PeMS08 show competitive results, suggesting that the gains mainly come from trend–residual representation learning and component-specific temporal modeling.

2. Related Work

Traffic flow forecasting has evolved from classical statistical models to deep spatio-temporal representation learning. Early methods, such as AutoRegressive Integrated Moving Average (ARIMA) and Kalman filtering, are efficient and interpretable but rely on approximate stationarity or near-linear dynamics, limiting their robustness under nonlinear traffic patterns and external disturbances [11,12]. Recurrent models, including LSTM and GRU, improve temporal dependency modeling from historical observations [13], while graph-based methods further capture sensor–network interactions, including Spatio-Temporal Graph Convolutional Network (STGCN) [14], Diffusion Convolutional Recurrent Neural Network (DCRNN) [15], Graph WaveNet [16], Temporal Graph Convolutional Network (T-GCN) [17], Spatial–Temporal Synchronous Graph Convolutional Network (STSGCN) [18], and Adaptive Graph Convolutional Recurrent Network (AGCRN) [19]. Attention- and Transformer-based models have also been developed for long-range dependency modeling, including Attention-based Spatial–Temporal Graph Convolutional Network (ASTGCN) [20], Graph Multi-Attention Network (GMAN) [21], Traffic Transformer [22], Autoformer [23], Propagation Delay-Aware Dynamic Long-Range Transformer (PDFormer) [24], and Spatio-Temporal Adaptive Embedding Transformer (STAEformer) [25], with related progress summarized in meta-learning-oriented work and surveys [26,27,28]. Recent work has also emphasized the need to understand why traffic forecasting models make certain predictions, rather than evaluating them only by aggregate accuracy. Studies using extreme gradient boosting with Shapley additive explanations (XGBoost–SHAP) have identified influential road links and show that predictive influence is not always limited to adjacent links [29]. Explainable artificial intelligence (XAI)-based traffic-flow analysis has improved the transparency of forecasting results for traffic management applications [30], while explainable analysis has also been used to reveal sensitive spatial units and failure modes in mobile traffic forecasting [31].
Despite these advances, many forecasting frameworks still treat multivariate traffic observations as a single entangled sequence, leaving the underlying multiscale structure to be learned implicitly [32]. Since traffic measurements contain both short-term fluctuations and longer-term trends, such entanglement can introduce scale ambiguity and make stable cross-variable representation learning more difficult in multivariate settings [33]. Decomposition-based forecasting addresses this issue by separating nonstationary signals into simpler components before prediction. Existing studies have applied Variational Mode Decomposition (VMD) and Empirical Mode Decomposition (EMD) to traffic forecasting [34], with related extensions using singular spectrum analysis [35], adversarial learning for uncertainty modeling [36], and gray models for interpretable forecasting [37].
However, when decomposition is performed independently for each variable, the resulting modes may be inconsistent across channels, weakening the representation of synchronous cross-variable variations. MEMD provides a multivariate alternative by jointly decomposing coupled signals so that extracted modes remain aligned across variables through hyperspherical projections [38]. Its filter-bank property further supports consistent multiscale modeling from aligned time–frequency representations [39]. In this study, MEMD is not introduced as a new decomposition algorithm; instead, it serves as an alignment mechanism for forecasting-oriented trend–residual reconstruction. Rather than modeling raw sequences directly or concatenating decomposed modes without structure, the proposed framework reconstructs aligned components into low-frequency trend and high-frequency residual representations and assigns them to branch-specific recurrent encoders. This design organizes heterogeneous temporal patterns before prediction and provides a more stable representation basis for multistep traffic flow forecasting.

3. Methodology

3.1. Overview of the Proposed Framework

To model heterogeneous temporal variations in multivariate traffic data, we construct a heterogeneous deep learning framework based on MEMD-guided trend–residual representation. As illustrated in Figure 1, the proposed architecture processes the multivariate input tensor X R N × T × D through a decomposition-guided dual-branch pipeline, where the main stages include MEMD decomposition, trend–residual reconstruction, branch-specific temporal modeling, and fusion-based prediction.
Figure 1 illustrates the workflow of the proposed MEMD-guided dual-branch recurrent forecasting framework. Given a multivariate traffic input tensor X R N × T × D , where N, T, and D denote the number of locations, the historical observation length, and the feature dimension, respectively, MEMD first decomposes the input window into Intrinsic Mode Function (IMF) modes and a residual component. These decomposed modes are then reconstructed into two signals with distinct temporal roles: a low-frequency trend component C t r , which preserves the slowly varying baseline evolution and structural continuity of traffic states, and a high-frequency residual component C p e r , which captures short-term oscillations, local disturbances, and rapid temporal variations. The reconstructed trend component is subsequently fed into an LSTM branch to model long-range temporal dependencies and stable state evolution, whereas the residual component is processed by a Bi-GRU branch to encode transient fluctuations and local temporal changes from both temporal directions within the observation window. The resulting branch-specific representations H t r and H p e r are then integrated through a lightweight fusion head based on concatenation and projection to produce the final multistep forecasts Y ^ t + 1 : t + N . In this way, the framework organizes trend-dominated and fluctuation-dominated information into separate modeling paths, which helps the network learn multiscale traffic patterns in a more targeted manner for multistep forecasting. It should be noted that the current framework focuses on multiscale temporal representation learning and does not include an explicit graph convolution, road-network adjacency matrix, distance matrix, or sensor-to-sensor message-passing module. Spatial dependency modeling is therefore not the main contribution of this study.

3.2. Spectral Decomposition via MEMD

Standard univariate decomposition often fails to preserve the cross-channel correlations in multimodal data, leading to mode misalignment where temporally related variations are scattered across disparate frequency scales. To address this, we utilize Multivariate Empirical Mode Decomposition (MEMD), which generalizes the sifting process to multivariate signals and helps preserve aligned time–frequency representations across channels. In this study, MEMD is applied once to each historical multichannel input window, rather than independently to individual sensors or variables. For each supervised sample ( X i , Y i ) , only the input window X i = [ x i T + 1 , , x i ] is decomposed, while the future target window Y i = [ x i + 1 , , x i + H ] and observations outside the current input window are excluded to avoid information leakage. Specifically, the traffic-flow measurements of all sensors within the window are arranged as V i R T × N , where T is the historical observation length and N is the number of sensors. Thus, the MEMD input contains 307 channels for PeMS04 and 170 channels for PeMS08. Under this setting, the extracted IMFs are generated under the same projection directions and sifting process, which naturally preserves mode alignment across variables.
Unlike EMD, which identifies local extrema, MEMD projects the multivariate signal v t onto a set of direction vectors d sampled from an n 1 -dimensional hypersphere. To obtain a more uniform coverage of the projection space, we use the Hammersley sequence to generate the direction vectors.
For each direction vector d k (where k = 1 , , K ), the projection of the multivariate signal is calculated as p θ k ( t ) = v ( t ) · d k . The multivariate local mean m ( t ) is then estimated by averaging the envelopes of these projections:
m ( t ) = 1 K k = 1 K e θ k ( t ) ,
where e θ k ( t ) denotes the envelope of the projected signal p θ k ( t ) , derived via cubic spline interpolation of its extrema. By iteratively subtracting this local mean ( v n e w ( t ) = v ( t ) m ( t ) ) until the stopping criterion is met, MEMD decomposes the complex signal into a set of Intrinsic Mode Functions (IMFs), c i ( t ) , and a final monotonic residue r ( t ) :
v ( t ) = i = 1 M c i ( t ) + r ( t ) .
The number of IMFs M is adaptively determined by the MEMD sifting process rather than manually fixed. All extracted IMFs are retained and grouped into trend or residual components according to their zero-crossing characteristics, so reconstruction does not rely on a predefined number of modes. Because the same set of direction vectors is applied to all channels simultaneously, the resulting IMFs are aligned in frequency across all variables. Rather than physically decoupling traffic dynamics, this alignment helps separate high-frequency fluctuations from low-frequency structural components while preserving cross-variable temporal consistency.

3.3. Component Reconstruction and Heterogeneous Modeling

Directly modeling raw IMFs is computationally inefficient and may lead to overfitting due to spectral redundancy. Therefore, we introduce a reconstruction strategy based on Zero-Crossing Rate (ZCR), followed by component-specific neural modeling.

3.3.1. Adaptive Component Reconstruction of MEMD Modes

We use the Zero-Crossing Rate (ZCR) to characterize the oscillatory intensity of each IMF component. For an IMF component c i , the ZCR is defined as the normalized count of sign changes:
Z C R i = 1 T 1 t = 1 T 1 1 ( c i ( t ) c i ( t + 1 ) < 0 ) ,
where 1 { · } is the indicator function. This metric effectively quantifies the oscillatory intensity of each mode. Rather than employing a heuristic cutoff, we determine an adaptive threshold τ via K-means clustering of the ZCR distribution. This divides the intrinsic modes into two spectral clusters:
Residual Component ( C p e r ): Defined as i Ω h i g h c i ( t ) , where Ω h i g h = { i Z C R i > τ } . This component contains high-ZCR IMFs and represents rapid local fluctuations and short-term deviations from the traffic baseline.
Trend Component ( C t r ): Defined as i Ω l o w c i ( t ) + r ( t ) , where Ω l o w = { i Z C R i τ } . This component contains low-ZCR IMFs and the residue, representing slowly varying baseline evolution in the traffic sequence.
The two-component reconstruction retains all extracted IMFs, with the high-frequency and low-frequency IMF index sets satisfying:
Ω h i g h Ω l o w = { 1 , 2 , , M } , Ω h i g h Ω l o w = .
Therefore, the reconstructed components satisfy:
C t r ( t ) + C p e r ( t ) = i Ω l o w c i ( t ) + r ( t ) + i Ω h i g h c i ( t ) = i = 1 M c i ( t ) + r ( t ) = v ( t ) .
Equations (4) and (5) show that the two reconstructed components retain all extracted IMFs and the residue, thereby preserving the decomposed signal at the reconstruction level. The effectiveness of this compact grouping is further evaluated through the grouping-strategy ablation in Section 5. The reconstructed components are not direct labels of specific traffic causes, such as incidents, weather effects, or predefined daily patterns. Instead, they provide flow-derived descriptions of temporal behavior: the trend component reflects slowly varying baselines, recurrent demand levels, and sustained congestion states, whereas the residual component captures rapid departures from the baseline that may correspond to abrupt changes, short-term oscillations, and local fluctuations in traffic flow.
The reconstruction procedure is summarized in Algorithm 1.
Algorithm 1 MEMD-Based Component Reconstruction
Input: 
Historical multichannel sensor-flow input window V i = X i R T × N , where N = 307 for PeMS04 and N = 170 for PeMS08; number of projection directions N v .
Output: 
Reconstructed residual component C per ; reconstructed trend component C tr .
  1:
Generate direction set V = { v ( 1 ) , , v ( N v ) } on S N 1 via the Hammersley sequence
  2:
{ U 1 , , U M , R } MEMD ( X i ; V )
  3:
for  k = 1 to M do
  4:
    s k ZCR ( U k )
  5:
end for
  6:
Partition { U k } k = 1 M into two groups by K-means on { s k } k = 1 M
  7:
Identify I per as the cluster with the larger ZCR centroid
  8:
Set I tr { 1 , , M } I per
  9:
C per k I per U k
10:
C tr k I tr U k + R
11:
return  C per , C tr
Upon applying Algorithm 1, the multivariate traffic window is reorganized into two frequency-related components. High-ZCR IMFs are assigned to the residual component, while low-ZCR IMFs together with the residue are assigned to the trend component. As illustrated in Figure 2, this procedure connects MEMD decomposition, ZCR-based IMF grouping, component reconstruction, and branch-specific modeling within a unified forecasting workflow. The trend component preserves slowly varying baseline evolution, whereas the residual component captures short-term fluctuations and local deviations. These two components provide structured inputs for the subsequent LSTM and Bi-GRU branches.

3.3.2. Computational Cost Discussion

MEMD adds preprocessing cost due to multivariate projection, envelope interpolation, and iterative sifting. This cost is more noticeable because MEMD is applied to multichannel sensor-flow windows rather than to a single univariate sensor sequence. To reduce this overhead, we perform MEMD-based reconstruction offline and cache the reconstructed trend and residual components before neural network training. Here, offline reconstruction means that MEMD is precomputed separately for each historical input window and cached before training; it does not mean decomposing the entire time series before the train/validation/test split. During training, the LSTM–Bi-GRU predictor only uses the cached components C tr and C per , so MEMD is not repeated in each epoch. Nevertheless, the efficiency of MEMD-based reconstruction remains a limitation for large-scale online deployment. Future work will explore incremental MEMD, parallelized sifting, and periodic cache updates to support efficient reconstruction under streaming traffic conditions.

3.3.3. Trend Representation Learning Based on LSTM

The trend component characterizes slowly varying traffic evolution, so an LSTM encoder is adopted to model the reconstructed trend sequence C t r [40]. For the trend input x t t r , the LSTM updates are given by
f t = σ ( W f · [ h t 1 , x t t r ] + b f ) ,
i t = σ ( W i · [ h t 1 , x t t r ] + b i ) ,
C ˜ t = tanh ( W c · [ h t 1 , x t t r ] + b c ) ,
C t = f t C t 1 + i t C ˜ t ,
o t = σ ( W o · [ h t 1 , x t t r ] + b o ) ,
h t = o t tanh ( C t ) .
Here, σ denotes the sigmoid activation function, ⊙ denotes the Hadamard product, and  C ˜ t is the candidate cell state. The gated cell update enables the LSTM branch to retain low-frequency temporal continuity in C t r .

3.3.4. Residual Dynamics Modeling Based on Bi-GRU

The residual component C per contains rapid transitions, local oscillations, and short-term deviations from the traffic baseline. We therefore use a Bidirectional Gated Recurrent Unit (Bi-GRU) encoder to model residual dynamics within the observed input window [41]. The bidirectional structure allows the residual representation at each position to incorporate contextual information from both earlier and later observations within the same historical window, without accessing future prediction targets.
The forward hidden state h t encodes the residual sequence in chronological order, while the backward hidden state h t encodes the same historical input window in reverse order. Here, the reverse direction does not access future prediction targets; it only uses later observations that are already contained within the historical input window available at the forecasting time. This window-level bidirectional encoding is therefore used to obtain a more complete representation of short-term residual fluctuations within the observed history, rather than to introduce noncausal information from the prediction horizon. For the reconstructed residual component C per , the Bi-GRU branch processes the component-specific input x t per rather than the raw traffic input or the trend component. The bidirectional updates are formulated as follows:
h t = G R U ( x t p e r , h t 1 ) ,
h t = G R U ( x t p e r , h t + 1 ) .
Therefore, the two branches differ not only in their recurrent structures, but also in their component-specific inputs: the LSTM branch models C t r , whereas the Bi-GRU branch models C p e r .
The resulting representation of the residual component, H p e r , is derived via the concatenation of these directional vectors:
H p e r = [ h t h t ] .
This bidirectional fusion allows each residual representation to use contextual information from both earlier and later positions within the observed input window, thereby improving the modeling of short-term oscillations and local residual peaks without using future target values.

3.4. Adaptive Fusion and Optimization

The independent feature representations extracted by the LSTM ( H t r ) and Bi-GRU ( H p e r ) branches characterize complementary temporal aspects of the reconstructed traffic flow observation. To generate a unified prediction, these component-specific representations are integrated through a nonlinear fusion mechanism.

3.4.1. Lightweight Fusion and Prediction Head

The trend and residual representations H t r and H p e r are fused by a lightweight prediction head. The joint representation is first formed by concatenation and then mapped to the forecast space:
Z = ReLU W c [ H tr H per ] + b c ,
Y ^ = W o Z + b o .
Here, ⊕ denotes concatenation, and ReLU denotes the rectified linear unit activation function. The lightweight head preserves component-specific information before prediction and keeps the output module from dominating the decomposition and branch-modeling effects. The ReLU activation introduces a nonlinear transformation in the fusion head, enabling flexible integration of the trend and residual representations before they are mapped to the prediction horizon.

3.4.2. End-to-End Optimization

To train this heterogeneous architecture, we optimize the model with a Mean Squared Error (MSE)-based objective and an L 2 regularization term:
J ( Θ ) = 1 N i = 1 N ( y i y ^ i ) 2 + λ Θ 2 2 .
Here, the first term measures the discrepancy between the ground-truth traffic flow y i and the prediction y ^ i , while the second term applies an L 2 penalty to the model parameters Θ , controlled by the hyperparameter λ . This regularization limits weight complexity and mitigates overfitting to high-frequency variations in the residual component, thereby improving predictor generalization.
Algorithm 2 summarizes the training procedure based on the cached trend and residual components. The model maps the decomposition-guided trend–residual representations to future traffic flows Y ^ , linking MEMD-based representation construction with the LSTM–Bi-GRU predictor.
Algorithm 2 Training Procedure of the Proposed Hybrid Framework
Input: 
Training dataset D = { ( X i , Y i ) } i = 1 m , where X i R T × N and Y i R H × N
Output: 
Optimized model parameters Θ
  1:
Initialize parameters Θ
  2:
while not converged do
  3:
   Sample mini-batch B = { ( X i , Y i ) } i = 1 N from D
  4:
   for each sample ( X i , Y i ) B  do
  5:
      ( C per , C tr ) RetrieveCachedTrendResidual ( X i )
  6:
      H tr LSTM ( C tr )
  7:
      H per Bi GRU ( C per )
  8:
      H joint [ H tr H per ]
  9:
      z i ReLU ( W c H joint + b c )
10:
      Y ^ i W f z i + b f
11:
   end for
12:
    J ( Θ ) 1 N i = 1 N Y i Y ^ i 2 2 + λ Θ 2 2
13:
    Θ Θ η Θ J ( Θ )
14:
end while
15:
return  Θ

4. Experiments

4.1. Experimental Setup

Experiments are conducted on PeMS04 [42] and PeMS08 [43], two standard benchmarks derived from the California Department of Transportation Performance Measurement System (Caltrans PeMS). Both datasets contain multivariate traffic observations from urban sensor networks at 5 min intervals. PeMS04 includes 307 sensors and 16,992 time steps, whereas PeMS08 includes 170 sensors and 17,856 time steps.
All methods follow the same experimental protocol. Missing values are imputed before training, variables are normalized to [ 0 , 1 ] , and all metrics are computed after transforming predictions and ground-truth values back to the original traffic-flow scale. The data are converted into supervised samples using a sliding-window scheme, with both the input length and prediction horizon set to 12 steps, corresponding to 60 min ahead forecasting. For fair comparison, all methods use the same train/validation/test split, preprocessing strategy, input length, prediction horizon, and evaluation metrics. For graph-based baselines, the node set is consistent with PeMS04 and PeMS08, and the graph structure follows the corresponding benchmark setting. The proposed model does not use an explicit adjacency matrix, road-network distance matrix, or graph-based message-passing module. The comparison therefore evaluates whether decomposition-guided temporal representation learning can achieve competitive forecasting performance under the same benchmark protocol.
For implementation efficiency, MEMD-based reconstruction is performed after sliding-window sample generation and cached before neural network training; MEMD is therefore not repeated in each training epoch. Each MEMD unit corresponds to one multichannel sliding input window, in which all sensor-flow channels are jointly processed; the channel dimensions are 307 for PeMS04 and 170 for PeMS08. The framework does not use additional periodic windows or manually defined branch-specific window ratios; both branches are driven by components reconstructed from the same 12-step input window [44].
For temporal covariate analysis, calendar-based variables are constructed from timestamps, including time-of-day and day-of-week, and encoded using sine and cosine transformations. Since the standard PeMS04 and PeMS08 benchmark files do not provide synchronized weather or event annotations, such variables are not included in the main experiments and are left for future work. Accordingly, the interpretation of the reconstructed components is based on observable flow-derived regimes, including stable, peak, and rapid-transition intervals.
Performance is evaluated by mean absolute error (MAE), root mean square error (RMSE), and mean absolute percentage error (MAPE), defined as:
MAE = 1 N i = 1 N | y i y ^ i | ,
RMSE = 1 N i = 1 N ( y i y ^ i ) 2 ,
MAPE = 100 % N i = 1 N y i y ^ i y i ,
where y i and y ^ i denote the ground-truth and predictions, respectively, and N is the total number of predicted points. MAPE excludes zero targets to avoid division by zero.

4.2. Experimental Results

On PeMS04, compared with representative recent baselines, the proposed method reduces MAE, RMSE, and MAPE by 2.04%, 1.56%, and 5.89%, respectively. On PeMS08, the corresponding relative improvements are 4.90%, 5.35%, and 3.05%. Although the absolute margins over the closest competing results are moderate, the proposed framework achieves competitive forecasting performance across the two datasets and three evaluation metrics.
Comparative analyses suggest the performance gain is not simply due to a more sophisticated predictor. Although several graph-based baselines explicitly model spatial dependencies, the proposed method focuses on decomposition-guided temporal representation learning. The improvement is more plausibly attributed to the decomposition stage, which constructs a discriminative forecasting-oriented representation by separating slowly varying trends from fast local fluctuations before recurrent modeling. This separation reduces interference between heterogeneous temporal patterns and facilitates subsequent feature learning.

4.3. Qualitative Forecasting Behavior

Beyond aggregate error statistics, it is important to examine the proposed framework can preserve temporal patterns over continuous forecasting horizons. Although Table 1 reports overall MAE, RMSE, and MAPE, these metrics do not fully show how well the model follows turning points, gradual trend variations, and rapid local fluctuations. Therefore, Figure 3 provides a qualitative point-forecast visualization over the first 24 h of the test set on PeMS04 and PeMS08, complementing the quantitative comparison.
As shown in Figure 3, the predicted series closely follows the observed series on both datasets and captures the main turning points of the daily traffic pattern. The framework is trained with an MSE-based objective and produces deterministic point forecasts, the figure should be interpreted as a point-forecast visualization. Despite differences in dataset scale and temporal profile, the two cases show consistent qualitative behavior, providing visual evidence that the proposed framework can maintain stable multistep forecasts under different traffic profiles.
To avoid relying only on qualitative visual inspection, segment-level quantitative errors during peak and rapid-transition intervals are further reported in Section 5.5.

5. Ablation Study

To examine whether the proposed framework functions as an integrated representation–modeling pipeline, we conduct controlled ablation studies on decomposition, IMF reconstruction, branch assignment, temporal covariates, and local transition behavior. Within each study, all variants are evaluated using the same data split, input length, prediction horizon, optimizer, and evaluation metrics. For diagnostic experiments, we focus on relative differences among variants under the same controlled protocol, rather than on direct comparisons with the main results in Table 1.

5.1. Ablation Study on Decomposition

This ablation examines whether MEMD-based reconstruction provides a more effective representation for multistep forecasting. Following Section 3, each traffic sequence is reorganized into a low-frequency trend component and a high-frequency fluctuation component. The trend component preserves slowly varying traffic levels, while the fluctuation component captures short-term oscillations and local deviations.
Table 2 shows that the reconstructed components are beneficial when retained together and fused appropriately. Decomp Concat and Decomp Gated both improve over the raw-input baseline on the reported metrics, whereas Decomp Attention does not yield consistent gains. Although Decomp Gated obtains the lowest MAE on PeMS08, Decomp Concat achieves the lowest RMSE on both datasets and the lowest MAE on PeMS04 with a simpler fusion head. This suggests that the main benefit comes from representation reorganization rather than a more expressive fusion mechanism.
As shown in Figure 4, the trend component follows the dominant level evolution of the original signal, whereas the fluctuation component concentrates faster local variations. From a traffic perspective, the trend component reflects the slowly varying demand or congestion baseline, while the fluctuation component becomes more pronounced around short-term departures from this baseline. Modeling either component alone is insufficient: Trend Only tends to oversmooth short-term changes, while Fluctuation Only lacks the traffic-level information required for stable extrapolation.

5.2. Ablation Study on IMF Reconstruction

This reconstruction ablation uses a controlled diagnostic setting that differs from the full benchmark evaluation in Section 4 in model configuration and training setup, while keeping the data split, input length, prediction horizon, and evaluation metrics fixed across all reconstruction variants. Its purpose is to compare IMF grouping strategies under the same ablation protocol, rather than to provide a directly comparable estimate of the final benchmark performance reported in Table 1.
As shown in Table 3, IMF-wise modeling improves over the raw-input setting, confirming that decomposed modes contain useful predictive information. However, modeling each IMF separately also introduces redundancy. The proposed two-group reconstruction achieves the lowest MAE and RMSE, while the three-group setting obtains a slightly lower MAPE. Considering absolute accuracy and sensitivity to large deviations, the two-component design provides the most balanced overall profile.

5.3. Ablation Study on Branch Assignment

This ablation evaluates whether the two reconstructed components benefit from different temporal encoders. This experiment follows the main evaluation protocol used in Section 4. All variants use the same MEMD-based reconstruction and training protocol; only the encoder assignment is changed.
Table 4 shows that the LSTM–Bi-GRU assignment obtains the lowest errors across all three metrics. This matches the temporal roles of the reconstructed components: the trend component benefits from the LSTM cell state, which preserves slowly varying levels, while the fluctuation component benefits from Bi-GRU encoding of local temporal context within the observed window. The backward direction does not access future target values; it only encodes the historical input in reverse order. The weaker performance of homogeneous designs further supports component-specific encoder assignment.

5.4. Ablation Study on Temporal Variables

This ablation evaluates calendar-based covariates derived from timestamps, including time-of-day, day-of-week, and weekend indicators. It should be noted that external factors such as weather conditions, traffic incidents, and special events may also affect traffic flow evolution. Unfortunately, the standard PeMS04 and PeMS08 benchmark files do not provide synchronized sensor-level annotations for these variables. Therefore, the present study focuses on timestamp-derived temporal covariates, while incorporating richer external context is left for future work.
Table 5 shows that temporal covariates provide auxiliary gains, especially when intra-day information is included. Time-of-day clearly improves over the flow-only setting, while day-of-week alone improves MAPE but not MAE or RMSE. The combination of time-of-day, day-of-week, and weekend indicators yields the lowest MAE and RMSE. These results suggest that temporal covariates are helpful but secondary to the decomposition-guided representation.

5.5. Ablation Study on Local Transition Behavior

Aggregate metrics do not fully reveal model behavior around turning points, peak states, and rapid transitions. We, therefore, examine local forecasting behavior using zoomed-in predictions and a regime-wise diagnostic analysis.
Figure 5 shows that the proposed model follows local reversals more closely than the raw-input baseline, especially near turning points and recovery phases. This behavior is consistent with the roles of the reconstructed components: the trend branch anchors the forecast to the underlying traffic level, while the fluctuation branch provides short-term corrective information when the observed state departs from its local baseline.
Table 6 presents a representative diagnostic analysis on PeMS04 under three flow-derived regimes. Stable intervals are defined by the lowest quartile of absolute first-order temporal differences, peak intervals by the highest quartile of flow values, and rapid-transition intervals by the highest quartile of absolute first-order temporal differences. When an interval satisfies multiple criteria, labels are assigned in the order of rapid transition, peak, and stable. The relative gain is computed as ( Baseline Ours ) / Baseline × 100 % . The proposed model reduces errors in all regimes, with the largest gains under rapid transitions. This pattern supports the trend–residual interpretation: the trend representation provides a stable reference for regular and high-demand states, whereas the residual representation is more effective when traffic states change abruptly around the local baseline. These results show that decomposition-guided representation improves not only overall accuracy but also local forecasting behavior during abrupt traffic changes.
Overall, the ablation studies indicate that the gains mainly come from decomposition-guided representation learning and component-specific temporal modeling. MEMD-based reconstruction yields a compact trend–residual representation, and the heterogeneous LSTM–Bi-GRU assignment better matches the temporal properties of the reconstructed components. Taken together, these results suggest that the gains are mainly attributable to the trend–residual representation and the component-specific branch assignment.

6. Conclusions and Future Work

This paper presents a decomposition-guided dual-branch recurrent framework for multistep traffic flow forecasting. MEMD is used to construct aligned trend and residual representations from multiscale traffic components, which are then modeled by LSTM and Bi-GRU branches, respectively. Experiments on PeMS04 and PeMS08 show competitive forecasting performance, and the ablation studies further indicate that the gains mainly come from trend–residual representation learning and component-specific temporal modeling rather than increased fusion complexity. These results suggest that organizing heterogeneous traffic observations into structured trend and residual representations can improve multistep forecasting.
Future work will incorporate explicit spatial dependency modeling, improve the efficiency of MEMD-based reconstruction for online inference, and evaluate the framework under more diverse traffic scenarios.

Author Contributions

Conceptualization, Y.Q. and T.K.; methodology, Y.Q. and T.K.; validation, Y.Q., T.K. and S.Z. (Shengduo Zhang); formal analysis, C.L. and X.W.; investigation, T.K. and S.Z. (Shengduo Zhang); writing—original draft preparation, Y.Q. and T.K.; writing—review and editing, C.L. and X.W.; visualization, S.Z. (Shengduo Zhang); supervision, C.L. and S.Z. (Shuxu Zhao); funding acquisition, C.L. and X.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work is jointly supported by the Youth Science Foundation of Gansu Provincial Science and Technology Department (No. 25JRRA198), the Gansu Provincial Department of Education University Faculty Innovation Fund Project (No. 2026B-066, 2024B-059), and the Joint Innovation Fund Project of Lanzhou Jiaotong University and Tianjin University (No. LH2025002).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All original research contributions presented in this study have been included in the paper. For further inquiries, please contact the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Zhou, Y. An urban traffic flow prediction method based on multi-source data fusion. In Proceedings of the 2025 International Conference on Software Engineering and Computer Applications; Association for Computing Machinery: New York, NY, USA, 2025; pp. 308–313. [Google Scholar]
  2. Diao, C.; Zhang, D.; Liang, W.; Jiang, M.; Li, K. A novel attention-based dynamic multi-graph spatial-temporal graph neural network model for traffic prediction. IEEE Trans. Emerg. Top. Comput. Intell. 2024, 9, 1910–1923. [Google Scholar] [CrossRef]
  3. Chen, Y.; Shu, T.; Zhou, X.; Zheng, X.; Kawai, A.; Fueda, K.; Yan, Z.; Liang, W.; Wang, K.I.K. Graph attention network with spatial-temporal clustering for traffic flow forecasting in intelligent transportation system. IEEE Trans. Intell. Transp. Syst. 2022, 24, 8727–8737. [Google Scholar] [CrossRef]
  4. Ye, B.L.; Zhang, M.; Li, L.; Liu, C.; Wu, W. A survey of traffic flow prediction methods based on long short-term memory networks. IEEE Intell. Transp. Syst. Mag. 2024, 16, 87–112. [Google Scholar] [CrossRef]
  5. Gao, D.; Li, P.; Wang, M.; Liang, Y.; Liu, S.; Zhou, J.; Wang, L.; Zhang, Y. CSF-GTNet: A novel multi-dimensional feature fusion network based on Convnext-GeLU-BiLSTM for EEG-signals-enabled fatigue driving detection. IEEE J. Biomed. Health Inform. 2023, 28, 2558–2568. [Google Scholar] [CrossRef]
  6. Qian, W.; Zhao, Y.; Zhang, D.; Chen, B.; Zheng, K.; Zhou, X. Towards a unified understanding of uncertainty quantification in traffic flow forecasting. IEEE Trans. Knowl. Data Eng. 2023, 36, 2239–2256. [Google Scholar] [CrossRef]
  7. Zeng, A.; Chen, M.; Zhang, L.; Xu, Q. Are transformers effective for time series forecasting? In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2023; Volume 37, pp. 11121–11128. [Google Scholar]
  8. Hu, H.X.; Hu, Q.; Tan, G.; Zhang, Y.; Lin, Z.Z. A multi-layer model based on transformer and deep learning for traffic flow prediction. IEEE Trans. Intell. Transp. Syst. 2023, 25, 443–451. [Google Scholar] [CrossRef]
  9. Zhang, J.; Mao, S.; Yang, L.; Ma, W.; Li, S.; Gao, Z. Physics-informed deep learning for traffic state estimation based on the traffic flow model and computational graph method. Inf. Fusion 2024, 101, 101971. [Google Scholar] [CrossRef]
  10. Huang, Y.; Hasan, N.; Deng, C.; Bao, Y. Multivariate empirical mode decomposition based hybrid model for day-ahead peak load forecasting. Energy 2022, 239, 122245. [Google Scholar] [CrossRef]
  11. Chen, Z.; Lu, Z.; Chen, Q.; Zhong, H.; Zhang, Y.; Xue, J.; Wu, C. Spatial–temporal short-term traffic flow prediction model based on dynamical-learning graph convolution mechanism. Inf. Sci. 2022, 611, 522–539. [Google Scholar] [CrossRef]
  12. Al-Selwi, H.F.; Abd Aziz, A.B.; Abas, F.S.; Hamzah, N.A.A.; Mahmud, A.B. The impact of weather data on traffic flow prediction models. IAES Int. J. Artif. Intell. 2022, 11, 1223. [Google Scholar] [CrossRef]
  13. Fan, J.; Zhu, F.; Weng, W.; Zhang, X.; Jiang, H.; Tian, H.; Wu, H. Dynamic modeling and analysis of Bi-directional traffic flows through a deep spatio-temporal graph neural network. IEEE Trans. Big Data 2025, 11, 3016–3028. [Google Scholar] [CrossRef]
  14. Wang, C.; Zhang, K.; Wang, H.; Chen, B. Auto-STGCN: Autonomous spatial-temporal graph convolutional network search. ACM Trans. Knowl. Discov. Data 2023, 17, 1–21. [Google Scholar] [CrossRef]
  15. Huang, Y.; Weng, Y.; Yu, S.; Chen, X. Diffusion convolutional recurrent neural network with rank influence learning for traffic forecasting. In Proceedings of the 2019 18th IEEE International Conference on Trust, Security and Privacy in Computing and Communications/13th IEEE International Conference on Big Data Science and Engineering (TrustCom/BigDataSE); IEEE: Piscataway, NJ, USA, 2019; pp. 678–685. [Google Scholar]
  16. Wu, Z.; Pan, S.; Long, G.; Jiang, J.; Zhang, C. Graph WaveNet for Deep Spatial-Temporal Graph Modeling. In Proceedings of the 28th International Joint Conference on Artificial Intelligence (IJCAI-19); International Joint Conference on Artificial Intelligence (IJCAI); AAAI Press: Washington, DC, USA, 2019. [Google Scholar]
  17. Zhao, L.; Song, Y.; Zhang, C.; Liu, Y.; Wang, P.; Lin, T.; Deng, M.; Li, H. T-GCN: A temporal graph convolutional network for traffic prediction. IEEE Trans. Intell. Transp. Syst. 2019, 21, 3848–3858. [Google Scholar] [CrossRef]
  18. Song, C.; Lin, Y.; Guo, S.; Wan, H. Spatial-Temporal Synchronous Graph Convolutional Networks: A New Framework for Spatial-Temporal Network Data Forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2020; pp. 914–921. [Google Scholar]
  19. Bai, L.; Yao, L.; Li, C.; Wang, X.; Wang, C. Adaptive graph convolutional recurrent network for traffic forecasting. Adv. Neural Inf. Process. Syst. 2020, 33, 17804–17815. [Google Scholar]
  20. Guo, S.; Lin, Y.; Feng, N.; Song, C.; Wan, H. Attention Based Spatial-Temporal Graph Convolutional Networks for Traffic Flow Forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2019; pp. 922–929. [Google Scholar]
  21. Zheng, C.; Fan, X.; Wang, C.; Qi, J. GMAN: A Graph Multi-Attention Network for Traffic Prediction. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2020; pp. 1234–1241. [Google Scholar]
  22. Cai, L.; Janowicz, K.; Mai, G.; Yan, B.; Zhu, R. Traffic transformer: Capturing the continuity and periodicity of time series for traffic forecasting. Trans. GIS 2020, 24, 736–755. [Google Scholar] [CrossRef]
  23. Wu, H.; Xu, J.; Wang, J.; Long, M. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. Adv. Neural Inf. Process. Syst. 2021, 34, 22419–22430. [Google Scholar]
  24. Jiang, J.; Han, C.; Zhao, W.X.; Wang, J. PDFormer: Propagation Delay-Aware Dynamic Long-Range Transformer for Traffic Flow Prediction. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2023; pp. 4365–4373. [Google Scholar]
  25. Liu, H.; Dong, Z.; Jiang, R.; Deng, J.; Deng, J.; Chen, Q.; 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; Association for Computing Machinery: New York, NY, USA, 2023; pp. 4125–4129. [Google Scholar]
  26. Pan, Z.; Liang, Y.; Wang, W.; Yu, Y.; Zheng, Y.; Zhang, J. Urban traffic prediction from spatio-temporal data using deep meta learning. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining; Association for Computing Machinery: New York, NY, USA, 2019; pp. 1720–1730. [Google Scholar]
  27. Wang, Y.; Zhang, D.; Liu, Y.; Dai, B.; Lee, L.H. Enhancing transportation systems via deep learning: A survey. Transp. Res. Part C Emerg. Technol. 2019, 99, 144–163. [Google Scholar] [CrossRef]
  28. Tedjopurnomo, D.A.; Bao, Z.; Zheng, B.; Choudhury, F.M.; Qin, A.K. A survey on modern deep neural network for traffic prediction: Trends, methods and challenges. IEEE Trans. Knowl. Data Eng. 2020, 34, 1544–1561. [Google Scholar] [CrossRef]
  29. Fafoutellis, P.; Vlahogianni, E.I. A theory-informed multivariate causal framework for trustworthy short-term urban traffic forecasting. Transp. Res. Part C Emerg. Technol. 2025, 170, 104945. [Google Scholar] [CrossRef]
  30. Wang, R.; Xin, Y.; Zhang, Y.; Perez-Cruz, F.; Raubal, M. Counterfactual explanations for deep learning-based traffic forecasting. Commun. Transp. Res. 2025, 5, 100176. [Google Scholar] [CrossRef]
  31. Kong, L.; Yang, H.; Li, W.; Zhang, Y.; Guan, J.; Zhou, S. Traffexplainer: A framework toward gnn-based interpretable traffic prediction. IEEE Trans. Artif. Intell. 2024, 6, 559–573. [Google Scholar] [CrossRef]
  32. Chen, J.; Zheng, L.; Hu, Y.; Wang, W.; Zhang, H.; Hu, X. Traffic flow matrix-based graph neural network with attention mechanism for traffic flow prediction. Inf. Fusion 2024, 104, 102146. [Google Scholar] [CrossRef]
  33. Yang, H.F.; Chen, Y.P.P. Hybrid deep learning and empirical mode decomposition model for time series applications. Expert Syst. Appl. 2019, 120, 128–138. [Google Scholar] [CrossRef]
  34. Tan, Z.; Shi, Y.; Zhang, Y. Traffic Flow Prediction Based on Multimodal Spatio-Temporal Bayesian Neural Network. In Proceedings of the International Conference on Information, Computing and Technology; Springer: Cham, Switzerland, 2025; pp. 201–211. [Google Scholar]
  35. Sun, R.; Cheng, N.; Li, C.; Quan, W.; Zhou, H.; Wang, Y.; Zhang, W.; Shen, X. A comprehensive survey of knowledge-driven deep learning for intelligent wireless network optimization in 6G. IEEE Commun. Surv. Tutor. 2025, 28, 1099–1135. [Google Scholar] [CrossRef]
  36. Wang, L.; He, H.; Dong, Y.; Li, X.; Gan, W.; Zhang, X. Predicting street-level distribution of bike-sharing traffic volume in metro station areas using integrated generative adversarial networks. J. Transp. Geogr. 2026, 130, 104456. [Google Scholar] [CrossRef]
  37. Ma, C.; Zhao, Y.; Dai, G.; Xu, X.; Wong, S.C. A novel STFSA-CNN-GRU hybrid model for short-term traffic speed prediction. IEEE Trans. Intell. Transp. Syst. 2022, 24, 3728–3737. [Google Scholar] [CrossRef]
  38. Deng, C.; Huang, Y.; Hasan, N.; Bao, Y. Multi-step-ahead stock price index forecasting using long short-term memory model with multivariate empirical mode decomposition. Inf. Sci. 2022, 607, 297–321. [Google Scholar] [CrossRef]
  39. Ur Rehman, N.; Mandic, D.P. Filter bank property of multivariate empirical mode decomposition. IEEE Trans. Signal Process. 2011, 59, 2421–2426. [Google Scholar] [CrossRef]
  40. Naheliya, B.; Redhu, P.; Kumar, K. Bi-directional long short term memory neural network for short-term traffic speed prediction using gravitational search algorithm. Int. J. Intell. Transp. Syst. Res. 2024, 22, 316–327. [Google Scholar] [CrossRef]
  41. Ma, X.; Tao, Z.; Wang, Y.; Yu, H.; Wang, Y. Long short-term memory neural network for traffic speed prediction using remote microwave sensor data. Transp. Res. Part C Emerg. Technol. 2015, 54, 187–197. [Google Scholar] [CrossRef]
  42. Xiao, J.; Huang, Y. Traffic state identification method based on GA-EWFCM. In Proceedings of the Tenth International Conference on Electromechanical Control Technology and Transportation (ICECTT 2025); SPIE: Washington, DC, USA, 2025; Volume 13781, pp. 656–661. [Google Scholar]
  43. Wu, L.; Li, S.; Li, H.; Huang, J.; Lei, X.; Jiang, H. Spatio-temporal Transfer Learning for Urban Data Modeling. In Proceedings of the 2025 IEEE 28th International Conference on Computational Science and Engineering (CSE); IEEE: Piscataway, NJ, USA, 2025; pp. 30–37. [Google Scholar]
  44. Lin, S.; Lin, W.; Wu, W.; Zhao, F.; Mo, R.; Zhang, H. Segrnn: Segment recurrent neural network for long-term time series forecasting. IEEE Internet Things J. 2025, 13, 9861–9871. [Google Scholar] [CrossRef]
  45. Lei, Z.; Dong, Y.; Li, J.; Chen, C. St-fit: Inductive spatial-temporal forecasting with limited training data. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2025; Volume 39, pp. 12031–12039. [Google Scholar]
  46. Sims, C.A. Macroeconomics and reality. In Econometrica: Journal of the Econometric Society; The Econometric Society: New York, NY, USA, 1980; pp. 1–48. [Google Scholar]
  47. Greff, K.; Srivastava, R.K.; Koutník, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A search space odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2016, 28, 2222–2232. [Google Scholar] [CrossRef]
  48. Gao, J.; Zhang, X.; Tian, L.; Liu, Y.; Wang, J.; Li, Z.; Hu, X. MTGNN: Multi-task graph neural network based few-shot learning for disease similarity measurement. Methods 2022, 198, 88–95. [Google Scholar] [CrossRef]
  49. Li, M.; Zhu, Z. Spatial-Temporal Fusion Graph Neural Networks for Traffic Flow Forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2021; pp. 4189–4196. [Google Scholar]
  50. Choi, J.; Choi, H.; Hwang, J.; Park, N. Graph Neural Controlled Differential Equations for Traffic Forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2022; pp. 6367–6374. [Google Scholar]
  51. Han, L.; Du, B.; Sun, L.; Fu, Y.; Lv, Y.; Xiong, H. Dynamic and multi-faceted spatio-temporal deep learning for traffic speed forecasting. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining; Association for Computing Machinery: New York, NY, USA, 2021; pp. 547–555. [Google Scholar]
  52. Shao, Z.; Zhang, Z.; Wei, W.; Wang, F.; Xu, Y.; Cao, X.; Jensen, C.S. Decoupled dynamic spatial-temporal graph neural network for traffic forecasting. Proc. VLDB Endow. 2022, 15, 2733–2746. [Google Scholar] [CrossRef]
  53. Shao, Z.; Zhang, Z.; Wang, F.; Wei, W.; 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 & Knowledge Management; Association for Computing Machinery: New York, NY, USA, 2022; pp. 4454–4458. [Google Scholar]
Figure 1. Architectureof the MEMD-LSTM-Bi-GRU framework.
Figure 1. Architectureof the MEMD-LSTM-Bi-GRU framework.
Sensors 26 03369 g001
Figure 2. MEMD-based component reconstruction and branch assignment.
Figure 2. MEMD-based component reconstruction and branch assignment.
Sensors 26 03369 g002
Figure 3. Pointforecast visualization over the first 24 h of the test set. The figure on the left (a) shows the predictions for peak modes on the PeMS04 test set. The figure on the right (b) shows the predictions for drop-off modes on the PeMS08 test set.
Figure 3. Pointforecast visualization over the first 24 h of the test set. The figure on the left (a) shows the predictions for peak modes on the PeMS04 test set. The figure on the right (b) shows the predictions for drop-off modes on the PeMS08 test set.
Sensors 26 03369 g003
Figure 4. Representativedecomposition examples at node 0 on PeMS04 and PeMS08.
Figure 4. Representativedecomposition examples at node 0 on PeMS04 and PeMS08.
Sensors 26 03369 g004aSensors 26 03369 g004b
Figure 5. Prediction zoom at node 0 on PeMS04 and PeMS08.
Figure 5. Prediction zoom at node 0 on PeMS04 and PeMS08.
Sensors 26 03369 g005
Table 1. Comparison with diverse forecasting baselines on PeMS04 and PeMS08. ↓ indicates that a smaller value means better performance.
Table 1. Comparison with diverse forecasting baselines on PeMS04 and PeMS08. ↓ indicates that a smaller value means better performance.
MethodPeMS04PeMS08
MAE ↓RMSE ↓MAPE (%) ↓MAE ↓RMSE ↓MAPE (%) ↓
HA [45]24.5039.8316.6021.1936.6413.82
VAR [46]21.8732.2615.7018.6627.3512.81
LSTM [47]21.3733.3115.2117.3826.2712.63
DCRNN [15]24.7138.1217.1217.8628.8312.45
STGCN [14]22.7035.5514.5918.6128.1613.12
Graph WaveNet [16]20.6533.0814.6616.2325.0212.43
MTGNN [48]20.0832.5613.9616.3925.9310.17
STFGNN [49]20.8332.0914.0216.4625.8110.92
STGNCDE [50]20.2132.0913.7616.4525.8110.92
DMSTGCN [51]23.5936.8316.4318.6529.1412.01
D2STGNN [52]20.5532.9913.8216.6926.4111.17
ASTGCN [20]22.9335.2216.5618.6128.1613.08
GMAN [21]20.1432.6014.2016.3125.9211.13
STID [53]20.5832.7914.3816.5826.8911.33
Traffic Transformer [22]19.7532.3512.8215.7924.889.93
Proposed (Ours)19.6731.5912.9515.5124.439.86
Table 2. Ablation study on decomposition on PeMS04 and PeMS08. ↓ indicates that a smaller value means better performance.
Table 2. Ablation study on decomposition on PeMS04 and PeMS08. ↓ indicates that a smaller value means better performance.
ModelPeMS04PeMS08
RMSE ↓MAE ↓RMSE ↓MAE ↓
Baseline38.7123.7933.2521.40
Trend Only39.1124.2133.9522.01
Fluctuation Only49.3030.0544.4630.08
Decomp Concat38.3523.3433.0321.03
Decomp Gated38.5723.5633.1220.92
Decomp Attention39.2624.3033.2521.29
Table 3. Ablation study on IMF reconstruction on PeMS04. ↓ indicates that a smaller value means better performance.
Table 3. Ablation study on IMF reconstruction on PeMS04. ↓ indicates that a smaller value means better performance.
Reconstruction StrategyMAE ↓RMSE ↓MAPE (%) ↓
Raw Input 26.23 ± 0.06 40.15 ± 0.01 19.59 ± 0.93
IMF-wise Modeling 23.34 ± 0.35 33.72 ± 0.53 18.83 ± 0.14
Two Groups (Ours) 18.05 ± 0.11 28.42 ± 0.19 14.23 ± 0.16
Three Groups 18.89 ± 0.21 29.65 ± 0.28 14.09 ± 0.14
Four Groups 20.01 ± 0.04 33.17 ± 0.05 14.84 ± 0.37
Table 4. Ablation study on branch assignment on PeMS04. ↓ indicates that a smaller value means better performance.
Table 4. Ablation study on branch assignment on PeMS04. ↓ indicates that a smaller value means better performance.
ArchitectureMAE ↓RMSE ↓MAPE (%) ↓
LSTM–LSTM 21.02 ± 0.16 33.89 ± 0.24 14.36 ± 1.03
GRU–GRU 20.88 ± 0.12 34.05 ± 0.13 13.99 ± 0.11
Bi-GRU–Bi-GRU 20.69 ± 0.25 33.66 ± 0.30 13.54 ± 0.11
LSTM–GRU 20.45 ± 0.30 33.87 ± 0.32 13.56 ± 0.58
GRU–Bi-GRU 20.23 ± 0.07 32.69 ± 0.42 13.69 ± 0.22
Transformer–Transformer 20.77 ± 0.25 33.80 ± 0.21 14.02 ± 0.16
LSTM–Bi-GRU (Ours) 19.67 ± 0.11 31.59 ± 0.08 12.95 ± 0.03
Table 5. Ablation study on temporal variables on PeMS04. ↓ indicates that a smaller value means better performance.
Table 5. Ablation study on temporal variables on PeMS04. ↓ indicates that a smaller value means better performance.
Input SettingMAE ↓RMSE ↓MAPE (%) ↓
Flow Only 28.06 ± 0.45 42.96 ± 0.76 26.16 ± 0.66
Flow + Time-of-day 26.15 ± 0.12 40.15 ± 0.31 20.04 ± 0.71
Flow + Day-of-week 28.25 ± 0.37 43.04 ± 0.44 23.49 ± 1.75
Flow + Time + Day-of-week 26.15 ± 0.58 40.38 ± 0.72 19.51 ± 1.02
Flow + Time + Day-of-week + Weekend 25.33 ± 0.17 39.15 ± 0.22 20.21 ± 1.20
Table 6. Segment-wise error comparison under different traffic regimes on PeMS04. ↓ indicates that a smaller value means better performance.
Table 6. Segment-wise error comparison under different traffic regimes on PeMS04. ↓ indicates that a smaller value means better performance.
RegimeModelMAE ↓RMSE ↓MAPE (%) ↓
StableBaseline15.3926.2822.61
Ours12.4721.1019.41
Gain (%)18.9619.7114.15
PeakBaseline41.9657.7710.30
Ours34.0447.888.42
Gain (%)18.8817.1318.30
Rapid TransitionBaseline41.2456.3417.32
Ours31.7945.0712.91
Gain (%)22.9120.0125.44
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Qian, Y.; Kang, T.; Zhang, S.; Li, C.; Wang, X.; Zhao, S. Multiscale Traffic Dynamics Representation for Forecasting via MEMD-Guided Dual-Branch Recurrent Networks. Sensors 2026, 26, 3369. https://doi.org/10.3390/s26113369

AMA Style

Qian Y, Kang T, Zhang S, Li C, Wang X, Zhao S. Multiscale Traffic Dynamics Representation for Forecasting via MEMD-Guided Dual-Branch Recurrent Networks. Sensors. 2026; 26(11):3369. https://doi.org/10.3390/s26113369

Chicago/Turabian Style

Qian, Yichen, Taiming Kang, Shengduo Zhang, Chaoneng Li, Xiaolong Wang, and Shuxu Zhao. 2026. "Multiscale Traffic Dynamics Representation for Forecasting via MEMD-Guided Dual-Branch Recurrent Networks" Sensors 26, no. 11: 3369. https://doi.org/10.3390/s26113369

APA Style

Qian, Y., Kang, T., Zhang, S., Li, C., Wang, X., & Zhao, S. (2026). Multiscale Traffic Dynamics Representation for Forecasting via MEMD-Guided Dual-Branch Recurrent Networks. Sensors, 26(11), 3369. https://doi.org/10.3390/s26113369

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop