Skip to Content
TechnologiesTechnologies
  • Article
  • Open Access

25 August 2026

27 Pages

Driver Behavior Classification on Secondary Roads Using Machine Learning Models

,
,
and
College of Engineering and Technology, American University of the Middle East, Egaila 54200, Kuwait
*
Author to whom correspondence should be addressed.

Abstract

Most existing driver behavior classification technologies have focused on highways and other primary road infrastructures, despite secondary roads accounting for a disproportionately large number of traffic fatalities worldwide. Compared with highways, secondary roads present greater variability in road geometry, infrastructure quality, and traffic interactions, making driver behavior recognition considerably more challenging. This paper investigates the classification of driver behavior on secondary roads using machine learning techniques. Naturalistic driving data obtained from the publicly available UAH-DriveSet dataset were analyzed using two complementary feature groups describing lane detection and traffic status. Four supervised machine learning algorithms, namely, Logistic Regression (LR), gradient boosting (GB), Random Forest (RF), and Artificial Neural Networks (ANNs), were evaluated to classify driving behavior into three categories: Normal, Aggressive, and Drowsy. The extracted features were first analyzed through statistical profiling and exploratory feature analysis before training and evaluating the classification models. The experimental results show that gradient boosting consistently achieved the highest performance for both feature groups, attaining an overall classification accuracy of approximately 67% while providing balanced precision, recall, and F1-scores across all behavioral classes. Logistic regression and random forest produced competitive but lower performance, whereas the Artificial Neural Network yielded the lowest classification accuracy. The obtained results demonstrate the effectiveness of ensemble learning methods for driver behavior recognition under secondary-road conditions and highlight their potential for integration into intelligent driver monitoring and Advanced Driver Assistance Systems (ADASs). By enabling earlier identification of aggressive and drowsy driving behaviors on secondary roads, the proposed approach could support timely driver warnings and safety interventions, potentially reducing accident risk. Furthermore, the findings provide a benchmark for future machine learning models designed for real-world secondary-road environments, where driving conditions are more variable and challenging than on highways.

1. Introduction

Driving distraction often occurs due to simple reasons such as sleepiness, frustration, agitation, or other non-driving activities that lead to the lack of concentration among drivers on the road [1]. Although driving requires constant vigilance, distractions—whether due to external stimuli, physical conditions, or psychological factors—frequently compromise safety and contribute to a disproportionate share of traffic-related injuries and fatalities worldwide.
According to the National Highway Traffic Safety Administration (NHTSA), driver distraction was a factor in roughly 8% of fatal crashes in the United States and was associated with 3275 deaths in 2023 [2]. The economic toll of these incidents is equally substantial; the agency has estimated that crashes attributable to driver inattention cost the United States upward of 98 billion USD in 2019 in medical expenses, lost productivity, property damage, congestion impacts, and related costs [2,3]. Globally, the World Health Organization (WHO) has identified driver distraction as a significant contributor to the approximately 1.19 million road traffic deaths that occur each year [4].
Recent studies have quantified the behavioral consequences of specific distraction types. Distractions such as listening to music increased reaction time by 5.28% and increased crash probability by 10.57%, while talking on the phone increased reaction time by 18.45% and crash probability by 27.35% compared with normal driving [5]. Notably, hands-free telephone calls do not substantially mitigate cognitive impairment as research has demonstrated that the mental workload imposed by a conversation, rather than the physical act of holding a device, is the primary mechanism of performance degradation [6,7]. Texting while driving, widely regarded as among the most hazardous distraction behaviors, has been shown to divert a driver’s visual attention from the roadway for an average of 4.6 s; at a highway speed of 55 mph, this corresponds to traveling the length of an entire football field without observing the road ahead [8]. These distraction effects impact drivers of different ages differently. People across all age groups remain susceptible to distraction while driving [9], with slightly elevated susceptibility among younger and middle-aged drivers [10].
Building directly on this line of work, our previous study evaluated a range of supervised machine learning classifiers on naturalistic motorway data and showed that vehicle-dynamics features alone can distinguish normal, aggressive, and drowsy driving states with high accuracy [11]. More broadly, statistical, ensemble, and neural models have been widely benchmarked for driver-behavior modeling and monitoring using on-road and simulator data [12,13,14]. A recurring limitation, however, is that these models have been developed and validated almost exclusively under controlled highway conditions, leaving their transferability to secondary-road environments largely unexamined.
Despite the considerable body of work on driver behavior analysis, the majority of previous studies have been conducted using data collected on primary roads, particularly controlled highway and motorway environments, where traffic conditions are relatively homogeneous, lane markings are well defined, and data collection infrastructure is readily available [15]. While these environments simplify experimental design and facilitate model development, they introduce a significant gap in understanding driver behavior across the broader spectrum of road environments. Moreover, most existing machine learning models have been validated using datasets collected under these relatively structured highway conditions. Consequently, it remains uncertain whether the same models and feature representations can reliably characterize driver behavior on secondary roads, where driving dynamics and environmental conditions differ substantially. Secondary roads, broadly defined as non-primary routes, including rural roads, two-lane undivided carriageways, local connector roads, and peri-urban thoroughfares, exhibit considerable variability in their design and operating conditions. While some secondary roads are well maintained and provide relatively good driving conditions, others are characterized by reduced lane width, inconsistent signage, limited electronic surveillance, and lower design standards than controlled-access highways. Consequently, driving conditions on secondary roads are generally more heterogeneous than those encountered on primary road networks [16]. Despite their comparatively modest traffic volumes, secondary roads account for a disproportionate share of road traffic fatalities. In the European Union, approximately 53.1% of all road fatalities occur on rural and secondary roads [17]. Similarly, the Federal Highway Administration (FHWA) reported that rural roads account for nearly 57% of all traffic fatalities in the United States [18] (2007 figures; more recent NHTSA estimates place rural areas at over 40% of national fatalities). The particular risk profile of secondary roads arises from a combination of reduced infrastructure, reckless driving behavior, and minimal road supervision. Drivers frequently engage in secondary tasks such as mobile phone use, adjusting entertainment systems, eating, and interacting with passengers, which are strongly associated with driving errors and traffic violations [19,20]. Furthermore, highway hypnosis on monotonous rural stretches, fatigue, and stress may reduce vigilance and contribute to lane departures, delayed hazard perception, and aggressive driving behavior [21,22,23]. The geometry of secondary roads, including sharper curves, narrower shoulders, and steeper gradients, further reduces the available margin for error and increases crash severity [24]. Consequently, road departure and head-on collision rates remain significantly higher on secondary roads than on controlled-access highways [25,26].
Although secondary roads involve considerably more complex and heterogeneous driving interactions, including intersections, mixed road users, variable speed limits, and frequent lateral adjustments [27], driver behavior models remain largely calibrated using highway data [11]. Consequently, existing models may not generalize well to secondary-road environments, creating an important gap in the literature [13,14]. To the best of our knowledge, few studies have systematically compared the performance of multiple supervised machine learning algorithms specifically for driver behavior classification on secondary-road datasets. As a result, there is limited evidence regarding which models are most suitable for these more complex and safety-critical driving environments. This paper aims to address this gap by classifying driver behavior under secondary-road conditions using trajectory and lane-positioning features extracted from the UAH-DriveSet naturalistic driving dataset [28]. Unlike previous studies that primarily focus on highway scenarios, this work provides a comparative evaluation of four widely used supervised machine learning algorithms using naturalistic secondary-road driving data. This comparison establishes benchmark performance for driver behavior classification under conditions that are considerably more variable and challenging than controlled highway environments. By focusing specifically on secondary roads, this work contributes toward a more ecologically valid and safety-relevant framework for driver behavior recognition.
The rest of the paper is organized as follows. Section 2 explains the context and related work. Section 3 explains the methodology followed in this work. Section 4 presents the used database, evaluations and results. Section 5 discusses the obtained results, and Section 6 concludes the paper.

2. Background

