Skip to Content
ElectronicsElectronics
  • Article
  • Open Access

12 March 2026

28 Pages

Dynamic Graph-Based Cross-City Traffic Prediction Framework with Domain-Level Feature Alignment and Node-Level Personalization

,
,
and
1
School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China
2
School of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta, GA 30332, USA
*
Author to whom correspondence should be addressed.

Abstract

The deployment of intelligent transportation systems (ITS) in emerging urban areas faces significant challenges due to the scarcity of historical data. Knowledge transfer across cities has shown exciting potential in addressing this issue, yet existing methods typically rely on predefined or static graphs, neglecting dynamic spatio-temporal relationships. Moreover, they handle data distribution discrepancies solely at the domain or node level, neglecting the multi-granularity heterogeneity inherent in urban data distributions. In this paper, we propose a Dynamic Graph-based Cross-city Traffic Prediction Framework (DGCTF), which introduces an adaptive graph structure learner to capture dynamic spatio-temporal relationships and complex interdependencies among cities. Besides, DGCTF addresses data discrepancy issue at multiple granularities. At the domain-level, DGCTF reduces data distribution differences across cities through a cross-domain feature alignment training method with Cross-Domain Feature Alignment Loss (CDFAL). At the node-level, DGCTF enables fine-grained adaptation via a Residual-enhanced GRU with Node-level Parameter-Matching strategy (RGRU-NodePM) by generating node-specific parameters to model node correlations across cities. Experimental results on multiple real-world datasets demonstrate that DGCTF significantly outperforms state-of-the-art methods in both short-term and long-term predictions. Notably, in several cross-city prediction tasks, DGCTF outperforms the second-best methods by up to 5.78% in MAE, 2.39% in RMSE, and 8.65% in MAPE.

1. Introduction

Traffic prediction is a key service in intelligent transportation systems (ITS). Detailed and timely traffic prediction not only helps city policy-makers in decision-making and resource allocation, but also assists urban residents in travel planning. Furthermore, precise traffic prediction is essential for V2X-enabled cooperative control to effectively mitigate aperiodic congestion in mixed traffic environments [1]. In recent years, deep learning models such as convolutional neural networks (CNNs) [2] and graph neural networks (GNNs) [3], with their powerful computational capabilities that surpass traditional methods, have been widely applied to traffic tasks. However, the success of these deep learning models is heavily dependent on large-scale traffic data, which is not always available in real-world scenarios, especially when predicting emerging regions that lack historical data. Notably, cities tend to share similar underlying patterns in traffic dynamics. As an example shown in Figure 1, functionally similar areas across cities, e.g., schools, exhibit comparable traffic patterns, suggesting that the fundamental dynamics of traffic can be generalized across cities. In this context, transfer learning offers a possible solution to the problem of data scarcity by transferring knowledge from data-rich cities to data-scarce cities [4], thereby reducing the burden of data collection and improving the efficiency of smart city development.
Figure 1. The illustration of spatio-temporal patterns of San Francisco (left) and Seattle (right).
In transfer learning research, some methods divide cities into grids with fixed sizes and spatial relationships to capture regional spatio-temporal characteristics and employ sophisticated techniques to understand the relationships between the source and target domains [5,6,7]. However, grid-based data are not suitable for describing topology structures with irregular and flexible node connections. With the development of GNNs, some researchers [4,8,9] propose graph-based methods using meta-learning and domain adaptation to transfer knowledge. These works rely on pre-defined graphs that are manually designed and may include noise, missing data, and biases [10], which increase the risk of negative transfer between the source and target cities. Recognizing these limitations, some researchers employ graph learners to acquire learnable static graphs and utilize regularization techniques with joint training of the source and target cities to transfer knowledge [10]. Although these methods have improved cross-city traffic prediction to some extent, transfer learning methods used for traffic prediction still face the following two challenges.
(1) Capturing dynamic spatio-temporal dependencies in transfer learning: Due to factors such as weather, pedestrian density, traffic control, and traffic accidents, the spatial dependencies in traffic networks change dynamically over time, with cities exhibiting periodic spatio-temporal patterns. Previous transfer learning methods use predefined graphs [4,8,9] or adaptive static graphs [10] for knowledge transfer as they assume that the data are static and identically distributed. However, static graph structures are incapable of encapsulating the inherent complex dynamic spatial dependencies in cities characterized by intricate and interwoven spatial attributes and temporal patterns. Recently, substantial studies have been conducted on dynamic graphs [11,12,13], which generate task-specific dynamic graphs. However, these methods are typically designed for single-city scenarios and involve extensive parameters, limiting their applicability in transfer learning. Therefore, exploring flexible, dynamic, and transferable graph structure learner to capture similar spatio-temporal patterns between cities or nodes and improve cross-city prediction performance remains an area for further research.
(2) Exploring data discrepancy at both domain and node level: Due to differences in infrastructure, socio-economic factors, population density, and local policies, the domain-level traffic data distribution varies significantly across cities. Existing methods such as TransGTR [10] and CityTrans [4] reduce spatio-temporal feature differences between source and target cities through adversarial learning or metric learning, and share model parameters between cities. However, simply reducing data distribution differences at the domain-level risks overlooking unique node-level features in the target domain, especially for functional nodes such as schools or hospitals, which exhibit distinct temporal patterns. There are methods that focus on transferring node-specific knowledge. TPB [14], MTPB [15], NodeTrans [16] and ST-GFSL [8] transfer node-level knowledge through clustering or parameter sharing. However, focusing solely on the transfer of node-level knowledge overlooks global data distribution differences, obscuring an understanding of the overall traffic dynamics. Therefore, a reasonable strategy that simultaneously reduces domain-level data distribution differences and incorporates node-level adaptive personalization remains an imperative area for further investigation.
In this paper, our goal is to achieve cross-city knowledge transfer based on dynamic graphs for the target city with limited data and to handle data distribution differences at both domain-level and node-level granularities. We propose a Dynamic Graph-based Cross-city Traffic Prediction Framework (DGCTF), which pioneers the integration of dynamic graphs into multi-source transfer learning, capturing time-varying spatial features through a dynamic adaptive graph convolution network. In addition, Cross-Domain Feature Alignment Loss (CDFAL) is designed to make graph structure learner transferable by ensuring that the features the learner extracts follow a similar distribution among cities at domain-level. In addition, a Residual-enhanced Gated Recurrent Unit with Node-level Parameter-Matching strategy (RGRU-NodePM) is designed to achieve node-level knowledge transfer by establishing associations between nodes across cities and generating node-specific parameters through the Node-Aware Parameter Generator (NAPG). We manage data discrepancies at both domain-level and node-level granularities by reducing domain-level data distribution differences and enabling node-level personalized adaptation. This design allows the model to effectively address both inter-city and intra-city differences in cross-domain traffic prediction. The main contributions of this paper are summarized as follows:
  • A dynamic adaptive graph convolution network with adaptive graph structure learner and multi-graph fusion convolutional layer is proposed to extract the dynamic features across cities.
  • A residual-enhanced gated recurrent unit with node-level parameter-matching strategy (RGRU-NodePM) is designed to transfer node-level knowledge by customizing node-specific model parameters through NAPG.
  • A cross-domain feature alignment loss (CDFAL) is designed to reduce domain-level data distribution differences in multi-source scenarios and make graph structure learner transferable.
  • Extensive experiments on seven public datasets verify the effectiveness of our method. Compared to other state-of-the-art models, our method significantly and consistently improves prediction accuracy for both long-term and short-term forecasts.
The rest of the paper is organized as follows: Section 2 briefly reviews related work. Section 3 presents the definition of the research problem in this study. The general framework of our DGCTF and the specific solutions are detailed in Section 4. In Section 5, we design several experiments to evaluate our model. Our work and directions for future research are summarized in Section 6.

