Next Article in Journal
Progress and Challenges in Joining for Precision Endoscope Fabrication
Previous Article in Journal
Fuzzy Vaults in Biometric Cryptosystems: A Survey of Techniques, Performance, and Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition

College of Information and Communication Engineering, Beijing Information Science and Technology University, Beijing 102206, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(9), 2826; https://doi.org/10.3390/s26092826
Submission received: 11 March 2026 / Revised: 18 April 2026 / Accepted: 24 April 2026 / Published: 1 May 2026
(This article belongs to the Section Vehicular Sensing)

Abstract

To address the limitations of existing vehicle trajectory prediction methods, including insufficient modeling of dynamic inter-vehicle interactions, weak temporal continuity of complex driving intentions such as lane-changing, and high uncertainty in future trajectory prediction, this paper proposes a vehicle trajectory prediction method that integrates Dynamic Graph Neural Networks (DyGNN) with Transformer. Specifically, a time-varying interaction graph is constructed to model the dynamically evolving topological interaction relationships among vehicles, while a Transformer encoder is employed to extract temporal dependency features from historical trajectory sequences. In this way, the joint representation of spatial interaction information and temporal evolution information is achieved, thereby improving the accuracy and continuity of driving intention recognition in complex traffic scenarios. On this basis, driving intention is further introduced into the trajectory prediction process as a prior constraint, which effectively reduces the uncertainty of future trajectory prediction. Comparative experiments on real-world traffic datasets demonstrate that the proposed method maintains low prediction errors across different prediction horizons, showing good effectiveness and robustness.

1. Introduction

In highway scenarios, high traffic density and large speed variations give rise to complex and highly dynamic interactions among vehicles. During vehicle intent recognition, particularly under such conditions, considerable uncertainty is often present. If the intentions of surrounding vehicles cannot be identified in a timely and accurate manner, and their future trajectories cannot be reliably predicted, traffic conflicts or even accidents may occur, thereby negatively affecting road efficiency and driving safety [1]. Therefore, research on vehicle intent recognition and trajectory prediction in complex traffic environments is of significant practical importance for improving the perception and decision-making capabilities of autonomous driving systems.
Early studies on driving intent recognition and trajectory prediction primarily relied on traditional probabilistic models and classical machine learning algorithms, such as Hidden Markov Models (HMM) and their variants, including Gaussian Mixture HMM (GMM-HMM) and Support Vector Machines (SVM) [2]. These methods are typically built upon manually designed discrete trajectory features, which makes it difficult to fully capture continuously evolving vehicle motion states and dynamic inter-vehicle interactions. As a result, their adaptability and generalization ability in complex traffic environments remain limited.
With the advancement of data-driven methodologies, neural network-based trajectory prediction models have become a major research focus [3]. Ji Xuewu et al. employed Long Short-Term Memory (LSTM) networks to develop a joint driving intent recognition and trajectory prediction framework, and incorporated a Mixture Density Network (MDN) to model trajectory distributions and improve predictive expressiveness [4]. Xie et al. [5] combined the spatial feature extraction capability of Convolutional Neural Networks (CNNs) with the temporal modeling strength of LSTMs to build a trajectory prediction model for surrounding vehicles. Guo Jinghua et al. [6,7] further introduced a residual bidirectional LSTM architecture, achieving simultaneous improvements in driving behavior recognition and trajectory prediction accuracy. In addition, Yook et al. [8] integrated high-definition map information into deep learning models to strengthen environmental constraint modeling in trajectory prediction. Gao Zhenhai et al. [9] proposed a Multi-Bidirectional LSTM (MB-LSTM) model that incorporates interaction-aware environmental features and demonstrated strong performance in long-horizon trajectory prediction tasks. In addition, Raju et al. [10] proposed an HCNN-based hybrid model that improves prediction accuracy while reducing latency. Liang et al. [11] designed a hybrid CNN–GCN architecture to achieve more accurate trajectory prediction by separately extracting vehicle-specific features and lane-related features. Huang et al. [12] proposed the Spatial-Temporal Graph Attention Network (STGAT), which jointly models spatial interaction relationships among agents and temporal evolution dependencies, thereby effectively improving trajectory prediction performance in complex interactive scenarios and providing an important reference for subsequent graph-based trajectory prediction methods. With the development of attention mechanisms and multi-agent collaborative modeling, S. Mozaffari et al. [13] developed a vehicle trajectory prediction model incorporating a multi-head attention mechanism, which achieves collaborative prediction by integrating multi-vehicle interaction information in traffic scenes. Zhang et al. [14] further proposed a prediction and planning framework integrating a Bayesian–Gaussian mixture model, and experimental results showed that the framework achieved high prediction accuracy over a 5 s prediction horizon.
Although the aforementioned methods have improved trajectory prediction accuracy to a certain degree, most models still rely primarily on sequential modeling and remain limited in their ability to capture complex and time-varying inter-vehicle interactions. In recent years, Dynamic Graph Neural Networks have been increasingly adopted in traffic scene modeling due to their strengths in multi-agent interaction representation. For example, models such as DGInet [15] employ dynamic graph structures to characterize spatiotemporal dependencies among vehicles, thereby improving prediction performance. Meanwhile, the Transformer architecture has demonstrated strong capability in modeling long-range temporal dependencies and global contextual relationships. Methods such as TPNet [16] leverage Transformers to generate multimodal trajectory proposals, significantly enhancing both the diversity and accuracy of prediction outcomes. In addition, generative methods such as diffusion models [17] have gradually been introduced into trajectory prediction tasks to model complex probability distributions in continuous spaces.
Motivated by the above research background, this paper proposes a spatiotemporal interaction modeling framework that integrates a Dynamic Graph Neural Network (DyGNN) with a Transformer architecture for complex highway merge scenarios. First, a dynamic spatiotemporal interaction graph is constructed, and DyGNN is employed to extract structured inter-vehicle interaction features. Subsequently, historical trajectory information is incorporated into a Transformer-based module to infer the intentions of surrounding vehicles. The inferred intent is then introduced into the trajectory prediction stage as a prior constraint to guide future trajectory estimation. This method can simultaneously model vehicle motion characteristics and multi-vehicle interaction relationships, providing effective support for autonomous driving systems to make safe decisions in complex traffic scenarios.

2. Scene Description