Driver distraction is a multifaceted phenomenon comprising visual, cognitive, physical, and auditory forms [29]. Researchers commonly classify distractions into two broad categories: internal and external distractions [30]. Internal distractions arise from activities occurring within the vehicle, including eating, conversations with passengers, and the use of entertainment or navigation systems. External distractions originate from outside the vehicle, including roadside advertising panels, digital billboards, and events occurring along or adjacent to the roadway.
Research has shown that a combination of visual cues, physiological signals, and vehicle kinematics can serve as effective indicators for behavior classification [12]. Owing to the multidimensional nature of driver distraction, detection methodologies have evolved around three principal sensing modalities: vehicle control data, visual data, and physiological data.

2.1. Vehicle Control Data

In the vehicle control data modality, behavioral identification relies on the continuous monitoring of vehicle dynamics, including steering wheel activity, pedal input, throttle hold rate, and lateral lane positioning. Several researchers proposed steering wheel patterns to detect attentional state on the basis that distracted drivers exhibit measurable deviations from the smooth, anticipatory control inputs characteristic of alert driving [31]. Distracted drivers tend to increase the following distance from the leading vehicle or tend to drive faster than normal [32]. Others proposed steering wheel metrics such as steering angle, steering reversal rate, high-amplitude steering correction frequency, and steering entropy to detect abnormal behaviors [33]. Lane deviation metrics, including the standard deviation of lateral position (SDLP), have similarly demonstrated sensitivity to both fatigue-induced and cognitively induced inattention [34]. Collectively, vehicle control features offer the practical advantage of being obtainable through onboard diagnostic systems and dedicated sensors already present in modern vehicles, making them attractive for low-cost and unobtrusive deployment [35].
Compared with visual and physiological sensing modalities, vehicle control features generally provide lower implementation cost, greater robustness to environmental conditions, and easier integration into production vehicles because they rely primarily on sensors already available in modern vehicles. However, they may be less sensitive to subtle cognitive distractions that do not immediately influence vehicle dynamics. Consequently, recent studies have increasingly investigated the combination of vehicle-control data with other sensing modalities to improve classification performance while maintaining practical deployability. Table 1 shows different sensing modalities used in driver behavior classification, with their respective features, applications, advantages and limitations.
Table 1. Comparison of the principal sensing modalities for driver behavior classification.

2.2. Visual Data

In the visual data modality, driver behavior is inferred from image and video streams capturing facial expressions, ocular movements, head pose, and gross body kinematics. Eye-tracking parameters such as gaze direction, blink rate, saccadic velocity, and fixation duration are among the most frequently studied indicators because attentional displacement away from the forward roadway provides a direct measure of visual distraction [36]. Research has shown that distracted drivers exhibit significantly reduced forward gaze fixation durations and increased off-road glance frequencies, with glance durations exceeding two seconds representing a critical safety threshold [37]. Head movement analysis complements ocular measurements by providing positional cues associated with cognitive load and engagement in secondary tasks. Recent advances in deep-learning-based computer vision, particularly convolutional neural networks (CNNs), have substantially improved real-time facial action recognition and head-pose estimation under natural lighting and partial occlusion conditions [38]. Nevertheless, vision-based systems remain susceptible to performance degradation under conditions of poor illumination, occlusions caused by eyewear or headwear, and computational latency constraints in embedded platforms [39].

2.3. Physiological Data

The physiological data modality detects abnormal driver states through the analysis of biological and cardiovascular signals, particularly electroencephalography (EEG) and electrocardiography (ECG). EEG measurements have been consistently associated with increasing cognitive workload and drowsiness [40]. Likewise, heart rate variability (HRV), derived from ECG recordings, has emerged as a robust biomarker of nervous system arousal and fatigue, with reduced HRV correlating with prolonged driving and inattentive states [41]. Although physiological monitoring traditionally required direct skin-contact sensors, recent advances in wearable nano-sensors, photoplethysmography (PPG), and contactless radar-based monitoring have substantially reduced the intrusiveness of physiological data acquisition [42,43]. Furthermore, multimodal sensor fusion has become central to perception in autonomous driving, where combining complementary sensing streams improves robustness [44,45]; analogously, fusing physiological, vehicle-control, and visual signals has been reported to improve driver-state classification relative to any single modality [14]. Typical sensing modalities include:
  • Vehicle Control Data: Speed, steering angle, pedal position, throttle input, and lane deviation.
  • Visual Data: Eye tracking, gaze estimation, facial expressions, and head pose.
  • Physiological Data: EEG, ECG, heart rate variability, and wearable physiological sensing.
Consequently, physiological sensing often provides the highest sensitivity to cognitive workload and fatigue because biological signals change before abnormal vehicle control becomes apparent. However, practical deployment remains challenging owing to sensor cost, user acceptance, and privacy considerations. Consequently, many practical driver monitoring systems continue to rely primarily on vehicle-control and visual sensing despite the superior discriminative capability of physiological measurements.
Driver behavior classification has been investigated using numerous statistical, machine learning, and deep learning techniques [12,13]. Traditional approaches include Gaussian Mixture Models (GMMs), Hidden Markov Models (HMMs), Bayesian Networks (BNs), and logistic regression. More recently, Decision Trees, random forests [46], Support Vector Machines (SVMs), k-Nearest Neighbors (k-NN), gradient boosting machines (GBMs) [47], and Artificial Neural Networks (ANNs) have been widely adopted for classifying driver behavior based on vehicle dynamics, visual observations, physiological measurements, or combinations thereof. Ensemble methods such as random forests and gradient boosting are frequently reported to outperform single statistical classifiers on heterogeneous driving data owing to their capacity to model nonlinear feature interactions [46,47]. Driver behavior monitoring systems typically integrate multiple sensing platforms, including GPS receivers, cameras, inertial sensors, steering angle sensors, and ultrasonic or laser range sensors, to monitor steering patterns, lane position, vehicle velocity, and acceleration. The collected data are compared with reference models of normal driving behavior to identify abnormal or distracted driving conditions.
Although substantial progress has been achieved in driver behavior classification, most published studies have validated their approaches using highway or controlled-road datasets. Fewer studies have investigated machine learning performance under the more heterogeneous conditions encountered on secondary roads, providing the primary motivation for the present work.

3. Methodology

As discussed in the previous section, vehicle control data provide a practical and unobtrusive means of characterizing driver behavior while avoiding the complexity and deployment challenges associated with visual and physiological sensing systems. Accordingly, this work focuses on vehicle dynamics and traffic-related measurements to investigate their effectiveness for driver behavior classification on secondary roads. To identify the most suitable classification model for this task, several widely used machine learning algorithms were comparatively evaluated using two complementary groups of vehicle control features. Figure 1 illustrates the overall framework adopted in this study. The methodology utilizes two datasets that describe different aspects of the driving environment. The first dataset contains lane detection information characterizing the vehicle’s position and orientation relative to the roadway geometry, whereas the second dataset contains traffic status information describing the interactions between the ego vehicle and surrounding traffic. Following feature extraction and preprocessing, the data were used to train four machine learning classifiers, namely, logistic regression (LR), Artificial Neural Networks (ANNs), random forest (RF), and gradient boosting (GB). Finally, the trained models were evaluated using several standard classification metrics to determine the most effective approach for driver behavior recognition on secondary roads. The proposed framework was designed to evaluate the discriminative capability of two complementary categories of vehicle-control features independently. Lane detection features characterize the driver’s lateral vehicle control and lane-keeping performance, whereas traffic status features capture interactions with surrounding vehicles through distance, speed, and collision-related measurements. Evaluating these feature groups separately enables a clearer assessment of their individual contribution to driver behavior classification before considering future multimodal or feature-fusion approaches.
Figure 1. Architecture of the proposed driver behavior classification framework, showing the lane detection and traffic status datasets, feature preprocessing, machine learning classifiers, behavioral state prediction, and performance evaluation.

3.1. Feature Extraction

