Next Article in Journal
Vibration Control of Cylindrical Piezoelectric Transducers Utilizing Stepped-Thickness Configurations
Previous Article in Journal
An EEG-Guided Olfactory Interface: Prototype Design and Person-Specific Emotion-Decoding Validation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Frequency-Guided Dynamic Hypergraph Learning for Traffic Flow Forecasting

1
College of Information, Mechanical and Electrical Engineering, Shanghai Normal University, Shanghai 201418, China
2
Zhongke Zidong Information Technology (Beijing) Co., Ltd., Beijing 100190, China
3
China Satellite Network Application Co., Ltd., Beijing 100000, China
*
Authors to whom correspondence should be addressed.
Sensors 2026, 26(16), 5238; https://doi.org/10.3390/s26165238
Submission received: 22 July 2026 / Revised: 15 August 2026 / Accepted: 17 August 2026 / Published: 19 August 2026
(This article belongs to the Section Vehicular Sensing)

Abstract

Accurate traffic flow forecasting requires modeling both stable macroscopic dependencies and abrupt local fluctuations in complex road networks. Existing spatiotemporal forecasting models usually learn spatial structures from raw time-domain traffic signals, where low-frequency trends and high-frequency fluctuations are entangled. Although decomposition-based and frequency-aware methods have shown the benefit of separating heterogeneous traffic components, how frequency decomposition can support reliable high-order topology learning remains less explored. To address this issue, we propose FEDHNet, a Frequency-Guided Dynamic Hypergraph Network for traffic flow forecasting. FEDHNet first performs adaptive spectral decomposition on the hidden representation to obtain low-frequency and complementary high-frequency latent components. The low-frequency branch constructs dynamic hyperedges from the relatively smooth latent representation to model non-local high-order dependencies, while the high-frequency branch employs a lightweight 2D Inception module with GLU-based gated denoising to model rapidly varying latent responses. A low-frequency-anchored residual fusion module then adaptively integrates high-frequency residual information into the low-frequency latent representation for multi-step prediction. Experiments on four public PeMS datasets show that FEDHNet achieves competitive forecasting accuracy and multi-horizon performance, together with favorable computational efficiency compared with recent spatiotemporal forecasting baselines. Further analyses examine the effects of topology-source selection and controlled high-frequency residual modeling, revealing that the benefit of low-frequency hypergraph construction is dataset-dependent.

1. Introduction

Accurate traffic flow forecasting is fundamental to intelligent transportation systems (ITSs) [1], with practical applications such as route planning, traffic management, and congestion alleviation [2]. However, traffic data exhibit highly nonlinear and complex spatiotemporal dynamics, which makes accurate forecasting challenging [3].
Early deep learning methods mainly treated traffic forecasting as grid-based spatial modeling [4] or one-dimensional sequential modeling [5]. These approaches have limited ability to represent the complex topology of road networks. Early work on deep traffic forecasting [6] used stacked autoencoders to capture spatiotemporal correlations. Subsequently, Spatio-Temporal Graph Neural Networks (STGNNs) [7] became a mainstream paradigm by formulating road networks as non-Euclidean graph structures. Representative models such as DCRNN [8] and STGCN [9] aggregate spatial information through predefined physical adjacencies. However, static physical topologies cannot fully capture time-varying spatial correlations [10]. Later studies introduced adaptive matrices [11] and attention mechanisms [12] to infer latent dynamic node correlations. More recently, Transformer-based architectures [13] and continuous-time models [14] have further improved the modeling of heterogeneous and long-range spatiotemporal dependencies.
Despite these advances, many forecasting models still learn spatial dependencies from raw traffic representations, where different temporal patterns are mixed together. As shown in Figure 1a, traffic observations may exhibit both slowly varying and rapidly varying temporal patterns. This observation motivates the frequency-domain separation used in FEDHNet. Since the decomposition in our model is applied to the learned hidden representation rather than directly to the original traffic-flow signal, the resulting low- and high-frequency components are interpreted as relatively slowly and rapidly varying latent features, respectively, rather than as direct physical proxies for specific traffic phenomena. Learning topologies from such mixed representations can be problematic. In conventional graph-based models, node representations are updated by aggregating information from connected or highly correlated nodes. When transient fluctuations are directly involved in topology learning, the model may assign strong connections to nodes that only behave similarly within a short time interval. This effect is illustrated in Figure 1b: Localized fluctuations may propagate through the learned structure and disturb the representations of other nodes. The problem becomes more pronounced in hypergraph learning, where each hyperedge connects multiple nodes, and a noisy hyperedge may affect a group of sensors simultaneously. This observation motivates the design in Figure 1c. Instead of constructing hyperedges from raw entangled representations, we first separate traffic representations in the frequency domain. The low-frequency latent representation is used to learn dynamic hyperedges, providing a smoother representation basis for high-order spatial aggregation. The high-frequency component is kept out of hyperedge construction and is processed by a separate local branch to preserve useful abrupt variations while suppressing unreliable noise responses.
Recent studies have attempted to reduce the interference among heterogeneous traffic patterns through decomposition-based or frequency-aware modeling. For example, seasonal-trend decomposition and Fourier-enhanced representations have been used to capture global temporal properties in long-term forecasting [15]. Traffic-specific models further separate traffic signals into periodic and perturbative components and process them with dual-branch architectures [16]. DEC-Former and STDN also show that decomposition can improve attention mechanisms, spatiotemporal embeddings, and dynamic graph learning [17,18]. These studies confirm the value of separating heterogeneous traffic dynamics. However, most of them use the separated components to improve temporal attention, recurrent modeling, graph convolution, or component-wise feature extraction. How frequency decomposition can support reliable high-order topology learning remains less explored. This issue is particularly important in hypergraph-based forecasting because a noisy hyperedge can influence multiple sensors at once. Therefore, directly constructing hyperedges from raw entangled signals may lead to unreliable high-order spatial dependencies.
Motivated by these observations, we propose a Frequency-Guided Dynamic Hypergraph Network, termed FEDHNet. The central design of FEDHNet is to couple frequency decomposition with dynamic high-order topology learning. Specifically, adaptive spectral decomposition is used to obtain frequency-specific latent representations, and the low-frequency latent representation is employed to guide dynamic hypergraph construction. This design reduces the direct influence of rapidly varying latent components on hyperedge generation and provides a smoother representation basis for high-order topology inference. The complementary high-frequency latent representation is processed by a lightweight 2D Inception module with GLU-based gated denoising, and a low-frequency-anchored residual fusion module integrates the two branches for multi-step forecasting. The main contributions are summarized as follows:
  • We develop a frequency-guided dynamic hypergraph construction strategy that couples spectral decomposition with high-order topology learning. Instead of constructing dynamic hyperedges directly from mixed latent representations, FEDHNet uses the low-frequency latent representation as the topology-learning input, reducing the direct influence of rapidly varying components on hyperedge generation.
  • We propose a frequency-specific dual-branch architecture. The low-frequency branch employs dynamic hypergraph learning to capture non-local high-order dependencies, while the high-frequency branch uses 2D Inception-based gated modeling to extract complementary rapidly varying features.
  • We design a low-frequency-anchored residual fusion mechanism, where high-frequency features are treated as adaptive residual corrections to the low-frequency latent representation for multi-step prediction.
  • Experiments on four public PeMS datasets demonstrate that FEDHNet achieves competitive forecasting accuracy and multi-horizon performance and favorable computational efficiency. Additional ablation and visualization analyses further examine the role of frequency-guided hypergraph construction.

2. Related Work

2.1. Spatiotemporal Graph Neural Networks