This study considers a target vehicle, denoted as S 0 . In highway lane-changing and car-following scenarios, the driving intent and trajectory evolution of the target vehicle are determined not only by its own motion state but also by interactions with surrounding vehicles. In general, the most relevant interaction objects for longitudinal following and lateral lane-changing decisions are mainly located in the front and rear regions of the current lane and the adjacent lanes. Therefore, this study selects six neighboring vehicles at representative relative positions as the primary influencing vehicles, namely the left-front vehicle S 1 , left-rear vehicle S 2 , front vehicle S 3 , rear vehicle S 4 , right-front vehicle S 5 , and right-rear vehicle S 6 . This setting can effectively capture the key local interaction relationships in the surrounding traffic environment while avoiding excessive information redundancy and additional model complexity caused by introducing distant vehicles.
Therefore, the state variables of the target vehicle and its interacting surrounding vehicles are adopted as input features for the driving intent recognition and trajectory prediction model. Their historical state information can be formally represented as follows:
I ( t ) = ( S 0 ( t ) , S 1 ( t ) , S 2 ( t ) , S 3 ( t ) , S 4 ( t ) , S 5 ( t ) , S 6 ( t ) )
S i ( t ) = ( x ( t ) , y ( t ) , v ( t ) )
t = ( T T p , , T 1 , T )
O ( t ) = ( X ( t ) , Y ( t ) ) , t = ( T + 1 , T + 2 , , T + T F )
Here, S i ( t ) denotes the state of the vehicle at time t at the i-th relative position. Specifically, x ( t ) and y ( t ) represent the lateral and longitudinal position coordinates at time t, respectively, and v ( t ) denotes the vehicle’s absolute velocity. Equation (3) defines the historical observation time window, where T represents the current time step and T P denotes the length of the historical observation horizon. Based on the historical state information, the model is required to predict the trajectory of the target vehicle over a future prediction horizon. In Equation (4), X ( t ) and Y ( t ) denote the predicted lateral and longitudinal positions of the vehicle at future time step t, respectively, while T F represents the length of the prediction horizon. In real traffic scenarios, certain relative positions around the target vehicle may be unoccupied at specific time steps. To handle this situation, a placeholder encoding strategy is adopted. Specifically, when no vehicle is present at the i-th forward relative position at time t, the relative distance is treated as infinite, and its state vector is assigned as S i ( t ) = [ 999 , 999 , 0 ] , Similarly, when no vehicle exists at the i-th rear relative position at time t, the relative distance is also treated as infinite, and the corresponding state vector is defined as S i ( t ) = [ 999 , 999 , 0 ] .
As illustrated in Figure 1, inter-vehicle interactions exhibit strong spatiotemporal coupling properties. By representing each vehicle as a graph node and the corresponding interaction relationships between vehicles as edges, multi-vehicle dynamic interactions can be naturally formulated as an undirected graph structure. This graph-based modeling approach effectively captures time-varying inter-vehicle dependencies and provides a structured representation basis for subsequent driving intent recognition and trajectory prediction.

3. DyGNN–Transformer-Based Trajectory Prediction Model

The overall trajectory prediction framework proposed in this paper is illustrated in Figure 2 and consists of three key modules: dynamic interaction feature extraction, Transformer-based driving intent recognition, and intent-guided trajectory prediction. In contrast to conventional approaches that rely solely on historical trajectory information, the proposed framework introduces targeted enhancements in both model architecture and information flow mechanisms.
At the feature modeling stage, a Dynamic Graph Neural Network is introduced to explicitly represent spatial interaction relationships among multiple vehicles. Conventional sequence-based models typically concatenate surrounding-vehicle features as input, which makes it difficult to characterize time-varying interaction strength and influence ranges between vehicles. To address this limitation, a dynamic spatiotemporal interaction graph is constructed to provide a unified representation of complex spatial dependencies within a graph neural network framework. With this design, the model can adaptively learn the influence weights of different neighboring vehicles on the motion decisions of the target vehicle, thereby capturing complex yielding and competitive interaction patterns in high-speed traffic scenarios. By modeling spatial interaction complexity during the feature extraction stage, spatial and temporal dependencies are effectively decoupled. This yields more informative and discriminative interaction features for the subsequent Transformer-based intent recognition module, enabling it to focus on learning temporal dependency patterns.
At the intent modeling stage, a Transformer-based driving intent recognition module is introduced. Leveraging the self-attention mechanism, the Transformer is able to capture long-range temporal dependencies and evolving motion patterns in vehicle behavior. As a result, the model considers not only instantaneous position variations but also jointly integrates historical trajectories and learned interaction features to infer future motion tendencies. These tendencies are subsequently classified into discrete intent categories, such as left lane change, right lane change, and straight driving. Through this design, intent information is formulated as interpretable prior knowledge, thereby enhancing the model’s capability to understand and represent complex driving behaviors.
At the trajectory prediction stage, the inferred intent probabilities are integrated into the prediction module as prior constraints to guide the future trajectory generation process. Compared with conventional unconstrained prediction approaches, this strategy effectively mitigates prediction drift caused by accumulated uncertainty. Through the coordinated operation of the above modules, the proposed framework produces trajectory predictions that are more stable, physically plausible, and consistent with driving behavior logic in complex traffic scenarios.

3.1. DyGNN-Based Interaction Feature Extraction