The extracted features were organized into two complementary categories that describe different aspects of the driving process. The first category consists of lane detection features, which characterize the vehicle’s position and orientation relative to the road geometry. The second category comprises traffic status features, which describe the interaction between the ego vehicle and surrounding traffic through distance, speed, and collision-related measurements. Together, these features provide a comprehensive representation of the driving situation and constitute the input variables used for driver behavior classification. The selected features were chosen because they directly describe driving behavior without requiring intrusive sensing equipment such as cameras or physiological sensors. Furthermore, all variables are readily obtainable from sensors commonly available in modern vehicles, making the proposed framework suitable for practical real-time implementation.

3.1.1. Lane Detection

The lane detection aspect characterizes the relationship between the vehicle and the road geometry through the following variables:
  • Timestamp (seconds);
  • Position of the vehicle relative to lane center, X (m);
  • Vehicle orientation relative to lane curvature, ϕ (degrees);
  • Lane width, Width_road (m);
  • State algorithm;
  • Driver behavioral state, status (0 = normal, 1 = aggressive, 2 = drowsy).

3.1.2. Traffic Status

The traffic status aspect focuses on vehicle interactions within the driving environment and contains the following variables:
  • Timestamp (seconds);
  • Distance to the nearest vehicle ahead, Dist_vehicle (m);
  • Estimated time to impact, Impact_time (s);
  • Number of surrounding vehicles, Num_vehicles;
  • GPS speed (km/h);
  • Driver behavioral state, status (0 = normal, 1 = aggressive, 2 = drowsy).

3.2. Classification Models

A large panel of classification methods have been used in modeling driver behavior in the literature. An extensive survey will show that most of these methods utilize statistical regression algorithms in order to classify different states of drivers based on a set of data representing certain physical aspects. Among these classification methods we can recognize probabilistic, hierarchical, and clustering algorithms. In this part, we will be discussing the used algorithms and methods in driver behavior detection in the presented study. The selected classifiers represent complementary machine learning paradigms, allowing a comprehensive comparison of their suitability for driver behavior classification. Logistic regression provides a linear statistical baseline, while Artificial Neural Networks represent nonlinear learning models, and random forest and gradient boosting are ensemble learning techniques capable of modeling complex nonlinear relationships among the driving variables. This combination enables the influence of different learning strategies on classification performance to be systematically evaluated.

3.2.1. Logistic Regression

A classical machine learning model, logistic regression algorithms have attracted rising interest with increased utilization in research. They provide the opportunity to classify distinctly different outputs based on the characteristics of the data provided. They are well suited for applications whose main objective is to analyze categorical outcome variable. Logistic regression is usually used to obtain binary regression models where the outputs are either “0” or “1”. It is a simple approach utilized when the chosen outcome is binary. Logistic regression also performs well in the three categories used in this study.

3.2.2. Artificial Neural Networks

A modern machine learning model, neural networks provide a more adaptive system to variations in data over time. Ideally used for large datasets, neural networks progressively improve from layer to layer but at the cost of increased complexity. Neural networks and other hierarchical algorithms like deep learning and SVMs are widely used in situations dealing with a large set of data and variables. The main advantages of these methods are the adaptability of the model architecture towards any application and the learning capability, which led researchers to opt to use them in almost every possible scenario. Inspired by the human brain and created to solve problems like the human brain, the architecture of these methods is defined by the interconnection of different neurons over different layers of hierarchy progressing from input data to the desired outputs. Different versions of these algorithms exist or are being developed to serve different objectives, such as recognizing hidden patterns, correlation between raw data, classification and clustering, and the possibility of creating dynamic models able to adapt to time variant situations. In this study, the ANN was included to evaluate whether a nonlinear learning model could outperform conventional statistical and ensemble learning approaches despite the relatively limited number of structured input features.

3.2.3. Gradient Boosting Classifier

Among the ensemble techniques based on the decision tree method, the gradient boosting method is based on the competition-winning concept in which weak learners are iteratively boosted by optimizing a loss function. Generally, this approach tends toward focusing on the observations that were difficult to predict in previous iterations and synthesizing an ensemble of weak learners. This approach has the ability to generate the model by optimizing a differential loss function. The gradient boosting classifier can be summarized by the following elements:
  • A loss function that depends on the problem type is formulated and used to create the prediction model. Note that a logarithmic loss function will be used in the case of building a classifier model. This boosting algorithm focuses on optimizing, at each stage, unexplained loss from prior iterations.
  • As one of their basic elements, the gradient boosting classifiers uses decision trees as a weak learner to make predictions.
  • Finally, the concept of additive models is used, in which trees are added one at a time (adding weak learners), while the existing trees in the model are not altered. Then, a gradient descent procedure is used to minimize the loss function when adding trees.
The gradient boosting algorithm can be summarized by the following steps:
(a)
Initialization:
f 0 ( x ) = arg min γ ∑ i = 1 N L ( y i , γ )
(b)
For m = 1 , 2 , … , M :
  • For i = 1 , 2 , … , N :
    r i m = − [ ∂ L ( y i , f ( x i ) ) ∂ f ( x i ) ] f = f m − 1
    –
    Fit a regression tree to the targets r i m giving terminal regions R j m , j = 1 , 2 , … , J m
    –
    For j = 1 , 2 , … , J m :
    γ j m = arg min γ ∑ x i ∈ R j m L y i , f m − 1 ( x i ) + γ
    f m ( x ) = f m − 1 ( x ) + ∑ j = 1 J m γ j m I ( x ∈ R j m )
(c)
Output:
f ^ ( x ) = f M ( x )

3.2.4. Random Forest Classifier

The random forest (RF) classifiers are considered to be among the most powerful ensemble classification techniques used frequently in the field of data science for solving countless problems across many industrial areas [46]. The random forest technique was first introduced by Breiman [46] to integrate an ensemble of randomized decision trees in order to build a prediction model. As one of the ensemble methods, the RF method relies on aggregating the results of an ensemble of decision tree estimators. Generally, decision tree classifiers suffer from high variance, in that the rules obtained by splitting the training data into two random parts to fit two decision trees are likely to be different. To deal with this technical problem, an ensemble of randomized decision trees is used to create parallel estimators while by averaging the decision trees the variance component of the obtained model will be minimized, which will eventually make the prediction close to an ideal model. Usually, the RF classifier concentrates on sampling both variables and observations of training data to synthesize independent decision trees, and then a majority voting will be applied to obtain a better classifier. The RF classifier can be summarized as follows:
  • First, M samples are selected from the training set using the bootstrapping algorithm.
  • Next, N T r e e samples are composed to form N T r e e training sets and used to train N T r e e parallel decision tree models, respectively.
  • For each decision tree model, the best split is selected from the randomly selected M T r e e feature subset. Note that no pruning of the decision tree is requested in the splitting process, and the splitting process can only be stopped when all training samples of each tree belong to the same class at the corresponding node.
  • Finally, the results obtained by these N T r e e decision trees are combined together to form one random forest model for new data prediction. Note that the Sensitivity, Out of Bag (OOB) error, accuracy, and Specificity are statistical factors to evaluate the performance of the discrimination models of the random forest algorithm. More details about these statistical factors can be found in [46].

3.3. Evaluation Metrics

The following standard set of evaluation metrics are used to evaluate the performance of the classifiers. Multiple evaluation metrics were considered because overall accuracy alone may provide misleading conclusions for imbalanced multiclass datasets. Precision, recall, F1-score, ROC analysis, and macro/micro averaging provide complementary perspectives on classifier performance, enabling a more comprehensive evaluation of the proposed models.
Accuracy: This is a common evaluation metric and was used to compare the four different classification models. Generally, accuracy is used to determine how often the predictions made are true and in favor of or against the event with respect to all the instances of the event.
Precision: This parameter is used to determine the successful predictions from all predictions made in favor of the event. It provides a variable to determine the ability to successfully predict an event.
Recall: This metric is used to determine the successful predictions from all true instances of the event. It provides a parameter to determine how true the made predictions are in favor of an event with respect to all of its instances.
F1-score: This metric gives a weighted average of the precision and recall metrics. It is the best metric for averaging out and balancing all the evaluation metrics as a whole.
ROC curve: The ROC curve provides the trade-off between the True Positive Rate (ratio of correct observations to total number of observations) and False Positive Rate (ratio of false observations to total number of observations).
Macro and micro evaluation metrics: These are evaluation metrics that are widely used when working with multi-class classification problems. Macro evaluation computes the average of each class evaluation metric such as precision. Micro evaluation focuses on the data from each class and computes its metric with respect to the entire data.
It should be noted that the dataset used in this paper is imbalanced in terms of the output classes. Therefore, micro evaluation metrics would provide a better understanding of the performance of the models. Therefore, both macro and micro evaluation metrics are reported to provide a balanced assessment of classifier performance across all behavioral classes while accounting for the class imbalance present in the dataset.