Graph neural networks (GNNs) have advanced traffic forecasting by explicitly modeling network topologies. Early models such as DCRNN [8] and STGCN [9] combine graph convolutions with temporal modules, but they rely heavily on predefined static graphs. To capture time-varying traffic patterns, later studies introduced adaptive mechanisms. Graph WaveNet [19] and AGCRN [11] infer implicit spatial dependencies through adaptive adjacency matrices and node-specific parameter learning. DGCN-RL [20] employs reinforcement learning for dynamic graph generation. Other studies, such as STSGCN [21] and ASTGNN [22], explore fine-grained spatiotemporal interaction modeling. Recent studies have further investigated more flexible forms of spatiotemporal dependency learning. STPGNN [23] identifies pivotal nodes with strong traffic aggregation and distribution characteristics and constructs a pivotal graph to model the complex spatiotemporal dependencies surrounding these nodes. Transformer-based architectures, including PDFormer [2], STAEformer [13], DTRformer [24], and SSL-STMFormer [25], further improve the modeling of complex spatiotemporal dependencies. In particular, SSL-STMFormer combines spatial and temporal attention with entanglement-aware modules and self-supervised learning to capture dynamic long-range dependencies and spatiotemporal heterogeneity. More recently, MetaDG [26] extends dynamic graph modeling by generating dynamic node representations, adjacency matrices, and meta-parameters at each time step while further refining message propagation through dynamic graph qualification. Despite these advances, existing methods mainly focus on improving pairwise graph structures, attention mechanisms, dynamic adjacency learning, or spatiotemporal representation modeling. The influence of frequency-specific latent information on high-order topology construction remains less explored. Different from conventional pairwise graph models, FEDHNet couples frequency decomposition with dynamic hypergraph learning and uses a relatively low-frequency latent representation to guide high-order topology inference.

2.2. Decomposition-Based and Frequency-Aware Modeling

Decomposition-based methods aim to separate heterogeneous temporal patterns before prediction. Autoformer [27] introduces seasonal-trend decomposition into Transformer-based forecasting, while FEDformer [15] combines decomposition with frequency-enhanced representations to capture global properties of time series. In traffic forecasting, DEC-Former [17] decomposes traffic series into trend and seasonal components and repositions attention mechanisms to more suitable temporal and spatial contexts. STDN [18] incorporates spatiotemporal embeddings into trend-seasonality decomposition and dynamic relationship graph learning. These studies show that decomposed representations can reduce interference among heterogeneous traffic patterns. Frequency-aware traffic forecasting methods further exploit spectral representations to distinguish information distributed across different frequency bands. FEDDGCN [16] integrates Fourier filters with a gated decoupling mechanism for frequency-aware traffic representation learning. These recent studies demonstrate the growing interest in decomposition- and frequency-aware modeling for traffic forecasting. However, decomposition is mainly employed to improve temporal attention, graph convolution, recurrent modeling, or component-wise feature extraction. In contrast, FEDHNet further couples frequency decomposition with dynamic high-order topology learning, using the relatively low-frequency latent representation as the input for hyperedge construction.

2.3. High-Order Topology and Hypergraph Learning

Conventional GNNs are limited to pairwise connections and may fail to capture non-local and multi-way interactions in complex urban road networks. Recent hypergraph-based models have been explored for passenger flow, traffic flow, and traffic speed forecasting [28,29,30,31,32]. DHCN [28] introduces dynamic hypergraph convolution for metro passenger flow prediction, while DyHSL [29] learns dynamic hypergraph structures for traffic flow forecasting. ST-HCN [31] and DSTHGCN [30] integrate spatiotemporal hypergraph modeling into traffic forecasting, and MvHSTM [32] explores multi-view hypergraph modeling for traffic speed forecasting. Most existing hypergraph-based forecasting methods infer hyperedge structures directly from raw or mixed traffic representations. Rapid variations contained in these representations may affect hyperedge assignments and consequently introduce fluctuations into high-order topology learning. FEDHNet instead performs dynamic hypergraph construction on the relatively low-frequency latent representation, providing a smoother representation basis for estimating hyperedge memberships. The complementary high-frequency latent representation is processed through a separate 2D Inception-based branch for local feature modeling, thereby preventing rapidly varying components from directly participating in hyperedge generation.

3. Problem Formulation

Following the standard paradigm in spatiotemporal forecasting [8,9], we formulate a traffic network as a directed graph G = ( V , E , A pre ) , where V denotes the set of N traffic sensors, E denotes the set of road-network edges, and A pre R N × N is the predefined proximity-based adjacency matrix. Let X t R N × C denote the graph signal observed at time step t, where C is the number of node features. Given a historical observation tensor X = [ X t T + 1 , , X t ] R T × N × C , our objective is to learn a mapping function F ( · ) that predicts the future traffic conditions Y ^ = [ X ^ t + 1 , , X ^ t + T ] for the next T steps:
Y ^ = F ( X ; G )
where Y ^ R T × N × C out represents the predicted graph signals, with C out being the output feature dimension.

4. Methodology

The overall architecture of the proposed Frequency-Guided Dynamic Hypergraph Network (FEDHNet) is illustrated in Figure 2. The model first embeds raw traffic sequences with temporal and spatial adaptive embeddings and then applies a graph convolution layer to obtain structurally smoothed representations. An adaptive spectral decomposition module separates the hidden representation into low-frequency and complementary high-frequency latent components. The low-frequency branch learns dynamic hyperedges from the relatively smooth latent representation to model non-local high-order dependencies. The high-frequency branch uses a multi-scale 2D Inception module with GLU-based gated denoising to model rapidly varying latent responses. Finally, a low-frequency-anchored residual fusion module integrates the two branches for RevIN-based multi-step prediction.

4.1. Spatiotemporal Embedding and Adaptive Graph Construction

We first map the input tensor X R T × N × C into a high-dimensional continuous feature space. To encode periodic temporal contexts, discrete time-of-day (TOD) and day-of-week (DOW) indices are mapped into vector representations [9,13]. These temporal embeddings are concatenated with X along the feature dimension and projected to a hidden dimension D through a linear transformation. To capture spatiotemporal heterogeneity across the road network, a learnable spatiotemporal adaptive embedding tensor E st R T × N × D is added to the projected features [11,13], yielding the initialized representation X emb R T × N × D .
Next, a preliminary GNN layer performs spatial structural smoothing on X emb . Let Z = X emb W in R T × N × D denote the hidden state after linear projection. Relying only on the predefined physical adjacency matrix A pre limits the model’s ability to capture implicit non-Euclidean spatial correlations [19]. To alleviate this limitation, we construct an adaptive adjacency matrix A adp using node-specific learnable dictionaries E 1 , E 2 R N × d , where d is the embedding dimension for graph generation [11]. A ReLU activation is applied to suppress negative affinity scores before row-wise normalization:
A adp = Softmax ReLU ( E 1 E 2 )
where the Softmax function normalizes the adaptive edge weights row-wise (i.e., for each node i, the attention scores across all nodes j sum to 1). The predefined physical adjacency matrix A is constructed from road-network distances following the distance-based graph construction in DCRNN [8]. Specifically, A i j = exp [ ( d i j / σ ) 2 ] , and weights below ϵ = 0.1 are set to zero. Self-connections are retained ( A i i = 1 ), and row-wise random-walk normalization is applied as A pre = D 1 A , where D i i = j A i j . No additional identity matrix is added during normalization. Neighborhood information is then aggregated over the augmented graph topology to obtain the intermediate aggregated state H agg R T × N × D :
H agg = ( A pre + A adp ) Z
where the graph convolution is applied along the spatial dimension across all T time steps, computed via Einstein summation to handle the high-dimensional tensors. The spatially smoothed representation H is generated through a sequential combination of residual connections, layer normalization (LN), and a feed-forward network (FFN) [22]. To ensure clear structural formulation, this process is decoupled into two sequential steps. First, the aggregated state is added to the initial representation and normalized to stabilize the training dynamics:
H = LN ( H agg + Z )
Subsequently, the normalized representation H is processed by the FFN and refined via a second residual connection to produce the final output:
H = H + FFN ( H )
This spatial smoothing stage ensures that the subsequent spectral decomposition operates on representations with refined structural dependencies.

4.2. Adaptive Spectral Decomposition