3. Preliminary

Definition 1
(Traffic Spatio-Temporal Graph). A traffic spatio-temporal graph can be denoted as G = ( V , E , A , X ) [8]. V is the set of nodes and N = | V | is the number of nodes. E is the set of edges, and each edge can be denoted as e i j = ( v i , v j ) . A ∈ R N × N is the adjacency matrix of G , where a i j = 1 indicates that there is an edge between v i and v j . X ∈ R N × T × C is the node feature matrix, referring to the message that passes through the graph. We take the node feature at time t as a graph signal X t ∈ R N × C , where C is the dimension of node feature.
Definition 2
(Multi-source Cross-city Few-Shot Traffic Forecasting). Given M source cities G S = { G S 1 , ⋯ , G S M } with rich data and a target city G T with only limited data, the goal of multi-source cross-city few-shot traffic forecasting is to learn a model based on the available data of both G S and G T to perform traffic forecasting on future data of G T [8].
Definition 3
(Transferable Structure Learning for Traffic Forecasting). In the pre-training stage, given multiple source cities and a target city with graph-based traffic data G S i = V S i , E S i , A S i , X S i and G T = V T , E T , A T , X T , for task sampling, X S i ∈ R N S i × T S i × C , X T ∈ R N T × T T × C , where T T ≪ T S i , we aim to learn a well-initialized graph structure learner f ϕ and a forecasting model f θ . Suppose that we have T historical spatio-temporal graph signals and we want to predict future P graph signals:
X S i , X T → f ϕ ( · ; ϕ ) A S i ( ϕ ) , A T ( ϕ ) ,
X t − T + 1 : t S i ; X t − T + 1 : t T ; A S i ( ϕ ) ; A T ( ϕ ) ; ε S i ; ε T → f θ ( · ; θ ) X t + 1 : t + P S i ; X t + 1 : t + P T ,
where ϕ and θ denote the learned function parameters.
In the fine-tuning stage, the same function initialized with parameters ϕ, θ shared from the pretrained function is fine-tuned to predict graph signals on the target road network:
X T → f ϕ ( · ; ϕ * ( ϕ ) ) A T ( ϕ ) ,
[ X t − T + 1 : t T ; A T ( ϕ ) , ε T ] → f θ ( · ; θ * ( θ ) ) [ X t + 1 : t + P T ] ,
where ϕ * ( ϕ ) and θ * ( θ ) denote the function parameters adjusted from ϕ and θ to fit the target domain.

4. Methodology

In this section, a detailed description of our proposed method, DGCTF, is presented. As shown in Figure 2, DGCTF consists of a dynamic spatio-temporal graph convolution network, a RGRU-NodePM module, and is trained through a cross-domain feature alignment training method with CDFAL. The learning process of DGCTF follows MAML [37]. During the pre-training stage, the current flow X t is used as input to the dynamic adaptive graph convolution network, as shown in Figure 2a. This network includes a adaptive graph structure learner and a multi-graph convolutional fusion layer. The initial node embedding E as well as the daily embedding T t D and the weekly embedding T t W are fed into the adaptive graph structure learner to generate both the dynamic adjacency matrix A D and the static adjacency matrix A S , capturing both time-varying and stable spatial dependencies. The multi-graph convolutional fusion layer fuses the graph convolution results of A S and A D to generate the fused results R F , which are then fed into the RGRU-NodePM module for further extraction of spatio-temporal dependencies. As shown in Figure 2b, RGRU-NodePM is designed to transfer knowledge across nodes through a node-level parameter matching strategy. Specifically, NAPG maps raw traffic inputs G to node-specific parameters θ Z for the RGRU, which guaranties that nodes exhibiting analogous characteristics obtain comparable model parameters. In addition, as shown in Figure 2c, we design cross-domain feature alignment loss L C D F A L based on covariance regularization for cross-domain feature alignment training to reduce global distribution differences among different cities at the domain level and ensure the transferability of the graph structure learner. Meanwhile, updated results H from the RGRU-NodePM are passed through the fusion attention module with both global and local attention to produce prediction loss L p r e d . The model is trained by the combination of L p r e d and L C D F A L . In the fine-tuning phase, the model is trained with the target dataset G T to achieve parameter update with L p r e d .
Figure 2. The overall framework of DGCTF. (a) The architecture of the dynamic adaptive graph convolution network in DGCTF. (b) The architecture and the node-level parameter matching strategy of RGRU-NodePM. (c) The detail of the cross-domain feature alignment training with CDFAL.

4.1. Dynamic Adaptive Graph Convolution Network

Most existing works [12,13,38] require a significantly large amount of parameters to learn evolving graph structures, which are prone to overfitting in cross-domain scenarios where the target city usually only has limited data [10]. To prevent overfitting and enhance feature retention, an adaptive graph structure learner and a multi-graph fusion convolutional layer with residual connection are designed to improve the model’s transferability and stability, as depicted in Figure 3. We will detail the two parts in the following sections.
Figure 3. Architecture of the (a) Adaptive Graph Structure Learner and (b) Multi-Graph Fusion Convolutional Layer. The green arrows indicate the construction process of the static adjacency matrix, where the initial node embedding E is used to construct A S . The blue arrows indicate the construction process of the dynamic adjacency matrix, where the initialize node embedding E , daily embedding T t D and weekly embedding T t W are combined into the current time embedding E ′ . The current flow X t is processed by a linear, then concatenated with E ′ to generate the dynamic embedding E D which is applied to construct A D .

4.1.1. Adaptive Graph Structure Learner

In order to enable the model to extract periodic and dynamic features of traffic signals and prevent overfitting in cross-domain scenarios, the adaptive graph structure learner leverages simple linear layers to directly capture inherent characteristics from time series X and guide the construction of a dynamic adjacency matrix.
Frist, to fully capture the periodic nature of traffic information, we fuse the initial node embedding E with daily embeddings T t D ∈ R T × N × d e and weekly embeddings T t W ∈ R T × N × d e by Hadamard product operation ⊙ to obtain the current time embedding E ′ ∈ R T × N × d e :
E ′ = E ⊙ T t D ⊙ T t W .
At time step t, the current flow X t ∈ R N × C is processed through a linear transformation with sigmoid activation to obtain the dynamic signal D t ∈ R N × d e , which is then concatenated with the current time embedding E t ′ ∈ R N × d e to generate the dynamic embedding E D ∈ R N × d e :
D t = σ L i n e a r ( X t ) ,
E D = t a n h L i n e a r ( D t ∥ E t ′ ) ,
where ‖ denotes the feature-wise concatenation along the embedding dimension.
As indicated by the flow of the blue arrows in Figure 3, then we use E D which contains temporal information as input to derive the spatial probability matrix θ ∈ R N × N :
θ = E D E D T ,
where θ i j ∈ θ represents the probability of preserving the edge between node i and node j.
Then, we apply Gumbel reparameterization trick [39] to learn the binary dynamic adjacency matrix A D through θ i j , which is defined as:
A D = σ log θ i j / 1 − θ i j + ( g i j 1 − g i j 2 ) / s s . t . g i j 1 , g i j 2 ∼ G u m b e l ( 0 , 1 ) ,
where A D ∈ R N × N , σ denotes the sigmoid activation function, and s is the temperature parameter. Following the implementation in [39], s is set to 0.5, and hard sampling is used in the forward pass to obtain a binary A D , while the straight-through estimator is integrated to maintain backward differentiability via continuous gradients.
As indicated by the flow of the green arrows in Figure 3, then we use E as input to construct the static adjacency matrix A S ∈ R N × N in the same way as A D , which allows the model to capture stable spatial dependencies.

4.1.2. Multi-Graph Fusion Convolutional Layer