4. Evaluations and Results

The effectiveness of the proposed driver behavior classification approach was evaluated through a comprehensive analysis of the extracted features and the corresponding classification models. Following a description of the dataset, the lane detection and traffic status features were first examined through comparative and statistical analyses to better understand their characteristics and discriminative potential. The two feature groups were then evaluated independently using several machine learning algorithms, allowing the influence of each feature category on driver behavior classification performance to be assessed and compared.

4.1. The UAH-DriveSet Dataset

The present study utilizes the UAH-DriveSet dataset [28], a publicly available naturalistic driving dataset developed for intelligent transportation and driver behavior research. The dataset contains more than 500 min of driving data collected from six drivers operating different vehicles under varying road and traffic conditions. Similar to the previous motorway-based study, the dataset includes three driver behavioral states: normal, aggressive and drowsy driving. However, the current work focuses exclusively on the secondary-road subset of the dataset. Figure 2 illustrates a representative secondary-road driving scene similar to those encountered in the UAH-DriveSet dataset used throughout this study. Figure 2 illustrates a representative secondary-road driving scene from those encountered in the UAH-DriveSet dataset [28] used throughout this study.
Figure 2. Example of a secondary-road segment from the UAH-DriveSet dataset [28] illustrating one representative driving environment. Secondary roads encompass a wide range of infrastructure and traffic conditions, and the illustrated road does not represent all possible secondary-road characteristics.
Secondary roads present a significantly different driving environment compared to motorways. They are generally characterized by narrower lanes, reduced infrastructure support, lower design speeds, more frequent road curvature and increased interaction with surrounding road users. These characteristics introduce additional complexity into driver behavior analysis and classification tasks.
Two processed datasets derived from the original UAH-DriveSet [28] recordings were employed. The first dataset describes vehicle positioning relative to the road geometry and is referred to as the “lane detection” dataset. The second dataset focuses on interactions between the target vehicle and surrounding traffic and is referred to as the “traffic status” dataset. The lane detection dataset contains 261,093 samples with an average lateral lane position of − 0.036 m and an average lane width of approximately 3.04 m. The mean orientation angle relative to lane curvature is − 0.019 ° , indicating that most driving instances occur close to the lane center with limited heading deviation. The traffic status dataset contains 66,064 samples. The average distance to the nearest vehicle is 8.79 m, while the average GPS speed is approximately 89.44 km/h. The mean number of surrounding vehicles is 0.40, reflecting the lower traffic density encountered on secondary roads. Both datasets were randomized prior to model development to ensure that machine learning classifiers were trained and evaluated on representative distributions of the three behavioral classes.

4.2. Feature Comparison, Profiling and Analysis

To investigate the relationship between the selected variables and the target behavioral classes, pairwise feature comparisons were performed using pairplot visualizations for both datasets, as shown in Figure 3 and Figure 4.
Figure 3. Pairplot of the lane detection dataset. Pairwise relationships among lateral position (X), vehicle orientation ( ϕ ), lane width (Width_road), State_algorithm and driver behavioral state for secondary-road driving conditions.
Figure 4. Pairplot of the traffic status dataset. Pairwise relationships among distance to the leading vehicle (Dist_vehicle), impact time (Impact_time), number of surrounding vehicles (Num_vehicles), GPS speed and driver behavioral state for secondary-road driving conditions.

4.2.1. Feature Comparison

  • Lane Detection Dataset:
The pairplot analysis reveals several distinctive relationships between vehicle positioning features and driver behavioral states. Figure 3 illustrates the pairwise relationships among the lane detection variables. The lateral position variable X exhibits clear clustering around the lane center for all driving conditions. However, aggressive and drowsy driving instances demonstrate a wider spread around the central region, suggesting increased lateral deviation and reduced lane-keeping consistency. The orientation variable ϕ remains concentrated around zero degrees for most observations, indicating that drivers generally maintain alignment with lane curvature. Nevertheless, a greater dispersion can be observed in aggressive and drowsy driving samples, reflecting abrupt steering corrections and reduced directional stability. Lane width remains concentrated around values between 2.5 m and 5 m, which is consistent with the geometric characteristics of secondary roads. Aggressive driving instances appear more frequently across wider lane configurations, while drowsy driving observations demonstrate larger variability in lane positioning regardless of lane width. The relationship between the State_algorithm variable and the target classes indicates a meaningful separation among behavioral categories, suggesting that the feature contributes useful discriminative information for classification.
  • Traffic Status Dataset:
The traffic status pairplot reveals several important relationships between vehicle interaction variables and driver behavior. Figure 4 presents the pairwise relationships among the traffic status variables. A strong positive correlation can be observed between Dist_vehicle and Impact_time. As the distance to the leading vehicle increases, the estimated collision time increases proportionally. This relationship is expected and confirms the consistency of the recorded traffic measurements. The number of surrounding vehicles remains relatively low throughout the dataset, reflecting the lower traffic density typical of secondary-road environments. Nevertheless, aggressive driving instances appear across all vehicle-count categories, suggesting that aggressive behavior is influenced by factors beyond local traffic density alone. GPS speed exhibits a near-normal distribution centered around moderate travel speeds. Aggressive driving samples are more frequently associated with higher speed values, while drowsy driving observations appear across a broader speed range. This indicates that speed alone is insufficient to characterize driver state but provides useful complementary information when combined with other variables. The distribution of traffic-related features demonstrates substantial overlap among behavioral classes, highlighting the need for advanced machine learning methods capable of identifying complex nonlinear relationships within the data.

4.2.2. Profiling

Comprehensive profiling of both datasets was conducted to evaluate feature distributions, variability and potential anomalies. The lane detection dataset exhibits stable distributions for lane position, orientation and lane width. Most observations are concentrated around the lane center and small orientation angles, indicating that drivers generally maintain stable vehicle trajectories during normal operation. Similarly, the traffic status dataset demonstrates realistic distributions for vehicle spacing, impact time and speed measurements. While several extreme values are present, these observations correspond to rare traffic situations and are retained to preserve the naturalistic nature of the dataset. No significant missing-value patterns were observed in either dataset. The distributions confirm that the datasets are suitable for supervised machine learning applications without requiring extensive imputation procedures.

4.2.3. Analysis

The feature analysis indicates that secondary-road driving behavior exhibits distinct characteristics compared to motorway driving. Compared to the motorway dataset analyzed in previous work, the secondary-road dataset exhibits greater variability in lane-positioning behavior and stronger fluctuations in vehicle interaction features. This difference is primarily attributed to narrower lane geometries, increased road curvature and more heterogeneous traffic conditions. These factors increase the complexity of driver-state identification and further justify the need for robust machine learning approaches capable of modeling nonlinear relationships.
Lane-related variables provide strong indicators of driver state, particularly through lateral position and vehicle orientation. Drowsy drivers tend to demonstrate greater lane-position variability, whereas aggressive drivers frequently exhibit larger directional changes and speed variations. Traffic-related variables provide complementary information regarding driver interaction with surrounding vehicles. The combination of vehicle spacing, impact time, traffic density and speed contributes valuable contextual information that improves behavioral classification performance.
Overall, the exploratory analysis confirms that both lane-related and traffic-related features contain substantial discriminatory information for identifying driver behavioral states. While individual variables exhibit overlap among classes, their combined representation forms a feature space capable of distinguishing normal, aggressive and drowsy driving conditions. These findings provide strong justification for the application of ensemble machine learning methods, particularly gradient boosting and random forests, which are well suited for capturing the nonlinear interactions observed within the secondary-road driving environment.