Within the historical time horizon t = ( T T p , , T 1 , T ) , the target vehicle S 0 and its six categories of key surrounding vehicles S 1 S 6 are taken as the nodes in the graph to construct the corresponding local dynamic interaction graph:
G ( t ) = V ( t ) , E ( t )
Here, the node set V ( t ) represents the state information of the target vehicle and its key surrounding vehicles at time step t, which can be written as
V ( t ) = s ˜ 0 ( t ) T , s ˜ 1 ( t ) T , s ˜ 2 ( t ) T , s ˜ 3 ( t ) T , s ˜ 4 ( t ) T , s ˜ 5 ( t ) T , s ˜ 6 ( t ) T
where s ˜ i ( t ) denotes the relative state of the i-th vehicle at the corresponding relative position at time step t. To characterize the relative motion relationships among vehicles, the node feature matrix X ( t ) is constructed as the input to the graph neural network, and is expressed as
X ( t ) = s ˜ 0 ( t ) T s ˜ 1 ( t ) T s ˜ 6 ( t ) T = Δ x 0 ( t ) Δ y 0 ( t ) Δ v 0 ( t ) Δ x 1 ( t ) Δ y 1 ( t ) Δ v 1 ( t ) Δ x 6 ( t ) Δ y 6 ( t ) Δ v 6 ( t )
Δ x i ( t ) = x i ( t ) x 0 ( t ) , Δ y i ( t ) = y i ( t ) y 0 ( t ) , Δ v i ( t ) = v i ( t ) v 0 ( t )
These variables represent the lateral position difference, longitudinal position difference, and velocity difference of the i-th vehicle relative to the target vehicle, respectively. A learnable graph structure is adopted to adaptively capture interaction relationships according to the relative states among vehicles, thereby enhancing the expressive capability of the graph model for complex traffic interaction behaviors.
Before graph propagation begins, the input feature matrix is taken as the initial node representation:
H ( 0 ) ( t ) = X ( t )
Let h i ( l ) ( t ) denote the feature representation of node i at time step t in the l-th layer. The node features are first linearly transformed to obtain the node embedding representation:
Z i ( l ) ( t ) = W ( l ) h i ( l ) ( t )
where W ( l ) is the learnable weight matrix of the l-th layer. To further reflect the physical meaning of vehicle interactions in traffic scenarios, the interaction feature of node j relative to node i is defined as
r i j ( t ) = Δ x i j ( t ) , Δ y i j ( t ) , Δ v i j ( t )
Δ x i j ( t ) = x j ( t ) x i ( t ) , Δ y i j ( t ) = y j ( t ) y i ( t ) , Δ v i j ( t ) = v j ( t ) v i ( t )
which represent the lateral position difference, longitudinal position difference, and velocity difference of node j relative to node i, respectively. On this basis, the embedding representations of nodes i and j, together with the relative interaction feature, are jointly fed into the attention function to compute the unnormalized interaction score:
e i j ( l ) ( t ) = LeakyReLU a ( l ) T Z i ( l ) ( t ) Z j ( l ) ( t ) r i j ( t )
where a ( l ) is the learnable attention parameter vector of the l-th layer, denotes the vector concatenation operation, and LeakyReLU ( · ) is the activation function. Then, the interaction scores of all nodes in the neighborhood of node i are normalized by the Softmax function to obtain the data-driven learnable neighborhood weights:
A i j ( l ) ( t ) = exp e i j ( l ) ( t ) k N ( i ) exp e i k ( l ) ( t )
where N ( i ) denotes the neighborhood set of node i. Accordingly, A i j ( l ) ( t ) represents the adaptive interaction influence strength of node j on node i at time step t during graph propagation in the l-th layer. It should be emphasized that the neighborhood relationship obtained by Equations (4)–(12) is no longer derived from manually specified hard-threshold rules, but is automatically learned by the model according to node states and interaction features. Therefore, it can more flexibly characterize the dynamic influence relationships among multiple vehicles in complex traffic flow.
Considering that the interaction strength between vehicles in real traffic scenarios is significantly correlated with spatial distance, a distance prior constraint is further introduced on the basis of learnable neighborhood weights to enhance the physical rationality of the model. First, the Euclidean distance between vehicle i and vehicle j at time step t is defined as
d i j ( t ) = x i ( t ) x j ( t ) 2 + y i ( t ) y j ( t ) 2
Then, the neighborhood weights are modulated by a distance decay function to obtain a weighted adjacency matrix incorporating physical priors:
A ˜ i j ( l ) ( t ) = exp d i j ( t ) σ · A i j ( l ) ( t )
where σ is the distance-decay scale parameter. Equation (14) ensures that vehicles with smaller spatial distances are assigned larger influence weights during graph propagation, enabling the model to preserve its data-driven learning capability while also taking into account the spatial interaction patterns in traffic scenarios.
After obtaining the adjacency weights fused with the distance prior, the node feature update process in the ( l + 1 ) -th layer can be expressed as
h i ( l + 1 ) ( t ) = σ j = 0 6 A ˜ i j ( l ) ( t ) W ( l ) h j ( l ) ( t )
where σ ( · ) denotes the nonlinear activation function. Through this update process, the node representation not only preserves its own motion-state information, but also integrates the dynamically weighted interaction influences from different neighboring vehicles, thereby forming a more discriminative high-level interaction feature representation.
When the graph propagation reaches the final layer L, the final representations of all nodes at time step t can be obtained as
H ( L ) ( t ) = h 0 ( L ) ( t ) , h 1 ( L ) ( t ) , , h 6 ( L ) ( t ) T
For subsequent temporal modeling, the high-level representation of the node corresponding to the target vehicle at time step t is taken as the interaction feature at that time step:
e ( t ) = h 0 ( L ) ( t )
Within the entire historical observation window, the interaction features extracted at each time step are arranged in chronological order to form the interaction feature sequence:
E = e ( T T p + 1 ) , e ( T T p + 2 ) , , e ( T )
The resulting interaction feature sequence E is no longer a simple concatenation of single-vehicle states, but a structured high-level representation that integrates the dynamic interaction relationships between the target vehicle and its key surrounding vehicles. After being processed by the DyGNN module, the local traffic relationships embedded in the original historical trajectories are transformed into more discriminative spatiotemporal interaction features, thereby providing a more effective input basis for the subsequent Transformer module to perform temporal intention inference.

3.2. Driving Intent Recognition Module

To further improve the accuracy and stability of trajectory prediction, a driving intent recognition module is incorporated into the overall framework as prior constraint information [18]. Driving intent reflects the vehicle’s high-level motion tendency over a future time horizon and can be regarded as a semantic weighting over different candidate trajectories [19]. From a modeling perspective, driving intent recognition can be formulated as a multi-class sequence classification problem, in which the model infers future driving behavior based on historical motion states and interaction information.
According to real-world traffic scenarios, driving intent is categorized into three classes: left lane change, right lane change, and lane keeping. To address this task, a Transformer-based driving intent recognition model is adopted to effectively capture temporal dependencies and latent decision-making patterns from historical vehicle sequences.
The model input is defined as:
I t = E t , S t ,
where E t denotes the interaction feature extracted by the dynamic graph neural network, which encodes the dynamic interaction relationships between the target vehicle and surrounding vehicles, and S t represents the historical motion state of the target vehicle. This paper employs feature concatenation to fuse the two, enabling the model to simultaneously retain both the target vehicle’s own motion information and the semantic information regarding interactions with surrounding vehicles. The concatenated fusion features are first projected onto a unified high-dimensional feature space via a linear mapping, thereby achieving dimensional alignment and a unified semantic representation of features from different sources. Subsequently, the mapped sequences are input into a Transformer encoder for temporal modelling, thereby fully learning key discriminative patterns and latent decision dependencies during the evolution of historical trajectories. Through this fusion strategy, the model is not only able to perceive the vehicle’s own motion trends but can also effectively utilise dynamic interaction information within complex traffic environments, thereby enhancing the accuracy and continuity of driving intention recognition. At the output stage, the intent recognition module applies a Softmax layer to normalize the output of the Transformer decoder, producing a probability distribution over the three driving intent categories. This forms an intent probability vector P = [ w 1 , w 2 , w 3 ] , where w 1 , w 2 , and w 3 denote the predicted probabilities of left lane change [20], right lane change, and lane keeping, respectively. Since a vehicle exhibits only one definitive driving intent at each time step in real-world scenarios, the intent category corresponding to the maximum probability is selected as the final prediction. The selected intent is encoded as a one-hot vector, while the remaining entries are set to zero. Therefore, the output of the driving intent recognition module takes one of the following forms: [1, 0, 0], [0, 1, 0], or [0, 0, 1], corresponding to left lane change, right lane change, and lane keeping, respectively [21].