To prevent the smoothing effect in spatial feature extraction from impairing the model’s ability to predict peak values, we design a residual connection in the multi-graph fusion convolutional layer, as depicted in Figure 3b.
Firstly, we employ the first-order approximation of Chebyshev graph convolution to extract spatial features. The graph convolution operations are conducted on the static adjacency matrix A S and A D as follows:
G S X t = I + D − 1 2 A S D − 1 2 X t W S + b S ,
G D X t = I + D − 1 2 A D D − 1 2 X t E S W D + E S b D ,
where G S X t ∈ R B × N × F , G D X t ∈ R B × N × F , and W S ∈ R C × F and W D ∈ R d e × C × F are learnable weight matrices, b S ∈ R F and b D ∈ R d e × F are learnable bias matrices, F is the hidden layer dimension. D is the degree matrix. I is the unit matrix.
To further enhance the model’s ability to extract key features, we introduce a feature-recalibration operator f a t t ( · ) to refine the convolutional outputs. This module adaptively recalibrates feature responses by modeling inter-dependencies between channels. The operation of f a t t ( · ) is defined as:
f a t t ( H ) = H ⊙ σ W 2 · ReLU ( W 1 · Pool ( H ) )
where H ∈ R B × N × F represents the input hidden features, W 1 ∈ R F × ( F / r ) and W 2 ∈ R ( F / r ) × 1 . Here, r is the reduction ratio used to compress and then project the feature dimensions, which is set to 4 in our implementation, σ ( · ) represent the Hardsigmoid function.
Then, we design a residual connection between the raw input and the graph convolution results to ensure the integration of low-level detail information with high-level semantic information, as shown in Figure 3b. The calculation could be formulated as:
R F X t = f att G S X t + f att G D X t + α F X t W F ,
where R F X t ∈ R B × N × F denotes the result of the fusion, α F is a hyperparameter, W F ∈ R C × F is a training parameter matrix.

4.2. Residual-Enhanced GRU with Node-Level Parameter Matching Strategy

Previous transfer learning approaches [4,9,10] globally share the parameters of the feature extractors, which overlook the underlying correlations among nodes across source and target domains. To enable fine-grained knowledge transfer between similar nodes, an RGRU-NodePM is designed, as depicted in Figure 4, which integrates a residual-enhanced GRU with a node-level parameter matching strategy powered by a unified generator named NAPG.
Figure 4. Architecture of RGRU-NodePM. (a) RGRU with NP-LCU. (b) Details of the Node-level Parameter Matching strategy via NAPG. The weight matrices θ Z = { W r , W u , W h , W H , U r , U u , U h , U H } in RGRU are node-specific and generated through the NAPG.

4.2.1. Architecture of RGRU

Unlike traditional GRU, where the weight matrices W 0 ∈ R B × d in × d out and U 0 ∈ R B × d in × d out in the linear layer are shared across all nodes and randomly initialized, we introduce a Node-level Parameter-matching Linear Combination Unit (NP-LCU) to replace the standard linear layer, as shown in Figure 4a.
The NP-LCU employs node-specific weight matrices W ∈ R B × N × d in × d out and U ∈ R B × N × d in × d out , which are generated through NAPG, detailed later in Section 4.2.2. NP-LCU performs as:
G x 1 ; x 2 ; W ; U = W · x 1 + U · x 2 ,
where x 1 ∈ R B × N × d in , x 2 ∈ R B × N × d in , G ∈ R B × N × d out .
To alleviate the decay effect of long-term modeling and enhance the feature-extraction ability, we design a residual connection to construct a residual GRU (RGRU), whose structure is shown in Figure 4a. The fusion convolutional results R F X t and R F H t − 1 are passed through an NP-LCU and subsequently fused with the updated hidden state H ^ t .
The RGRU takes the fusion result as input to dynamically update and integrate the information and extract both spatial and temporal dependencies. The update formula for RGRU is as follows:
r t = σ G R F X t ; R F H t − 1 ; W r ; U r ,
u t = σ G R F X t ; R F H t − 1 ; W u ; U u ,
H ˜ t = t a n h G R F X t ; r t ⊙ R F H t − 1 ; W h ; U h ,
H ^ t = u t ⊙ R F H t − 1 + 1 − u t ⊙ H ˜ t ,
H t = H ^ t + G α x R F X t ; α h R F H t − 1 ; W H ; U H ,
where X t and H t are input and output at step t, σ denotes the sigmoid activation. α h and α x are the hyperparameters.

4.2.2. Node-Level Parameter Matching Strategy via NAPG

The node-level parameter matching strategy is designed to transfer knowledge at the node-level by enabling nodes with similar spatio-temporal features to receive similar model parameters. Here, “transferable knowledge” refers not to an explicit, human-readable knowledge bank, but to an abstract, data-driven parameterization transferable across domains. To achieve this, we design NAPG, as shown in Figure 4b, which maps raw traffic inputs G to node-specific parameters θ Z ∈ R B × N × d in × d out in two steps.
Firstly, we obtain the functional node representation for each node, denoted as F . We employ GRU to capture temporal dynamics, and GraphSAGE to extract spatial dependencies. The two representations are fused through a weighted combination to form F :
F t = F C G R U X ,
F s = F C G r a p h S A G E X ; E ,
F = a z F t + 1 − a z · F s ,
where F t ∈ R B × N × d m , F s ∈ R B × N × d m , F ∈ R B × N × d m , d m represents the dimension of functional node representation, a z is a learnable ratio.
Then, we design an attention mechanism to emphasize task-relevant feature dimensions of functional node representation. We generate attention scores and apply them to F by the following formula:
α i = exp ( F C ( t a n h ( F C ( F i ) ) ) ) ∑ j = 1 d m exp ( F C ( t a n h ( F C ( F j ) ) ) ) ,
F ′ = ∑ i = 1 d m α i F i ,
where α i ∈ R B × N × 1 is the attention score, F ′ ∈ R B × N × d m is the weighted representation of the functional node.
Subsequently, we generate parameters based on F ′ through a linear transformation: R B × N × d m → R B × N × d in · d out , then reshape it to R B × N × d in × d out .
θ Z = Reshape ( L i n e a r ( F ′ ) ) .
Functional node representation F encompasses the unique spatio-temporal features of each node. By generating node-specific parameters from F ′ , the node-level parameter matching strategy directly bridges the spatio-temporal knowledge of the data with the model parameters, allowing nodes with similar spatio-temporal characteristics to share similar model parameters in a shared latent space, even without node semantic identities or equal graph sizes. This facilitates knowledge transfer between similar nodes across different cities.

4.3. Cross-Domain Feature Alignment Training

4.3.1. CDFAL Calculation

In transfer learning, the distribution differences between the source and target domains are a major challenge. Traditional adaptive transfer learning methods [4,10,36] aim to address these differences by constructing a shared feature space with metric loss or adversarial loss. However, in multi-source scenarios, adversarial-based methods require auxiliary domain discriminators, and the dynamic alternation of source domains across various meta-tasks often leads to training instability and mode collapse. Meanwhile, approaches based on MMD are heavily constrained by sensitive kernel selection and the complexities of parameter tuning. Consequently, these traditional approaches are frequently ineffective for robust knowledge transfer in multi-source settings. To overcome these limitations and facilitate effective domain-level knowledge transfer in multi-source city settings, we propose the CDFAL:
L C D F A L = 1 4 F 2 C R F , s o u r c e − C R F , t a r g e t F 2 ,
where ‖ · ‖ F 2 denotes the squared matrix Frobenius norm. C ( · ) represents the covariance matrix calculation, as adopted from [40]. CDFAL explicitly optimizes the second-order statistics of feature distributions through parameter-free covariance alignment, offering high computational efficiency and stability. It is particularly well-suited for multi-batch sampling in meta-training, eliminating the complexity of kernel selection.
During each task T i of the pre-training stage, a source city is randomly selected. We measure the covariance distance between the fused graph convolution results R F , s o u r c e of the selected source city and R F , t a r g e t of the target city through CDFAL. This process of random sampling and feature alignment reduces the feature distance between the source and target cities in a systematic, incremental fashion, and ensures the transferability of the graph structure learner. Crucially, this transferability resides in the learner’s universal mapping logic for capturing spatio-temporal correlations rather than the specific numerical values of the generated adjacency matrix. Specifically, the gradients from CDFAL propagate back to the adaptive graph structure learner through the backpropagation path, effectively regularizing its structural mapping logic to prioritize adjacency matrices that yield domain-invariant feature representations across heterogeneous urban layouts. As the model progresses through the pre-training stage, it gradually decreases the domain-level feature differences among all the pre-trained cities.