The spectral decomposition in FEDHNet is performed on the hidden representation H . Therefore, the resulting frequency components are interpreted in the latent feature space instead of being assigned explicit physical meanings. The low-frequency latent representation emphasizes relatively slowly varying components of H , whereas the complementary high-frequency latent representation retains more rapidly varying information, which may contain both useful transient responses and representation noise. FEDHNet uses the low-frequency latent representation for dynamic hypergraph learning and preserves the high-frequency latent representation for local variation modeling.
Different from time-domain seasonal-trend decomposition methods [27], this module modulates representations directly in the spectral domain, as shown in Figure 3. Given the real-valued nature of traffic sequences, we apply the real fast Fourier transform (RFFT) along the temporal dimension of the hidden representation H R T × N × D . This operation removes conjugate redundancy and reduces computational overhead, yielding the complex frequency spectrum H ^ C F × N × D , where F = T / 2 + 1 . The corresponding amplitude spectrum is denoted as A = | H ^ | .
To adaptively determine the frequency modulation weights for varying traffic conditions, a multi-layer perceptron (MLP) takes the amplitude A as input to yield a learnable soft mask M soft R F × N × D , integrated with a monotonically decreasing bias vector b init R F :
M soft = σ MLP ( A ) + b init
where σ ( · ) denotes the Sigmoid activation function, mapping the output to ( 0 ,   1 ) . This mechanism serves as a learnable soft filter that adaptively determines the retention weight of each frequency band rather than relying on a fixed frequency cutoff. The bias b init introduces an inductive preference toward lower-frequency components by assigning them higher initial retention probabilities, while the final spectral weights remain adaptively determined from the latent representation.
To avoid over-suppressing essential low-frequency information, a prior hard mask M hard is introduced to preserve the direct current (DC) component and several fundamental low-frequency bands. M hard is defined as a binary step function based on the frequency index f { 0 , 1 , , F 1 } :
M hard ( f ) = 1 , if f f c 0 , otherwise
where f c is the cutoff frequency index. In our implementation, f c is set to 2, preserving the DC component and the first two low-frequency bands within the observation window. This design ensures the preservation of the lowest-frequency information while allowing the remaining frequency bands to be adaptively modulated. The complementary masks for the low- and high-frequency components are then formulated as follows:
M low = max ( M soft , M hard ) , M high = 1 M low
The decoupled representations are reconstructed back into the time domain via the Inverse RFFT (IRFFT) utilizing the Hadamard product (⊙) between the complex spectrum H ^ and the respective masks, yielding the low-frequency latent representation X low R T × N × D and the complementary high-frequency latent representation X high R T × N × D :
X low = IRFFT ( H ^ M low ) , X high = IRFFT ( H ^ M high )

4.3. Low-Frequency Branch: Dynamic Hypergraph Learning

The decoupled low-frequency tensor X low R T × N × D is regarded as a relatively smooth representation in the latent feature space. This property is particularly relevant to dynamic hypergraph construction because the hyperedge memberships are directly inferred from X low . As formulated below, the incidence tensor is generated through a learnable projection followed by Softmax, i.e., H inc = Softmax ( X low W struct ) . Therefore, rapidly varying components in the input representation can directly affect the hyperedge-assignment logits and consequently introduce fluctuations into the inferred topology. The adaptive spectral decomposition attenuates part of the rapidly varying information before hyperedge generation so that the representation used for topology inference varies more smoothly along the temporal dimension. Consequently, the hyperedge memberships inferred from X low are expected to be less directly affected by short-term variations than those inferred from the mixed representation before decomposition. This provides the rationale for using the low-frequency latent representation as the input to dynamic hypergraph construction. Importantly, this interpretation does not assume that the low-frequency representation exclusively corresponds to specific physical traffic patterns, nor does it imply a theoretical guarantee of superior topology learning. From a traffic perspective, geographically separated functional zones may exhibit synchronized peak-hour behavior even when they are not directly connected by roads. Standard pairwise graph convolutional networks (GCNs) [9,33] are structurally limited in modeling such high-order semantic dependencies because they mainly capture pairwise relationships defined by physical adjacency or simple similarity. Inspired by hypergraph neural networks for traffic forecasting [28,30,31,32] and dynamic structure learning paradigms [34,35], we introduce a dynamic hypergraph learning module.
As illustrated in Figure 4, the learning paradigm initiates with a dynamic structure learning phase. Unlike methods that rely on predefined hypergraphs based on spatial proximity or static semantic rules [31,32], our approach maps the N physical nodes into K latent semantic hyperedges in a data-driven manner without predefined hypergraph incidence priors. A dynamic incidence tensor H inc R T × N × K is learned directly from the decoupled low-frequency features X low :
H inc = Softmax ( X low W struct )
where W struct R D × K is a learnable projection matrix. The Softmax function is applied along the spatial dimension across the N nodes. This operation enforces that the membership weights of all physical nodes within any generated latent hyperedge sum to 1, thereby identifying the relative importance of distinct traffic sensors within the same learned latent hyperedge.
The message-passing protocol on the generated hypergraph is formalized through aggregation and broadcasting [34]. Firstly, in the Hypergraph Aggregation step, node features are projected to formulate the hyperedge representations. At each time step t, the hyperedge matrix U t R K × D is computed as follows:
U t = H inc , t X low , t
where denotes the transpose over the spatial and hyperedge dimensions. Subsequently, an edge transform operation refines the hyperedge semantics via non-linear activation. The updated representations are propagated back to the constituent nodes via node broadcasting. A residual connection followed by layer normalization (LN) [22] yields the refined node features X low ( out ) R T × N × D :
X low ( out ) = LN X low + H inc ReLU ( U W edge )
where W edge R D × D is the hyperedge transformation matrix. Unlike conventional degree-normalized hypergraph convolution, the above propagation directly performs node-to-hyperedge aggregation and hyperedge-to-node broadcasting without explicitly introducing node- and hyperedge-degree normalization. We further compare this simplified propagation with a conventional normalized variant in Section 5.5. This paradigm enables the low-frequency branch to capture non-local high-order dependencies from a relatively smooth latent representation that may transcend physical spatial proximity, addressing the structural limitation of conventional pairwise graph models [9].

4.4. High-Frequency Branch: 2D Inception and Gated Denoising

The decoupled high-frequency tensor X high R T × N × D emphasizes relatively rapidly varying responses in the latent feature space. These responses may encode useful transient information and representation noise. Therefore, rather than using them directly for hyperedge construction, we route them to a specialized branch for complementary local feature modeling. Consequently, we integrate the predefined physical adjacency matrix A pre via a standard graph convolution [9,33]:
X sp = X high + LN ( ReLU ( A pre X high W sp ) )
where W sp R D × D is the learnable spatial projection weight.
Standard 1D convolutions may require deeper architectures or enlarged receptive fields to jointly model short-term variations and cross-cycle temporal dependencies. To overcome this, we introduce a temporal-to-spatial mapping mechanism that projects implicit temporal periodicity into explicit 2D spatial receptive fields. This process begins with a data-driven dominant period discovery mechanism [36]. Operationally, FFT is applied along the temporal dimension of each sensor sequence in X high . After removing the zero-frequency (DC) component, the frequency index with the maximum amplitude is identified for each sensor sequence in the current mini-batch. To reduce unstable sequence-level estimates, mode voting is then performed over these dominant-frequency indices, yielding a batch-level dominant frequency f mode . The folding period is determined as P = max ( 2 , T / f mode ) . Compared with methods relying on fixed periodic assumptions [12,37], this mechanism determines the folding period from the current latent representation. The voting operation is theoretically dependent on batch composition; however, the discrete frequency-to-period mapping allows neighboring frequency indices to produce the same folding period. For example, when T = 12 , both f mode = 5 and f mode = 6 yield P = 2 . If no valid dominant frequency is detected, P defaults to the full window length T. We further evaluate the practical sensitivity of this mechanism to inference batch size in Section 5.11.
Given the dynamically discovered period P, the input sequence X sp R T × N × D is zero-padded along the temporal dimension to T pad (the nearest multiple of P), yielding the padded representation X pad . We define a Fold ( · ) operation to map this 1D sequence into a 2D grid tensor X grid R S × P × N × D , where S = T pad / P represents the number of periodic cycles. This mapping is formulated as
X grid ( s , p , n , d ) = X pad ( s · P + p , n , d )
where s { 0 , 1 , , S 1 } indexes the inter-period cycle, and p { 0 , 1 , , P 1 } denotes the intra-period phase.
This transformation effectively aligns periodic traffic fluctuations across different cycles into identical spatial columns. By applying multi-scale 2D Inception blocks (using 1 × 1 , 3 × 3 , 5 × 5 , and 7 × 7 kernels) [38,39] to X grid , the network extracts both short-term intra-period continuity along the phase axis (p) and long-range inter-period recurrence along the cycle axis (s) under varying receptive fields.
After 2D feature extraction, an inverse mapping Unfold ( · ) restores the tensor to the original 1D temporal space and truncates the padded elements. A gated linear unit (GLU) [40] is then applied to modulate high-frequency responses. The reshaped feature map is projected and partitioned along the channel dimension into candidate burst features V and a controlling gate G :
[ V G ] = Unfold Inception 2 D ( X grid ) W gate
X high ( out ) = V σ ( G )
where W gate R D inc × 2 D is the projection weight matrix, D inc denotes the output channel dimension of the Inception block, ‖ represents the concatenation operator, and ⊙ is the Hadamard product. The gate σ ( G ) adaptively modulates rapidly varying responses and can attenuate potentially noisy components.