3.3. Trajectory Prediction Module

Based on the inferred driving intent, an intent-guided trajectory prediction module is further constructed to achieve accurate modeling and prediction of the target vehicle’s future motion trajectory. Compared with conventional prediction methods that rely solely on historical trajectory information, the incorporation of high-level driving intent as a prior constraint enables the model to explicitly distinguish trajectory evolution patterns under different driving behaviors, thereby improving prediction accuracy and stability in highly nonlinear scenarios such as lane changes. The input to the trajectory prediction module consists of three components: the historical motion state sequence of the target vehicle, the interaction feature sequence extracted by the dynamic graph neural network, and the intent feature sequence generated by the driving intent recognition module. Specifically, given the prediction time step T and the historical observation window length T P , the input to the trajectory prediction module is defined as:
Z t = E t , S t , I t , t [ T T P + 1 , T ] ,
where E t denotes the interaction feature at time step t, S t represents the historical motion state of the target vehicle, and I t denotes the one-hot encoded driving intent vector obtained from the intent recognition module. In the encoding stage, the trajectory prediction module first applies a linear projection to the fused input sequence, mapping it into a unified high-dimensional feature space. Positional encoding is then added to preserve temporal order information. Subsequently, multiple Transformer encoder layers are employed to model the sequence [22], where the self-attention mechanism captures long-range dependencies across different historical time steps and integrates the global constraint effect of intent features on motion trends. In the decoding stage [23], an autoregressive strategy is adopted to generate future trajectory points step by step. Using the high-level temporal features produced by the encoder as the initial condition, the model predicts the two-dimensional position coordinates of the target vehicle at each future time step t 1 [ T + 1 , T + T F ] , defined as:
O ( t 1 ) = X ^ ( t 1 ) , Y ^ ( t 1 ) ,
where X ^ ( t 1 ) and Y ^ ( t 1 ) denote the predicted longitudinal and lateral positions, respectively. The predicted output at the current time step is fed back into the decoder as input for the next time step, enabling continuous multi-step trajectory prediction.

4. Experimental Preparation

This paper utilizes data from the US-101 section of the Naturalistic Driving Study (NGSIM) dataset [24] and the highD dataset for experimental validation [25]. To improve the quality of the raw vehicle trajectory data and ensure consistency with driving intent annotations, systematic preprocessing was performed on both datasets. The preprocessing procedure mainly consists of two steps: trajectory smoothing and lane-change intent continuity correction. First, to address measurement noise and local fluctuations commonly present in real-world traffic data, Savitzky–Golay filtering was applied to smooth vehicle trajectories. By performing low-order polynomial least-squares fitting within a sliding window, this method can effectively suppress high-frequency noise while preserving the local geometric characteristics of the trajectory, making it particularly suitable for continuous, smooth, yet noisy time-series data such as vehicle motion trajectories. Specifically, continuous variables including the lateral position, longitudinal position, and vehicle velocity were filtered independently. The window length was set to 11, and the polynomial order was set to 3. Taking the trajectory data of a lane-changing vehicle as an example (vehicle number 2022 is selected in the figure), the comparison between the filtered data and the original data is shown in Figure 3.
To improve the consistency and reliability of lane-change intent annotations, a motion trend-based intent completion strategy was introduced to correct frames that correspond to the early phase of lane-change maneuvers. Specifically, for time intervals preceding annotated lane-change events, several historical frames were examined, and the trend of the vehicle’s lateral coordinate was analyzed. If these frames exhibited sustained and monotonic lateral displacement consistent with the subsequent lane-change direction, the vehicle was considered to have already entered the preparation or execution phase of the lane-change maneuver. In such cases, the driving intent label of the corresponding frames was corrected from “lane keeping” to the appropriate lane-change intent. Previous studies have reported that the typical duration of a lane-change maneuver is approximately 8 s [26], while Han Hao et al. [27] demonstrated that a 3-s historical sequence provides sufficient information for trajectory prediction. Based on these findings, this study extracted trajectory segments consisting of 3 s before and 4 s after the lane-change point. The 3-s historical trajectory was annotated with driving intent labels and used for training and validation of the driving intent recognition module, while the subsequent 4-s trajectory was used for training and validation of the trajectory prediction module. To reduce the influence of class imbalance on model training and evaluation, a balanced sampling strategy was adopted for both the NGSIM and highD datasets, ensuring that the number of samples in each driving intent category remained consistent within each dataset. For the NGSIM dataset, a total of 6696 valid trajectory samples were selected, including 2232 samples for each intent category, namely left lane change, lane keeping, and right lane change. For the highD dataset, a total of 6444 valid trajectory samples were selected, including 2148 samples for each driving intent category. In both datasets, 80% of the samples were used for training and the remaining 20% were used for testing.

5. Model Training

5.1. Training of Intent Recognition Models

The cross-entropy loss function is adopted as the training objective. The cross-entropy loss for a single sample can be expressed as
L c e = c = 1 3 y c log ( y ^ c )
where y ^ c denotes the predicted probability that the sample belongs to the c-th driving intention class, and y c denotes the ground-truth label value of the corresponding class. The cross-entropy loss can effectively measure the discrepancy between the predicted distribution and the true distribution. When the model assigns a higher probability to the correct class, the loss value becomes smaller. Conversely, if the model assigns a high probability to an incorrect class, the loss increases significantly. By minimizing this loss function, the model can gradually learn the mapping relationship among historical motion states, interaction relationships, and driving intentions.
The training hyperparameters used in this study are uniformly configured, as shown in Table 1. The Adam optimizer is adopted. The initial learning rate is set to 0.001, the batch size is set to 64, the number of training epochs is set to 100, and the dropout rate is set to 0.1.
The distance-decay coefficient was set to 15 m to reflect the effective local interaction range among vehicles in highway scenarios, so that nearby vehicles maintain dominant influence during graph propagation while the effects of more distant vehicles gradually decrease with distance. If this parameter is set too small, the model may overemphasize only very close vehicles and ignore surrounding vehicles that still have practical influence; if it is set too large, the discriminative ability of the distance prior will be weakened, allowing distant vehicles to introduce more redundant interaction information. Therefore, 15 m provides a reasonable balance between local interaction sensitivity and long-range noise suppression.