4.3.2. Fusion Attention Module

The traffic state at a certain moment is influenced by the traffic conditions of multiple preceding moments and is relatively more affected by recent time steps [27]. Motivated by this intuition, we design a task-specific fusion attention module consisting of global attention and local attention, which is placed after the RGRU-NodePM to handle hidden states, as shown in Figure 2c. Specifically, the hidden representations from the previous T g steps are used in global attention to capture long-term patterns, while the most recent T l steps are used in local attention to focus on short-term dynamics. Since the structure of the traffic network and traffic condition contribute to predicting future states [41], we incorporate the intrinsic network information and traffic condition information by concatenating the initial node embedding E with hidden states H to obtain the attention score. The attention scores of the global attention and the local attention are obtained through the following formula:
o i , j = W q H i o · E i , W k H j o · E j d ,
γ i , j = exp o i , j ∑ k ≤ N exp o i , j ,
where , denotes the inner product, E i is the node embedding of node i, H i o represents the concatenated hidden states of node i over T g = 12 steps (for local attention, T l = 3 steps). W q and W k are the linear projection parameters, and d is the dimension of the query and key.
The attention scores are used as weights to compute the weighted sum of the hidden states of each node in the network:
H i ′ = ∑ j ≤ N γ i , j · H j o .
Then, we obtain the weighted sums H global ′ ∈ R N × T g × C , H local ′ ∈ R N × T l × C of the global hidden states and the local hidden states for the nodes. By applying a linear transformation, we respectively convert them to H global ″ ∈ R N × P × C , H local ″ ∈ R N × P × C , to obtain the traffic predictions for P time steps for all nodes. Finally, we fuse the attention results to get the final prediction:
Y ^ = λ f H global ″ + 1 − λ f H local ″ ,
where λ f ∈ 0 , 1 is a hyperparameter, Y ^ = X ^ t + 1 , X ^ t + 2 , ⋯ , X ^ t + P ∈ R N × P × C is the forecasting result. Given the ground truth Y = X t + 1 , X t + 2 , ⋯ , X t + P ∈ R N × P × C , the mean squared error (MSE) is utilized as the prediction loss L p r e d , which is defined as:
L p r e d = 1 N P C ∑ i = 1 N ∑ j = 1 P ∑ k = 1 C ( Y ^ i , j , k − Y i , j , k ) 2 .

4.4. DGCTF Learning Process

Recent studies have explored the integration of meta-learning with unsupervised domain adaptation (UDA) to mitigate distribution shifts and migration noise by incorporating unlabeled target domain information during the pre-training process [42]. Inspired by this, we adopt an unsupervised meta-adaptation strategy for DGCTF. The learning process can be divided into pre-training and fine-tuning stages. The pre-training stage is summarized in Algorithm 1.
The objective of the pre-training stage is to learn a well-generalized initialization θ . To achieve this, we construct a meta-task pool T S T = { T 1 , T 2 , … , T K } based on the following task sampling and partitioning protocol.
In each training iteration, a meta-task T i is formed by randomly sampling a source city G S j from the source city pool G S and pairing it with the target city G u T . Crucially, G u T is strictly composed of unlabeled graph sequences sampled from the target city’s few-shot training pool. Each task consists of 2m graph sequences drawn from both the sampled source city and the target city training pool. The sequences from the source and target domains are symmetrically partitioned into a support set S i and a query set Q i . Specifically, in the source domain, both the support set G S i S j and the query set G Q i S j are fully labeled to provide supervised guidance. Conversely, in the target domain, the labels for the support set G S i T and the query set G Q i T are strictly hidden. This setup ensures that the model is meta-trained to adapt in an “unsupervised” manner. For each task T i , the model first performs inner-loop updates using the support set S i , and then evaluates the adapted parameters on the corresponding query set Q i for outer-loop meta-optimization. During this stage, the model considers a combined loss that incorporates both prediction error loss L p r e d and the proposed cross-domain feature alignment loss L C D F A L . Consequently, the joint loss funtion L is:
L = L p r e d + λ L C D F A L ,
where λ is a hyperparameter.
In the fine-tuning stage, the model undergoes multiple gradient descents on the target dataset to achieve parameter updating. In this stage, the optimization objective focuses solely on the prediction error:
L = L p r e d .
Algorithm 1 DGCTF Pre-training Stage
Require: 
Source cities G S = { G S 1 , … , G S M } ; Unlabeled target city sequences G u T ; Learning rates α , β ; Alignment weight λ .
Ensure: 
Well-generalized initialization parameters θ .
 1:
Randomly initialize θ ;
 2:
while not done do
 3:
   Sample a source city G S j ∼ G S and pair it with G u T to form meta-tasks T S T ;
 4:
   for each task T i ∈ T S T  do
 5:
     Form S i = { G S i S , G S i T } and Q i = { G Q i S , G Q i T } ;
 6:
     Compute inner loss: L ( θ , S i ) = L p r e d ( θ , G S i S ) + λ L C D F A L ( θ , G S i S , G S i T ) ;
 7:
     Update ϕ i ← θ − α ∇ θ L ( θ , S i ) ;
 8:
     Compute outer loss: L ( ϕ i , Q i ) = L p r e d ( ϕ i , G Q i S ) + λ L C D F A L ( ϕ i , G Q i S , G Q i T ) ;
 9:
    end for
10:
   Update θ ← θ − β ∇ θ ∑ i L ( ϕ i , Q i ) ;
11:
end while
12:
eturn  θ ;

5. Experiments

In this section, we evaluate DGCTF in various aspects through extensive experiments. Specifically, we try to answer the following research questions through our evaluation:
  • RQ1: How well does DGCTF perform against other baselines on different datasets under conditions of target domain data scarcity?
  • RQ2: How well does each proposed component of the model contribute to the performance of DGCTF?
  • RQ3: How does the amount of training data affect the performance of DGCTF?
  • RQ4: How does each major hyperparameter affect the performance of DGCTF?
  • RQ5: How robust is DGCTF when the source–target distribution gap becomes larger?

5.1. Datasets

We evaluate the performance of DGCTF on seven popular public real-world datasets of two categories: (1) traffic flow and (2) traffic speed. The traffic flow datasets are PEMS04, PEMS07, and PEMS08 [43]. The traffic speed datasets are METR-LA, PEMS-BAY [20], Chengdu, Shenzhen [44]. Detailed information of these datasets is shown in Table 1.
Table 1. Statistics of the seven datasets used in this paper.
In transfer learning, there are source datasets and a target dataset. We use a similar few-shot traffic forecasting setting to [8]. Taking PEMS04 as an example, when it is set as the target city, ten days of data from PEMS04 are selected as the target data for fine-tuning, and the remaining data of PEMS04 constitutes the test data. The other two datasets (PEMS07, PEMS08) are used as source datasets for training with the full data, as shown in Table 1. For traffic flow prediction tasks, we set PEMS04, PEMS07 and PEMS08 respectively as target city, with the other two serving as source datasets. For traffic speed prediction tasks, we set METR-LA and PEMS-BAY respectively as target city, with the other three serving as source datasets. Z-score normalization is applied for data preprocessing.