4.5. Residual Gated Fusion and Prediction

To fuse the heterogeneous features from the two branches, we adopt a low-frequency-anchored residual fusion module. Since the low-frequency branch provides topology-aware high-order representations, its output serves as the primary representation, while the high-frequency branch provides complementary residual information for rapidly varying patterns. A fusion gate G fuse adaptively modulates the high-frequency feature X high ( out ) before adding it to the low-frequency feature X low ( out ) . Similarly to gated linear units [40], this mechanism controls the residual information flow as follows:
G fuse = σ [ X low ( out ) X high ( out ) ] W fuse
X fused = X low ( out ) + G fuse X high ( out )
where W fuse R 2 D × D is the learnable weight matrix for the fusion gate, and ‖ denotes concatenation along the feature dimension. The fused representation X fused is fed into a temporal Transformer to model long-range sequential dependencies [13]. To mitigate distribution shifts in time-series forecasting, the final representation is mapped through a dense MLP layer and denormalized using the statistics recorded during reversible instance normalization (RevIN) [41]. This step restores the original data scale and produces the final multi-step prediction tensor Y ^ R T × N × C out .

5. Experiments

5.1. Datasets

We evaluate FEDHNet on four public real-world traffic datasets: PEMS03, PEMS04, PEMS07, and PEMS08 [21]. These datasets are collected by the Caltrans Performance Measurement System (PeMS) [42] from highway sensor networks in California, USA. The raw traffic records are aggregated into 5 min intervals, resulting in 288 data points per day. PEMS03 and PEMS07 contain traffic flow data, whereas PEMS04 and PEMS08 include three traffic measurements: total flow, average speed, and average occupancy. In our experiments, traffic flow is used as the prediction target, while the additional measurements in PEMS04 and PEMS08 are used as auxiliary input features. Table 1 summarizes the dataset statistics.

5.2. Baselines

We compare FEDHNet with representative forecasting baselines from four groups:
  • Classical Statistical Model: ARIMA [43], a widely used time-series forecasting model.
  • Spatiotemporal Graph and Hypergraph Neural Networks: DCRNN [8], STGCN [9], ASTGCN [12], Graph WaveNet [19], STSGCN [21], Z-GCNETs [44], and DyHSL [29]. DyHSL learns dynamic hypergraph structures to capture high-order spatiotemporal dependencies.
  • Continuous-Time Neural Networks: STGODE [45] and STG-NCDE [14].
  • Advanced Spatiotemporal Forecasting Models: STDN [18], PDFormer [2], STAEformer [13], STPGNN [23], and DTRformer [24]. Among them, STDN integrates trend-seasonality decomposition with dynamic relationship graph learning.

5.3. Experimental Settings

Data Preprocessing. Following common practice [2], we split all datasets into training, validation, and testing sets with a ratio of 6:2:2. A historical window of 12 consecutive time steps is used to predict traffic flow for the next 12 steps. To prevent data leakage, the statistical mean and variance are computed only from the training set. RevIN [41] is applied to the historical traffic-flow input channel before spatiotemporal embedding, and the corresponding instance statistics are used to restore the original scale of the predicted outputs.
Implementation. All experiments were conducted on a Linux server equipped with a single NVIDIA RTX 5090 GPU (NVIDIA Corporation, Santa Clara, CA, USA) using PyTorch (v2.8.0) and CUDA 12.8. We train FEDHNet with the Adam optimizer, a batch size of 64, an initial learning rate of 10 3 , and a weight decay of 10 4 . A cosine annealing scheduler decays the learning rate to a minimum of 10 6 . The maximum number of training epochs is 300, and early stopping is applied with a patience of 30 epochs based on the validation loss. The model is optimized using Smooth L1 Loss with β = 1.0 . Model selection and hyperparameter tuning are based on validation performance, while the test set is used only for final evaluation. We set D = 128 , L = 2 , and K = 16 for PEMS03, PEMS04, and PEMS07, while D = 96 , L = 2 , and K = 8 are used for PEMS08. All reproduced baselines use the same data preprocessing, dataset split, input setting, and evaluation protocol as FEDHNet to ensure a fair comparison. For reproduced experiments, the random seed is fixed. For baselines with reported results under identical dataset splits and evaluation settings, we use their official results. Otherwise, we reproduce the models using the released source codes and tune hyperparameters according to the recommended configurations.
Evaluation Metrics. We evaluate prediction accuracy using the mean absolute error (MAE), root mean square error (RMSE), and mean absolute percentage error (MAPE). Following standard practice, missing and zero values are masked during evaluation.

5.4. Performance Comparison

Table 2 reports the mean forecasting performance over all 12 prediction horizons on the four PeMS datasets. FEDHNet consistently improves over traditional statistical models and early STGNNs, such as ARIMA, DCRNN, and STGCN, while remaining competitive with recent Transformer-based approaches. DTRformer achieves the lowest absolute errors on several datasets, whereas FEDHNet remains close to the best-performing results, particularly on PEMS07 and PEMS08. More importantly, FEDHNet shows favorable performance against the two closely related baselines. Compared with the reproduced DyHSL, which directly learns dynamic hypergraph structures without frequency-guided decomposition, FEDHNet obtains lower errors on 11 of the 12 evaluated metrics. Compared with STDN, which combines decomposition with dynamic graph learning but does not employ high-order hypergraph topology, FEDHNet achieves lower errors on 10 of the 12 metrics. These results suggest that coupling decomposition with dynamic high-order topology learning provides complementary empirical benefits beyond either dynamic hypergraph modeling or decomposition-based dynamic graph learning alone. Although FEDHNet does not uniformly achieve the lowest absolute error across all datasets and metrics, it provides a competitive overall accuracy–efficiency trade-off. The computational results in Section 5.12 further show that FEDHNet requires substantially less training and inference time than the compared Transformer-based baselines.

5.5. Ablation Study

