Skip to Content
Future InternetFuture Internet
  • Article
  • Open Access

26 November 2026

34 Pages

CRGNN: Road-Attribute-Aware Spatio-Temporal Graph Learning for Traffic Flow Prediction in Simulated Multimodal Mixed-Autonomy Traffic

,
,
and
1
School of Intelligent Manufacturing, Linyi Vocational College, Linyi 276017, China
2
Hangzhou International Innovation Institute, Beihang University, Hangzhou 311115, China
3
College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
4
Department of Civil and Environmental Engineering, Louisiana State University, Baton Rouge, LA 70803, USA

Abstract

As autonomous driving is deployed, human-driven vehicles (HDVs) and autonomous vehicles (AVs) will share road networks for a long transition period. Because AVs and HDVs follow different car-following behavior, models trained on HDV-dominated data may not transfer, and no public mixed-traffic dataset exists. We first build a SUMO benchmark on the road network of a Beijing district, in which AVs and HDVs follow the Intelligent Driver Model and the Krauss model under AV penetration rates of 20–80%; bicycles, buses, and trucks are also simulated, and bicycles dominate the counted flow. We then propose CRGNN, which builds a physics-informed adjacency matrix from speed limits, lane counts, and segment lengths, uses it to partition the network into spatial blocks, and combines depth–breadth attention with learnable periodic embeddings and a lightweight one-shot decoder. Over five training runs, CRGNN attains an MAE of 22.02 and a MAPE of 18.28%, equivalent to the strongest baseline, PatchSTG, within ±2% in MAE and RMSE, although its partition needs only static road attributes rather than historical flow; Diebold–Mariano tests show significantly lower squared errors than the other baselines and two non-learning references. In the simulated scenarios, the absolute error decreases with penetration, whereas MAPE peaks at intermediate penetration.

1. Introduction

Traffic flow prediction is a cornerstone of intelligent transportation systems (ITSs), supporting signal control, route guidance, congestion management, and infrastructure planning [1]. Over the past decade, the field has progressed from statistical time-series models to deep spatio-temporal networks that exploit the graph structure of road networks [2,3]. As intelligent transportation systems evolve toward next-generation, cooperative ecosystems in which connected and automated vehicles operate alongside conventional traffic, reliable prediction of mixed traffic becomes a prerequisite for traffic management and vehicle–infrastructure cooperation.
Short-term traffic flow prediction is demanding because traffic states evolve under the joint influence of temporal regularities, such as daily cycles, and spatial interactions, such as the propagation of queues and flow fluctuations along connected road segments [1,2,3]. Graph-based deep learning models address this by representing detectors or road segments as the nodes of a graph and learning spatio-temporal dependencies directly from historical observations [2,3]. Their success, however, rests on the premise that the historical data used for training are representative of the traffic that will be predicted. For decades, this premise has been reasonable, because the composition of the traffic stream and the way in which drivers respond to one another have changed only slowly.
The deployment of automated driving is changing this premise. Autonomous vehicles (AVs) perceive their surroundings with on-board sensors, follow car-following and lane-changing logic that is designed rather than acquired through experience, and respond to their leaders more quickly and more consistently than human drivers [4]. As their share in the traffic stream grows, the headways, speed fluctuations, and propagation of disturbances that a prediction model learns from data are expected to change. Traffic management centers and cooperative vehicle–infrastructure systems increasingly rely on network-wide forecasts to coordinate signal control, route guidance, and AV operations, so a prediction model must remain reliable when the vehicle mix changes. However, nearly all existing prediction models implicitly assume that the traffic stream is composed of human-driven vehicles (HDVs).

1.1. Research Gaps and Motivations

This assumption is becoming increasingly fragile. Robotaxi services such as Apollo Go, Pony.ai, and WeRide have begun commercial operation in several cities, yet a complete replacement of human drivers is unrealistic in the short to medium term [4]. AVs and HDVs will therefore coexist for a long period, forming a heterogeneous mixed-traffic environment [5,6]. The two vehicle types behave very differently: AVs typically exhibit shorter reaction times, more consistent rule compliance, and frequent interaction with vehicle-to-everything (V2X) infrastructure, whereas HDVs display diverse decision-making, behavioral uncertainty, and emotional variability [7]. Their interaction can improve overall safety and efficiency but also introduces new risks, such as novel accident mechanisms and cooperation–conflict problems [8]. Theoretical and field studies have shown that even a small share of AVs can substantially change traffic flow stability and throughput [9,10]. Consequently, a prediction model calibrated on purely human-driven traffic may not transfer to mixed traffic.
Existing traffic flow prediction methods remain limited in this respect. Most approaches model aggregate flow at the segment level and do not account for vehicle heterogeneity or the physical characteristics of roads. For example, the ARMA–SVR residual-optimized model of Wang et al. [11] relies mainly on historical flow and improves efficiency on small samples, but it neither distinguishes vehicle types nor considers differences between road segments. The ensemble deep-learning model of Li et al. [12] incorporates external factors and upstream/downstream information, yet its node features are still macroscopic speed and flow indicators. The EEMD–BiGRU model of Zhang and Hao [13] improves robustness through signal decomposition, but it likewise operates on aggregate flow alone. As illustrated in Figure 1a, these methods typically combine temporal information and HDV flow in a graph neural network (GNN) with a purely topological adjacency and often decode autoregressively, which accumulates error over long horizons.
Figure 1. Comparison of (a) conventional traffic flow prediction and (b) mixed-traffic flow prediction frameworks. Grey and blue cars denote HDVs and AVs, respectively. In (a), the red dashed arrows indicate that each prediction is fed back as the input for the next step, so that errors accumulate over the horizon; in (b), the edge width is proportional to the road-attribute weight.
Figure 1 contrasts this conventional setting with the mixed-traffic setting considered in this paper along three dimensions. In the conventional setting (Figure 1a), the traffic stream consists of human-driven vehicles only; the spatial graph is defined by topology alone, with binary entries Aij ∈ {0,1} that treat every pair of connected segments as equally coupled; and multistep forecasts are produced autoregressively, so that each predicted step is fed back as an input for the next one and errors accumulate over the horizon. In the mixed-traffic setting (Figure 1b), HDVs governed by the Krauss model and AVs governed by the Intelligent Driver Model (IDM) share the same road; the edges of the spatial graph are weighted by a function of the speed limit, number of lanes, and length of each segment, Aij = f(vij,lij,dij), so that segments that can carry more traffic are more strongly coupled; and a 1 × 1 convolutional decoder produces all horizons in a single pass, which avoids the accumulation of errors. The edge widths in Figure 1b are schematic.
Taken together, these observations indicate that the transition to mixed traffic poses challenges on two fronts. On the modeling side, a predictor should represent how strongly road segments are coupled, which depends not only on whether two segments are connected but also on how much traffic they can carry, and its accuracy should be examined under different vehicle mixes. On the data side, such an examination requires traffic data in which the AV share is known and can be varied, which field observations cannot yet provide. The review of the literature in Section 2 shows that neither need is fully met, which leaves two research gaps:
Gap 1: Modeling. Most existing prediction models do not consider AVs. A recent exception, HADS [14], reconfigures the graph topology after traffic events and uses AV penetration to weight graph attention, but it does not encode road-level physical attributes such as speed limits, lane counts, and segment lengths, which determine how strongly connected road segments influence each other in mixed HDV–AV traffic.
Gap 2: Data. Large-scale mixed traffic has not yet materialized in the real world, so there is no public dataset with controllable AV penetration. Existing work relies on semi-synthetic data that combine field-observed flow with simulated AV features at penetration rates up to 60% [14], which leaves AV-dominated traffic and the effect of penetration on prediction difficulty largely unexplored.
These gaps motivate a prediction framework that couples a controllable mixed-traffic data source with a model whose spatial structure reflects the physical carrying capacity of the road network, and that can be used to examine how prediction difficulty changes as AVs enter the traffic stream. Accordingly, this study addresses the following research questions:
RQ1: How can the physical attributes of road segments, namely speed limits, lane counts, and segment lengths, be encoded into the spatial graph so that the learned spatial dependencies reflect the carrying capacity of the road network in mixed HDV–AV traffic?
RQ2: How can spatial dependencies at multiple scales, from adjacent intersections to city-wide interactions, be captured efficiently while predicting multiple horizons without the error accumulation of autoregressive decoding?
RQ3: How does prediction accuracy change as the AV penetration rate increases from 20% to 80%, and how does the proposed model compare with existing graph-based and Transformer-based prediction models in mixed traffic?

1.2. Research Contributions