5.2. Experimental Settings

For traffic flow data, we use ten-day data from the target city for fine-tuning and utilize one-hour historical data to forecast for the next 15, 30, and 60 min (horizon = 3, 6, and 12, respectively). For traffic speed datasets, we use three-day data from the target city to fine-tune and predict traffic speed for the next 6 time steps using 12 historical time steps. All experiments are executed on a Linux server (CPU: Intel® Xeon® Gold 5317 CPU@3.0 GHz, GPU: NVIDIA A100). The task learning rate α = 0.01, the meta-training rate β = 0.001, the number of task batches m is set to 4, and the number of pre-training tasks K is set to 200. The residual connection weights α F , α h , and α x are all set to 0.1. The hidden layer dimension F is set to 16. The Adam optimizer of the fine-tuning has a learning rate of 0.001 and weight decay of 0.01. The early stopping is adopted with a patience setting of 20 to avoid overfitting. We evaluate the prediction performance using root mean squared error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE).

5.3. Baselines

To ensure a rigorous and unbiased evaluation, we select representative baseline models that are extensively utilized in the field of traffic forecasting. Our objective is to assess the effectiveness of DGCTF under an equivalent information budget, specifically within the context of limited target domain data. Following established paradigms in cross-city traffic forecasting research [4,36], we categorize the selected baselines into three major categories: traditional, non-transfer deep learning-based, and transfer deep learning-based methods.
(1) Traditional baselines:
  • HA [45]: Historical Average method uses the average value of historical traffic data to predict future traffic flow.
(2) Non-transfer deep learning-based baselines:
  • GRU [46]: Gated Recurrent Unit, a variant of RNN with strong capability to capture temporal dependencies.
  • GCN [47]: Graph Convolutional Network, with strong capability to capture spatial dependencies.
  • TGCN [19]: Temporal Graph Convolutional Network, known for its excellent short-term prediction capability.
  • STGCN [18]: Spatial-Temporal Graph Convolutional Network, uses CHEBNET and 2D convolution for traffic prediction.
  • DCRNN [20]: Diffusion Convolutional Recurrent Neural Network, combines GNN and RNN with diffusion convolution.
  • AGCRN [23]: Adaptive Graph Convolutional Recurrent Network, learns node patterns through node adaptive parameter learning and adaptive graph learning.
  • STGODE [25]: Spatial-Temporal Graph Ordinary Differential equation Network, captures spatial-temporal dynamics using tensor-based ODE.
  • DDGCRN [30]: Decomposition Dynamic Graph Convolutional Recurrent Network, captures spatial-temporal dynamics through the combination of dynamic graph convolution and GRU.
  • TimeMixer [48]: Decomposable multiscale mixing for time series forecasting, demonstrates powerful predictive capabilities in data-scarce scenarios through a fully MLP-based lightweight architecture.
(3) Transfer deep learning-based baselines (including fine-tuning and state-of-the-art transfer learning methods):
  • Fine-tuning Methods: The model is first pre-trained on the source city with sufficient data, and then fine-tuned on the target city with limited data. We select TGCN, AGCRN, and DDGCRN as fine-tuning baselines, respectively denoted as TGCN-FT, AGCRN-FT, and DDGCRN-FT.
  • MAML [37]: Model-Agnostic, an excellent meta-learning method that pre-trains a well-generalized initial model, which can quickly adapt to new tasks in the target domain.
  • ST-GFSL [8]: Spatio-Temporal Graph Few-Shot Learning, enhances feature extraction by learning node-level knowledge, which is a cross-city knowledge transfer framework based on MAML.
  • DASTNET [9]: Domain Adversarial Spatial-Temporal Network, learns domain-invariant node embeddings across multiple source and target domains through domain adversarial learning.
  • TPB [14]: Traffic Pattern Bank, forms a traffic pattern bank by clustering the knowledge of source cities to guide the learning of the target city.
  • MTPB [15]: Multi-scale Traffic Pattern Bank, an improvement on TPB, uses clustering techniques to generate a multi-scale traffic pattern bank.
  • STGP [35]: Spatio-Temporal Graph Prompting, a prompt-based framework capable of adapting to multi diverse tasks in a data-scarce domain.
  • MC-HSTA [49]: Multi-source Cross-domain Hybrid Spatio-Temporal Attention network, captures inter-domain dependencies via attention and mitigates domain shift with an adversarial domain-adaptive classifier.

5.4. Performance Comparison and Analysis

We implement DGCTF and compare it with different methods on traffic flow and traffic speed datasets. We repeat the experiments five times and report the average results along with their standard deviations. The performance results are illustrated in Table 2 and Table 3. According to the results, we have the following observations.
Table 2. Performance comparison of different methods for traffic flow prediction. (The best results are marked in bold and the second-best results are underlined).
Table 3. Performance comparison of different methods for traffic speed prediction. (The best results are marked in bold and the second-best results are underlined).
For short-term and long-term predictions on all datasets under multiple source cities, our proposed DGCTF has the best performance. For example, in the PEMS04, PEMS07→PEMS08 task, DGCTF achieves average improvements of 5.78%, 2.39%, and 8.65% in the evaluation metrics compared to the second-best baseline in MAE, RMSE, and MAPE, respectively.
Compared to deep learning methods based on non-transfer learning, traditional methods like HA exhibit less powerful performance. GRU performs comparably with more complex deep learning methods in some cases due to its strong ability to capture traffic data periodicity and its lower complexity. The performance of GCN is poor because it ignores the temporal patterns in the data. TimeMixer outperforms most non-transfer learning models due to its efficient lightweight architecture, which effectively avoids overfitting on small datasets.
Among the three fine-tuning methods based on transfer learning, it can be seen that the dynamic graph-based model DDGCRN-FT outperforms the learnable static graph-based model AGCRN-FT, which in turn outperforms the pre-defined graph-based model TGCN-FT. By leveraging dynamic graphs to infer spatial relationships, DDGCRN achieves notable performance in both non-transfer learning settings for single-city scenarios and fine-tuned transfer learning tasks. This highlights the importance of capturing dynamic spatio-temporal dependencies in improving traffic prediction accuracy. Whether applied to transfer learning or single-city settings, pre-defined graph and learnable static graph prove suboptimal as they fail to adapt to dynamic changes in the data and cannot accommodate cross-domain topological variations inherent in transfer learning.
It can be seen that fine-tuning transfer learning methods, namely TGCN-FT, AGCRN-FT, and DDGCRN-FT, outperform their corresponding non-transfer learning methods, i.e., TGCN, AGCRN, and DDGCRN. These results indicate that transferring knowledge from data-rich source cities can improve the prediction performance in the target city. Compared to these fine-tuning methods, the proposed DGCTF fully considers differences in data distribution at multiple granularities, achieving more effective knowledge transfer between cities and producing optimal performance.
Furthermore, we conducted a two-sample t-test to compare DGCTF with the most competitive baseline for each prediction horizon. The results show that all improvements achieved by DGCTF are statistically significant with p-values consistently less than 0.05 (and in most cases p < 0.01 ), confirming that the superior performance of our framework is not due to random initialization but stems from its architectural innovations.

5.5. Ablation Study