We conduct two groups of ablation experiments based on the average forecasting performance over all 12 prediction horizons. The first evaluates the contribution of major components, including frequency decomposition, adaptive spectral gating, dynamic hypergraph learning, high-frequency Inception modeling, gated denoising, and adaptive spatial representation learning. The second focuses on the hypergraph’s design from two aspects: the representation used for dynamic hyperedge generation and the hypergraph propagation scheme. To further assess whether marginal differences in topology-source selection are robust to random initialization, we additionally repeat the Raw-HG and Low-HG variants on PEMS08 using multiple random seeds.
As shown in Table 3, removing individual components generally increases forecasting errors, although the effect is not uniform across all datasets and metrics. The variants w/o Freq Decomp and w/o Spectral Gate show relatively consistent degradation, suggesting that frequency-domain separation and adaptive spectral modulation contribute to the overall forecasting performance. Removing the Inception or gated modules also increases the errors in most settings. However, several variants obtain comparable or slightly better values on individual metrics. For example, on PEMS07, w/o Gated and w/o Adaptive Graph achieve marginally lower MAPE, while the MAE difference between w/o Adaptive Graph and the full model is only 0.01. We therefore do not interpret these small differences as evidence that every component consistently improves every metric. Instead, the results indicate that the effects of some spatial and gating components are dataset- and metric-dependent, while the complete model provides a competitive overall balance across the evaluated metrics.
We further examine the hypergraph’s design from two aspects. First, we vary the representation used for dynamic hyperedge generation, where Raw-HG, High-HG, and Low-HG construct hyperedges from mixed, high-frequency, and low-frequency representations, respectively. Second, while keeping Low-HG as the topology source, we compare the simplified propagation used in FEDHNet with a conventional degree-normalized variant. The results are summarized in Table 4. For the topology source, Low-HG obtains lower MAE, RMSE, and MAPE than Raw-HG on PEMS04. On PEMS07, Low-HG achieves lower MAE and MAPE, while its RMSE is very close to that of Raw-HG (32.98 versus 32.93). High-HG generally performs worse than Low-HG, particularly on PEMS07. On PEMS08, however, the fixed-seed differences between Raw-HG and Low-HG are marginal, with only a 0.02 difference in MAE. These results suggest that the effect of topology-source selection varies across datasets and metrics rather than showing a uniform advantage for a particular representation source. To further examine the marginal difference on PEMS08, we repeated Raw-HG and Low-HG using three random seeds (157, 42, and 2026). Raw-HG obtains 13.53 ± 0.05 MAE, 23.32 ± 0.04 RMSE, and 8.81 ± 0.03 MAPE, whereas Low-HG obtains 13.64 ± 0.17 MAE, 23.44 ± 0.30 RMSE, and 8.91 ± 0.13 MAPE. The 0.02 MAE advantage observed for Low-HG in the fixed-seed experiment is therefore not preserved across different random initializations. We regard this small fixed-seed difference as a marginal fluctuation rather than evidence of a stable advantage. Overall, low-frequency-guided hypergraph construction shows clearer benefits on PEMS04 and on MAE and MAPE for PEMS07, while its advantage is less evident on PEMS08. For the propagation scheme, neither formulation consistently dominates across all metrics. The simplified propagation achieves lower MAE on PEMS04, PEMS07, and PEMS08 and lower RMSE on PEMS04, whereas the normalized variant obtains slightly lower MAPE on PEMS04 and lower RMSE and MAPE on PEMS08. These results indicate that explicit degree normalization does not provide a consistent advantage for the learned soft hypergraph. We therefore retain the simplified formulation because it provides competitive performance without additional degree-normalization operations.

5.6. Sensitivity Analysis of High-Frequency Residuals

To examine how high-frequency residuals affect prediction, we conduct a sensitivity analysis by perturbing the high-frequency component during inference. A scaling factor α [ 0.0 ,   2.0 ] is introduced to scale the decoupled high-frequency representation X high ( out ) before residual gated fusion:
X fused = X low ( out ) + G fuse ( α · X high ( out ) )
The forecasting performance is then evaluated under different values of α on PEMS04 and PEMS08.
As shown in Figure 5, both MAE and RMSE exhibit a U-shaped trend. The best performance is achieved around α = 1.0 , indicating that the learned fusion module effectively balances the low-frequency latent representation and the high-frequency residual component. When α < 1.0 , the contribution of the high-frequency residual component is reduced, which is associated with increased prediction errors. When α > 1.0 , excessive amplification of the high-frequency component also degrades performance. These observations support the usefulness of controlled high-frequency residual information in the fusion process.

5.7. Interpretability of Dynamic Hypergraph Evolution

To visualize the temporal evolution of the learned high-order topology within the historical input window, Figure 6 presents the dynamic hyperedge incidence matrices at selected time steps. The first subfigure shows the incidence matrix at Time Step 1, while the remaining heatmaps show differences at Time Steps 6 and 12 relative to the initial state. The base incidence matrix exhibits non-uniform and concentrated node–hyperedge membership patterns, while the difference maps reveal localized changes over time. These observations indicate that the learned high-order structure evolves with the latent input while retaining substantial overlap with earlier assignments.

5.8. Multi-Horizon Forecasting Analysis

To examine how forecasting performance changes with the prediction horizon, Figure 7 compares MAE, RMSE, and MAPE on PEMS04 and PEMS08 at representative forecasting horizons. Forecasting errors generally increase as the prediction horizon becomes longer. DTRformer achieves lower absolute errors in many settings, while FEDHNet remains competitive across the evaluated horizons. Compared with the closely related STDN and DyHSL baselines, FEDHNet generally achieves lower MAE and RMSE on both datasets, whereas the relative MAPE performance varies across datasets and forecasting horizons. These results indicate that FEDHNet maintains competitive multi-horizon forecasting performance rather than showing a uniform advantage at every prediction horizon.

5.9. Case Study: Visualizing Complex Traffic Dynamics

We further examine the temporal modeling ability of FEDHNet by comparing 60 min ahead forecasting results with the ground truth on PEMS04 nodes 10 and 150 over a 24 h period.
As shown in Figure 8a, Node 10 contains sharp peaks and abrupt drops. In this example, FEDHNet follows several rapid traffic changes more closely than DTRformer, which is consistent with the intended role of the high-frequency branch in preserving rapidly varying information. Figure 8b shows the traffic flow of Node 150, which contains a prolonged peak and noticeable sensor noise. DTRformer tends to underestimate the peak volume, whereas FEDHNet better recovers the macroscopic traffic trend. The smoother prediction around noisy observations is also consistent with the intended denoising role of the gated high-frequency branch.

5.10. Hyperparameter Sensitivity Analysis

We analyze three key hyperparameters of FEDHNet: the hidden dimension D, the number of network layers L, and the number of hyperedges K. Figure 9 reports the average performance over all 12 forecasting horizons on PEMS04 and PEMS08. On PEMS04, D = 128 achieves the best results across all three metrics. For L and K, the adopted settings, L = 2 and K = 16 , achieve lower MAE and MAPE, while L = 4 and K = 32 yield slightly lower RMSE. On PEMS08, D = 96 , L = 2 , and K = 8 provide the best overall performance. These results show that the selected configurations provide a favorable overall performance across the evaluated metrics.

5.11. Sensitivity to Inference Batch Size

To examine the batch dependence of the dominant-period voting mechanism, we evaluate the same trained FEDHNet checkpoint on PEMS08 using inference batch sizes of 8, 16, 32, and 64. All 3549 test samples are evaluated exactly once without padding. As shown in Table 5, MAE, RMSE, and MAPE remain identical to four decimal places across all settings, and every mini-batch yields the same folding period P = 2 . These results indicate that the voting mechanism shows no observable sensitivity to inference batch size under the evaluated setting, although its dependence on batch composition remains in principle.

5.12. Computational Efficiency and Complexity Analysis

All efficiency results are measured on the same GPU under the same batch size. Table 6 compares FEDHNet with STAEformer and DTRformer on PEMS04 and PEMS08. The evaluation metrics include the total number of parameters, average training time per epoch, and total inference time on the test set. Although FEDHNet has a relatively large parameter size, it achieves lower training and inference time than the compared Transformer-based baselines under the same experimental environment. On PEMS04, FEDHNet requires 11.60 s per training epoch, which is a 71.6% reduction compared with DTRformer’s 40.80 s. Its inference time is also reduced to 1.75 s, outperforming both STAEformer and DTRformer. Similar efficiency gains are observed on PEMS08.
We further analyze the computational characteristics of FEDHNet. The FFT-based adaptive spectral decomposition has a complexity of O ( N D T log T ) , and the 2D Inception-based high-frequency branch can be efficiently parallelized over folded temporal grids. The dynamic hypergraph learning branch operates on a node–hyperedge incidence tensor, with complexity O ( T N K D ) for node–hyperedge aggregation and broadcasting. Although FEDHNet still uses a lightweight temporal Transformer after feature fusion, the frequency-guided routing reduces the burden of directly modeling entangled traffic patterns with heavy global attention. Therefore, the empirical efficiency gain mainly comes from parallel spectral decomposition, compact hypergraph aggregation, and lightweight high-frequency convolution rather than from completely removing attention operations.