To answer these questions, we propose the research framework shown in Figure 2, which consists of four stages. In the first stage, a real urban road network in Beijing is extracted from OpenStreetMap and converted into a SUMO [15] (Simulation of Urban MObility, version 1.28.0; German Aerospace Center, Berlin, Germany) network with the netconvert tool; mixed traffic composed of HDVs, AVs, buses, trucks, and bicycles is then generated, with AVs following the IDM and HDVs following the Krauss model, under AV penetration rates of 20%, 40%, 60%, and 80%. In the second stage, E3 detectors record the flow, the number of AVs, and the mean speed on the intersection approaches; the records are aggregated into 300-s intervals, cleaned and standardized, and combined with time indices and road attributes into model inputs. In the third stage, CRGNN, a road-attribute-aware spatio-temporal graph network (Figure 1b), is built from four components: a road-attribute-aware graph derived from speed limits, lane counts, and segment lengths; spatio-temporal embeddings of temporal patches, time of day, day of week, and node identity; a depth–breadth attention encoder that captures intra-block and inter-block dependencies; and a lightweight 1 × 1 convolutional decoder that outputs all horizons at once. In the fourth stage, CRGNN, six learning-based baselines (GCN, GAT, STGCN, PDG, STWave, and PatchSTG), and two non-learning references are trained and tested on the same data, their predictions are evaluated with MAE, RMSE, and MAPE, the significance of the differences is tested, the contribution of each component is examined by ablation, and the effect of the AV penetration rate on prediction accuracy is analyzed. Together, the four stages yield multistep traffic flow predictions for mixed HDV–AV traffic and an assessment of how these predictions depend on the vehicle mix.
Figure 2. Overall research framework integrating SUMO-based mixed-traffic simulation, data preprocessing, CRGNN development, and model evaluation.
The main contributions of this paper are as follows:
(1)
A mixed-traffic benchmark with controllable AV penetration (RQ3). Using OpenStreetMap data of an urban area in Beijing, we build a SUMO simulation containing five vehicle classes, in which AVs follow the Intelligent Driver Model (IDM) [16] and HDVs follow the Krauss model [17]. Traffic data are collected under AV penetration rates of 20%, 40%, 60%, and 80%, providing a controlled testbed for prediction in future mixed traffic. Because the demand is synthetic and bicycles account for most of the counted road users, the benchmark is intended for controlled comparisons across penetration rates rather than for reproducing the observed traffic of the area.
(2)
A road-attribute-aware graph construction (RQ1). Instead of a purely topological or distance-based adjacency, we derive edge weights from normalized speed limit, number of lanes, and segment length, followed by an exponential standardization that sharpens the contrast between strong and weak links. This physics-informed graph reflects differences in carrying capacity between road segments and guides spatial partitioning. Because it is derived from static map attributes, the partition can be computed before any traffic data are collected.
(3)
An efficient multiscale spatio-temporal forecasting model (RQ2). CRGNN combines learnable multiperiod temporal embeddings with a depth–breadth attention mechanism that decomposes global spatial attention into intra-block (local, fine-grained) and inter-block (long-range, city-scale) components, reducing the per-layer spatial complexity from O N 2 to O N M + P . A single 1 × 1 convolutional decoder generates all horizons at once, avoiding the error accumulation of autoregressive decoding.
(4)
Comprehensive evaluation (RQ3). Against six representative learning-based baselines and two non-learning references, CRGNN is as accurate as the strongest baseline, PatchSTG (equivalent within ±2% in MAE and RMSE), and significantly more accurate than the other methods; significance tests over five training runs, an ablation study, and a hyperparameter sensitivity analysis support this comparison. We further analyze how AV penetration affects prediction difficulty, revealing that, across the simulated scenarios, the absolute error decreases with penetration, whereas the relative error peaks at intermediate penetration, and we examine whether the error of a trained model depends on the local vehicle mix.
The remainder of this paper is organized as follows. Section 2 reviews related work on mixed traffic and traffic flow prediction. Section 3 formulates the problem. Section 4 details the proposed CRGNN model. Section 5 describes the mixed-traffic simulation and dataset. Section 6 reports the experimental results and analysis. Section 7 discusses limitations, and Section 8 concludes the paper.

3. Problem Formulation

This section defines the road network, the traffic observations, and the prediction task and introduces the notation used in the rest of the paper; the main symbols are summarized in Table 1.
Table 1. Main notation.
Road network. The road network is represented as a weighted graph G = V , E , A , where V is the set of N = V nodes, E is the set of edges, and A ∈ R N × N is the weighted adjacency matrix. Each node corresponds to a detector location on an intersection approach, and each edge i , j ∈ E corresponds to a road segment that connects two detector locations. Each edge is associated with three static attributes obtained from the map data: a speed limit vij, a number of lanes lij, and a length dij. These attributes describe how much traffic a segment can carry and how far apart its end nodes are, and they are used in Section 4.3 to compute the edge weights Aij. In contrast to a binary adjacency, which only records whether two nodes are connected, A therefore encodes how strongly two connected nodes are expected to influence each other.
Traffic observations. The traffic state is observed at discrete time steps of equal length (5 min in this study). Let x t i denote the traffic flow at node i in time step t, expressed as an hourly rate, and let X t ∈ R N × C collect the observations of all nodes at step t, where C is the number of traffic features; in this study, C = 1 (total flow). Each time step is also associated with a time-of-day index and a day-of-week index, which are defined in Section 4.2 and allow the model to exploit periodic patterns. The observations are generated under a mixed-traffic scenario with AV penetration rate ρ, defined in Equation (23) of Section 5.2. The composition of the traffic stream therefore affects the observed flows, but the vehicle type of individual road users is not part of the model input.
Prediction task. Given the historical observations over the past Tin steps, X t − T in + 1 : t , together with the graph G and the time indices, the goal is to learn a function fθ with parameters θ that predicts the traffic flow of all nodes over the next Tout steps:
Y ^ t + 1 : t + T out = f θ X t − T in + 1 : t ;   G ,     Y ^ ∈ R T out × N .
In this study, Tin = Tout = 12, i.e., the flow in the next 60 min is predicted from the flow in the previous 60 min. The parameters are estimated from the training data by minimizing the masked mean absolute error between predictions and observations (Equation (15) in Section 4.5), and the trained model is evaluated on later, unseen days. All horizons are predicted jointly, rather than one step at a time.
Assumptions. Three assumptions underlie this formulation. First, the graph G is static: the road attributes and therefore A do not change during the prediction period. Second, a separate model is trained and evaluated for each AV penetration rate ρ, so that the effect of the vehicle mix on prediction accuracy can be measured directly. Third, the realized AV share at each node, ρi(t) (Equation (24)), is recorded for analysis but is not used as a model input; incorporating it is discussed as future work in Section 8.

4. Methodology

4.1. Overview

The architecture of CRGNN is shown in Figure 3. It consists of four components: (1) an input and embedding module that normalizes the raw data and fuses flow, temporal, and node embeddings; (2) a road-attribute-aware graph construction module that computes physical edge weights and partitions the network into spatial blocks; (3) a depth–breadth attention encoder of L stacked layers that captures local and global spatial dependencies; and (4) a lightweight 1 × 1 convolutional decoder that outputs all prediction horizons in one step.
Figure 3. Overall architecture of the proposed CRGNN integrating temporal embedding, road-aware spatial encoding, depth–breadth attention, and multistep prediction. In the spatial encoding, dashed circles enclose the nodes of one block, and node colors distinguish the blocks; in the encoder, blue cells in the attention masks mark the pairs of nodes that attend to each other. The background colors distinguish the stages of the model.
The data flow through these components is as follows. The input consists of three parts (left of Figure 3): the traffic flow of all nodes over the past Tin steps, the static road attributes (vij,lij,dij), and the time-of-day and day-of-week indices (tod,tow). In the temporal embedding, a one-dimensional convolution with patch length S converts the standardized flow of each node into T′ temporal tokens, which are concatenated with learnable time-of-day, day-of-week, and node embeddings into a tensor of size T′ × N × D (Section 4.2). In parallel, the road attributes are converted into the weighted adjacency matrix A, which is used to group the N nodes into P spatial blocks of M nodes each (Section 4.3). Because the road attributes are static, this step is carried out once before training and only determines the order in which nodes enter the encoder; it adds no cost to each forward pass.
The encoder then applies L identical layers to the token tensor. In each layer, depth attention first relates the nodes within each block, which captures fine-grained interactions between nearby locations, and breadth attention then relates nodes that occupy the same position in different blocks, which propagates information across the network (Section 4.4). Finally, the decoder merges the temporal and feature dimensions of the encoder output and maps them with a single 1 × 1 convolution to the predictions for all Tout horizons, Y ^ ∈ R T out × N ; the model is trained with the masked mean absolute error (Section 4.5).
The components map onto the research questions in Section 1.1. The road-attribute-aware graph construction addresses RQ1 by encoding speed limits, lane counts, and segment lengths into the spatial structure of the model, and the depth–breadth encoder together with the one-shot decoder addresses RQ2 by capturing local and network-wide dependencies at a per-layer cost of O N M + P instead of O N 2 without autoregressive decoding.

4.2. Data Preprocessing and Spatio-Temporal Embedding