To verify the effects of our key components and strategies of the proposed model, the following variants are designed:
  • w/o DA: eliminates dynamic adjacency matrix in the process of adaptive graph structure learning to test whether the dynamic features affect the model’s performance.
  • w/o SA: removes the static adjacency matrix generated in the adaptive graph structure learner to measure the impact of static spatial dependencies on model performance.
  • w/o CL: removes the CDFAL to evaluate its role in addressing domain-level data distribution discrepancies.
  • w/o PM: removes the node-level parameter matching strategy to evaluate the role of modeling interactions among nodes.
  • w/o CL&PM: removes both cross-domain feature alignment loss and node-level parameter matching strategy to assess the impact of data distribution differences.
  • w/o LA: removes the local attention module in fusion attention module to analyze its effect on short-term predictions.
  • w/o GA: eliminates the global attention module in fusion attention module to investigate its impact on long-term predictions.
  • w/o LA&GA: excludes both the local and global attention modules to determine the influence of combined attention on forecasting results.
As shown in Table 4, w/o DA shows poor performance compared with DGCTF. This indicates that dynamic features play an essential role in the model. Incorporating dynamic graphs enables the model to better capture evolving spatio-temporal dependencies, which are crucial for accurate predictions. w/o SA performs relatively close but inferior to DGCTF, which proves that the static spatial dependencies are worthy of consideration. The poor results of w/o CL suggest that reducing domain-level data distribution differences with proposed CDFAL is beneficial for the model. CDFAL helps in aligning the distributions across different domains, thereby improving the model’s generalization capability. The worse results of w/o PM underscore the importance of modeling interactions among nodes. By mapping functional node representations to specific model parameters, RGRU-NodePM acts as a fine-grained bridge for knowledge transfer, and enables nodes with similar traffic dynamics to share comparable parameterizations across different cities. The worst results of w/o CL&PM show the importance of reducing domain-level data distribution differences and focusing on node adaptive personalization. Removing the local attention module (w/o LA) leads to a decline in performance, especially for short-term predictions. Removing the global attention module (w/o GA) results in worse performance across all metrics. This indicates the importance of global attention in capturing broader patterns and dependencies. DGCTF integrates global and local attention modeling, which can capture both long-term and short-term temporal dependencies, achieving optimal performance in three metrics.
Table 4. Ablation studies of DGCTF on PEMS08.

5.6. Effects of Training Days

To further explore the robustness of our proposed DGCTF, we conduct experiments on PEMS04 and PEMS08 with different sizes of training sets. We use 1-day, 3-day, 10-day, and 30-day data for training, and use the same amount of test data as in previous experiments for testing. We compare DGCTF with the following transfer learning-based methods: AGCRN-FT, ST-GFSL, and DASTNET. As Figure 5 shows, when the training data are limited (i.e., 1-day and 3-day), these baseline models perform poorly. However, as training data increases, most baseline models show significant improvement. This supports our hypothesis that many existing spatio-temporal prediction methods heavily rely on large training datasets. In contrast, DGCTF consistently outperforms all other models in forecasting future time across different training data sizes. Notably, performance gains over baseline methods are most pronounced in few-shot settings (small training sets). Specifically, the decreases in MAE are 22.30%/18.55%/14.26%/7.65% on PEMS08 for 1/3/10/30 days for training compared with AGCRN-FT and 13.40%10.66%/7.43%/9.10% compared with DASTNET.
Figure 5. Prediction performance under different size of training sets on PEMS04 and PEMS08.

5.7. Parameter Analysis

We also conduct parameter analysis experiments on PEMS04 and PEMS08 to investigate how the key hyper-parameters (the node embedding dimension d e , the functional node representation dimension d m , T l , λ f and λ ) in the proposed DGCTF affect the prediction performance.
Specifically, we tune d e in the grid of {4, 6, 8, 10, 12} and tune d m in the grid of {8, 12, 16, 20}. Figure 6 presents the results for the different node embedding dimensions d e . We can see that smaller d e fails to capture complex spatio-temporal patterns, while larger values increase computational cost and risk overfitting. For d m , Figure 7 shows that d m = 16 achieves the best prediction performance across all time steps by balancing expressiveness and efficiency in parameter generation.
Figure 6. Effects of the node embedding dimension d e on (a) PEMS04 and (b) PEMS08.
Figure 7. Prediction performance under embedding dimension of d m on PEMS04 and PEMS08. The minimal values of MAE in different steps of PEMS04 and PEMS08 are marked with red stars.
Additionally, we tune T l in the grid of {1, 3, 6} to investigate the impact of the temporal window size of local attention on the model’s performance. As shown in Table 5, smaller values of T l fail to capture the necessary short-term temporal features, while larger values overemphasize long-term trends, leading to poorer performance. When T l = 3 , the model exhibits optimal performance.
Table 5. Effects of T l on PEMS04 and PEMS08 datasets.
Besides, we change λ f from 0.1 to 0.7 to explore the trade-off between the two attention, as shown in Table 6, when λ f is too large or too small, the model tends to rely excessively on either global or short-term features, neglecting the other type.
Table 6. Effects of λ f on PEMS04 and PEMS08 datasets.
Moreover, we change λ from 0.1 to 10 to explore the trade-off between the two losses, as shown in Table 7, when λ is too small, the impact of CDFAL on the model is limited, leading to suboptimal performance. On the other hand, when λ is too large, the model overemphasizes feature alignment, potentially losing focus on the main task. When λ = 1 , as it effectively balances the prediction error loss and CDFAL.
Table 7. Effects of λ on PEMS04 and PEMS08 datasets.
Consequently, to balance the performance and cost, we set d e to 10, and d m to 16, and T l to 3, and set λ f and λ to 0.5, 1 respectively.

5.8. Robustness Analysis

When the source and target domains differ markedly, cross-city knowledge transfer may become less effective and even suffer from negative transfer. To systematically evaluate the robustness of DGCTF under varying distribution shifts, we construct two transfer tasks with the same target city (PEMS08) but different source cities, as shown in Table 8. We measure the source and target discrepancy using MMD in the feature space and visualize the within-day traffic-flow distributions via density curves, as shown in Figure 8. Both the density plots and MMD scores indicate that Task 2 (PEMS03, PEMS07→PEMS08) exhibits a larger distribution gap than Task 1 (PEMS04, PEMS07→PEMS08), and is therefore more challenging.
Table 8. Cross-Domain tasks and corresponding MMD distances.
Figure 8. Distribution differences across cities.
Table 9 reports the performance of DGCTF and representative transfer-learning baselines on both tasks. As the distribution gap increases from Task 1 to Task 2, most baselines experience a noticeable degradation, whereas DGCTF remains highly stable with only marginal changes in MAE/RMSE/MAPE, demonstrating strong transfer robustness under larger shifts. Moreover, removing CDFAL (DGCTF w/o CL) amplifies the performance drop in Task 2, while the full model consistently mitigates the degradation. This suggests that CDFAL effectively aligns domain-level representations and reduces reliance on source-specific patterns, thereby improving robustness in cross-city transfer.
Table 9. Performance comparison of different transfer-learning models.

5.9. Efficiency Analysis

To compare our model with transfer learning baselines, we present the number of tunable parameters and floating-point operations (FLOPs) for forecasting. We set the batch size to 1 and report FLOPs for a single iteration. As shown in Table 10, MTPB incurs the highest computational cost due to its complex multi-module architecture, multi-scale traffic pattern generation, graph reconstruction, and aggregation. ST-GFSL also shows high computational demand as it uses a generator for parameter prediction. In contrast, STGP, achieves the lowest computational demand among the baseline models with its two-stage prompting strategy and task-agnostic architecture. It is worth noting that DGCTF not only surpasses the performance of these baseline methods but also greatly reduces the number of required parameters and FLOPs.
Table 10. Comparison of Tunable Parameters and FLOPs on PEMS08 Dataset.

6. Conclusions and Future Works