6. Conclusions

In this paper, we proposed FEDHNet, a Frequency-Guided Dynamic Hypergraph Network for traffic flow forecasting. The main idea is to use adaptive spectral decomposition not only to separate heterogeneous latent components but also to provide a smoother representation basis for dynamic high-order topology learning. By constructing dynamic hyperedges from low-frequency latent representations, FEDHNet reduces the direct influence of rapidly varying latent components on hyperedge generation and high-order topology inference. Meanwhile, the high-frequency branch uses a lightweight 2D Inception module with GLU-based gated modulation to capture complementary rapidly varying information. A low-frequency-anchored residual fusion module then adaptively integrates the high-frequency residual component for multi-step prediction. Experiments on four public PeMS datasets show that FEDHNet achieves competitive forecasting accuracy and multi-horizon performance, together with favorable computational efficiency compared with recent spatiotemporal forecasting baselines. The ablation and sensitivity analyses generally support the roles of frequency decomposition, dynamic hypergraph learning, and high-frequency residual modeling components, while also showing that their effects can vary across datasets and metrics. The short-term forecasts produced by FEDHNet can support practical ITS applications such as traffic monitoring, congestion warning, and route guidance. Despite these advantages, FEDHNet still has several limitations. First, the current spectral decomposition is performed within a fixed historical window, which may limit its ability to capture longer-term periodic patterns. Second, external factors such as weather, accidents, events, and road control policies are not explicitly modeled. Third, although FEDHNet provides a favorable accuracy–efficiency trade-off, its absolute prediction accuracy is not uniformly superior to the strongest Transformer-based baselines on all datasets. In future work, we will incorporate external spatiotemporal contexts and explore more adaptive multi-resolution frequency-guided topology learning mechanisms.

Author Contributions

W.L., B.W. and B.J. conceived and designed this study; W.L. and B.W. performed the analysis and wrote the manuscript; G.L., Y.M. and B.J. contributed to data analysis and manuscript revision; all authors reviewed and approved the final manuscript. All authors have read and agreed to the published version of this manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets used in this study are publicly available from the Caltrans Performance Measurement System (PeMS).

Conflicts of Interest