5.2. Training of Trajectory Prediction Models

Considering that future trajectory prediction is essentially a multi-step continuous regression problem, this study constructs the loss function based on the prediction error of the two-dimensional position coordinates of the target vehicle at each future time step.
The ground-truth position of the target vehicle at future time step t f is defined as
P ( t f ) = x ( t f ) , y ( t f )
The corresponding position predicted by the model is denoted as P ^ ( t f ) . Then, the regression loss for trajectory prediction is defined as the mean squared error (MSE) loss:
L traj = 1 T F t f = T + 1 T + T F x ^ ( t f ) x ( t f ) 2 + y ^ ( t f ) y ( t f ) 2
The Adam optimizer is adopted to update the model parameters during training. The initial learning rate is set to 0.001, the batch size is set to 64, the number of training epochs is set to 100, and the dropout rate is set to 0.1.
To prevent overfitting during training, an Early Stopping strategy is further introduced in this study, with the patience set to 10. Specifically, when the performance on the validation set does not improve for 10 consecutive epochs, the training process is terminated and the current best model parameters are saved. The specific parameter settings are listed in Table 2.

6. Experiment and Analysis

6.1. Analysis of Driving Intent Experiment Results

To evaluate the recognition performance of the proposed DyGNN–Transformer (DGT) based model for identifying the driving intentions of surrounding vehicles, balanced sets of historical trajectory samples were constructed from the NGSIM and highD datasets. The proposed model was compared with driving intention recognition models based on LSTM, BiLSTM, GAT-BiGRU, and Transformer. Table 3 presents the comparison results on the NGSIM dataset.
As shown in Table 3, DGT achieved the best performance in driving intention recognition on the NGSIM dataset, with recognition accuracies of 90.73%, 96.54%, and 91.34% for left lane change, lane keeping, and right lane change, respectively, and an average accuracy of 92.87%. Compared with LSTM, BiLSTM, GAT-BiGRU, and Transformer, the average accuracy was improved by 6.55, 4.83, 3.75, and 2.36 percentage points, respectively. In particular, compared with the baseline Transformer, the introduction of the DyGNN module increased the average accuracy from 90.51% to 92.87%, indicating that the DyGNN module itself contributed a performance gain of 2.36 percentage points.
The comparison results of intention recognition performance based on the highD dataset are shown in Table 4.
As shown in Table 4, the driving intention recognition results of all models on the highD dataset exhibit a trend consistent with that observed on the NGSIM dataset. Among them, the proposed DGT model achieved recognition accuracies of 92.32%, 96.04%, and 91.99% for left lane change, lane keeping, and right lane change, respectively, with an average accuracy of 93.45%, outperforming all the other comparative models. Compared with the Transformer model, the proposed model improved the average accuracy by 1.89 percentage points, further demonstrating that the introduction of DyGNN into the Transformer framework can effectively enhance driving intention recognition performance. In addition, the recognition accuracy of all models for the lane-keeping intention was generally higher than that for left and right lane changes. This is mainly because lane-keeping behavior is more stable, whereas lane-changing behavior exhibits a gradual evolution before execution and is more easily influenced by the interaction with surrounding vehicles, making it relatively more difficult to recognize. Nevertheless, the DGT model still maintained high recognition accuracy for both left and right lane change categories, indicating that it can effectively capture critical interaction cues and temporal variation information before lane changes occur. Overall, the experimental results on the highD dataset further verify the effectiveness of the proposed method and demonstrate that the model shows relatively stable performance across different datasets, with good generalization ability and robustness.
As shown in Figure 4, the model maintains consistently high prediction confidence for the lane-keeping intent prior to the lane-change maneuver, while the probabilities of left and right lane-change intents remain low, with no evident misclassifications. As the vehicle approaches the lane-change moment, the probability of the lane-keeping intent decreases sharply, accompanied by a rapid increase in the corresponding lane-change intent probability. This transition closely aligns with the actual intent switching point. Furthermore, the predicted intent probabilities exhibit smooth and continuous transitions throughout the entire process, without noticeable oscillations or abrupt fluctuations. This indicates that the proposed model can accurately capture the temporal evolution of driving intent and effectively identify the onset of lane-change maneuvers. As a result, the inferred intent provides reliable prior information, which contributes to improving the accuracy and stability of subsequent trajectory prediction.

6.2. Analysis of Trajectory Prediction Experiment Results