Traffic flow features. The core input is the total traffic flow recorded by each detector, i.e., the number of road users of all classes (HDVs, AVs, buses, trucks, and bicycles) passing the detector cross-section in each 5-min aggregation interval, expressed as an hourly rate (veh/h, i.e., the 5-min count multiplied by 12). This quantity directly reflects the traffic load, fluctuation pattern, and spatio-temporal distribution of each location. The 5-min interval matches the 300-s aggregation of the detectors and is the resolution of the standard benchmarks for network-wide traffic forecasting, such as METR-LA and PEMS-BAY [3]; it is short enough to resolve the onset of queues at signalized intersections and long enough to smooth the fluctuations caused by individual signal cycles. Because the data are produced by simulation, every detector reports a value in every interval, and the raw data contain no missing records; all zero values are therefore genuine zero flows, i.e., intervals in which no road user passed the detector. Zero flows account for 36.7%, 36.2%, and 36.5% of the node intervals in the training, validation, and test sets of the main dataset (Section 5.3). During preprocessing, zero values in the model input are replaced with a small constant (0.1) to prevent numerical instability. Zero targets are excluded from the training loss in Equation (15), as in PatchSTG [33]; for evaluation, we report MAE and RMSE both with and without zero targets (Section 6.2); records that do not match any graph node are removed, and detectors that recorded no road user during the entire simulated period (46 of the 169 detectors) are excluded, leaving N = 123 nodes. The flow is then standardized with the Z-score using the mean μ and standard deviation σ computed on the training set only:
x ~ = x − μ σ ,
where x is the raw flow and x ~ is the standardized value. Standardization removes scale differences, accelerates convergence, and reduces the influence of extreme values.
Temporal patch embedding. A one-dimensional convolution with kernel size and stride equal to the patch length S slides along the time axis, dividing the input sequence into T′ = Tin/S non-overlapping temporal patches and projecting each into a Dx-dimensional vector:
H x = Conv 1 D X ~ ∈ R T ′ × N × D x .
This compresses the sequence length, which reduces the cost of subsequent attention, and encodes local temporal patterns within each patch (e.g., the rising edge of the morning peak or stable off-peak fluctuations).
Multiperiod temporal embedding. Traffic flow exhibits strong daily and weekly periodicity. For time step i, the time-of-day and day-of-week indices are
t od = i   mod   N d ,     t ow = i N d   mod   7 ,
where Nd is the number of time steps per day (Nd = 288 for 5-min intervals). Each index is mapped to a dense vector through a learnable embedding table:
TE od = E od t od ,   E od ∈ R N d × D t ;     TE ow = E ow t ow ,   E ow ∈ R 7 × D t .
TEod encodes the position of each time step within the day, while TEow encodes the day within the week.
Spatial (node) embedding. Following the spatial identity idea of STID [34], each node is assigned a learnable vector E node ∈ R N × D n initialized with Xavier uniform initialization [49]. Through training, it learns a representation of each location’s spatial role and function.
Embedding fusion. The flow, temporal, and spatial embeddings are broadcast to a common shape and concatenated:
H 0 = Concat H x ,   TE od ,   TE ow ,   E node ∈ R T ′ × N × D ,
with D = Dx + 2Dt + Dn. Consequently, the representation of every node at every time patch simultaneously encodes its spatial identity, temporal context, and real-time state.

4.3. Road-Attribute-Aware Graph Construction and Spatial Partitioning

Conventional adjacency matrices encode only connectivity or geometric distance. However, two connected segments with very different speed limits and lane counts carry very different volumes of traffic and therefore influence each other to different degrees. Following the idea that physically meaningful edge weights improve spatio-temporal prediction [39], we construct edge weights from road attributes, as illustrated in Figure 4.
Figure 4. Construction of the road-attribute-aware adjacency matrix through (a) road attribute extraction, (b) min–max normalization, (c) physical weighting and exponential standardization, and (d) weighted adjacency matrix generation. The example network is illustrative: numbers 1–6 denote nodes, edge labels give the speed limit (km/h), number of lanes, and length (m) of each segment, arrows indicate the processing steps, and edge widths in (a) and color intensity in (d) are proportional to the final weight Aij.
First, the speed limit, number of lanes, and length of each segment are min–max normalized over all segments in the network:
v ^ ij = v ij − v min v max − v min ,     l ^ ij = l ij − l min l max − l min ,     d ^ ij = d ij − d min d max − d min .
The physical weight of edge (i,j) is then defined as
w ij = v ^ ij   l ^ ij 1 + d ^ ij .
The numerator is a proxy for the carrying capacity of the segment (higher speed limits and more lanes allow more vehicles to pass per unit time), while the denominator attenuates the coupling between distant nodes. The constant 1 prevents division by zero and bounds the distance penalty. To enhance the discrimination between strong and weak connections, the weights are standardized and exponentiated:
A ij = exp w ij − μ w σ w + ϵ , i , j ∈ E , 0 , otherwise ,
where μw and σw are the mean and standard deviation of the edge weights and ϵ = 10−10. The exponential mapping ensures that all connected pairs have positive weights while amplifying above-average links. Because of the min–max normalization in Equation (7), segments with the minimum lane count or the minimum speed limit obtain wij = 0 and therefore share the base weight exp(−μw/(σw + ϵ)). In the study network, where 87% of the segments have a single lane, the adjacency therefore mainly distinguishes multilane segments from the remaining ones. Because the construction relies on static attributes available from map data, it can be computed for any network and can be extended to incorporate real-time traffic states for dynamic adjustment.
Spatial partitioning. Following the irregular spatial patching of PatchSTG [33], the nodes are first organized by a KD-tree built on their planar coordinates, and leaves with fewer nodes than the leaf capacity are padded with nodes from other leaves. Unlike PatchSTG, which selects the padding nodes by the cosine similarity of historical time series, CRGNN selects them by the road-attribute-aware adjacency A; this adjacency is used only in the padding step, whereas the KD-tree is built on coordinates alone and the merging of leaves into blocks does not use A (Algorithm 1). In this way, the N nodes are reorganized into P spatial blocks { B 1 , … , B P } of M nodes each (N ≤ P × M, with padding where necessary), so that nodes strongly coupled to a leaf by the road attributes are added to that leaf’s block. The embedded tensor is reshaped accordingly as H 0 ∈ R T ′ × P × M × D . A merging factor f groups f consecutive leaves into one block, so that P = 2r/f and M = f·s, where r is the depth of the KD-tree and s the leaf capacity; the same grouping is used in all L encoder layers (in this study, f = 1, so that each leaf forms one block). Because the partition depends only on static coordinates and road attributes, it is computed once before training (Algorithm 1). After decoding, the outputs of padded copies are discarded, and each node’s prediction is taken from its own leaf.
Algorithm 1. Road-attribute-aware spatial partitioning (executed once before training)
Input: planar node coordinates {(xi, yi)}; road-attribute adjacency A (Equation (9)); KD-tree depth r; leaf capacity s; merging factor f.
Output: padded node order π; number of blocks P and nodes per block M; index maps to restore the original node order.
     1:     ℒ ← KDTree({(xi, yi)}, r)       //recursive median splits alternating between x and y; A is not used
     2:     π ← empty list
     3:     for each leaf ℓk ∈ ℒ, k = 1, …, 2r do
     4:             if |ℓk| < s then
     5:                     D ← A[ℓk, :]; D[:, ℓk] ← 0       //coupling of the leaf’s nodes to nodes outside the leaf
     6:                     C ← the s − |ℓk| distinct nodes with the largest entries of D       //padding nodes selected by A
     7:                     ℓk ← ℓk ∪ C
     8:             end if
     9:             append ℓk to π
     10:  end for
     11:  P ← 2r/f;     M ← f·s       //f consecutive leaves form one block in every layer; A is not used
     12:  return π, P, M

4.4. Depth–Breadth Attention Encoder

Applying full self-attention over all N nodes costs O N 2 per time patch and flattens the spatial structure. CRGNN instead factorizes spatial attention into two complementary levels (Figure 5). Both are based on scaled dot-product attention [27]:
Attention Q , K , V = softmax Q K ⊤ d k V ,
where Q , K , V ∈ R B × T ′ × n × d k are linear projections of the input, B is the batch size, n is the number of tokens attended over, dk is the head dimension, and d k is the scaling factor.
Figure 5. Illustration of depth–breadth attention and spatial complexity in CRGNN, including (a) intra-block depth attention, (b) inter-block breadth attention, and (c) per-layer spatial complexity. B1–B4 denote blocks and 1–5 the positions of the nodes within a block; colors distinguish the blocks. The red and blue dashed boxes mark the nodes that attend to each other in depth and breadth attention, respectively.
Depth (intra-block) attention focuses on fine-grained interactions within a spatial block. For each block B p , attention is computed among its M nodes:
H depth p = Attention Q s p , K s p , V s p ,     p = 1 , … , P .
It captures instantaneous local interactions, such as those between adjacent intersections, and mines microscopic traffic patterns.
Breadth (inter-block) attention models macroscopic dependencies across blocks. For each intra-block position m, attention is computed among the P nodes occupying that position in different blocks:
H breadth m = Attention Q c m , K c m , V c m ,     m = 1 , … , M .
This allows information to propagate between distant regions and captures city-scale patterns such as inter-regional influence. Stacking the two levels gives every node an effective receptive field over the entire network within one layer.
Each attention level is wrapped with residual connections [50], layer normalization [51] applied before the attention and the MLP (prenormalization), and a position-wise multilayer perceptron (MLP) with GELU activation [52]; depth attention is applied first, followed by breadth attention:
Z = H + Attn LN H ,     H ′ = Z + MLP LN Z .
This “local refinement plus global context” design avoids the limitation of single-scale modeling and alleviates vanishing gradients in deep stacks. Since depth attention costs O P M 2 = O NM and breadth attention costs O M P 2 = O NP , the per-layer spatial complexity is O N M + P ; with M ≈ P ≈ N , this becomes O N 1.5 instead of O N 2 .

4.5. Lightweight Decoder and Training Objective

After L encoder layers, the output H L ∈ R T ′ × N × D is reshaped by merging the temporal and feature dimensions into channels, and a single 1 × 1 convolution maps it directly to all future horizons:
Y ^ = Conv 2 D 1 × 1 Reshape H L ∈ R T out × N .
Compared with a Transformer decoder, this design has far fewer parameters and lower computational cost. Because it is non-autoregressive, it generates all Tout predictions simultaneously, eliminating the error accumulation that arises when earlier predictions are fed back as inputs.
The model is trained with the masked mean absolute error:
L = 1 Ω ∑ t , i ∈ Ω y ^ t , i − y t , i ,     Ω = t , i     y t , i ≠ 0 ,
where yt,i and y ^ t , i are the ground-truth and predicted flow of node i at horizon t, and Ω is the set of non-zero targets. Because the simulation has no missing data, Ω excludes genuine zero flows; this follows the masked loss of PatchSTG [33] and prevents the many zero targets from dominating training (Section 4.2).
In summary, CRGNN combines road-aware spatial partitioning with bidirectional (intra-/inter-block) attention, and temporal patching with multiperiod encoding. Together with multiscale fusion and a lightweight decoder, this design balances accuracy and efficiency in spatio-temporal dependency modeling for complex road networks.