In this paper, we propose a novel framework DGCTF to address the challenges of traffic prediction in data-scarce environments. Our method leverages the similarities in spatio-temporal patterns across different cities to enhance the predictive capabilities of the model. Specifically, DGCTF focuses on capturing the dynamics of traffic networks in cross-domain scenarios. Additionally, we address data discrepancies at multiple granularities, including domain-level and node-level through CDFAL and RGRU-NodePM. These methods effectively mitigate the effects of data distribution differences between cities while achieving node-level personalized adaptation. Through extensive experiments on real-world datasets, we demonstrate that DGCTF consistently outperforms other methods.
However, there is still room for further improvement in DGCTF. For instance, the current model relies primarily on traffic data itself and has not fully taken into account other external factors, such as weather conditions, holidays, and special events, all of which can influence traffic flow. Furthermore, while emergent paradigms like Foundation Models (FM) and Physics-Informed Neural Networks (PINNs) represent prominent frontiers, they were not included in our primary comparison to ensure a rigorous evaluation under equal information constraints. Additionally, as the existing framework is validated exclusively through offline historical datasets, it lacks a direct link to and verification within real-world traffic control scenarios.
Future research could explore how to model these heterogeneous spatio-temporal data to further enhance prediction accuracy. Moreover, inspired by recent advances in large-scale pre-trained architectures, we are also interested in exploring how large language models (LLMs) can be incorporated into the cross-city traffic forecasting pipeline. In addition, we seek to investigate the integration of weak physical priors, such as consistency constraints, together with explicit node-level regularization strategies, to bolster the robustness of the transfer learning process against significant domain discrepancies. Finally, we plan to evaluate the framework within dynamic simulation environments to investigate how DGCTF-based predictions can explicitly inform real-time traffic control strategies and congestion mitigation within active traffic management systems.

Author Contributions