4.3. Lane Detection-Based Results

The model was run on all the samples from the parameters of the “lane detection” dataset using each of the machine learning algorithms presented in the previous section. The results are presented through the plots and the numerical outcomes observed from the used evaluation metrics.

4.3.1. Logistic Regression Classifier

The model was run on Python 3 with an initial focus on accuracy. The logistic regression model from the “sci-kit library” was run on our data. A range of values for the parameters “solver”, and “C” (regularization parameter) were used to run the model. These values were run in a loop to find the closest to ideal logistic regression model and its corresponding parameter values for the dataset at hand. Once the preferred parameter values were obtained (C = 0.5, solver = “lbfgs”), all the evaluation metrics of interest, in addition to accuracy, were determined. The visual representation is shown in Figure 5.
Figure 5. Logistic regression simulation results: precision–recall curve.
It can be observed from Figure 5 that there is significant lack of consistency between the precision–recall curves of each class. It seems to rise for class 0 (normal) and then stays steady while it drops for classes 1 and 2 (aggressive and drowsy). This is more evident in Table 2. The values also do not seem to show any pattern that can be used to reference future test values. The ROC curves do not provide encouraging results as well. The curve approaches the diagonal and therefore points to a low performance.
Table 2. Multi-class evaluation metrics—logistic regression classifier—lane detection.
Furthermore, it is clear to see that in the breakdown of class-wise precision, recall and F1-scores, the values of recall and F1-score of class 1 (aggressive cases) are very poor. This is a significant anomaly. One would expect the model with poor scores to have either underfit, in such case the class with the least data samples (aggressive) would have poor metrics, or to have overfit, in such case the class with maximum samples (drowsy) would have poor metrics. This is not observed, which further highlights the poor performance of this algorithm.

4.3.2. Gradient Boosting

The classifier ran the model through the data after adjusting certain parameters. These parameters are specifically for the gradient boosting classifier used on Python. The number of estimators and the learning rate are the parameters that were run over a range of values, and the parametric values that gave the best accuracy results (number of estimators = 400 and learning rate = 0.015) for the gradient boosting classifier on the data were used to determine the remaining evaluation metrics. The precision–recall curve is a very good representation of the results. They are presented in Figure 6 and Table 3.
Figure 6. Gradient boosting simulation results: precision–recall curve.
Table 3. Multi-class evaluation metrics—gradient boosting classifier—lane detection.
Two characteristics stand out here. The classes have a consistency in their precision–recall curves, and their relation is almost linear giving a good transition from high precision to high recall. This, therefore, results in a good F1-score. More importantly, it is observed that the lowest precision–recall curve and correspondingly lowest F1-score are found in the aggressive class (class 1). This is understandable given the smaller set of samples in the aggressive state, yet we observe almost equal metric values across all classes. The inclination of all the ROC curves to the top left corner indicates a high performance. These are backed by the area values for each ROC curve. The high scores in each class also points to how well the algorithm has adapted to the different classes and give encouraging results.
The comparable precision, recall and F1-scores overall are very encouraging because they point to a high likelihood of having avoided both underfitting and overfitting. It can be further noticed that the scores are also consistent among each class. They are much improved compared to the results from logistic regression. The lower score in this class as discussed above most likely stems from the fewer sample points that were available for this class. The high micro-average precision–recall score demonstrates that the model performed well on such an imbalanced data in term of sample points per class.

4.3.3. Random Forests

For this classifier, the parameters used to maximize the output accuracy are: criterion, class_weight, max_depth, and min_samples_leaf. The model random forest classifier from the Anaconda distribution of Python was run over a range of values for each parameter in individual loops. A plot was made in each case to observe the values for each parameter that provided a high accuracy without overfitting the data. The final set of values used for the parameters of the classifier are the following: criterion is “Entropy”, class_weight is 0 to 0.5 and 1 to 0.5, max_depth is 5 and min_samples_leaf is 5. The corresponding results are presented in Figure 7 and Table 4.
Figure 7. Random forest simulation results: precision–recall curve.
Table 4. Multi-class evaluation metrics—random forest classifier—lane detection.
Similar to the precision–recall curve of gradient boosting, there is a continuous relation for the metrics of all three classes, except for an initial drop for class 1 (aggressive), and the curves seem to approach linearity. The steep drop in precision with increase in recall is one characteristic that stands out as unfavorable. The instability should preferably be avoided. As can be observed in Figure 7, the precision–recall curves for all classes individually as well as for the whole dataset show a poor trade-off between precision and recall. An encouraging score for one metric provides a poor score with the other metric.
The random forest model also provides a consistent set of precision, recall and F1-scores, leading to decrease the possibility of both underfitting and overfitting. The class-wise scores are also decent. However, it can be observed that there is a significant variation in the metrics across the different classes. There is also a significant drop in recall and F1-scores for class 0 (normal). This is understandable given the large number of samples in this class.

4.3.4. Neural Networks

The model was run with deep neural networks, making use of two hidden layers with 24 units in each layer for one test and 48 units per layer in a second test. The “Adam” optimizer was used, and the algorithm was run with batches of 40 for a range of 10–50 epochs. The “relu” function was used for the hidden layers, and the “sigmoid” function was used for the output layer. The overall classifier model accuracy is never greater than 0.30. Multiple epochs, varied number of layers and multiple other parameters run independently as well as together provide an accuracy of 0.3 at best. The vast and yet highly varied datasets with different sample counts result in an overall poor result.

4.3.5. Results Comparison

To compare the performance of the classifiers used, and taking into consideration the nature of the imbalanced dataset, all metric values in the previous tables are combined into a single overall score for each classifier.
Generally, there are several ways to obtain a single performance score for each classifier. In our case, the overall accuracy, which is the ratio between the true predictions made by classifiers over the overall instances, was initially used to evaluate each classifier and obtain the best parameters for each. Another important score is the macro score, which represents a simple arithmetic mean value (in which equal weights are given to all classes) of the scores of each class. It was also used to evaluate the performance of all algorithms. Moreover, the weighted score can be useful to compare the performance of the classifiers used as this metric weights the score of each class using the number of its samples. Lastly, the micro score was also used to perform the comparison. The micro score considers all the samples from each class and determines the performance score rather than the average of the scores from each class like in the case of macro scores. This is particularly useful for determining the performance of a model on imbalanced datasets like the one considered in this paper.
Table 5 shows that the gradient boosting algorithm outperforms the ANN, RF, and LR classifiers. This is due to its flexibility and efficiency in using clone decision trees, where all scores of this algorithm are greater than the other classifiers. The gradient boosting algorithm has the ability to provide certain consistency across all classes. On the other hand, the ANN classifier has the worst accuracy results as all of its metric scores are less than 0.4 (40%). The RF classifier shows acceptable accuracy compared to the logistic regression classifier, for which all metric scores are more than 50%.
Table 5. Lane detection—results comparison.

4.4. Traffic-Status-Based Results

The model was run on all the samples from the parameters of the “Traffic Status” dataset using each of the machine learning algorithms discussed. The results are presented through the plots and the numerical outcomes observed from the used evaluation metrics.

4.4.1. Logistic Regression

The algorithm was run on a range of values for the parameters “solver” and “C” (regularization parameter), similarly to the “lane detection” dataset. These values were run in a loop to find the most ideal logistic regression model and its corresponding parameter values for the dataset at hand. Once the preferred parameter values were obtained (C = 0.5, solver = ‘lbfgs’), all the evaluation metrics of interest in addition to accuracy were determined. The visual representation is shown in Figure 8.
Figure 8. Logistic regression simulation results: precision–recall curve.
Similar to the results noted in the precision–recall curves of the “lane detection” dataset, the curves across all three curves are highly inconsistent and varied. However, in Figure 8, precision–recall curves consistent with the amount of data in each class are observed. It is also observed that the aggressive class (class 1) shows a precision–recall curve that differs from those of the other two classes. The curves suggest the likelihood of the normal class data having been overfit with a much larger sample ratio than those of the remaining two classes.
Table 6 shows the evaluation metrics obtained with the present evaluation. The overall metric scores are inconsistent on an overall scale as well as across the different classes. However, the scores are high in comparison to the metrics we observed during the modeling of the primary roads dataset. The model does not seem to be providing a highly encouraging classification system. The aggressive class metrics as observed show impressive results relative to the drowsy and aggressive classes. This clearly suggests the model operates well on a smaller sample set but underfits as the number increases.
Table 6. Multi-class evaluation metrics—logistic regression classifier—traffic status.