5. Mixed-Traffic Simulation and Dataset

5.1. Simulation Platform and Road Network

Because large-scale HDV–AV mixed traffic does not yet exist, we construct it with the microscopic traffic simulator Simulation of Urban MObility (SUMO) [15], which has been widely used for mixed-traffic and AV studies [15]. The road network geometry is taken from a real urban area in Beijing (Figure 6). The traffic demand, however, is synthetic and is not calibrated against observed counts, so the benchmark reproduces the topology and road attributes of a real network but not its observed traffic. The network is extracted from OpenStreetMap [53] and converted with SUMO’s netconvert tool into a network file that preserves key topological elements, including intersections, arterials, and connecting ramps, as well as the speed limit, number of lanes, and length of every segment.
Figure 6. Simulated urban road network in Beijing extracted from OpenStreetMap. Only the road geometry and attributes are taken from the real network; the traffic demand is synthetic. Edge color indicates the speed limit and line width the number of lanes; orange dots mark the 123 detectors used in the model.

5.2. Mixed-Traffic Generation

A custom script generates traffic demand for 24-h simulation periods. The demand includes five vehicle classes: HDVs, AVs, buses, trucks, and bicycles. To reflect the behavior of each class, differentiated car-following and lane-changing parameters are configured. In particular, AVs use the Intelligent Driver Model (IDM) [16], whose deterministic and smooth acceleration profile represents automated longitudinal control, whereas HDVs use the Krauss model [17], SUMO’s default stochastic model that includes random driver imperfection. This configuration makes the two vehicle types differ in the structure of their car-following models. Four scenarios are generated with AV penetration rates ρ ∈ {20%,40%,60%,80%}. For each simulated day, the network is loaded during the first three hours, after which the demand remains approximately stationary.
Vehicle kinematics in mixed traffic. Vehicles in a lane are indexed in the direction of travel so that vehicle n − 1 is the immediate leader of vehicle n. With xn the position of the front bumper, vn the speed, and ln−1 the length of the leader, the gap and the approaching rate of vehicle n are
s n t = x n − 1 t − x n t − l n − 1 ,     Δ v n t = v n t − v n − 1 t ,
and positions are advanced at each simulation step of length Δt as
x n t + Δ t = x n t + v n t + Δ t   Δ t .
The car-following behavior is determined by the type of the following vehicle, regardless of the type of its leader. Denoting the sets of AVs and HDVs by A and H , the speed update is
v n t + Δ t = v n t + v ˙ n IDM t   Δ t , n ∈ A , v n Krauss t + Δ t , n ∈ H ,
where v ˙ n IDM and v n Krauss are given below. Figure 7 illustrates the two cases with an HDV leader: an HDV following an HDV and an AV following an HDV; in both panels, traffic moves to the right, sn is the gap between the follower n and its leader n − 1, and vn and vn−1 are their speeds.
Figure 7. Comparison of car-following behaviors in mixed traffic, including (a) HDV following HDV under the Krauss model and (b) AV following HDV under the Intelligent Driver Model (IDM).
Car-following model of AVs. The longitudinal motion of AVs follows the IDM [16], in which the acceleration v ˙ n IDM = d v n / dt of vehicle n is
d v n dt = a 1 − v n v 0 δ − s * v n , Δ v n s n 2 ,
s * v n , Δ v n = s 0 + max 0 ,   v n T + v n   Δ v n 2 ab ,
where vn is the speed of vehicle n, sn is the gap to its leader n − 1, Δvn = vn − vn−1 is the approaching rate, v0 is the desired speed, T is the desired time headway, s0 is the minimum standstill gap, a and b are the maximum acceleration and the comfortable deceleration, and δ is the acceleration exponent. Because the IDM is deterministic and collision-free, it represents the smooth and consistent longitudinal control of automated vehicles.
Car-following model of HDVs. HDVs follow the Krauss model [17], the default car-following model of SUMO [15]. At each simulation step of length Δt, the safe speed with respect to the leader is
v safe = v n − 1 + s n − v n − 1 τ v ¯ / b + τ ,     v ¯ = v n + v n − 1 2 ,
and the speed is updated as
v n t + Δ t = max 0 ,   min v max ,   v n t + a Δ t ,   v safe − σ a Δ t   η ,     η ∼ U 0 , 1 ,
where τ is the driver reaction time, vmax is the maximum speed, and σ ∈ [0,1] is the driver imperfection. The random term σaΔt η reproduces the speed fluctuations of human drivers, so the two vehicle types differ both in their mean car-following behavior and in its variability.
AV penetration rate. For each scenario, the AV penetration rate is defined as
ρ = N AV N AV + N HDV ,
where NAV and NHDV are the numbers of AVs and HDVs in the generated demand. The E3 detectors additionally record the realized AV share at detector i in aggregation interval t:
ρ i t = n i AV t n i t ,
where ni(t) is the number of vehicles passing detector i during interval t and n i AV t is the number of AVs among them.
The car-following, lane-changing, and demand settings used in all scenarios are listed in Table 2. The parameter values are the SUMO defaults for passenger cars. They were not calibrated against field trajectories or detector counts, because no field data with a known AV share are available for this network. The two vehicle types therefore share the acceleration, deceleration, standstill gap, and vehicle length and differ in the structure of their models (deterministic IDM versus stochastic Krauss) and in the parameters that exist in only one model (T and δ for the IDM; τ and σ for the Krauss model). The benchmark is intended to compare prediction methods under controlled vehicle mixes, not to reproduce the observed traffic of the area.
Table 2. Simulation parameters of the mixed-traffic scenarios.

5.3. Data Collection

E3 (multientry/multiexit) detectors are deployed on the entry lanes of all intersections, recording the number of passing road users, the number of AVs among them, and their mean speed at a 300-s aggregation interval. In addition, the positions of all AVs (planar coordinates and longitude/latitude) are recorded through the TraCI interface at the same interval. The simulation runs with a 0.1-s step, and an external Python controller handles real-time interaction with SUMO and data acquisition. All outputs, including vehicle trajectories, detector measurements, and the network topology, are stored in structured formats, providing a complete basis for traffic-state analysis and neural-network modeling. The complete simulation and data-processing pipeline is summarized in Figure 8.
Figure 8. Simulation and data-processing pipeline integrating SUMO-based mixed-traffic simulation, detector-based data collection, data preprocessing, and traffic flow prediction.
The main dataset, used for the model comparison in Section 6.4, consists of 30 independent 24-h simulations, giving 8640 time steps at the 5-min resolution. Of the 169 detectors, the 123 that recorded traffic are used as graph nodes, connected by 231 directed edges (175 undirected node pairs). The data are split chronologically into training (days 1–21), validation (days 22–24), and test (days 25–30) sets, a ratio of 7:1:2. Because the network includes cycleways and footways, bicycles account for about 81% of the road users counted by the detectors in the dataset used for the main comparison (Section 6.4); AVs account for about half of the counted motor vehicles and about 10% of all counted road users. Bicycles are counted because the detectors on approaches with cycle lanes record all road users that cross them; the title and the interpretation of the results refer to this multimodal flow, in which HDVs and AVs are a minority. Table 3 summarizes the dataset.
Table 3. Summary of the mixed-traffic dataset.

6. Experiments

6.1. Baselines