Conceptualization, Y.L. and X.L. (Xiangyu Li); methodology, Y.L. and X.L. (Xuening Li); software, Y.L. and Y.Z.; validation, Y.L. and X.L. (Xiangyu Li); formal analysis, Y.L. and X.L. (Xiangyu Li); data curation, Y.L. and X.L. (Xiangyu Li); writing—original draft preparation, Y.L. and X.L. (Xuening Li); writing—review and editing, Y.L. and X.L. (Xiangyu Li); visualization, Y.L. and Y.Z.; supervision, X.L. (Xiangyu Li); project administration, X.L. (Xiangyu Li). All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The dataset used in this paper consists of multiple public datasets, which can be found at the following link: https://github.com/guoshnBJTU/ASTGNN/tree/main/data (accessed on 11 February 2026) and https://github.com/RobinLu1209/ST-GFSL (accessed on 11 February 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Peng, J.; Shangguan, W.; Chai, L.; Chen, J.; Peng, C.; Cai, B. V2X-Enabled Platoon Control for Aperiodic Congestion Mitigation via Moving Bottlenecks in Mixed Traffic Environments. In IEEE Transactions on Vehicular Technology; IEEE: New York, NY, USA, 2025; pp. 1–13. [Google Scholar] [CrossRef] [Scilit]
  2. Yao, H.; Wu, F.; Ke, J.; Tang, X.; Jia, Y.; Lu, S.; Gong, P.; Ye, J.; Li, Z. Deep multi-view spatial-temporal network for taxi demand prediction. In Proceedings of the 32th AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018; pp. 2588–2595. [Google Scholar]
  3. Zhou, J.; Cui, G.; Hu, S.; Zhang, Z.; Yang, C.; Liu, Z.; Wang, L.; Li, C.; Sun, M. Graph neural networks: A review of methods and applications. AI Open 2020, 1, 57–81. [Google Scholar] [CrossRef] [Scilit]
  4. Ouyang, X.; Yang, Y.; Zhou, W.; Zhang, Y.; Wang, H.; Huang, W. Citytrans: Domain-adversarial training with knowledge transfer for spatio-temporal prediction across cities. IEEE Trans. Knowl. Data Eng. 2023, 36, 62–76. [Google Scholar] [CrossRef] [Scilit]
  5. Jin, Y.; Chen, K.; Yang, Q. Selective cross-city transfer learning for traffic prediction via source city region re-weighting. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Washington, DC, USA, 14–18 August 2022; pp. 731–741. [Google Scholar] [CrossRef] [Scilit]
  6. Wang, L.; Geng, X.; Ma, X.; Liu, F.; Yang, Q. Cross-city transfer learning for deep spatio-temporal prediction. In Proceedings of the 28th International Joint Conference on Artificial Intelligence, Macao, China, 10–16 August 2019; pp. 1893–1899. [Google Scholar]
  7. Yao, H.; Liu, Y.; Wei, Y.; Tang, X.; Li, Z. Learning from multiple cities: A meta-learning approach for spatial-temporal prediction. In Proceedings of the World Wide Web Conference, San Francisco, CA, USA, 13–17 May 2019; pp. 2181–2191. [Google Scholar] [CrossRef] [Scilit]
  8. Lu, B.; Gan, X.; Zhang, W.; Yao, H.; Fu, L.; Wang, X. Spatio-temporal graph few-shot learning with cross-city knowledge transfer. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Washington, DC, USA, 14–18 August 2022; pp. 1162–1172. [Google Scholar] [CrossRef] [Scilit]
  9. Tang, Y.; Qu, A.; Chow, A.H.; Lam, W.H.; Wong, S.C.; Ma, W. Domain adversarial spatial-temporal network: A transferable framework for short-term traffic forecasting across cities. In Proceedings of the 31st ACM International Conference on Information and Knowledge Management, Atlanta, GA, USA, 17–21 October 2022; pp. 1905–1915. [Google Scholar] [CrossRef] [Scilit]
  10. Jin, Y.; Chen, K.; Yang, Q. Transferable graph structure learning for graph-based traffic forecasting across cities. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Long Beach, CA, USA, 6–10 August 2023; pp. 1032–1043. [Google Scholar] [CrossRef] [Scilit]
  11. Xu, Y.; Lu, Y.; Ji, C.; Zhang, Q. Adaptive graph fusion convolutional recurrent network for traffic forecasting. IEEE Internet Things J. 2023, 10, 11465–11475. [Google Scholar] [CrossRef] [Scilit]
  12. Ji, C.; Xu, Y.; Lu, Y.; Huang, X.; Zhu, Y. Contrastive Learning-Based Adaptive Graph Fusion Convolution Network with Residual-Enhanced Decomposition Strategy for Traffic Flow Forecasting. IEEE Internet Things J. 2024, 11, 20246–20259. [Google Scholar] [CrossRef] [Scilit]
  13. Ye, J.; Liu, Z.; Du, B.; Sun, L.; Li, W.; Fu, Y.; Xiong, H. Learning the evolutionary and multi-scale graph structure for multivariate time series forecasting. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Washington, DC, USA, 14–18 August 2022; pp. 2296–2306. [Google Scholar] [CrossRef] [Scilit]
  14. Liu, Z.; Zheng, G.; Yu, Y. Cross-city few-shot traffic forecasting via traffic pattern bank. In Proceedings of the 32st ACM International Conference on Information and Knowledge Management, Birmingham, UK, 21–25 October 2023; pp. 1451–1460. [Google Scholar] [CrossRef] [Scilit]
  15. Liu, Z.; Zheng, G.; Yu, Y. Multi-scale Traffic Pattern Bank for Cross-city Few-shot Traffic Forecasting. ACM Trans. Knowl. Discov. Data 2025, 19, 1–24. [Google Scholar] [CrossRef] [Scilit]
  16. Yin, X.; Li, F.; Shen, Y.; Qi, H.; Yin, B. Nodetrans: A graph transfer learning approach for traffic prediction. arXiv 2022, arXiv:2207.01301. [Google Scholar] [CrossRef] [Scilit]
  17. Yin, X.; Wu, G.; Wei, J.; Shen, Y.; Qi, H.; Yin, B. Deep learning on traffic prediction: Methods, analysis, and future directions. IEEE Trans. Intell. Transp. Syst. 2021, 23, 4927–4943. [Google Scholar] [CrossRef] [Scilit]
  18. 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, Stockholm, Sweden, 13–19 July 2018; pp. 3634–3640. [Google Scholar]
  19. 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] [Scilit]
  20. Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. In Proceedings of the 2018 International Conference on Learning Representations, Vancouver, BC, Canada, 30 April–3 May 2018; pp. 1–16. [Google Scholar]
  21. 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, Macao, China, 10–16 August 2019; pp. 1907–1913. [Google Scholar]
  22. Wu, Z.; Pan, S.; Long, G.; Jiang, J.; Chang, X.; Zhang, C. Connecting the dots: Multivariate time series forecasting with graph neural networks. In Proceedings of the 26th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Virtual Event, 23–27 August 2020; pp. 753–763. [Google Scholar] [CrossRef] [Scilit]
  23. 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]
  24. Liu, H.; Zhu, C.; Zhang, D.; Li, Q. Attention-based spatial-temporal graph convolutional recurrent networks for traffic forecasting. In Proceedings of the Advanced Data Mining and Applications, Shenyang, China, 21–23 August 2023; pp. 630–645. [Google Scholar]
  25. 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, Virtual Event, 14–18 August 2021; pp. 364–373. [Google Scholar] [CrossRef] [Scilit]
  26. Zhang, X.; Huang, C.; Xu, Y.; Xia, L.; Dai, P.; Bo, L.; Zhang, J.; Zheng, Y. Traffic flow forecasting with spatial-temporal graph diffusion network. In Proceedings of the 35th AAAI Conference on Artificial Intelligence, Virtually, 19–21 May 2021; pp. 15008–15015. [Google Scholar]
  27. 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, Baltimore, MD, USA, 17–23 July 2022; pp. 11906–11917. [Google Scholar]
  28. 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 2023 IEEE 39th International Conference on Data Engineering, Anaheim, CA, USA, 3–7 April 2023; pp. 2303–2316. [Google Scholar]
  29. Li, R.; Zhang, F.; Li, T.; Zhang, N.; Zhang, T. DMGAN: Dynamic multi-hop graph attention network for traffic forecasting. IEEE Trans. Knowl. Data Eng. 2022, 35, 9088–9101. [Google Scholar] [CrossRef] [Scilit]
  30. Weng, W.; Fan, J.; Wu, H.; Hu, Y.; Tian, H.; Zhu, F.; Wu, J. A decomposition dynamic graph convolutional recurrent network for traffic forecasting. Pattern Recognit. 2023, 142, 109670. [Google Scholar] [CrossRef] [Scilit]
  31. Tian, C.; Zhu, X.; Hu, Z.; Ma, J. A transfer approach with attention reptile method and long-term generation mechanism for few-shot traffic prediction. Neurocomputing 2021, 452, 15–27. [Google Scholar] [CrossRef] [Scilit]
  32. Wang, S.; Miao, H.; Li, J.; Cao, J. Spatio-temporal knowledge transfer for urban crowd flow prediction via deep attentive adaptation networks. IEEE Trans. Intell. Transp. Syst. 2021, 23, 4695–4705. [Google Scholar] [CrossRef] [Scilit]
  33. Fang, Z.; Wu, D.; Pan, L.; Chen, L.; Gao, Y. When Transfer Learning Meets Cross-City Urban Flow Prediction: Spatio-Temporal Adaptation Matters. In Proceedings of the 31st International Joint Conference on Artificial Intelligence, Vienna, Austria, 23–29 July 2022; Volume 22, pp. 2030–2036. [Google Scholar]
  34. Yao, Z.; Xia, S.; Li, Y.; Wu, G.; Zuo, L. Transfer learning with spatial–temporal graph convolutional network for traffic prediction. IEEE Trans. Intell. Transp. Syst. 2023, 24, 8592–8605. [Google Scholar] [CrossRef] [Scilit]
  35. Hu, J.; Liu, X.; Fan, Z.; Yin, Y.; Xiang, S.; Ramasamy, S.; Zimmermann, R. Prompt-Based Spatio-Temporal Graph Transfer Learning. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, Boise, ID, USA, 21–25 October 2024. [Google Scholar] [CrossRef] [Scilit]
  36. Ouyang, X.; Yang, Y.; Zhang, Y.; Zhou, W.; Wan, J.; Du, S. Domain adversarial graph neural network with cross-city graph structure learning for traffic prediction. Knowl.-Based Syst. 2023, 278, 110885. [Google Scholar] [CrossRef] [Scilit]
  37. Finn, C.; Abbeel, P.; Levine, S. Model-agnostic meta-learning for fast adaptation of deep networks. In Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, 6–11 August 2017; pp. 1126–1135. [Google Scholar]
  38. Shao, Z.; Zhang, Z.; Wang, F.; Xu, Y. Pre-training Enhanced Spatial-temporal Graph Neural Network for Multivariate Time Series Forecasting. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Washington, DC, USA, 14–18 August 2022; pp. 1567–1577. [Google Scholar] [CrossRef] [Scilit]
  39. Yu, H.; Li, T.; Yu, W.; Li, J.; Huang, Y.; Wang, L.; Liu, A. Regularized Graph Structure Learning with Semantic Knowledge for Multi-variates Time-Series Forecasting. In Proceedings of the 31th International Joint Conference on Artificial Intelligence, Vienna, Austria, 23–29 July 2022; pp. 2362–2368. [Google Scholar]
  40. Sun, B.; Saenko, K. Deep CORAL: Correlation Alignment for Deep Domain Adaptation. In Proceedings of the 14th European Conference on Computer Vision, Amsterdam, The Netherlands, 8–16 October 2016; pp. 443–450. [Google Scholar]
  41. Tian, C.; Chan, W.K.V. Spatial-temporal attention wavenet: A deep learning framework for traffic prediction considering spatial-temporal dependencies. IET Intell. Transp. Syst. 2021, 15, 549–561. [Google Scholar] [CrossRef] [Scilit]
  42. Vettoruzzo, A.; Bouguelia, M.R.; Rögnvaldsson, T. Meta-learning for efficient unsupervised domain adaptation. Neurocomputing 2024, 574, 127264. [Google Scholar] [CrossRef] [Scilit]
  43. 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]
  44. Didi-Chuxing. Didi Chuxing Gaia Initiative. 2020. Available online: https://gaia.didichuxing.com (accessed on 14 February 2020).
  45. Liu, J.; Guan, W. A summary of traffic flow forecasting methods. J. Highway Transp. Res. Dev. 2004, 21, 82–85. [Google Scholar]
  46. Cho, K.; van Merriënboer, B.; Bahdanau, D.; Bengio, Y. On the Properties of Neural Machine Translation: Encoder–Decoder Approaches. In Proceedings of the 8th Workshop on Syntax, Semantics and Structure in Statistical Translation, Doha, Qatar, 25 October 2014; pp. 103–111. [Google Scholar]
  47. Kipf, T.N.; Welling, M. Semi-Supervised Classification with Graph Convolutional Networks. In Proceedings of the 2017 International Conference on Learning Representations, Toulon, France, 24–26 April 2017; pp. 1–14. [Google Scholar]
  48. Wang, S.; Wu, H.; Shi, X.; Hu, T.; Luo, H.; Ma, L.; Zhang, J.Y.; Zhou, J. Timemixer: Decomposable multiscale mixing for time series forecasting. In Proceedings of the 2024 International Conference on Learning Representations, Vienna Austria, 7–11 May 2024. [Google Scholar]
  49. Zhang, Z.; Cheng, Q.; Li, Z.; Fang, Y.; Li, Y. MC-HSTA: A multi-source cross-domain hybrid spatio-temporal attention network for traffic flow prediction. Neural Netw. 2026, 196, 108358. [Google Scholar] [CrossRef] [Scilit] [PubMed]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.