4.4.2. Gradient Boosting

A similar process to that followed with the “lane detection” data was carried out with the “Traffic Status” data to obtain nearly ideal values for the parameters “number of estimators” and “learning rate” in the gradient boosting classifier. Both numeric and graphical results are presented in Figure 9 and Table 7.
Figure 9. Gradient boosting simulation results: precision–recall curve.
Table 7. Multi-class evaluation metrics—gradient boosting classifier—traffic status.
Promising results from precision–recall curves can be observed with a high average precision–recall curve for all three classes combined as well. The precision–recall curve for class 1 (aggressive) is understandable given the smaller set of sample points. We also observe that the micro-average precision–recall curve score is high, giving a good indication of how the algorithm adapted to a multi-class model well. Similar inferences can be made from the ROC curves, except class 1 (aggressive), which is high and approaching the top left extreme. The comparable ROC curve scores illustrate the robustness of the algorithm across various classes.
The model is highly consistent, across all classes and on average, with highly encouraging metric scores. The data samples in each class are not of the same count, and despite this, the model seems to be providing consistent and much improved metrics both against the same dataset as well as the previously conducted modeling on the primary roads (Highways).

4.4.3. Random Forests

The same set of parameters were used for the random forest classifier, and the final values for each that give the best results are also the same as those for the “lane detection” dataset. The results are listed and plotted in Table 8 and Figure 10.
Table 8. Multi-class evaluation metrics—random forest classifier—traffic status.
Figure 10. Random forests simulation results: precision–recall curve.
The results are very similar in characteristics to those obtained with the “lane detection” dataset. We obtained encouraging metric curves but with slightly too steep linear relations as observed in Figure 10. The class 1 curve is quite different from the rest. In the ROC curve it can be noticed that the area is average. The curves are inclined to the top left extreme at the middle which is preferred, but the variation is too steep and short-lived. Here again, the ability of the model to be able to provide consistent results has to be questioned.
The random forest metrics above suggest good metrics as well, but they are quite varied with precision, recall and F1-score, giving different levels of performance. It can also be noted that the performance across the classes are also quite unevenly distributed.

4.4.4. Neural Networks

The starting network parameters are the same as those used for “lane detection” dataset. The number of epochs and batch size are varied over the same range. Similar results to those observed with the “lane detection” dataset could be observed with the overall model accuracy not exceeding 0.29. Also, multiple epochs, varied number of layers and multiple other parameters, including the activation functions, run independently as well as together in loops, provide an accuracy at best of 0.29. The vast and yet highly varied datasets, with different sample counts, result in poor overall results again.

4.4.5. Result Comparison

Similarly to the results obtained using the lane detection dataset, the gradient boosting algorithm outperformed all other classifiers; its micro precision score reached 0.67 (67%) as indicated in Table 9. Moreover, the ANN classifier provided the worst accuracy results as all of its metric scores were less than 0.3 (30%). Again, the RF classifier showed improvements compared to lane detection dataset results and provided an acceptable accuracy compared to the LR classifier with metric scores of more than 67%. The logistic regression classifier did not perform better than GB and RF classifiers, yet it showed some accuracy improvements compared to lane detection dataset results and provided acceptable metric scores (more than 53%). The focus on micro scores is in keeping with the need for a metric that accounts for imbalanced datasets.
Table 9. Traffic status—results comparison.

5. Discussion

The results of this study demonstrate that vehicle control data provide sufficient information to accurately classify driver behavior under secondary-road driving conditions. As discussed in the Background Section, vehicle control features constitute one of the three principal sensing modalities used for driver behavior recognition and offer the practical advantages of being non-intrusive, inexpensive, and readily available through sensors already integrated into modern vehicles. The encouraging classification performance obtained in this work confirms that meaningful behavioral information can be extracted from vehicle dynamics alone, without relying on cameras or physiological sensing equipment.
Among the evaluated machine learning algorithms, gradient boosting consistently achieved the highest performance for both the lane detection and traffic status datasets. Its balanced precision, recall, and F1-scores across the three behavioral classes indicate a strong ability to generalize despite the class imbalance present in the dataset. The superior performance of gradient boosting is attributed to its ensemble learning strategy, which effectively models the nonlinear relationships among driving variables. This observation is consistent with the exploratory feature analysis, where considerable overlap between the behavioral classes was observed, making linear separation difficult. Consequently, logistic regression exhibited lower performance, while random forest, although competitive, produced larger variations among the behavioral classes. The Artificial Neural Network achieved the lowest accuracy, suggesting that the adopted network architecture and the relatively small number of structured input features were insufficient to fully exploit the learning capability of deep neural networks.
The comparable results obtained using the lane detection and traffic status datasets further demonstrate that both feature groups independently contain valuable information for driver behavior recognition. Lane detection features primarily characterize the driver’s ability to maintain stable lateral vehicle control, whereas traffic status features describe the interaction between the ego vehicle and surrounding traffic through vehicle spacing, impact time, and speed measurements. Their similar classification performance suggests that the two feature groups capture complementary aspects of driving behavior and that combining them through feature-level or decision-level fusion may further improve classification accuracy.
An important contribution of this work is the evaluation of driver behavior classification under secondary-road conditions. Most previous studies have concentrated on highways or other controlled road environments, where road geometry, lane markings, and traffic conditions are relatively homogeneous. Secondary roads present considerably greater variability in road geometry, traffic interactions, and infrastructure quality, making behavior recognition inherently more challenging. Consequently, driver behavior classification models developed and evaluated on primary road datasets often report higher classification performance owing to the more structured driving environment and lower variability in vehicle interactions. In contrast, the more heterogeneous characteristics of secondary roads increase the complexity of the classification task, making direct comparisons in terms of accuracy less meaningful without considering the underlying driving conditions. Nevertheless, the obtained results demonstrate that robust machine learning techniques, particularly ensemble learning methods, remain effective under these more realistic driving conditions. Although the overall classification accuracy achieved in this study is lower than that commonly reported for highway-based investigations, the results indicate that gradient boosting maintains reliable and balanced performance despite the increased complexity of secondary-road environments. This finding suggests that the proposed framework is sufficiently robust for practical driver behavior recognition under conditions that more closely resemble everyday driving scenarios. This finding contributes toward addressing the research gap identified in the Introduction and supports the development of intelligent driver monitoring systems specifically designed for secondary-road environments.
Although the obtained results are encouraging, several limitations should be acknowledged. The present study considered only vehicle control features and evaluated the lane detection and traffic status datasets independently. Furthermore, the experiments were performed using a single publicly available naturalistic driving dataset collected under a limited range of driving conditions. In addition, the UAH-DriveSet dataset categorizes driver behavior into only three predefined classes, namely, normal, aggressive, and drowsy driving. Although these categories are appropriate for evaluating and comparing machine learning algorithms, they do not encompass the full spectrum of real-world driving behaviors, such as distracted, impaired, or defensive driving. Consequently, the findings of this study should be interpreted within the scope of the behavioral classes provided by the dataset. Moreover, these limitations may restrict the generalizability of the reported classification performance to other driving environments, driver populations, and datasets with different behavioral definitions or sensing modalities. Future research should therefore investigate multimodal driver behavior classification by combining vehicle control data with visual and physiological sensing modalities, as discussed in the Background Section. Such multimodal systems have previously demonstrated improved classification performance and may further enhance the robustness and reliability of driver monitoring systems. Future studies should also evaluate the proposed framework using datasets containing a broader range of behavioral categories to assess its applicability to more comprehensive driver behavior recognition tasks. In addition, future work should investigate temporal deep learning architectures and validate the proposed framework using larger and more diverse datasets collected with different road geometries, traffic conditions, weather conditions, and driver populations.