CRGNN is compared with six learning-based models that represent the main families of graph-based traffic prediction, from purely spatial graph networks to recent spatio-temporal Transformers, and with two non-learning references.
GCN [21]: a graph convolutional network that aggregates the features of neighboring nodes through a normalized adjacency matrix, based on a first-order approximation of spectral graph convolution. It models spatial dependencies on a fixed graph and has no dedicated component for temporal dependencies, so it indicates how much can be achieved with spatial aggregation alone.
GAT [28]: a graph attention network that replaces the fixed normalized adjacency of GCN with attention weights learned over each node’s neighbors. Like GCN, it is a purely spatial model; comparing the two shows whether adaptive neighbor weights help on this network.
STGCN [2]: a spatio-temporal graph convolutional network that stacks blocks of gated temporal convolutions and spectral graph convolutions. Its fully convolutional structure captures spatial and temporal dependencies jointly and makes it a standard spatio-temporal baseline.
PDG [54]: PDG2Seq, a periodic dynamic graph-to-sequence model. It combines learned periodic features (time of day and day of week) with features of the current traffic state to construct dynamic graphs, and it predicts future traffic with a sequence-to-sequence encoder–decoder. It represents models with time-varying graphs.
STWave [32]: a model that disentangles traffic series into trend and event components with a wavelet transform, models the two components separately, and fuses them with an efficient spectral graph attention network. It represents attention-based models that explicitly separate stable and fluctuating patterns.
PatchSTG [33]: a Transformer for large-scale traffic forecasting that partitions the nodes into spatial patches with a KD-tree built on their coordinates, applies depth and breadth attention within and across patches, and projects the encoded representation directly to all horizons. Because CRGNN adopts the depth–breadth attention of PatchSTG but partitions the network according to the road-attribute-aware adjacency, PatchSTG is the most direct counterpart for assessing the road-attribute-aware design.
HADS [14], the forecasting model for mixed-autonomy traffic discussed in Section 2.1, is not included in the comparison. Its code is not publicly available, and it requires the observed AV penetration of each node in each interval as an input, which none of the other models uses; a reimplementation from the paper alone could not be verified against the results reported in [14].
All learning-based models are trained and evaluated on the same data, with the same chronological split, the same input and output lengths (Tin = Tout = 12), and the same masked metrics (Section 6.2); all of them are run in one code base that shares the data loading, the zero handling, the masked training loss in Equation (15), and the optimizer settings of Section 6.3, so that the models differ only in their architecture. PatchSTG is implemented in the same code as CRGNN and differs from it only in the selection of padding nodes, which uses the cosine similarity of the training-period flow instead of A; the comparison between the two therefore isolates the road-attribute-aware design. GCN, GAT, and STGCN are implemented following their original papers (GCN: two graph convolution layers with 64 hidden units; GAT: two attention layers with four heads of 16 units; STGCN: two ST-Conv blocks with 64–16–64 channels and temporal and Chebyshev kernel sizes of 3) on the binary topological adjacency of the network. PDG and STWave are run with the official code of their authors and its default model settings, except that the number of spectral features of STWave is reduced from 128 to 64, because it must be smaller than the number of nodes. The official code of these two models could only be trained on a CPU in our environment and is far more expensive than the other models; they are therefore trained with one random seed, a batch size of 64 as in their original settings, and early stopping on the validation MAE, and training was limited to 28 epochs for STWave and 10 epochs for PDG. Their results are therefore conservative estimates of their accuracy. Regarding inputs, CRGNN and all baselines use only the historical total flow, the time indices, and, where the model requires it, a graph of the network; none of them uses the observed AV penetration of individual nodes. GCN, GAT, and STGCN use the binary topological adjacency, STWave uses it together with a temporal-similarity graph built from the training days, PDG learns time-varying graphs, PatchSTG uses the similarity of historical flow to select padding nodes, and CRGNN uses the road-attribute-aware adjacency only for this purpose.
In addition, two non-learning references are evaluated with the same data split, input and output lengths, and mask: Persistence, which repeats the last observed value for all 12 horizons, and historical average (HA), which predicts, for each node, the mean flow at the same time of day over the training days. Persistence reflects the short-term continuity of traffic, and HA reflects its regularity over the day. A learning-based model that does not outperform both references cannot be considered to have learned useful spatio-temporal dependencies, so these references provide a lower bound for the comparison.

6.2. Evaluation Metrics

Three widely used metrics are adopted: mean absolute error (MAE), root mean square error (RMSE), and mean absolute percentage error (MAPE). All metrics are computed over the valid set Ω:
MAE = 1 Ω ∑ t , i ∈ Ω y ^ t , i − y t , i ,
RMSE = 1 Ω ∑ t , i ∈ Ω y ^ t , i − y t , i 2 ,
MAPE = 100 % Ω ∑ t , i ∈ Ω y ^ t , i − y t , i y t , i .
MAE directly reflects the average deviation in the original units and is relatively insensitive to outliers. RMSE squares errors before averaging and therefore emphasizes large deviations. MAPE expresses errors relative to the true value, which facilitates comparison across locations with different flow levels, although it becomes unstable when the true value approaches zero. Because zero flows are genuine observations (Section 4.2), we also report MAE and RMSE over all node–horizon pairs, including zero targets (MAEall and RMSEall); MAPE is undefined for zero targets and is reported over Ω only. To test whether the differences between CRGNN and the other methods are significant, we apply the Diebold–Mariano test [55] with the small-sample correction to the per-sample absolute and squared errors, averaged over nodes and horizons with zero targets retained, using a lag order of 11 to account for the overlap of the 12-step forecasts; models trained with several seeds are compared run by run with the same seed. Because a non-significant difference does not show that two models are equally accurate, we test the equivalence of CRGNN and its closest counterpart, PatchSTG, with two one-sided t-tests (TOST) [56] on the relative differences of paired runs, using an equivalence margin of ±2%, which corresponds to the variation of CRGNN’s MAPE between seeds. All learning-based models except PDG and STWave (Section 6.1) are trained with five random seeds, and we report the mean and standard deviation over the seeds.

6.3. Implementation Details

All models are implemented in PyTorch (version 2.15.0; PyTorch Foundation, San Francisco, CA, USA) and trained on an Apple MacBook Air (Apple Inc., Cupertino, CA, USA), using its GPU through the Metal Performance Shaders backend, except PDG and STWave, which are trained on the CPU (Section 6.1). The hyperparameters of CRGNN are listed in Table 4. The model is optimized with AdamW using an initial learning rate of 0.002 and weight decay of 10−4. A ReduceLROnPlateau scheduler halves the learning rate if the validation MAE does not improve for 5 epochs, and gradients are clipped to a maximum norm of 5. Training runs for 100 epochs with a batch size of 16 and is repeated with five random seeds (1–5); the checkpoint with the lowest validation MAE is used for testing. The architectural hyperparameters of the baselines are given in Section 6.1. The results in Section 6.4, Section 6.5 and Section 6.7 are obtained with the unified code base described in Section 6.1. The penetration-scenario results in Section 6.6 and the examples in Section 6.8 were obtained with the authors’ earlier implementation of CRGNN, which differs in software details; their absolute values are therefore not directly comparable with those in Table 5.
Table 4. Hyperparameter settings of CRGNN.
Table 5. Performance comparison with baseline models (averaged over 12 prediction horizons). Mean over five seeds with the standard deviation in parentheses (PDG and STWave: one seed; Section 6.1); zero targets excluded. Best results among the learning-based models in bold.
Use of generative AI. During the preparation of this manuscript, the authors used Claude (Anthropic) for translating, editing, and expanding the text, for redrawing figures, and for assistance in writing the experiment code. The authors ran all experiments, reviewed and edited the output, and take full responsibility for the content of this publication.

6.4. Comparison with Baselines

Table 5 and Figure 9 compare the prediction performance of all models on the main dataset (Table 3), in which AVs account for about half of the counted motor vehicles. Table 6 reports MAE and RMSE with zero targets retained and the results of the significance tests.
Figure 9. Comparison of MAE, RMSE, and MAPE across different prediction methods. Bars show the mean over five seeds (one seed for PDG and STWave), and error bars the standard deviation. Bars with dashed outlines denote the two non-learning references, which are separated from the learning-based models by the dotted vertical line.
Table 6. MAE and RMSE with zero targets retained (MAEall, RMSEall) and Diebold–Mariano (DM) tests of CRGNN against each method on the main dataset. For single runs, the p-value is given; for models trained with five seeds, the number of seeds in which CRGNN’s loss is significantly lower (p < 0.05), with the number in which it is significantly higher in parentheses where this occurs.
The two non-learning references indicate how much is gained by learning. Because the simulated demand is approximately stationary after the loading period (Section 5.2), the time-of-day profile is already informative: HA attains an RMSE of 54.88 and a MAPE of 25.35%, and Persistence attains an MAE of 29.85. STWave, PatchSTG, and CRGNN outperform both references on all three metrics; STGCN outperforms them in MAE and MAPE, and PDG only in MAE. GCN and GAT have higher errors than both references on all metrics, which indicates that purely spatial models cannot exploit the strong temporal regularity of this dataset, in which many detectors record low or intermittent flow. CRGNN reduces MAE by 26.2% relative to Persistence and by 31.4% relative to HA, and MAPE and RMSE by 27.9% and 29.1%, respectively, relative to HA.
Among the learning-based models, the classical graph models GCN and GAT perform poorly on all metrics (GAT’s MAPE reaches 94.27%), because they model spatial structure but have no dedicated mechanism for temporal dependencies. STGCN improves markedly by coupling graph and temporal convolutions but still lags behind models with more advanced spatio-temporal feature extraction. CRGNN and PatchSTG are the most accurate models. PatchSTG attains the lowest MAE (21.91) and RMSE (38.67), CRGNN is within 0.5% and 0.6% of these values, and both reach a MAPE of 18.28%; whether these small differences are significant is examined below. STWave, whose training was limited by its computational cost (Section 6.1), reaches a MAPE of 22.22%, between STGCN and the two patch-based Transformers. PDG, which could be trained for only 10 epochs (Section 6.1), reaches a lower MAE than both references (26.83) but a higher RMSE (59.83) and MAPE (28.91%) than HA; this result likely reflects the short training of its recurrent encoder–decoder and should not be taken as the accuracy that PDG can attain.
Retaining the zero targets lowers MAE and RMSE for all methods, because most zero targets are predicted with small errors, and it narrows the gap between the learning-based models and the references: with zeros retained, the MAE of HA (21.47) and Persistence (21.52) is close to that of STGCN (21.65). CRGNN attains the lowest MAEall (19.86) and the second-lowest RMSEall (37.42, after PatchSTG with 37.17). The Diebold–Mariano tests show that CRGNN’s squared error is significantly lower than that of every method except PatchSTG. For the absolute error, the difference is significant against HA, GCN, GAT, PDG, and STWave, in two of five seeds against STGCN, and not significant against Persistence (p = 0.31), whose absolute error on the many zero and nearly constant targets is small.
The comparison with PatchSTG gives a different picture. The DM tests between runs with the same seed are significant in both directions: CRGNN has the lower absolute error in two seeds and the higher in two others, and the squared errors differ significantly in only one seed. The differences between the two models thus depend on the random initialization more than on the padding rule. To test whether the two models are equally accurate, we applied two one-sided t-tests to the relative differences of 11 paired runs (five seeds with leaf capacity s = 8, and three seeds each with s = 12 and s = 16; Section 6.7). The mean difference of CRGNN relative to PatchSTG is +0.48% for MAE (90% confidence interval [+0.29%, +0.66%]), +0.73% for RMSE ([+0.29%, +1.16%]), −0.65% for MAEall ([−1.45%, +0.15%]), and +0.68% for RMSEall ([−0.11%, +1.48%]); all four intervals lie within the ±2% margin (TOST p < 0.01). For MAPE, the difference (−0.76%, [−2.38%, +0.86%]) is not significant (p = 0.41), but its interval exceeds the margin, so equivalence cannot be concluded. CRGNN is therefore as accurate as PatchSTG in absolute terms, with an MAE that is slightly (0.5%) but consistently higher (paired t-test, p < 0.001), while its partition is computed from static road attributes rather than from historical flow (Section 4.3).