Author Gang Li was employed by the company Zhongke Zidong Information Technology (Beijing) Co., Ltd. Author Botao Jiang was employed by the company China Satellite Network Application Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Zhang, J.; Wang, F.Y.; Wang, K.; Lin, W.H.; Xu, X.; Chen, C. Data-Driven Intelligent Transportation Systems: A Survey. IEEE Trans. Intell. Transp. Syst. 2011, 12, 1624–1639. [Google Scholar] [CrossRef] [Scilit]
  2. Jiang, J.; Han, C.; Zhao, W.X.; Wang, J. PDFormer: Propagation Delay-Aware Dynamic Long-Range Transformer for Traffic Flow Forecasting. Proc. AAAI Conf. Artif. Intell. 2023, 37, 4365–4373. [Google Scholar] [CrossRef] [Scilit]
  3. Kashyap, A.A.; Raviraj, S.; Devarakonda, A.; Nayak K, S.R.; Santhosh, K.V.; Bhat, S.J. Traffic flow prediction models—A review of deep learning techniques. Cogent Eng. 2022, 9, 2010510. [Google Scholar] [CrossRef] [Scilit]
  4. Zhang, J.; Zheng, Y.; Qi, D. Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Prediction. In Proceedings of the 31st AAAI Conference on Artificial Intelligence (AAAI), San Francisco, CA, USA, 4–9 February 2017. [Google Scholar]
  5. Kang, D.; Lv, Y.; Chen, Y.Y.; Wang, F.Y. Short-term Traffic Flow Prediction with LSTM Recurrent Neural Network. In Proceedings of the 20th IEEE International Conference on Intelligent Transportation Systems (ITSC), Yokohama, Japan, 16–19 October 2017. [Google Scholar]
  6. Lv, Y.; Duan, Y.; Kang, W.; Li, Z.; Wang, F.Y. Traffic Flow Prediction With Big Data: A Deep Learning Approach. IEEE Trans. Intell. Transp. Syst. 2015, 16, 865–873. [Google Scholar] [CrossRef] [Scilit]
  7. Bui, K.H.N.; Cho, J.; Yi, H. Spatial-Temporal Graph Neural Network for Traffic Forecasting: An Overview and Open Research Issues. Appl. Intell. 2022, 52, 2763–2774. [Google Scholar] [CrossRef] [Scilit]
  8. Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion Convolutional Recurrent Neural Network: Data-Driven Traffic Forecasting. In Proceedings of the 6th International Conference on Learning Representations (ICLR), Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
  9. Yu, B.; Yin, H.; Zhu, Z. Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting. In Proceedings of the 27th International Joint Conference on Artificial Intelligence (IJCAI), Stockholm, Sweden, 13–19 July 2018; pp. 3634–3640. [Google Scholar]
  10. Lan, S.; Ma, Y.; Huang, W.; Wang, W.; Yang, H.; Li, P. DSTAGNN: Dynamic Spatial-Temporal Aware Graph Neural Network for Traffic Flow Forecasting. In Proceedings of the 39th International Conference on Machine Learning (ICML), Baltimore, MD, USA, 17–23 July 2022. [Google Scholar]
  11. 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]
  12. Guo, S.; Lin, Y.; Feng, N.; Song, C.; Wan, H. Attention Based Spatial-Temporal Graph Convolutional Networks for Traffic Flow Forecasting. Proc. AAAI Conf. Artif. Intell. 2019, 33, 922–929. [Google Scholar] [CrossRef] [Scilit]
  13. Liu, H.; Dong, Z.; Jiang, R.; Deng, J.; Deng, J.; Chen, Q.; Song, X. STAEformer: Spatio-Temporal Adaptive Embedding Makes Vanilla Transformer SOTA for Traffic Forecasting. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management (CIKM), Birmingham, UK, 21–25 October 2023; pp. 4125–4129. [Google Scholar]
  14. Choi, J.; Choi, H.; Hwang, J.; Park, N. Graph Neural Controlled Differential Equations for Traffic Forecasting. Proc. AAAI Conf. Artif. Intell. 2022, 36, 6367–6374. [Google Scholar] [CrossRef] [Scilit]
  15. Zhou, T.; Ma, Z.; Wen, Q.; Wang, X.; Sun, L.; Jin, R. FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting. Adv. Neural Inf. Process. Syst. 2022, 35, 27268–27286. [Google Scholar]
  16. Zhang, W.; Xiang, R.; Liao, Z.; Lan, P.; Liang, Q. FEDDGCN: A Frequency-Enhanced Decoupling Dynamic Graph Convolutional Network for Traffic Flow Prediction. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management (CIKM), Seoul, Republic of Korea, 10–14 November 2025; pp. 4222–4231. [Google Scholar]
  17. Yu, Q.; Ding, W.; Zhang, H.; Yang, Y.; Zhang, T. Rethinking Attention Mechanism for Spatio-Temporal Modeling: A Decoupling Perspective in Traffic Flow Prediction. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management (CIKM), Boise, ID, USA, 21–25 October 2024; pp. 3033–3043. [Google Scholar]
  18. Cao, L.; Wang, B.; Jiang, G.; Yu, Y.; Dong, J. Spatiotemporal-aware Trend-Seasonality Decomposition Network for Traffic Flow Forecasting. Proc. AAAI Conf. Artif. Intell. 2025, 39, 11463–11471. [Google Scholar] [CrossRef] [Scilit]
  19. 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), Macao, China, 10–16 August 2019; pp. 1907–1913. [Google Scholar]
  20. Peng, H.; Du, B.; Liu, M.; Liu, M.; Ji, S.; Wang, S.; Zhang, X.; He, L. Dynamic Graph Convolutional Network for Long-Term Traffic Flow Prediction with Reinforcement Learning. Inf. Sci. 2021, 578, 401–416. [Google Scholar] [CrossRef] [Scilit]
  21. Song, C.; Lin, Y.; Guo, S.; Wan, H. Spatial-Temporal Synchronous Graph Convolutional Networks: A New Framework for Spatial-Temporal Network Data Forecasting. Proc. AAAI Conf. Artif. Intell. 2020, 34, 914–921. [Google Scholar] [CrossRef] [Scilit]
  22. Guo, S.; Lin, Y.; Wan, H.; Li, X.; Cong, G. Learning Dynamics and Heterogeneity of Spatial-Temporal Graph Data for Traffic Forecasting. IEEE Trans. Knowl. Data Eng. 2022, 34, 5415–5428. [Google Scholar] [CrossRef] [Scilit]
  23. Kong, W.; Guo, Z.; Liu, Y. Spatio-Temporal Pivotal Graph Neural Networks for Traffic Flow Forecasting. Proc. AAAI Conf. Artif. Intell. 2024, 38, 8627–8635. [Google Scholar] [CrossRef] [Scilit]
  24. Chen, J.; Ye, H.; Ying, Z.; Sun, Y.; Xu, W. Dynamic Trend Fusion Module for Traffic Flow Prediction. Appl. Soft Comput. 2025, 174, 112979. [Google Scholar] [CrossRef] [Scilit]
  25. Li, Z.; Hu, Z.; Han, P.; Gu, Y.; Cai, S. SSL-STMFormer: Self-Supervised Learning Spatio-Temporal Entanglement Transformer for Traffic Flow Prediction. Proc. AAAI Conf. Artif. Intell. 2025, 39, 12130–12138. [Google Scholar] [CrossRef] [Scilit]
  26. Zou, Y.; Yuan, H.; Yang, Q.; Yuan, Z.; Wang, S.; Ruan, S. Meta Dynamic Graph for Traffic Flow Prediction. Proc. AAAI Conf. Artif. Intell. 2026, 40, 16584–16592. [Google Scholar] [CrossRef] [Scilit]
  27. 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]
  28. Wang, J.; Zhang, Y.; Wei, Y.; Hu, Y.; Piao, X.; Yin, B. Metro Passenger Flow Prediction via Dynamic Hypergraph Convolution Networks. IEEE Trans. Intell. Transp. Syst. 2021, 22, 7891–7903. [Google Scholar] [CrossRef] [Scilit]
  29. Zhao, Y.; Luo, X.; Ju, W.; Chen, C.; Hua, X.S.; Zhang, M. Dynamic Hypergraph Structure Learning for Traffic Flow Forecasting. In Proceedings of the 39th IEEE International Conference on Data Engineering (ICDE), Anaheim, CA, USA, 3–7 April 2023; pp. 2303–2316. [Google Scholar]
  30. Ye, Z.; Wang, H.; Przystupa, K.; Majewski, J.; Hots, N.; Su, J. Dynamic Spatio-Temporal Hypergraph Convolutional Network for Traffic Flow Forecasting. Electronics 2024, 13, 4435. [Google Scholar] [CrossRef] [Scilit]
  31. Zhao, Z.; Shen, G.; Zhou, J.; Jin, J.; Kong, X. Spatial-temporal Hypergraph Convolutional Network for Traffic Forecasting. PeerJ Comput. Sci. 2023, 9, e1450. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  32. Shen, B.; Shang, R.; Qi, Y. MvHSTM: A Multi-View Hypergraph Spatio-Temporal Model for Traffic Speed Forecasting. OpenReview, ICLR 2025 Conference Withdrawn Submission. 2024. Available online: https://openreview.net/forum?id=H1nykRhieN (accessed on 16 August 2026).
  33. Kipf, T.N.; Welling, M. Semi-Supervised Classification with Graph Convolutional Networks. In Proceedings of the 5th International Conference on Learning Representations (ICLR), Toulon, France, 24–26 April 2017. [Google Scholar]
  34. Jiang, J.; Wei, Y.; Feng, Y.; Cao, J.; Gao, Y. Dynamic Hypergraph Neural Networks. In Proceedings of the 28th International Joint Conference on Artificial Intelligence (IJCAI), Macao, China, 10–16 August 2019. [Google Scholar]
  35. 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] [Scilit]
  36. Kou, H.; Li, J.; Wang, Z.; Lv, Z.; Zhang, Y.; Wang, C. PPTNet: A Hybrid Periodic Pattern-Transformer Architecture for Traffic Flow Prediction and Congestion Identification. arXiv 2025, arXiv:2505.13047. [Google Scholar]
  37. Fang, S.; Zhang, Q.; Meng, G.; Xiang, S.; Pan, C. GSTNet: Global Spatial-Temporal Network for Traffic Flow Prediction. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI-19), Macao, China, 10–16 August 2019. [Google Scholar]
  38. Szegedy, C.; Liu, W.; Jia, Y.; Sermanet, P.; Reed, S.; Anguelov, D.; Erhan, D.; Vanhoucke, V.; Rabinovich, A. Going Deeper with Convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 7–12 June 2015. [Google Scholar]
  39. Wu, H.; Hu, T.; Liu, Y.; Zhou, H.; Wang, J.; Long, M. TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis. In Proceedings of the 11th International Conference on Learning Representations (ICLR), Kigali, Rwanda, 1–5 May 2023. [Google Scholar]
  40. Dauphin, Y.N.; Fan, A.; Auli, M.; Grangier, D. Language Modeling with Gated Convolutional Networks. In Proceedings of the 34th International Conference on Machine Learning (ICML), Sydney, Australia, 6–11 August 2017; pp. 933–941. [Google Scholar]
  41. Kim, T.; Park, C.; Kim, J.; Choi, J.H.; Tae, Y.; Choo, J. Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift. In Proceedings of the 10th International Conference on Learning Representations (ICLR), Online, 25–29 April 2022. [Google Scholar]
  42. Chen, C.; Petty, K.; Skabardonis, A.; Varaiya, P.; Jia, Z. Freeway Performance Measurement System: Mining Loop Detector Data. Transp. Res. Rec. 2001, 1748, 96–102. [Google Scholar] [CrossRef] [Scilit]
  43. Box, G.E.P.; Jenkins, G.M.; Reinsel, G.C.; Ljung, G.M. Time Series Analysis: Forecasting and Control; John Wiley & Sons: Hoboken, NJ, USA, 2015. [Google Scholar]
  44. Chen, Y.; Segovia-Dominguez, I.; Gel, Y.R. Z-GCNETs: Time Zigzags at Graph Convolutional Networks for Time Series Forecasting. In Proceedings of the 38th International Conference on Machine Learning (ICML), Online, 18–24 July 2021; pp. 1684–1694. [Google Scholar]
  45. Fang, Z.; Long, Q.; Song, G.; Xie, K. Spatial-Temporal Graph ODE Networks for Traffic Flow Forecasting. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD), Online, 14–18 August 2021; pp. 364–373. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Illustration of mixed-frequency representation and frequency-guided decoupling for topology learning. (a) Time-domain signal and frequency decomposition; (b) potential feature interference in conventional topology learning; (c) frequency-domain decoupling.