6. Conclusions

This paper investigated the use of machine learning techniques for driver behavior classification under secondary-road driving conditions. Two complementary feature groups, namely, lane detection and traffic status features, were analyzed to identify normal, aggressive, and drowsy driving behaviors. Exploratory analysis demonstrated that both feature categories contain meaningful discriminatory information despite the overlap observed among individual variables.
Four machine learning algorithms were evaluated independently using each feature group. Among the investigated classifiers, gradient boosting consistently achieved the best overall performance for both datasets, providing the highest accuracy together with balanced precision, recall, and F1-scores across the three behavioral classes. The superior performance of gradient boosting can be attributed to its iterative ensemble learning strategy, which progressively corrects the errors of previous weak learners and effectively captures the complex nonlinear relationships among the extracted vehicle-control features. Logistic regression and random forests produced acceptable results but exhibited limitations in modeling the complex relationships among the extracted features, while the Artificial Neural Network showed the lowest classification performance. The lower performance of the ANN suggests that for structured tabular vehicle-control data of this scale, increasing model complexity does not necessarily translate into improved classification performance. The comparable results obtained using the lane detection and traffic status datasets indicate that both feature groups provide valuable and complementary information for driver behavior recognition.
Overall, the results demonstrate that gradient boosting constitutes a robust and effective solution for driver behavior classification on secondary roads. The experimental results obtained using two independent feature groups consistently support this conclusion, demonstrating that the proposed framework remains effective across different representations of vehicle behavior. The proposed framework has potential applications in intelligent driver monitoring systems and Advanced Driver Assistance Systems (ADASs), where early detection of aggressive and drowsy driving can contribute to improving road safety.
From a managerial perspective, the findings provide practical guidance for transportation agencies, vehicle manufacturers, fleet operators, and developers of intelligent transportation systems by identifying gradient boosting as the most effective machine learning model among those evaluated for driver behavior classification on secondary roads. The results can support the design and deployment of more reliable driver monitoring and ADAS solutions, assist fleet managers in identifying high-risk driving behaviors to enable targeted training and intervention, and help road safety authorities develop evidence-based strategies for reducing accidents on secondary roads.
Future work will investigate the fusion of lane detection and traffic status features within a unified classification framework and evaluate additional vehicle dynamics variables. Further research will also explore temporal deep learning architectures, including LSTM and Transformer-based models, together with multimodal approaches that integrate vehicle dynamics, visual information, and physiological signals. Finally, validation on larger and more diverse datasets collected under different traffic, weather, and road conditions will be conducted to improve the generalization and practical applicability of the proposed system.

Author Contributions