6.5. Ablation Study

To isolate the contribution of each component, CRGNN is compared with five variants trained with the same settings and with seeds 1 and 2: (1) similarity padding, in which the padding nodes are selected by the cosine similarity of historical flow, as in PatchSTG, instead of by A; (2) random padding, in which the padding nodes are drawn at random, which tests whether any informed padding is needed; (3) w/o temporal embedding, which removes the time-of-day and day-of-week embeddings; (4) w/o node embedding, which removes the learnable spatial identity; and (5) w/o breadth attention, which removes inter-block attention so that information is exchanged only within blocks. Table 7 reports the results on the main dataset.
Table 7. Ablation study of CRGNN on the main dataset (mean over seeds 1 and 2). Δ is the relative change with respect to the full model.
Only the temporal embedding has a clear effect: without it, MAPE increases by 27.8% and RMSE by 45.7%, because the time-of-day embedding carries the daily regularity of the demand, which, as the HA reference shows (Section 6.4), already explains much of the variation. The other components change MAE by less than 1% and MAPE by less than 3%, which is comparable to the variation between seeds (Table 5). In particular, the similarity padding of PatchSTG gives slightly lower errors than padding by A, and random padding slightly higher ones. With a leaf capacity of 8, only 5 of the 128 positions of the partition are filled by padding nodes, and the road-attribute graph is sparse (mean degree 2.85), so the choice of padding nodes can affect only a small part of the attention. Removing breadth attention or the node embedding also does not reduce accuracy on this network of 123 nodes, where 16 blocks of eight nodes cover the whole network. On this benchmark, the value of the road-attribute adjacency therefore lies in providing a partition of the same quality as similarity-based padding without requiring historical data, rather than in higher accuracy; whether the padding rule and breadth attention matter more on the larger networks for which PatchSTG was designed remains to be tested (Section 7).

6.6. Effect of AV Penetration Rate

Table 8 and Figure 10 report the performance of CRGNN under different AV penetration rates. In these results, a separate model is trained and tested for each penetration rate, using the authors’ earlier implementation of CRGNN (Section 6.3).
Table 8. Performance of CRGNN under different AV penetration rates.
Figure 10. Prediction errors of CRGNN as a function of AV penetration rate.
As penetration increases from 20% to 80%, MAE decreases steadily from 20.86 to 17.04. RMSE remains roughly constant (58.04–60.00) between 20% and 60% and then drops sharply to 35.85 at 80%. MAPE, in contrast, rises from 17.06% at 20% to 28.18% at 60% before falling to 11.71% at 80%. Two observations follow for these scenarios.
First, prediction is easiest when AVs dominate. At 80% penetration, most vehicles follow the deterministic IDM with homogeneous parameters, so the traffic stream becomes more regular and its fluctuations more predictable; all three metrics reach their minimum.
Second, the relative error peaks at intermediate penetration (40–60%). In this range the vehicle mix is most heterogeneous, and interactions between the stochastic Krauss-driven HDVs and the deterministic IDM-driven AVs are most frequent. The combination of decreasing MAE and increasing MAPE in this range suggests that the additional difficulty is concentrated on low-flow nodes and periods, where small absolute errors translate into large relative errors. Each scenario, however, is a single set of simulations with six test days, evaluated with one trained model, so these differences have not been tested statistically and should be regarded as descriptive.
The main dataset itself contains a wide range of vehicle mixes: across the 81 detectors that counted at least 100 motor vehicles in the test period, the share of AVs among the counted motor vehicles ranges from 21% to 73% between the 10th and 90th percentiles. This allows the same trained model to be evaluated on traffic with different vehicle mixes, which corresponds to the practical case of a model that is trained once and applied as the mix changes. Table 9 groups these detectors by their AV share and reports the errors of CRGNN, averaged over the predictions of the five trained models. MAPE does not differ significantly between the groups (Kruskal–Wallis test, p = 0.53), whereas MAE does (p = 0.029), because MAE scales with the flow level, which also differs between the groups. Across detectors, MAPE decreases with the mean flow (Spearman ρ = −0.41, p < 0.001) but is not associated with the AV share (ρ = −0.09, p = 0.44), and the partial rank correlation between the AV share and MAPE, controlling for the mean flow and the bicycle share, is −0.02 (p = 0.83). Within one scenario, the accuracy of the trained model thus depends on the flow level of a location rather than on its AV share. This suggests that part of the differences between the scenarios in Table 8 may reflect differences in flow conditions between the simulations rather than the vehicle mix itself; separating the two effects requires several simulation replications per penetration rate (Section 7).
Table 9. Errors of CRGNN on the main dataset for detectors grouped by the share of AVs among the motor vehicles they counted in the test period (81 detectors with at least 100 motor vehicles). Flow, bicycle share, MAE, and MAPE are averaged over the detectors of each group.

6.7. Hyperparameter Sensitivity

We examine the sensitivity of CRGNN to the input window length, the number of encoder layers, the flow embedding dimension, and the leaf capacity of the partition, varying one hyperparameter at a time while keeping the others at the values in Table 4 (Table 10). The default input length of 12 steps (60 min) follows the common setting of network-wide traffic forecasting, in which one hour of history is used to predict up to one hour ahead [2,3]; we also test 6 and 24 steps. CRGNN is insensitive to these hyperparameters: across all tested values, MAE varies between 21.91 and 22.39, at most 2.0% from the default, and MAPE between 18.04% and 19.51%. A 6-step input gives almost the same MAE but a higher MAPE (19.17%), and a 24-step input does not improve accuracy (MAE 22.19, MAPE 18.45%), presumably because the demand is approximately stationary after the loading period, so that one hour of history already captures the relevant dynamics. Three to seven encoder layers give similar results, and the largest flow embedding (Dx = 64) gives slightly higher errors. Increasing the leaf capacity from 8 to 12 or 16, which increases the number of padding positions from 5 to 69 and 133, changes the MAE of CRGNN and PatchSTG by less than 1%; PatchSTG has a slightly lower MAE at every leaf capacity (by 0.4–0.5%), consistent with the equivalence result in Section 6.4.
Table 10. Sensitivity of CRGNN to its main hyperparameters on the main dataset (mean over seeds 1 and 2; for the leaf capacity, CRGNN/PatchSTG, mean over seeds 1–3). Default values are marked with an asterisk.

6.8. Case Study

To examine prediction quality at the node level, Figure 11, Figure 12 and Figure 13 compare the predicted and ground-truth flow over the 12-step (60-min) horizon for three representative nodes with different flow levels and trends, using the first test sample (01:00–02:00 on day 25) of the earlier implementation (Section 6.3).
Figure 11. Comparison of CRGNN multistep predictions and ground truth at Node 4 under high and stable traffic flow conditions.
Figure 12. Comparison of CRGNN multistep predictions and ground truth at Node 87 under rising traffic flow conditions.
Figure 13. Comparison of CRGNN multistep predictions and ground truth at Node 92 under low traffic flow conditions with an abrupt increase.
At node 4 (Figure 11), which carries high and stable flow (approximately 770–790 veh/h, mostly bicycles), the prediction closely follows the ground truth throughout the horizon, with deviations of about 1–2%.
At node 87 (Figure 12), where flow rises from near zero to about 190 veh/h, the model accurately captures the overall upward trend, although it smooths the short-term fluctuations around steps 5–9.
At node 92 (Figure 13), which has low flow followed by a sharp increase after step 10, the model anticipates the rising trend but reacts earlier and more smoothly than the abrupt jump in the ground truth. These cases illustrate that CRGNN reliably captures trends at different flow levels. The smoothing of sudden changes is typical of models trained with an MAE objective and one-shot decoding, and it also explains the relatively high MAPE on low-flow nodes discussed in Section 6.6.

7. Discussion and Limitations

This study has several limitations that suggest directions for future research. First, all experiments are conducted on simulated data from a single urban network. The simulation uses the geometry of a real road network, but its demand is synthetic and its car-following models use SUMO default parameters that were not calibrated against field data (Section 5.2). The reported accuracies therefore describe performance on a controlled benchmark, and validation on real-world mixed-traffic data (for example, from robotaxi pilot zones) is needed as such data become available. Second, the predicted quantity is the total number of road users counted by each detector, which in the study network is dominated by bicycles; predicting motor-vehicle flow separately, or HDV and AV flows jointly, would isolate the effect of automation more directly. Third, apart from the loading period at the start of each simulated day, the generated demand is approximately stationary and does not differ between days of the week, so the temporal embeddings are not challenged by realistic peak-hour or weekly variation. Fourth, AV behavior is represented by the IDM with fixed parameters, and HDV behavior by a single stochastic model without distinct driving styles (Section 2.1); neither heterogeneous or learned AV policies nor cooperative driving through V2X communication (e.g., CACC platooning) is included, and these may change both the flow characteristics and the penetration effect reported in Section 6.6. Fifth, the road-attribute adjacency is static and, in a network dominated by single-lane segments, coarse; incorporating real-time traffic states, such as current speed, into the edge weights would allow the graph to adapt to evolving conditions. Sixth, each penetration scenario consists of one set of simulations with six test days, evaluated with the earlier implementation of CRGNN; the differences between scenarios could therefore not be tested statistically, and the node-level analysis in Section 6.6 suggests that they partly reflect flow conditions. Additional simulation replications with different random seeds, evaluated with all baselines, are needed to separate the effect of the vehicle mix from that of the flow conditions. Seventh, the ablation study shows that, on this network of 123 nodes, the road-attribute padding and breadth attention do not improve accuracy over simpler alternatives; their benefit on larger networks remains to be demonstrated. Finally, the current model uses aggregate flow as input; explicitly incorporating vehicle-type-specific features, such as the real-time AV share at each node, is a natural extension for mixed traffic.

