Personalized vehicle trajectory prediction method based on driving style classification

Xiang Li, Mingbao Zhang, Al Tavares, Hao Xu, Shengwei MaScientific 2025

Abstract

To enhance the accuracy of vehicle trajectory prediction and driving safety while accounting for the impact of driver-specific behaviors, this study proposes a personalized vehicle trajectory prediction method (DS-TCTM) based on driving style classification. First, driving style features are extracted through the calculation of acceleration change rate and average time headway. Subsequently, traffic flow density along vehicle routes is classified using the K-Means + + algorithm, and these features are integrated into a K-nearest neighbor-enhanced Gaussian Mixture Model (K-GMM) for comprehensive analysis, resulting in three distinct driver style categories. Finally, the identified driving style types are incorporated into a multi-level personalized trajectory prediction network architecture (TCTM) to achieve precise trajectory forecasting. Experimental results demonstrate that DS-TCTM achieves average root mean square error (RMSE) and negative log-likelihood (NLL) values below 4.46 m and 3.89 m, respectively, across varying prediction horizons. The model attains optimal performance after over 100 hyperparameter optimization iterations. Compared to baseline methods, DS-TCTM reduces prediction errors by 35.8%, with particularly notable accuracy improvements observed in long-term trajectory prediction scenarios. These findings indicate that DS-TCTM effectively characterizes driving style influences on trajectory patterns, significantly enhances prediction precision, and provides critical data support for vehicle collision warning systems.

Introduction

Accurate trajectory prediction is a cornerstone of Advanced Driver Assistance Systems (ADAS) and autonomous vehicle safety. The ability to anticipate a neighboring vehicle's position several seconds in advance is critical for collision avoidance. However, traditional models often struggle with driver heterogeneity. An aggressive driver might maintain short following distances and change lanes frequently, whereas a conservative driver exhibits more stable patterns.

Most existing models prioritize kinematics (position, velocity) or general probabilistic patterns, often ignoring the individual "personality" of the driver. Furthermore, driving style is frequently masked by traffic density; even an aggressive driver is forced to drive conservatively in a traffic jam. This research introduces DS-TCTM, a framework designed to decouple these factors and provide robust, personalized predictions.

Methodology

The Driving Style-Tri Channel Trajectory Model (DS-TCTM) operates through a modular pipeline encompassing data preprocessing, style recognition, and a specialized neural network architecture.

Overview of the DS-TCTM framework, illustrating the data preprocessing, driving style recognition, and trajectory prediction modules.

1. Context-Aware Feature Extraction

The model calculates the "acceleration change rate" (jerk) and "average time headway" (distance to the lead vehicle). To account for environmental constraints, an unsupervised K-Means++ algorithm classifies traffic density into three states: congested, slow, and fluent. This allows the model to weight data from fluent traffic more heavily, as these conditions best reveal a driver's true behavioral intent.

2. Driving Style Recognition (K-GMM)

Using a K-nearest neighbor-enhanced Gaussian Mixture Model (K-GMM), the system clusters drivers into three categories: Conservative, Moderate, and Aggressive. The use of K-Means++ for initialization ensures that these clusters are well-separated and stable, reducing boundary ambiguity common in standard GMMs.

SSE vs. k plot used to determine the optimal number of driving style clusters (k=3) via the elbow method.

3. Triple-Channel Architecture (TCTM)

The core of the system is a multi-level personalized network. Instead of a single path, the model utilizes three independent "vertical" sub-networks. Each sub-network consists of a GRU layer for basic motion patterns, a Bidirectional GRU (BGRU) for contextual features, and a Bidirectional LSTM (Bi-LSTM) to handle long-range temporal dependencies. By routing data through the channel corresponding to the identified driving style, the model specializes its weights for specific behavioral patterns.

Experimental Setup and Results

The study utilized the Ubiquitous Traffic Eyes (UTE) dataset, featuring drone-captured video of 1,072 vehicles at a high sampling rate of 25 Hz. The data includes precise coordinates, speed, and lane-referencing information.

Key performance metrics include:

  • Accuracy: The model achieved an average Root Mean Square Error (RMSE) of 4.46m and a Negative Log-Likelihood (NLL) of 3.89m over a 5-second horizon.
  • Error Reduction: Compared to standard Vanilla LSTM (V-LSTM) baselines, DS-TCTM reduced prediction errors by 35.8%.
  • Ablation Study: Removing the driving style recognition module caused the RMSE to increase by 37.2%, confirming that personalization is the primary driver of the model's performance.
  • Real-time Viability: The inference time is approximately 13.4 ms, making it suitable for deployment in vehicle edge computing systems.

Discussion and Future Work

A significant innovation of this work is the Traffic Density Label Scoring Mechanism, which addresses the "masking" effect of traffic. By assigning higher weights to behaviors observed in fluent traffic, the model obtains a cleaner behavioral "fingerprint."

Despite these gains, limitations remain. The current method for labeling driving styles relies on heuristic scoring functions that could be replaced by more automated techniques. Additionally, the model's stability under extreme scenarios, such as accidents or severe weather, requires further investigation. Future research will explore more granular style classifications beyond the current three categories to capture sub-styles within the moderate driver group.

Summary updated

BibTeX
@inproceedings{li2025personalized,
  author = {Xiang Li and Mingbao Zhang and AL Tavares and Hao Xu and Shengwei Ma},
  title = {{Personalized vehicle trajectory prediction method based on driving style classification}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-025-17088-w},
}
Figure