To comprehensively evaluate trajectory prediction performance, this study adopts the Root Mean Square Error (RMSE) and Final Displacement Error (FDE) as evaluation metrics. Specifically, RMSE is used to measure the overall deviation between the predicted trajectory and the ground-truth trajectory over the entire prediction horizon, thereby reflecting the fitting accuracy of the model to future trajectories. In contrast, FDE measures the deviation between the predicted final position and the true final position, which more directly indicates the model’s ability to predict the vehicle’s final destination. Since trajectory prediction requires not only accurate fitting of the overall trajectory shape but also precise estimation of the final position, the joint use of RMSE and FDE enables a more comprehensive assessment of model performance.
The RMSE is defined as follows:
R M S E = 1 T t = 1 T x ^ t x t 2 + y ^ t y t 2
The FDE is defined as follows:
F D E = x ^ T x T 2 + y ^ T y T 2
where T denotes the prediction horizon length; ( x t , y t ) represents the ground-truth position coordinates at time step t; ( x ^ t , y ^ t ) denotes the predicted position coordinates at time step t; and ( x T , y T ) and ( x ^ T , y ^ T ) represent the ground-truth final position and the predicted final position, respectively. A smaller RMSE indicates better overall trajectory fitting performance over the prediction horizon, whereas a smaller FDE indicates higher accuracy in predicting the final position of the target vehicle.
To systematically evaluate the performance of the proposed method in vehicle trajectory prediction tasks, several baseline models were selected for comparison, including the LSTM model, LSTM(I) incorporating driving intent information [4], the Transformer model [28], the STGAT model, the DGInet model and Transformer(I) integrating dynamic graph interaction modeling and intent recognition modules. Among them, Transformer(I) denotes the trajectory prediction model proposed in this study. The LSTM model adopts a conventional encoder–decoder architecture for trajectory prediction, whereas LSTM(I) further incorporates the same driving intention prediction mechanism as that used in the proposed model, in order to investigate the contribution of intention information to the performance improvement of sequence models. The Transformer model relies only on the self-attention mechanism to model temporal features and does not include intention recognition or interaction modeling modules. The STGAT model jointly captures spatial interaction relationships among vehicles and temporal evolution characteristics by constructing a spatio-temporal graph attention mechanism, thereby effectively characterizing trajectory variation patterns in multi-vehicle interaction scenarios. The DGlnet model employs a dynamic graph interaction network to model the time-varying interaction relationships among vehicles and captures temporal dependencies in complex traffic environments through dynamic graph structure updates, thus improving trajectory prediction performance. To ensure the fairness of the comparative experiments, all models were trained and tested using the same data preprocessing procedure and input information, with vehicle motion states and surrounding vehicle interaction information being uniformly used for prediction. The trajectory prediction performance of different models is evaluated using Root Mean Square Error (RMSE), and the comparison results are presented in Table 5 and Figure 5.
Table 5 shows that the RMSE values of all models gradually increase as the prediction horizon extends, reflecting the cumulative nature of trajectory prediction errors over time. The average RMSE of LSTM is 2.31, while after introducing driving intention information, the average RMSE of LSTM(I) decreases to 1.82, indicating that intention priors can effectively reduce prediction uncertainty. STGAT and DGInet, which explicitly model vehicle interaction relationships, both achieve better performance than traditional temporal models, with DGInet showing superior performance. On this basis, the proposed Transformer(I), after incorporating the intention recognition module, further reduces the average RMSE from 2.08 for Transformer to 1.35, further demonstrating that driving intention information plays an important auxiliary role in trajectory prediction.
The results of the FDE for the different models are shown in Table 6.
As shown in Table 6, the FDE values of all models gradually increase as the prediction horizon extends, indicating that the endpoint position error accumulates over time. Unlike RMSE, which emphasizes the overall trajectory fitting accuracy, FDE better reflects the model’s ability to predict the vehicle’s final position. The results show that Transformer(I) achieves the lowest FDE at all prediction horizons, with an average value of 1.49. Compared with LSTM, Transformer, LSTM(I), STGAT, and DGInet, the average FDE of Transformer(I) is reduced by 1.14, 0.84, 0.56, 0.39, and 0.14, respectively, indicating that after incorporating the intention recognition module, the model not only improves the overall trajectory fitting performance but also more accurately captures the vehicle’s future motion direction and final position variation trend.
As shown in Figure 6, the compared models exhibit significant differences in prediction accuracy and inference efficiency.
LSTM achieves the shortest inference time of 4.9 ms, but its RMSE reaches 2.31, indicating that although the conventional recurrent structure is computationally efficient, its prediction accuracy is relatively limited. Transformer increases the inference time to 11.2 ms while reducing the RMSE to 2.08, suggesting that the self-attention mechanism can improve long-range temporal modeling to some extent. After introducing driving intention information, LSTM(I) further reduces the RMSE to 1.82, but its inference time rises to 15.8 ms, confirming that intention priors can effectively constrain future trajectory evolution. STGAT and DGInet, which explicitly model inter-vehicle interactions, achieve lower RMSE values of 1.70 and 1.45, respectively, with inference times of 13.6 ms and 16.4 ms, showing that interaction modeling, especially dynamic graph interaction modeling, can further improve prediction performance at the cost of additional computation. Among all models, the proposed Transformer(I) achieves the best overall result, with the lowest RMSE of 1.35 and an inference time of 17.6 ms. Although its computational cost is the highest, it remains within the millisecond level and therefore still satisfies real-time requirements to a certain extent.
The vehicle trajectory and position predictions for LSTM and LSTM(I) are shown in Figure 7. Compared with the LSTM model that predicts trajectories solely based on historical temporal features, the LSTM(I) model incorporating driving intention information generates predicted trajectories that are closer to the ground-truth trajectory, especially showing better tracking capability in the middle and later stages of the prediction horizon.
The vehicle trajectory and position predictions for Transformer and Transformer(I) are shown in Figure 8.
As can be seen from the figure, both the Transformer and Transformer(I) models are able to capture the overall variation trend of the target vehicle’s future trajectory, but there are obvious differences in prediction accuracy between them. Compared with the Transformer model, which only models the historical trajectory sequence, the Transformer(I) model incorporating driving intention information produces predicted trajectories that are closer to the ground-truth trajectory, especially showing better fitting performance in the middle and later stages of the prediction horizon.
As shown in Figure 9, all models are able to predict the overall variation trend of the target vehicle’s future trajectory to a certain extent, but there are obvious differences in trajectory fitting accuracy and late-stage prediction performance. Overall, the proposed Transformer(I) model generates predicted trajectories that are closest to the ground-truth trajectory and maintains a high degree of consistency throughout the entire prediction horizon, indicating that it can more accurately characterize the future motion trend of the vehicle. In contrast, although DGInet and STGAT can also reasonably reflect the trajectory variation direction, they still show certain deviations in the middle and later stages of prediction. LSTM(I), however, exhibits a more obvious deviation in the later stage, with a relatively larger endpoint position error. These results further demonstrate that, after incorporating the intention module, the model can effectively improve the accuracy and stability of future trajectory prediction.

7. Conclusions

This paper addresses the challenge of predicting vehicle trajectories in complex traffic scenarios by proposing a trajectory prediction method that integrates dynamic graph neural networks with driving intent recognition. By explicitly modeling dynamic inter-vehicle interactions and introducing a motion trend-based intent completion strategy, the proposed approach improves the temporal continuity and consistency of intent inference. Furthermore, incorporating driving intent as a prior constraint into the trajectory prediction process effectively reduces prediction uncertainty and enhances trajectory estimation accuracy. Extensive experimental results on real-world traffic datasets demonstrate that the proposed method consistently outperforms baseline models across multiple prediction horizons. In particular, it achieves superior accuracy, stability, and robustness in complex interactive scenarios such as lane-change maneuvers. These improvements highlight the effectiveness of jointly modeling interaction dynamics and behavioral intent for trajectory prediction. Future work will further explore the modeling of interactions among more complex traffic participants and scenarios involving the parallel evolution of multiple intentions, thereby enhancing the model’s applicability in real-world traffic environments.

Author Contributions