8. Conclusions

This paper addressed traffic flow prediction in mixed traffic of human-driven and autonomous vehicles, a setting in which prediction models trained on HDV-dominated data may no longer be reliable and for which no public dataset exists. To overcome the lack of real mixed-traffic data, we built a SUMO simulation benchmark on the road network of a Beijing district, in which AVs follow the IDM and HDVs follow the Krauss model under four AV penetration rates and in which bicycles, buses, and trucks complete a multimodal traffic stream. On this benchmark, we proposed CRGNN, which combines a road-attribute-aware adjacency matrix derived from speed limits, lane counts, and segment lengths; depth–breadth attention over road-aware spatial blocks; learnable multiperiod temporal embeddings; and a lightweight non-autoregressive decoder.
The study answered the three research questions as follows. Regarding RQ1, the road-attribute-aware graph provides a way to encode the carrying capacity of road segments into the spatial structure of the model from static map attributes alone; used to select the padding nodes of the spatial partition, it gave an accuracy equivalent to the similarity-based padding of PatchSTG (within ±2% in MAE and RMSE) without requiring historical flow data, although it did not improve accuracy on this network. Regarding RQ2, factorizing spatial attention into intra-block and inter-block components reduces the per-layer spatial complexity from O N 2 to O N M + P , and the one-shot decoder predicts all 12 horizons without feeding back earlier predictions. Regarding RQ3, CRGNN and PatchSTG were the most accurate of nine methods, including two non-learning references, with MAEs of 22.02 and 21.91 and the same MAPE of 18.28%, and CRGNN had significantly lower squared errors than the other methods. As the AV penetration rate increased from 20% to 80%, the MAE of CRGNN decreased from 20.86 to 17.04, whereas MAPE rose to a maximum of 28.18% at 60% before falling to 11.71% at 80%. In these scenarios, prediction was easiest when AVs dominated, and the most heterogeneous vehicle mixes produced the largest relative errors. Within the main dataset, however, the error of a trained model at a detector depended on its flow level rather than on its AV share, so the differences between scenarios are descriptive and require replicated simulations before they can be attributed to the vehicle mix.
These findings have practical implications for intelligent transportation systems in the transition to automated driving. Prediction models deployed in traffic management centers or cooperative vehicle–infrastructure systems should be evaluated under the range of vehicle mixes that they are expected to encounter, rather than only under current HDV-dominated conditions, and intermediate penetration levels deserve particular attention. Simulation benchmarks with controllable penetration, such as the one developed in this study, provide a practical means for such evaluation until large-scale field data become available.
Several directions for future research follow from this study. First, the model should be validated on real-world mixed-traffic data, for example, from robotaxi pilot zones, and transferred to road networks in other cities to examine its generality. Second, the prediction target can be refined: predicting motor-vehicle flow separately from bicycle flow, or HDV and AV flows jointly, and using the realized AV share ρi(t) at each node as an additional input would allow the model to respond directly to changes in the vehicle mix. Third, the road-attribute-aware graph can be made dynamic by incorporating real-time traffic states, such as speed, into the edge weights, and the evaluation should be extended to larger networks, to all baselines under all penetration rates, and to replicated simulations. Fourth, the simulation can be extended with time-varying demand that includes peak periods and weekly patterns and with cooperative driving strategies enabled by V2X communication, such as cooperative adaptive cruise control and platooning. Finally, integrating the predictor with signal control, route guidance, and edge-computing platforms would allow its benefits for next-generation traffic management to be assessed in a closed loop.

Author Contributions

Conceptualization, J.L. and S.L.; methodology, J.L.; software, J.L. and Q.P.; validation, J.L.; formal analysis, J.L.; investigation, J.L. and Q.P.; data curation, J.L. and Q.P.; writing—original draft preparation, J.L. and (Y.P.); writing—review and editing, S.L. and (Y.P.); visualization, J.L.; supervision, S.L. and (Y.P.). All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The simulation data and code presented in this study are available from the corresponding author upon reasonable request.

Acknowledgments