Conceptualization, R.G. and Z.A.B.; methodology, A.J.P. and R.G. and Z.A.B.; software A.J.P.; validation, A.J.P. and R.G. and Z.A.B. and K.Y.; formal analysis, A.J.P. and R.G. and Z.A.B. and K.Y.; investigation, A.J.P. and R.G. and Z.A.B. and K.Y.; resources, A.J.P. and R.G.; data curation, A.J.P. and R.G. and Z.A.B. and K.Y.; writing—original draft preparation, A.J.P. and R.G. and Z.A.B.; writing—review and editing, A.J.P. and R.G. and Z.A.B. and K.Y.; visualization, A.J.P. and R.G. and Z.A.B. and K.Y.; supervision, R.G. and Z.A.B.; project administration, R.G. and Z.A.B.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ghandour, R.; Potams, A.J.; Neji, B.; Barakeh, Z.A. Driver Distraction and Stress Detection Systems: A Review. Int. J. Eng. Appl. Sci. (IJEAS) 2020, 7, 1–7. [Google Scholar] [CrossRef] [Scilit]
  2. National Highway Traffic Safety Administration (NHTSA). Distracted Driving in 2023, Traffic Safety Facts Research Note, April 2025. Available online: https://crashstats.nhtsa.dot.gov/Api/Public/ViewPublication/813703 (accessed on 20 March 2026).
  3. Blincoe, L.; Miller, T.R.; Zaloshnja, J.; Lawrence, B.A. The Economic and Societal Impact of Motor Vehicle Crashes; 2019 (Revised); Report No. DOT HS 813 403; National Highway Traffic Safety Administration: Washington, DC, USA, 2023.
  4. World Health Oganization (WHO). Global Status Report on Road Safety 2023; Bloomberg Philanthropies: Geneva, Switzerland, 2023. [Google Scholar]
  5. Chouhan, R.; Dhamaniya, A.; Rao, A.M.; Gupta, K. Quantifying the relationship between auditory distractions, reaction time, and crash probability. IATSS Res. 2025, 49, 60–71. [Google Scholar] [CrossRef] [Scilit]
  6. Strayer, D.L.; Johnston, W.A. Driven To Distraction: Dual-Task Studies of Simulated Driving and Conversing on a Cellular Telephone. Psychol. Sci. 2001, 12, 462–467. [Google Scholar] [CrossRef] [Scilit]
  7. Reimer, B.; Mehler, B.; Coughlin, J.F.; Roy, N.; Dusek, J.A. The impact of a naturalistic hands-free cellular phone task on heart rate and simulated driving performance in two age groups. Transp. Res. Part F Traffic Psychol. Behav. 2011, 14, 13–25. [Google Scholar] [CrossRef] [Scilit]
  8. National Highway Traffic Safety Administration (NHTSA). Distracted Driving. Available online: https://www.nhtsa.gov/risky-driving/distracted-driving (accessed on 20 March 2026).
  9. Pope, C.N.; Bell, T.R.; Stavrinos, D. Mechanisms behind distracted driving behavior: The role of age and executive function in the engagement of distracted driving. Accid. Anal. Prev. 2017, 98, 123–129. [Google Scholar] [CrossRef] [Scilit]
  10. Cox, A.E.; Cicchino, J.B.; Reagan, I.J.; Zuby, D.S. Prevalence of distracted driving by driver characteristics in the United States. J. Saf. Res. 2023, 86, 346–356. [Google Scholar] [CrossRef] [Scilit]
  11. Ghandour, R.; Potams, A.J.; Bulkaibet, I.; Neji, B.; Barakeh, Z.A. Driver Behavior Classification Using Machine Learning Methods. Appl. Sci. 2021, 11, 10562. [Google Scholar] [CrossRef] [Scilit]
  12. Kaplan, S.; Guvensan, M.A.; Yavuz, A.G.; Karalurt, Y. Driver behavior analysis for safe driving: A survey. IEEE Trans. Intell. Transp. Syst. 2015, 16, 3017–3032. [Google Scholar] [CrossRef] [Scilit]
  13. Miyajima, C.; Takeda, K. Driver-Behavior Modeling Using On-Road Driving Data: A New Application for Behavior Signal Processing. IEEE Signal Process. Mag. 2016, 33, 14–21. [Google Scholar] [CrossRef] [Scilit]
  14. Khan, M.Q.; Lee, S. A Comprehensive Survey of Driving Monitoring and Assistance Systems. Sensors 2019, 19, 2574. [Google Scholar] [CrossRef] [Scilit]
  15. Michalaki, P.; Quddus, M.A.; Pitfield, D.; Huetson, A. Exploring the factors affecting motorway accident severity in England using the generalised ordered logistic regression model. J. Saf. Res. 2015, 55, 89–97. [Google Scholar] [CrossRef] [Scilit]
  16. Tsigdinos, S.; Salamouras, G.; Chatziioannou, I.; Bakogiannis, E.; Nikitas, A. A worldwide review of formal national street classification plans enhanced via an analytical hierarchy process: Street classification as a tool for more sustainable cities. Cities 2024, 154, 105371. [Google Scholar] [CrossRef] [Scilit]
  17. Pauer, G.; Ötvös, V. Road safety trends in the European Union and Hungary. Eur. Transp. Stud. 2025, 2, 100047. [Google Scholar] [CrossRef] [Scilit]
  18. Available online: https://highways.dot.gov/safety/local-rural/implementing-high-risk-rural-roads-program/2-national-overview-rural-roadway (accessed on 20 March 2026).
  19. Precht, L.; Keinath, A.; Krems, J.F. Identifying the main factors contributing to driving errors and traffic violations—Results from naturalistic driving data. Transp. Res. Part F Traffic Psychol. Behav. 2017, 49, 49–92. [Google Scholar] [CrossRef] [Scilit]
  20. Precht, L.; Keinath, A.; Krems, J.F. Identifying effects of driving and secondary task demands, passenger presence, and driver characteristics on driving errors and traffic violations—Using naturalistic driving data segments preceding both safety critical events and matched baselines. Transp. Res. Part F Traffic Psychol. Behav. 2017, 51, 103–144. [Google Scholar] [CrossRef] [Scilit]
  21. Cerezuela, G.P.; Tejero, P.; Chóliz, M.; Chisvert, M.; Monteagudo, M.J. Wertheim’s hypothesis on ‘highway hypnosis’: Empirical evidence from a study on motorway and conventional road driving. Accid. Anal. Prev. 2004, 36, 1045–1054. [Google Scholar] [CrossRef] [Scilit]
  22. Larue, G.S.; Rakotonirainy, A.; Pettitt, A.N. Driving performance impairments due to hypovigilance on monotonous roads. Accid. Anal. Prev. 2011, 43, 2037–2046. [Google Scholar] [CrossRef] [Scilit]
  23. Shi, H.; Chen, L.; Wang, X.; Wang, B.; Wang, G.; Zhong, F. Research on Recognition of Road Hypnosis in the Typical Monotonous Scene. Sensors 2023, 23, 1701. [Google Scholar] [CrossRef] [Scilit]
  24. Yin, Y.; Wen, H.; Sun, L.; Hou, W. Study on the Influence of Road Geometry on Vehicle Lateral Instability. J. Adv. Transp. 2020, 2020, 7943739. [Google Scholar] [CrossRef] [Scilit]
  25. Rahman, M.A.; Sun, X.; Das, S.; Khanal, S. Exploring the influential factors of roadway departure crashes on rural two-lane highways with logit model and association rules mining. Int. J. Transp. Sci. Technol. 2021, 10, 167–183. [Google Scholar] [CrossRef] [Scilit]
  26. Rahman, F.; Zhang, X.; Chen, M. Evaluating Effect of Operating Speed on Crashes of Rural Two-Lane Highways. J. Adv. Transp. 2023, 2023, 2882951. [Google Scholar] [CrossRef] [Scilit]
  27. Mallikarjuna, C.; Rao, K.R. Heterogeneous traffic flow modelling: A complete methodology. Transportmetrica 2011, 7, 321–345. [Google Scholar] [CrossRef] [Scilit]
  28. Romera, E.; Bergasa, L.M.; Arroyo, R. Need data for driver behaviour analysis? Presenting the public UAH-DriveSet. In 2016 IEEE 19th International Conference on Intelligent Transportation Systems (ITSC); IEEE Press: Piscataway, NJ, US, 2016; pp. 387–392. [Google Scholar] [CrossRef] [Scilit]
  29. Li, G.; Yuan, Y.; Ouyang, D.; Zhang, L.; Yuan, B.; Chang, X. Driver Distraction From the EEG Perspective: A Review. IEEE Sens. J. 2024, 24, 2329–2349. [Google Scholar] [CrossRef] [Scilit]
  30. Hinton, J.; Oviedo-Trespalacios, O.; Watson, B.; Haworth, N. Beyond the billboard: A review of other external sources of driver distraction. Accid. Anal. Prev. 2024, 208, 107771. [Google Scholar] [CrossRef] [Scilit]
  31. Kountouriotis, G.K.; Spyridakos, P.; Carsten, O.M.J.; Merat, N. Identifying cognitive distraction using steering wheel reversal rates. Accid. Anal. Prev. 2016, 96, 39–45. [Google Scholar] [CrossRef] [Scilit]
  32. Kountouriotis, G.K.; Merat, N. Leading to distraction: Driver distraction, lead car, and road environment. Accid. Anal. Prev. 2016, 89, 22–30. [Google Scholar] [CrossRef] [Scilit]
  33. Chang, N.; Dong, C.; Zhu, S.; Li, P.; Li, X.; Xia, L.; Yan, X. Towards recognizing cognitive distraction levels with low-cost and high-sensitive measures: The effectiveness of sample, approximate, and traditional steering entropies. Transp. Res. Part F Traffic Psychol. Behav. 2025, 109, 1063–1079. [Google Scholar] [CrossRef] [Scilit]
  34. Verster, J.; Roth, T. Standard operation procedures for conducting the on-the-road driving test, and measurement of the standard deviation of lateral position (SDLP). Int. J. Gen. Med. 2011, 4, 359–371. [Google Scholar] [CrossRef] [Scilit]
  35. Michailidis, E.T.; Panagiotopoulou, A.; Papadakis, A. A Review of OBD-II-Based Machine Learning Applications for Sustainable, Efficient, Secure, and Safe Vehicle Driving. Sensors 2025, 25, 4057. [Google Scholar] [CrossRef] [Scilit]
  36. Cvahte Ojstersek, T.; Topolsek, D. Eye tracking use in researching driver distraction: A scientometric and qualitative literature review approach. J. Eye Mov. Res. 2019, 12, 18. [Google Scholar] [CrossRef] [Scilit]
  37. Grahn, H.; Taipalus, T. Refining distraction potential testing guidelines by considering differences in glancing behavior. Transp. Res. Part F Traffic Psychol. Behav. 2021, 79, 23–34. [Google Scholar] [CrossRef] [Scilit]
  38. Naqvi, R.A.; Arsalan, M.; Batchuluun, G.; Yoon, H.S.; Park, K.R. Deep Learning-Based Gaze Detection System for Automobile Drivers Using a NIR Camera Sensor. Sensors 2018, 18, 456. [Google Scholar] [CrossRef] [Scilit]
  39. Zhu, Z.; Ji, Q. Robust real-time eye detection and tracking under variable lighting conditions and various face orientations. Comput. Vis. Image Underst. 2005, 98, 124–154. [Google Scholar] [CrossRef] [Scilit]
  40. Li, X.; Yang, L.; Yan, X. An exploratory study of drivers’ EEG response during emergent collision avoidance. J. Saf. Res. 2022, 82, 241–250. [Google Scholar] [CrossRef] [Scilit]
  41. Michail, E.; Kokonozi, A.; Chouvarda, I.; Maglaveras, N. EEG and HRV markers of sleepiness and loss of control during car driving. In Proceedings of the 2008 30th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Vancouver, BC, Canada, 20–25 August 2008; pp. 2566–2569. [Google Scholar] [CrossRef] [Scilit]
  42. Melders, L.; Smigins, R.; Birkavs, A. Recent Advances in Vehicle Driver Health Monitoring Systems. Sensors 2025, 25, 1812. [Google Scholar] [CrossRef] [Scilit]
  43. Sriranga, A.K.; Lu, Q.; Birrell, S.A. A Deep Learning-Based Contactless Driver State Monitoring Radar System for In-Vehicle Physiological Applications. IEEE Trans. Intell. Transp. Syst. 2025, 26, 9491–9499. [Google Scholar] [CrossRef] [Scilit]
  44. Wang, H.; Liu, J.; Dong, H.; Shao, Z. A Survey of the Multi-Sensor Fusion Object Detection Task in Autonomous Driving. Sensors 2025, 25, 2794. [Google Scholar] [CrossRef] [Scilit]
  45. Qian, H.; Wang, M.; Zhu, M.; Wang, H. A Review of Multi-Sensor Fusion in Autonomous Driving. Sensors 2025, 25, 6033. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  46. Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
  47. Natekin, A.; Knoll, A. Gradient Boosting Machines, a Tutorial. Front. Neurorobot. 2013, 7, 21. [Google Scholar] [CrossRef] [Scilit]
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.