Conceptualization, S.W., Y.W. and Y.G.; methodology, S.W. and Y.W.; experiments, Y.W. and Y.G.; validation, Y.W.; writing—original draft preparation, Y.W.; writing—review and editing, Y.W.; funding acquisition, Y.G. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Beijing Natural Science Foundation (4242003).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available from the corresponding author upon request, provided that permission is granted by the authorized personnel.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Marinescu, D.; Čurn, J.; Bouroche, M.; Cahill, V. On-ramp traffic merging using cooperative intelligent vehicles: A slot-based approach. In 2012 15th International IEEE Conference on Intelligent Transportation Systems; IEEE: New York, NY, USA, 2012; pp. 900–906. [Google Scholar]
  2. Tran, Q.; Firl, J. Online maneuver recognition and multimodal trajectory prediction for intersection assistance using non-parametric regression. In 2014 IEEE Intelligent Vehicles Symposium Proceedings; IEEE: New York, NY, USA, 2014; pp. 918–923. [Google Scholar]
  3. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30. [Google Scholar]
  4. Ji, X.; Fei, C.; He, X.; Liu, Y.; Liu, Y. Intention Recognition and Trajectory Prediction for Vehicles Using LSTM Network. China J. Highw. Transp. 2019, 32, 34–42. [Google Scholar]
  5. Xie, G.; Shangguan, A.; Fei, R.; Ji, W.; Ma, W.; Hei, X. Motion trajectory prediction based on a CNN-LSTM sequential model. Sci. China Inf. Sci. 2020, 63, 212207. [Google Scholar] [CrossRef] [Scilit]
  6. Guo, J.; Xiao, B.; Wang, J.; Luo, Y.; Chen, T.; Li, K. Study on Vehicle Cut-in Intention PredictionBased on Residual BiLSTM Network. Automot. Eng. 2021, 43, 971–977. [Google Scholar]
  7. Guo, J.H.; He, Z.F.; Luo, Y.G.; Li, K.Q. Vehicle Cut-in Trajectory Prediction Based on Deep Learning in aHuman-machine Mixed Driving Environment. Automot. Eng. 2022, 44, 153–160. [Google Scholar]
  8. Yoon, Y.; Kim, T.; Lee, H.; Park, J. Road-aware trajectory prediction for autonomous driving on highways. Sensors 2020, 20, 4703. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Gao, Z.H.; Bao, M.X.; Gao, F.; Tang, M.H.; Lu, Y. A Uni-Modal Network Prediction Method for Surrounding Vehicle Expected Trajectory in Intelligent. Automob. Technol. 2022, 1–9. [Google Scholar] [CrossRef]
  10. Raju, K.N.; Sudha, V.; Kshirsagar, P.R.; Tirth, V.; Rajaram, A. Intelligent traffic prediction system using hybrid convolutional neural networks for smart cities. Multimed. Tools Appl. 2025, 84, 31919–31937. [Google Scholar]
  11. Liang, M.; Yang, B.; Hu, R.; Chen, Y.; Liao, R.; Feng, S.; Urtasun, R. Learning lane graph representations for motion forecasting. In European Conference on Computer Vision; Springer International Publishing: Cham, Switzerland, 2020; pp. 541–556. [Google Scholar]
  12. Huang, Y.; Bi, H.; Li, Z.; Mao, T.; Wang, Z. STGAT: Modeling spatial-temporal interactions for human trajectory prediction. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2019; pp. 6272–6281. [Google Scholar]
  13. Mozaffari, S.; Arnold, E.; Dianati, M.; Fallah, S. Early lane change prediction for automated driving systems using multi-task attention-based convolutional neural networks. IEEE Trans. Intell. Veh. 2022, 7, 758–770. [Google Scholar] [CrossRef] [Scilit]
  14. Zhang, E.; Zhang, R.; Masoud, N. Predictive trajectory planning for autonomous vehicles at intersections using reinforcement learning. Transp. Res. Part C Emerg. Technol. 2023, 149, 104063. [Google Scholar] [CrossRef] [Scilit]
  15. An, J.; Liu, W.; Liu, Q.; Guo, L.; Ren, P.; Li, T. DGInet: Dynamic graph and interaction-aware convolutional network for vehicle trajectory prediction. Neural Netw. 2022, 151, 336–348. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Fang, L.; Jiang, Q.; Shi, J.; Zhou, B. Tpnet: Trajectory proposal network for motion prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2020; pp. 6797–6806. [Google Scholar]
  17. Yang, Y.; Jin, M.; Wen, H.; Zhang, C.; Liang, Y.; Ma, L.; Wang, Y.; Liu, C.; Yang, B.; Xu, Z.; et al. A survey on diffusion models for time series and spatio-temporal data. ACM Comput. Surv. 2026, 58, 1–39. [Google Scholar] [CrossRef] [Scilit]
  18. Dong, C.; Dolan, J.M.; Litkouhi, B. Intention estimation for ramp merging control in autonomous driving. In 2017 IEEE Intelligent Vehicles Symposium (IV); IEEE: New York, NY, USA, 2017; pp. 1584–1589. [Google Scholar]
  19. Cheng, K.; Sun, D.; Jian, J.; Qin, D.; Chen, C.; Liao, G.; Kan, Y.; Lv, C. Deep learning approach for driver speed intention recognition based on naturalistic driving data. IEEE Trans. Intell. Transp. Syst. 2024, 25, 14546–14559. [Google Scholar] [CrossRef] [Scilit]
  20. Koenig, A.; Rehder, T.; Hohmann, S. Exact inference and learning in hybrid Bayesian Networks for lane change intention classification. In 2017 IEEE Intelligent Vehicles Symposium (IV); IEEE: New York, NY, USA, 2017; pp. 1535–1540. [Google Scholar]
  21. Schlechtriemen, J.; Wirthmueller, F.; Wedel, A.; Breuel, G.; Kuhnert, K.D. When will it change the lane? A probabilistic regression approach for rarely occurring events. In 2015 IEEE Intelligent Vehicles Symposium (IV); IEEE: New York, NY, USA, 2015; pp. 1373–1379. [Google Scholar]
  22. Vellenga, K.; Steinhauer, H.J.; Karlsson, A.; Falkman, G.; Rhodin, A.; Koppisetty, A.C. Driver intention recognition: State-of-the-art review. IEEE Open J. Intell. Transp. Syst. 2022, 3, 602–616. [Google Scholar] [CrossRef] [Scilit]
  23. Hao, Z.; Huang, X.; Wang, K.; Cui, M.; Tian, Y. Attention-based GRU for driver intention recognition and vehicle trajectory prediction. In 2020 4th CAA International Conference on Vehicular Control and Intelligence (CVCI); IEEE: New York, NY, USA, 2020; pp. 86–91. [Google Scholar]
  24. Next Generation SIMulation. US Highway 101 Dataset; United States Federal Highway Administration: Washington, DC, USA, 2007.
  25. Krajewski, R.; Bock, J.; Kloeker, L.; Eckstein, L. The highd dataset: A drone dataset of naturalistic vehicle trajectories on german highways for validation of highly automated driving systems. In 2018 21st International Conference on Intelligent Transportation Systems (ITSC); IEEE: New York, NY, USA, 2018; pp. 2118–2125. [Google Scholar]
  26. Deo, N.; Trivedi, M.M. Convolutional social pooling for vehicle trajectory prediction. In IEEE Conference on Computer Vision and Pattern Recognition Workshops; IEEE: New York, NY, USA, 2018; pp. 1468–1476. [Google Scholar]
  27. Han, H.; Xie, T. Lane Change TrajectoryPrediction of Vehicles in Highway Interweaving Area Using Seq2Seq-attention Netwwork. China J. Highw. Transp. 2020, 33, 106–118. [Google Scholar]
  28. Liu, C.; Liang, J. Vehicle motion trajectory prediction based on attention mechanism. J. Zhejiang Univ. (Eng. Sci.) 2020, 54, 1156–1163. [Google Scholar]