During the preparation of this manuscript, the authors used Claude (Anthropic) for translating, editing, and expanding the text, for redrawing figures, and for assistance in writing the experiment code. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Liu, F.; Wang, Q.; Chen, X. A review of traffic flow prediction methods in intelligent transportation system construction. Appl. Sci. 2025, 15, 3866. [Google Scholar] [CrossRef] [Scilit]
  2. 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]
  3. Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. In Proceedings of the International Conference on Learning Representations (ICLR), Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
  4. Di, X.; Shi, R. A survey on autonomous vehicle control in the era of mixed-autonomy: From physics-based to AI-guided driving policy learning. arXiv 2020, arXiv:2007.05156. [Google Scholar]
  5. Li, T.; Han, X.; Ma, J.; Ramos, M.; Lee, C. Operational safety of automated and human driving in mixed traffic environments: A perspective of car-following behavior. Proc. Inst. Mech. Eng. Part O J. Risk Reliab. 2023, 237, 355–366. [Google Scholar] [CrossRef] [Scilit]
  6. Guo, X.-Y.; Zhang, G.; Jia, A.-F. Study on mixed traffic of autonomous vehicles and human-driven vehicles with different cyber interaction approaches. Veh. Commun. 2023, 39, 100550. [Google Scholar] [CrossRef] [Scilit]
  7. Rahmati, Y.; Khajeh Hosseini, M.; Talebpour, A.; Swain, B.; Nelson, C. Influence of autonomous vehicles on car-following behavior of human drivers. Transp. Res. Rec. 2019, 2673, 367–379. [Google Scholar] [CrossRef] [Scilit]
  8. Chen, X.; Wu, Z.; Liang, Y. Modeling mixed traffic flow with connected autonomous vehicles and human-driven vehicles in off-ramp diverging areas. Sustainability 2023, 15, 5651. [Google Scholar] [CrossRef] [Scilit]
  9. Talebpour, A.; Mahmassani, H.S. Influence of connected and autonomous vehicles on traffic flow stability and throughput. Transp. Res. Part C Emerg. Technol. 2016, 71, 143–163. [Google Scholar] [CrossRef] [Scilit]
  10. Stern, R.E.; Cui, S.; Delle Monache, M.L.; Bhadani, R.; Bunting, M.; Churchill, M.; Hamilton, N.; Haulcy, R.; Pohlmann, H.; Wu, F.; et al. Work, Dissipation of stop-and-go waves via control of autonomous vehicles: Field experiments. Transp. Res. Part C Emerg. Technol. 2018, 89, 205–221. [Google Scholar] [CrossRef] [Scilit]
  11. Wang, B.; Wang, J.; Zhu, Y.; Wang, T.; Zhang, Z. Short-term traffic flow prediction model based on ARMA-SVR. J. Highw. Transp. Res. Dev. 2021, 38, 126–133. (In Chinese) [Google Scholar]
  12. Li, T.; Wang, T.; Zhang, Y. Freeway traffic flow prediction model considering multiple features. J. Transp. Syst. Eng. Inf. Technol. 2021, 21, 101–111. (In Chinese) [Google Scholar]
  13. Zhang, X.; Hao, J. Application of EEMD+BiGRU combined model in short-term traffic flow prediction. J. Natl. Univ. Def. Technol. 2023, 45, 73–80. (In Chinese) [Google Scholar]
  14. Li, S.; Zeng, Q.; Peng, Q.; Pan, Y.; Wang, Y.; Gao, R.; Zhang, N.; Xia, C.; Xiao, R.; Huang, J.; et al. Event-driven topology reconfiguration and penetration-aware graph attention for mixed-autonomy traffic forecasting. Symmetry 2026, 18, 1538. [Google Scholar] [CrossRef] [Scilit]
  15. Lopez, P.A.; Behrisch, M.; Bieker-Walz, L.; Erdmann, J.; Flötteröd, Y.-P.; Hilbrich, R.; Lücken, L.; Rummel, J.; Wagner, P.; Wießner, E. Microscopic traffic simulation using SUMO. In Proceedings of the 21st International Conference on Intelligent Transportation Systems (ITSC), Maui, HI, USA, 4–7 November 2018; pp. 2575–2582. [Google Scholar]
  16. Treiber, M.; Hennecke, A.; Helbing, D. Congested traffic states in empirical observations and microscopic simulations. Phys. Rev. E 2000, 62, 1805–1824. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Krauß, S. Microscopic Modeling of Traffic Flow: Investigation of Collision Free Vehicle Dynamics. Ph.D. Thesis, University of Cologne, Cologne, Germany, 1998. [Google Scholar]
  18. Ye, L.; Yamamoto, T. Modeling connected and autonomous vehicles in heterogeneous traffic flow. Physica A Stat. Mech. Its Appl. 2018, 490, 269–277. [Google Scholar] [CrossRef] [Scilit]
  19. Zhang, Q.; Xing, Y.; Wang, J.; Fang, Z.; Liu, Y.; Yin, G. Interaction-aware and driving style-aware trajectory prediction for heterogeneous vehicles in mixed traffic environment. IEEE Trans. Intell. Transp. Syst. 2025, 26, 10710–10724. [Google Scholar] [CrossRef] [Scilit]
  20. Zhang, Q.; Yan, Y.; Wang, J.; Xing, Y.; Liu, Y. Enhancing autonomous driving with physics-informed and human-guided reinforcement learning. IEEE Trans. Syst. Man. Cybern. Syst. 2026. early access. [Google Scholar] [CrossRef] [Scilit]
  21. Kipf, T.N.; Welling, M. Semi-supervised classification with graph convolutional networks. In Proceedings of the International Conference on Learning Representations (ICLR), Toulon, France, 24–26 April 2017. [Google Scholar]
  22. Wang, M.; Peng, J.; Huang, F. Traffic flow prediction model based on multi-time-scale spatio-temporal graph network. Comput. Sci. 2022, 49, 40–48. (In Chinese) [Google Scholar]
  23. Ni, Q.; Peng, W.; Zhang, Z.; Zhai, Y. Spatio-temporal graph neural network for traffic flow prediction based on information enhanced transmission. J. Comput. Res. Dev. 2022, 59, 282–293. (In Chinese) [Google Scholar]
  24. Gu, Z.; Chen, C.; Zheng, J.; Sun, D. Traffic flow prediction based on spatio-temporal graph convolutional recurrent neural network. Control Decis. 2022, 37, 645–653. (In Chinese) [Google Scholar]
  25. Gupta, A.; Maurya, M.K.; Goyal, N.; Chaurasiya, V.K. ISTGCN: Integrated spatio-temporal modeling for traffic prediction using traffic graph convolution network. Appl. Intell. 2023, 53, 29153–29168. [Google Scholar] [CrossRef] [Scilit]
  26. Oluwasanmi, A.; Aftab, M.U.; Qin, Z.; Sarfraz, M.S.; Yu, Y.; Rauf, H.T. Multi-head spatiotemporal attention graph convolutional network for traffic prediction. Sensors 2023, 23, 3836, Correction in Sensors 2024, 24, 8214. https://doi.org/10.3390/s24248214. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Proceedings of the Advances in Neural Information Processing Systems 30 (NeurIPS 2017); Curran Associates, Inc.: Red Hook, NY, USA, 2017; pp. 5998–6008. [Google Scholar]
  28. Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Liò, P.; Bengio, Y. Graph attention networks. In Proceedings of the International Conference on Learning Representations (ICLR), Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
  29. Liang, X.; Xia, M.; He, Y.; Liang, T. Traffic flow prediction based on spatio-temporal multi-head graph attention network. Acta Electron. Sin. 2024, 52, 500–509. (In Chinese) [Google Scholar]
  30. Zhou, C.; Lin, P. Traffic volume prediction method based on multi-channel Transformer. Appl. Res. Comput. 2023, 40, 435–439. (In Chinese) [Google Scholar]
  31. Kumar, R.; Mendes-Moreira, J.; Chandra, J. CSCN: An efficient snapshot ensemble learning based sparse transformer model for long-range spatial-temporal traffic flow prediction. Data Min. Knowl. Discov. 2025, 39, 31. [Google Scholar] [CrossRef] [Scilit]
  32. Fang, Y.; Qin, Y.; Luo, H.; Zhao, F.; Xu, B.; Zeng, L.; Wang, C. When spatio-temporal meet wavelets: Disentangled traffic forecasting via efficient spectral graph attention networks. In Proceedings of the IEEE 39th International Conference on Data Engineering (ICDE), Anaheim, CA, USA, 26 July 2023; pp. 517–529. [Google Scholar]
  33. Fang, Y.; Liang, Y.; Hui, B.; Shao, Z.; Deng, L.; Liu, X.; Jiang, X.; Zheng, K. Efficient large-scale traffic forecasting with transformers: A spatial data management perspective. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD), Toronto, ON, Canada, 3–7 August 2025. [Google Scholar]
  34. Shao, Z.; Zhang, Z.; Wang, F.; Wei, W.; Xu, Y. Spatial-temporal identity: A simple yet effective baseline for multivariate time series forecasting. In Proceedings of the 31st ACM International Conference on Information and Knowledge Management (CIKM), Atlanta, GA, USA, 17–21 October; pp. 4454–4458.
  35. Shi, R.; Mo, Z.; Di, X. Physics-informed deep learning for traffic state estimation: A hybrid paradigm informed by second-order traffic models. Proc. AAAI Conf. Artif. Intell. 2021, 35, 540–547. [Google Scholar] [CrossRef] [Scilit]
  36. Huang, A.J.; Agarwal, S. Physics informed deep learning for traffic state estimation. In Proceedings of the IEEE 23rd International Conference on Intelligent Transportation Systems (ITSC), Rhodes, Greece, 20–23 September 2020; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  37. Pereira, M.; Lang, A.; Kulcsár, B.A. Short-term traffic prediction using physics-aware neural networks. Transp. Res. Part C Emerg. Technol. 2022, 142, 103772. [Google Scholar] [CrossRef] [Scilit]
  38. Ji, J.; Wang, J.; Jiang, Z.; Jiang, J.; Zhang, H. STDEN: Towards physics-guided neural networks for traffic flow prediction. Proc. AAAI Conf. Artif. Intell. 2022, 36, 4048–4056. [Google Scholar] [CrossRef] [Scilit]
  39. Lv, M.; Hong, Z.; Chen, L.; Chen, T.; Zhu, T.; Ji, S. Temporal multi-graph convolutional network for traffic flow prediction. IEEE Trans. Intell. Transp. Syst. 2021, 22, 3337–3348. [Google Scholar] [CrossRef] [Scilit]
  40. Chen, Y.; Qi, X.; Hu, S.; Yao, Y. Short-term traffic flow prediction based on VMD multi-stage optimization. Comput. Simul. 2025, 42, 126–132. (In Chinese) [Google Scholar]
  41. Ma, F.; Yang, Z.; Wang, J.; Sun, Q.; Bao, B.; Guo, Q.; Huang, K. Short-term traffic speed prediction model based on meteorological-traffic multi-channel data fusion. J. Traffic Transp. Eng. 2024, 24, 183–196. (In Chinese) [Google Scholar]
  42. Hu, C.; Zeng, E.; Rong, H. Digital twin traffic flow prediction based on dual graph convolution mechanism. Acta Electron. Sin. 2025, 53, 141–150. (In Chinese) [Google Scholar]
  43. Jiang, T.; Yang, L.; Liu, Y.; Zhang, S.; Shi, S. Traffic flow prediction based on a dynamic spatio-temporal decomposition framework. Sci. Technol. Eng. 2025, 25, 3007–3017. (In Chinese) [Google Scholar] [CrossRef] [Scilit]
  44. He, W.; Pei, B.; Li, Y.; Liu, X.; Xu, S. Traffic flow prediction based on bidirectional adaptive gated graph convolutional network. J. Transp. Syst. Eng. Inf. Technol. 2023, 23, 187–197. (In Chinese) [Google Scholar]
  45. Pulligilla, M.K.; Vanmathi, C. A traffic flow prediction framework based on integrated federated learning and recurrent long short-term networks. Peer-To-Peer Netw. Appl. 2024, 17, 4131–4155. [Google Scholar] [CrossRef] [Scilit]
  46. Kumar, N.; Martin, H.; Raubal, M. Enhancing deep learning-based city-wide traffic prediction pipelines through complexity analysis. Data Sci. Transp. 2024, 6, 24. [Google Scholar] [CrossRef] [Scilit]
  47. Rajagopal, M.; Sivasakthivel, R.; Anitha, G.; Arunachalam, K.P.; Loganathan, K.; Abbas, M.; Kalathil, S.; Rao, K.S. An efficient intelligent transportation system for traffic flow prediction using meta-temporal hyperbolic quantum graph neural networks. Sci. Rep. 2025, 15, 27476. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  48. Ma, L.; Wang, Y.; Hu, Y.; Fan, L. Pre-trained long-short spatio-temporal interleaved Transformer for traffic flow prediction. J. Zhejiang Univ. (Eng. Sci.) 2025, 59, 669–678. (In Chinese) [Google Scholar]
  49. Glorot, X.; Bengio, Y. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the 13th International Conference on Artificial Intelligence and Statistics (AISTATS), Sardinia, Italy, 13–15 May 2010; pp. 249–256. [Google Scholar]
  50. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
  51. Ba, J.L.; Kiros, J.R.; Hinton, G.E. Layer normalization. arXiv 2016, arXiv:1607.06450. [Google Scholar]
  52. Hendrycks, D.; Gimpel, K. Gaussian error linear units (GELUs). arXiv 2016, arXiv:1606.08415. [Google Scholar]
  53. Haklay, M.; Weber, P. OpenStreetMap: User-generated street maps. IEEE Pervasive Comput. 2008, 7, 12–18. [Google Scholar] [CrossRef] [Scilit]
  54. Fan, J.; Weng, W.; Chen, Q.; Wu, H.; Wu, J. PDG2Seq: Periodic dynamic graph to sequence model for traffic flow prediction. Neural Netw. 2025, 183, 106941. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  55. Diebold, F.X.; Mariano, R.S. Comparing predictive accuracy. J. Bus. Econ. Stat. 1995, 13, 253–263. [Google Scholar] [CrossRef] [Scilit]
  56. Schuirmann, D.J. A comparison of the two one-sided tests procedure and the power approach for assessing the equivalence of average bioavailability. J. Pharmacokinet. Biopharm. 1987, 15, 657–680. [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.