Figure 1. Illustration of mixed-frequency representation and frequency-guided decoupling for topology learning. (a) Time-domain signal and frequency decomposition; (b) potential feature interference in conventional topology learning; (c) frequency-domain decoupling.
Sensors 26 05238 g001
Figure 2. The overall architecture of the proposed FEDHNet.
Figure 2. The overall architecture of the proposed FEDHNet.
Sensors 26 05238 g002
Figure 3. Illustration of the adaptive spectral decomposition module. The dashed horizontal line in (d) indicates the zero baseline for the high-frequency latent representation.
Figure 3. Illustration of the adaptive spectral decomposition module. The dashed horizontal line in (d) indicates the zero baseline for the high-frequency latent representation.
Sensors 26 05238 g003
Figure 4. The message-passing paradigm of the dynamic hypergraph learning module.
Figure 4. The message-passing paradigm of the dynamic hypergraph learning module.
Sensors 26 05238 g004
Figure 5. Sensitivity analysis of forecasting performance (MAE and RMSE) to high-frequency perturbations on the PEMS04 and PEMS08 datasets. The red dots indicate the original unscaled setting ( α = 1.0 ).
Figure 5. Sensitivity analysis of forecasting performance (MAE and RMSE) to high-frequency perturbations on the PEMS04 and PEMS08 datasets. The red dots indicate the original unscaled setting ( α = 1.0 ).
Sensors 26 05238 g005
Figure 6. Visualization of the dynamic hyperedge incidence matrix at different temporal positions within the historical input window.
Figure 6. Visualization of the dynamic hyperedge incidence matrix at different temporal positions within the historical input window.
Sensors 26 05238 g006
Figure 7. Multi-horizon forecasting errors at 5, 15, 30, 45, and 60 min on the PEMS04 and PEMS08 datasets.
Figure 7. Multi-horizon forecasting errors at 5, 15, 30, 45, and 60 min on the PEMS04 and PEMS08 datasets.
Sensors 26 05238 g007
Figure 8. Visualization of 24 h traffic flow forecasting (60 min ahead) on the PEMS04 dataset.
Figure 8. Visualization of 24 h traffic flow forecasting (60 min ahead) on the PEMS04 dataset.
Sensors 26 05238 g008
Figure 9. Hyperparameter sensitivity analysis of FEDHNet on PEMS04 and PEMS08, averaged over all 12 forecasting horizons.
Figure 9. Hyperparameter sensitivity analysis of FEDHNet on PEMS04 and PEMS08, averaged over all 12 forecasting horizons.
Sensors 26 05238 g009
Table 1. Statistical description of the experimental datasets.
Table 1. Statistical description of the experimental datasets.
DatasetNodesEdgesStepsTime SpanFeatures
PEMS0335854726,2081 September 2018–30 November 20181
PEMS0430734016,9921 January 2018–28 February 20183
PEMS0788386628,2241 May 2017–31 August 20171
PEMS0817029517,8561 July 2016–31 August 20163
Table 2. Forecasting performance comparison of different models averaged over all 12 forecasting horizons on the PEMS03, PEMS04, PEMS07, and PEMS08 datasets. The best results are highlighted in bold, and the second-best results are underlined.
Table 2. Forecasting performance comparison of different models averaged over all 12 forecasting horizons on the PEMS03, PEMS04, PEMS07, and PEMS08 datasets. The best results are highlighted in bold, and the second-best results are underlined.
ModelPEMS03PEMS04PEMS07PEMS08
MAERMSEMAPE (%)MAERMSEMAPE (%)MAERMSEMAPE (%)MAERMSEMAPE (%)
ARIMA35.4147.5933.7833.7348.8024.1838.1759.2719.4631.0944.3222.73
STGCN17.5530.4217.3421.1634.8913.8325.3339.3411.2117.5027.0911.29
DCRNN17.9930.3118.3421.2233.4414.1725.2238.6111.8216.8226.3610.92
Graph WaveNet19.1232.7718.8924.8939.6617.2926.3941.5011.9718.2830.0512.15
ASTGCN17.3429.5617.2122.9335.2216.5624.0137.8710.7318.2528.0611.64
STSGCN17.4829.2116.7821.1933.6513.9024.2639.0310.2117.1326.8010.96
Z-GCNETs16.6428.1516.3919.5031.6112.7821.7735.179.2515.7625.1110.01
STGODE16.5027.8416.6920.8432.8413.7722.9937.5410.1416.8125.9710.62
STG-NCDE15.7127.0813.2819.2931.1612.7321.1234.029.1216.6026.0810.81
DyHSL15.6627.4915.6719.3231.3212.7220.7334.698.6715.6125.4710.19
PDFormer14.9425.3915.8218.5731.7812.6819.8332.878.5313.5023.758.89
STAEformer15.4626.8315.5418.7830.4212.3819.4933.108.3313.5423.008.85
STPGNN14.6824.1415.3522.9035.4215.8720.2233.118.8314.9223.889.90
STDN15.4327.2016.0918.4930.3012.3220.3833.469.1214.7924.8411.98
DTRformer14.7625.6315.1418.0329.6512.3419.1932.468.0413.1922.908.71
FEDHNet (Ours)15.1124.3315.8918.2030.3612.6619.2732.988.1513.4523.148.81
Table 3. Component-wise ablation study of FEDHNet on the PEMS04, PEMS08, and PEMS07 datasets averaged over all 12 forecasting horizons.
Table 3. Component-wise ablation study of FEDHNet on the PEMS04, PEMS08, and PEMS07 datasets averaged over all 12 forecasting horizons.
VariantPEMS04PEMS08PEMS07
MAERMSEMAPE (%)MAERMSEMAPE (%)MAERMSEMAPE (%)
w/o Freq Decomp18.4730.5312.7713.5323.258.9419.3433.258.20
w/o Spectral Gate18.7531.7813.2013.6823.488.9019.5433.798.23
w/o Hypergraph18.3830.2812.6613.4523.258.8519.3132.758.18
w/o 2D Inception18.5130.4713.2514.4023.419.4119.3232.968.22
w/o Gated18.4830.3813.2913.5623.388.8719.2832.978.11
w/o Adaptive Graph18.5732.0612.7413.6523.438.8919.2632.998.11
FEDHNet (Full)18.2030.3612.6613.4523.148.8119.2732.988.15
Table 4. Hypergraph design ablation on PEMS04, PEMS07, and PEMS08 averaged over all 12 forecasting horizons.
Table 4. Hypergraph design ablation on PEMS04, PEMS07, and PEMS08 averaged over all 12 forecasting horizons.
VariantPEMS04PEMS07PEMS08
MAERMSEMAPE (%)MAERMSEMAPE (%)MAERMSEMAPE (%)
Raw-HG18.6531.5712.7219.7332.938.5013.4723.298.83
High-HG18.3630.7212.9220.1333.338.7313.7323.219.06
Low-HG + Normalized18.3531.2712.5919.5433.228.1913.5423.118.76
Low-HG + Simplified (FEDHNet)18.2030.3612.6619.2732.988.1513.4523.148.81
Table 5. Sensitivity of FEDHNet to different inference batch sizes on PEMS08.
Table 5. Sensitivity of FEDHNet to different inference batch sizes on PEMS08.
Batch SizeMAERMSEMAPE (%)Folding Period
813.451723.13628.80852
1613.451723.13628.80852
3213.451723.13628.80852
6413.451723.13628.80852
Table 6. Computational efficiency comparison on the PEMS04 and PEMS08 datasets. The best time efficiency results are highlighted in bold.
Table 6. Computational efficiency comparison on the PEMS04 and PEMS08 datasets. The best time efficiency results are highlighted in bold.
ModelPEMS04PEMS08
ParamsTrain (s/ep)Infer (s)ParamsTrain (s/ep)Infer (s)
STAEformer1.35 M29.803.221.22 M14.901.46
DTRformer2.51 M40.803.972.33 M31.502.26
FEDHNet (Ours)4.25 M11.601.752.11 M7.600.97
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

Li, W.; Wang, B.; Li, G.; Ma, Y.; Jiang, B. Frequency-Guided Dynamic Hypergraph Learning for Traffic Flow Forecasting. Sensors 2026, 26, 5238. https://doi.org/10.3390/s26165238

AMA Style

Li W, Wang B, Li G, Ma Y, Jiang B. Frequency-Guided Dynamic Hypergraph Learning for Traffic Flow Forecasting. Sensors. 2026; 26(16):5238. https://doi.org/10.3390/s26165238

Chicago/Turabian Style

Li, Wanqi, Bin Wang, Gang Li, Yan Ma, and Botao Jiang. 2026. "Frequency-Guided Dynamic Hypergraph Learning for Traffic Flow Forecasting" Sensors 26, no. 16: 5238. https://doi.org/10.3390/s26165238

APA Style

Li, W., Wang, B., Li, G., Ma, Y., & Jiang, B. (2026). Frequency-Guided Dynamic Hypergraph Learning for Traffic Flow Forecasting. Sensors, 26(16), 5238. https://doi.org/10.3390/s26165238

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