Figure 1. Vehicle Driving Environment Diagram.
Figure 1. Vehicle Driving Environment Diagram.
Sensors 26 02826 g001
Figure 2. Trajectory Prediction Model.
Figure 2. Trajectory Prediction Model.
Sensors 26 02826 g002
Figure 3. Smoothness effect comparison for Vehicle No. 2022.
Figure 3. Smoothness effect comparison for Vehicle No. 2022.
Sensors 26 02826 g003
Figure 4. Intent Prediction Confidence.
Figure 4. Intent Prediction Confidence.
Sensors 26 02826 g004
Figure 5. Comparison of Inference Time and RMSE.
Figure 5. Comparison of Inference Time and RMSE.
Sensors 26 02826 g005
Figure 6. Comparison of Inference Time and RMSE.
Figure 6. Comparison of Inference Time and RMSE.
Sensors 26 02826 g006
Figure 7. Comparison of Predicted Trajectories by LSTM and LSTM(I).
Figure 7. Comparison of Predicted Trajectories by LSTM and LSTM(I).
Sensors 26 02826 g007
Figure 8. Comparison of Predicted Trajectories by Transformer and Transformer(I).
Figure 8. Comparison of Predicted Trajectories by Transformer and Transformer(I).
Sensors 26 02826 g008
Figure 9. Comparison of Trajectories Predicted by Different Models.
Figure 9. Comparison of Trajectories Predicted by Different Models.
Sensors 26 02826 g009
Table 1. Main parameter settings of each model.
Table 1. Main parameter settings of each model.
ModuleParameterValue
DyGNNNumber of graph neural network layers2
Node input feature dimension3
Hidden feature dimension64
Number of graph attention heads4
Distance decay coefficient15 m
TransformerNumber of encoder layers4
Model feature dimension128
Number of multi-head attention heads4
Hidden dimension of feed-forward network256
Table 2. Main parameter settings of the model.
Table 2. Main parameter settings of the model.
ModuleParameterValue
TransformerNumber of encoder layers4
Model feature dimension128
Number of multi-head attention heads4
Hidden dimension of feed-forward network256
Table 3. Comparison of Intention Recognition Performance on the NGSIM Dataset.
Table 3. Comparison of Intention Recognition Performance on the NGSIM Dataset.
ModelDriving IntentSamplesAccuracy (%)Avg. Acc. (%)
LSTMLeft Change223285.7486.32
Lane Keeping223287.62
Right Change223285.61
BiLSTMLeft Change223287.2688.04
Lane Keeping223289.84
Right Change223287.03
GAT-BiGRULeft Change223288.1589.12
Lane Keeping223290.42
Right Change223288.79
TransformerLeft Change223288.6990.51
Lane Keeping223292.13
Right Change223290.70
DGTLeft Change223290.7392.87
Lane Keeping223296.54
Right Change223291.34
Table 4. Comparison of Intention Recognition Performance on the highD Dataset.
Table 4. Comparison of Intention Recognition Performance on the highD Dataset.
ModelDriving IntentSamplesAccuracy (%)Avg. Acc. (%)
LSTMLeft Change214887.0687.74
Lane Keeping214889.39
Right Change214886.76
BiLSTMLeft Change214888.5989.26
Lane Keeping214890.97
Right Change214888.22
GAT-BiGRULeft Change214889.4890.16
Lane Keeping214891.82
Right Change214889.18
TransformerLeft Change214890.1891.56
Lane Keeping214893.36
Right Change214891.13
DGTLeft Change214892.3293.45
Lane Keeping214896.04
Right Change214891.99
Table 5. Comparison of trajectory prediction RMSE among different models.
Table 5. Comparison of trajectory prediction RMSE among different models.
Horizon (s)LSTMTransformerLSTM(I)STGATDGInetTransformer(I)
11.421.250.930.880.680.55
22.011.731.611.561.241.05
32.692.442.182.011.721.69
43.132.892.542.362.152.12
Average2.312.081.821.701.451.35
Table 6. Comparison of trajectory prediction FDE among different models.
Table 6. Comparison of trajectory prediction FDE among different models.
Horizon (s)LSTMTransformerLSTM(I)STGATDGInetTransformer(I)
11.561.341.020.940.760.63
22.261.951.781.631.381.18
33.022.712.432.241.961.88
43.683.312.962.712.432.28
Average2.632.332.051.881.631.49
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, S.; Wang, Y.; Gong, Y. Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition. Sensors 2026, 26, 2826. https://doi.org/10.3390/s26092826

AMA Style

Wu S, Wang Y, Gong Y. Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition. Sensors. 2026; 26(9):2826. https://doi.org/10.3390/s26092826

Chicago/Turabian Style

Wu, Shaobo, Yuxuan Wang, and Yi Gong. 2026. "Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition" Sensors 26, no. 9: 2826. https://doi.org/10.3390/s26092826

APA Style

Wu, S., Wang, Y., & Gong, Y. (2026). Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition. Sensors, 26(9), 2826. https://doi.org/10.3390/s26092826

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

Article Metrics

Back to TopTop