Abstract
At uncontrolled intersections, screening traffic interactions using a fixed post-encroachment time (PET) threshold can flag controlled passages as conflicts. We developed a Dual-Threshold Controlled Filtering Model (DTC-FM) to reduce false alarms while retaining interactions with very short PET values for expert review. DTC-FM flags interactions with PET ≤ 1.0 s directly as conflicts. For interactions with 1.0 < PET ≤ 3.0 s, an ensemble classifier uses PET, speed, distance, approach angle, and road-user class derived from unmanned aerial vehicle recordings. On a set of 502 interactions previously examined during model development, DTC-FM reduced false alarms from 374 to 28 (92.51%) relative to screening with a single 3.0 s PET threshold, while missing 30 of the 128 expert-labeled conflicts. When each of the two intersections served in turn as the test site and the other as the training site, recall was 65.1% at Intersection A and 82.1% at Intersection B. DTC-FM can help traffic engineers prioritize interactions for review in long-duration video recordings. Half of the missed conflicts had PET values between 2.5 and 3.0 s (2.5 < PET ≤ 3.0 s), suggesting that experts should also review a sample of interactions classified as normal near the upper threshold.
1. Introduction
Traffic collisions on road transportation networks continue to be a serious problem globally due to the public health and socio-economic losses they cause [1]. In urban road networks, intersections stand out as critical areas in terms of collision risk due to the convergence of different traffic flows and the concentration of conflict points [2,3]. Traditional road safety assessments are reactive, relying on statistical analysis of past collision data. However, the infrequent occurrence of collisions, the lengthy data collection processes, and deficiencies in collision reports make it difficult to implement preventive engineering measures in a timely manner [4,5]. At uncontrolled intersections, more frequent safety assessments are particularly important where conflicts recur during crossing or turning movements. The Traffic Conflicts Technique (TCT) allows road-user interactions to be examined before sufficient crash data have accumulated [6,7]. Applying this technique at regular intervals can reveal which movements consistently give rise to conflicts. These observations can inform an assessment of whether signalization is warranted when considered alongside traffic volumes, pedestrian activity, and the physical characteristics of the intersection [8].
Recent advancements in Unmanned Aerial Vehicles (UAVs) and deep learning-based computer vision algorithms have made it possible to automatically extract vehicle and pedestrian trajectories with high spatial and temporal resolution. These developments have made it possible to proactively assess traffic conflicts and potential safety risks through Surrogate Safety Measures (SSMs) derived from trajectory data, providing an alternative to conventional reactive approaches based on historical crash data [9]. However, one of the key methodological challenges in proactive safety assessments based on SSMs is the determination of an appropriate threshold value (λ) for time-based metrics such as Post-Encroachment Time (PET) and Time-to-Collision (TTC). A review of the literature reveals that researchers often assume a fixed threshold value based on past studies without providing sufficient justification [10]. In some studies, attempts have been made to develop various methods to determine more appropriate threshold values by establishing correlations with collision data [11,12,13]. However, this study draws attention to a fundamental limitation of the ongoing search for optimal thresholds: even when the most appropriate threshold value is methodologically determined, it cannot be assumed that all events falling below this threshold represent genuine or meaningful real traffic conflicts.
In other words, the threshold problem is not simply a “finding the right value” problem. At road intersections, controlled low-speed maneuvers, yielding behavior toward other road users, safe pedestrian crossings, and cautious approaches involving mutual awareness between road users may be mathematically labeled as “conflicts” solely because of their temporal proximity (i.e., low TTC or PET values), despite involving an extremely low level of actual risk. This situation, stemming from the traditional single/fixed threshold assumption, leads to an excessive number of false alarms (false positives) in automated analysis systems and seriously undermines the reliability of the analysis results. Mahmud et al. [14] reviewed the thresholds used for proximity-based safety indicators and examined the applications and limitations of each indicator. In a field study at five unsignalized intersections, Singh et al. [15] considered vehicle speed alongside PET when evaluating crossing maneuvers. The video recordings from this study illustrate how interactions with identical PET values can receive different expert labels. Both interactions in the first pair had a PET of 1.97 s, and both in the second pair had a PET of 2.43 s. In each pair, experts classified one interaction as a conflict and the other as a normal passage (see Videos S1–S4 in the Supplementary Materials).
Therefore, established threshold values can serve as an initial screening tool, but additional information is needed to distinguish conflicts from controlled interactions within the resulting candidate pool. To address this problem, this study develops a Dual-Threshold Controlled Filtering Model (DTC-FM). The framework uses an upper PET threshold to define candidate interactions and a lower threshold to assign conflict labels directly to a restricted subset. Interactions between these thresholds are evaluated by a supervised Filtering Model using kinematic, geometric, and road-user-class features. The lower threshold is treated as an adjustable operating parameter, and its classification consequences are examined separately from the performance of the learned filter.
Previous studies have used speed and maneuver information alongside PET to improve the assessment of interactions with short PET values. At uncontrolled intersections, it remains unclear how routing candidates with very short PET values directly to expert review affects the trade-off between missed conflicts and false alarms. The main objective of this study is to reduce false alarms in PET-based conflict identification using microscopic trajectory data obtained from UAV observations at road intersections. The main methodological contribution is a filtering approach that retains interactions with very short PET values for review while reducing false alarms among the remaining candidates. The effects of these two decisions are evaluated separately. The evaluation compares conventional PET screening, learned filtering, and the complete DTC-FM architecture to determine how the lower-threshold rule affects classification outcomes and the number of interactions eligible to bypass the learned classifier. On the same 502 interactions, DTC-FM reduced the number of false alarms from 374 under conventional PET screening (PET ≤ 3.0 s) to 28 and detected 98 of the 128 expert-labeled conflicts. The second contribution is the provision of an expert-labeled dataset containing 2508 traffic interactions [16], all observed at two uncontrolled intersections in Türkiye. The road-user detection stage used imagery from 11 intersections, with 753,653 road-user instances annotated across 17,876 frames. Image data from this stage are available through the TrafficDrone repository [17].
The remainder of this paper is organized as follows. Section 2 reviews the literature on surrogate safety measures and threshold-based conflict classification. Section 3 presents the proposed methodology, including data collection, feature engineering, and the DTC-FM architecture. Section 4 reports classification performance, examines how the model components and thresholds affect classification decisions, describes the missed conflicts, and presents the results of cross-intersection evaluation. Section 5 discusses the findings in relation to the existing literature, and Section 6 concludes the paper with implications for practice and directions for future research.
2. Literature Review
Traffic conflict is defined as an observable interaction where two or more road users come dangerously close to each other in time and space, and if the current state of movement continues, there is a probability of a collision [6]. The Traffic Conflicts Technique (TCT) provides a way to collect observations over relatively short periods at locations of safety concern, particularly where crashes are infrequent or crash records are incomplete [6,18]. In TCT applications, two main approaches are employed to obtain data: micro-simulation models and field-based video data. While simulation models provide flexibility in testing new intersection designs or autonomous vehicle strategies [19,20], uncertainties arising from calibration processes can lead to deviations from actual field conditions. Aerial video processed using computer vision allows road-user movements to be examined directly under observed traffic conditions. In particular, the increasing use of UAVs has accelerated proactive safety assessments by enabling the extraction of vehicle and pedestrian trajectories at intersections with high spatial accuracy [21,22].
The SSMs calculated from these trajectories have become fundamental tools for quantifying the proximity of interactions to potential collisions and assessing their associated risk levels [10]. In the literature, PET and TTC are generally regarded as the primary time-based metrics [23], whereas deceleration-based measures focus on the severity of maneuvers, and energy-based metrics focus on the potential severity of collisions [24]. PET represents the time interval between the moment when the first road user leaves the conflict point and the moment when the second road user reaches the same point. Applications include the assessment of right-turning vehicle–pedestrian conflicts [25], interactions at unsignalized intersections [26], pedestrian crossings [27], and conflicts between left-turning and opposing through vehicles [28].
The most critical methodological challenge encountered in SSM-based safety analyses is determining the threshold value that allows an interaction to be labeled as a conflict. The thresholds reported in the literature vary with the indicator, the maneuver, and the purpose of the assessment [10]. Applications of time-based indicators range from early work on near-miss identification [29] to the estimation of crash modification factors [30] and the assessment of dilemma-zone conflicts at signalized intersections [31]. Even within studies using PET, thresholds serve different purposes. Peesapati et al. [28] found that a 1 s PET threshold yielded the strongest association with opposing left-turn crashes at four-leg signalized intersections. Zhang et al. [32], in their analysis of pedestrian–vehicle interactions at signalized intersections, classified PET values between 3 and 6 s as slight conflicts and treated values above 6 s as safe interactions. The approach of establishing correlations with crash data to determine appropriate threshold values has also been explored. However, its reliability remains limited due to deficiencies and reporting biases in collision reports [11,12,13].
On the other hand, considering speed, intersection geometry, and environmental factors, a fixed and singular threshold value cannot adapt to different traffic and driving characteristics. Controlled low-speed maneuvers, predictive decelerations, yielding behavior, and safe pedestrian crossings at road intersections may be labeled as “conflicts” solely because they fall below the defined fixed TTC threshold, even though they do not actually pose a meaningful danger. This limitation of conventional approaches, particularly in automated analysis systems, can result in a high rate of false positives, substantially undermining the reliability of the analysis outputs. To overcome this problem, the literature has increasingly shifted toward multiparametric classification approaches that consider multiple traffic variables and behavioral attributes of road users, rather than relying on a single metric or fixed threshold value. Shirazi and Morris [33] reviewed approaches to intersection monitoring, behavior analysis, and safety assessment. Hasain and Ahmed [34] incorporated vehicle speed and stopping distance into their assessment of conflicts under heterogeneous traffic conditions. From a behavioral perspective, Kathuria and Vedagiri [35] classified pedestrian–vehicle interactions into three groups based on whether road users took evasive action.
Other studies have examined PET together with traffic conditions and additional measures of interaction severity. Islam et al. [36] analyzed UAV-derived PET levels in relation to signal timing, while Ranjan et al. [37] combined PET-based screening with speed and braking-distance criteria under heterogeneous traffic conditions. Naseralavi et al. [38] developed an ordinal risk-assessment framework and found that the association between speed and risk varied across risk levels. These approaches provide further support for evaluating traffic interactions using information beyond temporal proximity alone.
Recent studies have used contextual information for different purposes. Sengupta et al. [39] examined automatically detected interactions involving motor vehicles and pedestrians or cyclists at 15 signalized intersections. They used PET, road-user speeds and movements, and signal state to predict which interactions would be confirmed as conflicts. Hula et al. [40] used trajectory data from an urban intersection to examine the likelihood of a critical interaction and the spatial variation in conflict angles, considering variables such as speed, acceleration, and the distance between road users. In the Knowledge PET3D framework, Pettirsch and Garcia-Hernandez [41] combined three-dimensional trajectories from thermal video with maneuver-specific traffic rules and observed behavioral responses to select events for expert review.
These studies show how speed, maneuvers, and yielding behavior can inform the assessment of interactions with low PET values. At uncontrolled intersections, a filter that uses these characteristics may also exclude some interactions with low PET values that experts classify as conflicts. To examine this possibility, we compared two decision rules on the same candidate interactions. The first applied the Filtering Model to every candidate. The second directly flagged candidates with PET values at or below the lower threshold as conflicts and applied the same filter to the remaining candidates. This comparison showed how many expert-labeled conflicts the lower-threshold rule recovered and how many additional normal interactions it flagged.
3. Methodology
3.1. DTC-FM Processing Steps
Traffic conflict analysis with DTC-FM begins by extracting road-user trajectories from UAV video and using the PET values calculated from those trajectories to identify candidate interactions. Candidates with PET values at or below the lower threshold are flagged directly as conflicts. For the remaining candidates, the Filtering Model uses road-user motion, interaction geometry, and road-user classes to distinguish traffic conflicts from normal interactions. During model development, the Filtering Model learns this distinction from interactions labeled by experts. Figure 1 shows how a new video is processed, from road-user detection and tracking through to the compilation of the predicted conflict dataset.
Figure 1.
Workflow for identifying traffic conflicts using DTC-FM.
As shown in Figure 1, DTC-FM processes a new video in four steps:
- Step 1: Road users are detected and classified in the UAV video. Their positions are tracked across frames to obtain individual trajectories.
- Step 2: PET and interaction features are calculated for pairs of road users whose trajectories intersect. Interactions with PET values at or below the upper threshold (PET ≤ λu) enter the candidate pool.
- Step 3: Candidates with (PET ≤ λL) are flagged directly as conflicts. For candidates with (λL < PET ≤ λU), the Filtering Model estimates the probability of a conflict. A candidate is classified as a traffic conflict if this probability is at or above the decision threshold τ, and as a normal interaction otherwise.
- Step 4: Interactions flagged directly by the lower-threshold rule and those classified as conflicts by the Filtering Model are combined into a single output dataset.
3.2. UAV Video Data, Road User Detection, and Trajectory Extraction
The research team recorded UAV footage at 11 intersections with different geometric layouts in Türkiye to develop the road user detection model. The team manually annotated road users in 17,876 frames extracted from these recordings to create the dataset used to train and evaluate the detector. The flights were conducted at altitudes of 60–120 m and covered three-leg intersections, four-leg intersections, and roundabouts. Figure 2 shows aerial views of six of the 11 sites to illustrate the range of intersection geometries. The TrafficDrone image dataset is publicly available [17].
Figure 2.
UAV images from six of the 11 intersections surveyed for road user detection. Panels (a,b) show Y-shaped three-leg intersections, panel (c) shows a four-leg intersection, and panels (d–f) show intersections with central islands of different sizes and layouts.
The interactions used to train and evaluate the DTC-FM filtering model were labeled by experts using video recordings from two uncontrolled intersections. Section 3.4 presents UAV images of these two sites and describes their geometry.
Ten road user classes were defined based on field needs: Pedestrian, Bicycle, Scooter, Motorcycle, Passenger Car, Medium Commercial Vehicle (MCV), Bus, Truck, Trailer, and Emergency Vehicle (EV). All object labels in the dataset were manually performed using Roboflow [42]. By maintaining a fully vertical (top-down) viewing angle during UAV flights, the visual information that could allow for the direct identification of individuals in the images is limited, thus protecting personal privacy. The dataset used to develop the detector was divided into three subsets: 70% Training (12,514 frames), 10% Validation (1787 frames), and 20% Testing (3575 frames). A total of 753,653 objects were labeled in the dataset, and the distribution of objects according to classes and subsets of the dataset is presented in Table 1.
Table 1.
Numerical distribution of road user classes in the dataset.
Different generations of the YOLO architecture (YOLOv5, YOLOv7, YOLOv9, YOLOv10, and YOLOv11) were trained on the generated dataset with equal hyperparameters and evaluated on the test set. Overall, the YOLOv11x model demonstrated the highest detection rate with 87.9% Accuracy (A), 85.3% Sensitivity (R), and 87.6% mAP@50. Class-based analyses showed high performance in large-scale vehicles such as passenger cars (99.1% mAP), MCVs (99.3% mAP), and buses (99.1% mAP); however, detection rates were relatively lower in pedestrian (66.3% mAP) and bicycle (69.9% mAP) classes, which occupy a smaller pixel area in the images. Detailed architectural comparisons, hyperparameter configurations, and performance metrics of all developed YOLO models are included in the study [43].
To improve the detection sensitivity of small objects, the input resolution in the trajectory processing pipeline was increased to 1280 × 1280 pixels, and temporal continuity was supported by the BoT-SORT tracking algorithm [44]. The resulting trajectories were used to calculate PET and the kinematic and geometric features required by DTC-FM. These features provide information about road-user motion and interaction conditions beyond temporal proximity, although their accuracy remains dependent on object detection, tracking, and the conversion of image coordinates into physical measurements.
3.3. Surrogate Safety Measure (PET) and Feature Calculation
Within the scope of this study, Post-Encroachment Time (PET) was used as the primary Surrogate Safety Measure (SSM). PET is defined as the time interval between the moment when the first road user leaves the conflict point and the moment when the second road user reaches the same point [23]. Low PET values indicate that the two road users passed through the same point in close succession. PET is widely used in research such as identifying critical situations at uncontrolled intersections [26], estimating pedestrian-vehicle interactions [27], evaluating left-turn movements [28], and analyzing the risks of signalized intersections [45].
In the theoretical calculation process of the PET metric, first, continuous trajectories are created by deriving the center points from the corner coordinates of the detection box of each object using time sequences, and geometric intersection points are determined on the trajectories of all object pairs. In pairs where the intersection point is determined, the raw PET duration is obtained by dividing the frame difference between the positions where both objects are closest to this point by the video frame rate (FPS). However, since considering only the center points would neglect the physical dimensions of the vehicles, a size correction factor is calculated using the dimensions and instantaneous speeds of the interacting road-user classes, and this factor is subtracted from the raw time to obtain the final PET value. The image scale is used in this size correction.
Interactions with PET values at or below the upper threshold (, where s) are recorded as candidate conflicts. For each candidate, the tracking IDs of the two road users (), the coordinates of the trajectory intersection point (), the road user classes (), and the time-stamped positions of both users are recorded. This basic data provides the basis for generating the kinematic, geometric, and categorical conflict features that will be fed into the Filter Model. For each video, we calculated the dimensions of the area covered on the ground using the recorded relative flight altitude and the camera’s horizontal and vertical fields of view. After applying an altitude-dependent scale correction, we matched the four image corners to their calculated ground-plane coordinates to derive a homography matrix. We used this matrix to transform the tracked road users’ image coordinates into ground-plane coordinates in meters and estimate their speeds. The minimum distance between the two road users, , is expressed in meters. The target distance measured in the image plane, , is used as a model input in pixels. The number of pixels corresponding to a given physical distance therefore depends on the image scale. The mathematical derivation of the features for candidate conflicts, feature engineering transformations, and the details of the two-stage feature selection processes is discussed in detail under Section 3.5.
3.4. Study Sites and Expert Annotation
The interactions used to develop and evaluate the Filtering Model were recorded at two uncontrolled intersections, one in Adana and the other in Samsun, Türkiye (Figure 3). The sites were selected because the heavy traffic observed during field visits was expected to provide frequent opportunities to observe potential conflicts. Intersection A in Adana has four legs. Intersection B in Samsun has three legs, with traffic circulating around a central island.
Figure 3.
UAV views of the two uncontrolled intersections where interactions were recorded for expert annotation. (a) Intersection A, Adana (36.983137° N, 35.322331° E). (b) Intersection B, Samsun (41.279269° N, 36.332233° E).
Two experts from the research team independently reviewed the video clip for each candidate interaction. Using the observable behaviors listed in Table 2, each expert classified the interaction as either a traffic conflict or a normal interaction. When both experts assigned the same label, it was recorded as the final decision. When their initial labels differed, they reviewed the clip together, discussed the behaviors underlying their decisions, and agreed on a final label. The labels distinguish traffic conflicts from normal interactions and do not indicate the severity of individual conflicts.
Table 2.
Observable behaviors used in expert annotation and their corresponding interaction classes.
Of the 2553 candidate records, 45 were excluded because at least one required model input was missing. The resulting dataset comprised 2508 expert-labeled interactions [16], including 1867 normal interactions (74.4%) and 641 traffic conflicts (25.6%). The experts classified 361 of the 1166 interactions at Intersection A and 280 of the 1342 interactions at Intersection B as traffic conflicts. These counts refer to interaction records. The same pair of road users could appear in more than one record.
3.5. Filter Model Training
The Filtering Model (FM) is designed to distinguish expert-labeled traffic conflicts from normal interactions within the PET-based candidate pool. Its development consists of three main stages: establishing the target labels through expert assessment of observed road-user behavior, selecting and preprocessing the numerical and categorical input features, and fitting an ensemble classifier. For the complete DTC-FM architecture, the trained Filtering Model evaluates interactions between the lower and upper PET thresholds. It is also applied to the entire candidate pool in the component comparison to examine the effect of the lower-threshold bypass rule.
3.5.1. Feature Engineering, Preprocessing, and Feature Selection
The candidate feature pool comprised nine numerical variables obtained from trajectory and interaction records, four derived numerical features, and two categorical variables identifying the classes of the interacting road users. The numerical inputs represented temporal proximity, road-user motion, interaction geometry, and the number of objects in the interaction frame. Table 3 summarizes the preliminary variables.
Table 3.
Preliminary numerical and categorical variables used to construct the candidate feature pool.
Four derived numerical features were calculated to provide alternative representations of temporal proximity and image-plane distance. Their definitions are presented in Table 4, where ε = 10−6 prevents division by zero. The distance-based transformations were calculated from dpx, measured in pixels, rather than from the metric distance dmin. These features were treated as candidate predictors; their inclusion does not establish a physical relationship between their values and collision risk.
Table 4.
Mathematical definitions of the derived numerical features.
The resulting numerical candidate pool contained 13 variables. Road-user classes were represented using two separate categorical inputs, C1 and C2. One-hot encoding was fitted to the training data independently for each input. Five categories were observed for the first road user and four for the second, producing nine encoded columns. Previously unseen categories were handled using the encoder’s ignore option.
Feature selection was used to reduce irrelevant and redundant numerical inputs, following the general rationale reviewed by Chandrashekar and Sahin [46]. Numerical features were selected using recursive feature elimination with cross-validation (RFECV) [47]. At each elimination step, a Random Forest with a fixed number of 50 trees ranked the remaining features by importance. Starting with all 13 numerical candidates, RFECV removed the least important feature at each step until three remained. Feature subsets ranging from 3 to 13 variables were evaluated using five-fold stratified cross-validation. The number of features was selected on the basis of the highest mean F1 score for the conflict class. Within each RFECV training fold, StandardScaler was fitted before the Random Forest estimator. Categorical inputs were excluded from RFECV and retained separately.
The numerical variables selected by RFECV were subsequently standardized and assessed using an absolute Pearson correlation threshold of |r| ≥ 0.80. For each highly correlated pair still under consideration, the variable with lower Random Forest feature importance was removed. In the model fitted to the 2006-sample training partition, RFECV retained 11 numerical variables, and correlation filtering removed four further variables. The Pearson correlation between and in the training partition was 0.957, exceeding the 0.80 threshold. The Random Forest importance score was 0.1689 for and 0.0980 for , so the correlation filter retained and removed . The resulting seven numerical inputs and the selection outcomes are summarized in Table 5.
Table 5.
Numerical feature selection outcomes for the model fitted to the complete training partition.
The final numerical feature vector was therefore Combining these seven variables with the nine one-hot encoded class indicators produced a 16-dimensional input vector for the ensemble classifier. Feature selection was repeated within each training fold during out-of-fold prediction generation; consequently, the selected numerical subset could differ between folds. Table 5 describes the model subsequently fitted to the complete training partition.
The preprocessing and feature selection operations are summarized in Table 6. Standardization parameters, category definitions, and feature selection decisions were learned from the relevant training data. Borderline-SMOTE was applied after feature processing, using only the training partition supplied to each model fit.
Table 6.
Preprocessing and feature selection operations used in the model.
In Equations (1) and (2), the numerical entries denote their standardized values. The vectors and contain the five and four one-hot encoded class indicators for the first and second road users, respectively.
3.5.2. Determining the Filter Model Architecture and Parameters
An ensemble classifier combining Random Forest, XGBoost, and CatBoost was used to distinguish expert-labeled traffic conflicts from normal interactions. Random Forest combines randomized decision trees through bagging [48], whereas XGBoost and CatBoost employ gradient-boosted tree architectures [49,50]. Their predicted conflict probabilities were combined using weighted soft voting [51].
Class imbalance was addressed using Borderline-SMOTE with the borderline-1 configuration [52]. The procedure was applied to the combined numerical and one-hot encoded training inputs after feature selection and preprocessing. Synthetic samples were generated only during model fitting; validation and evaluation observations retained their original class distributions.
Optuna was used for hyperparameter optimization during model development [53]. The resulting learner parameters and voting weights were held fixed during probability-threshold selection and evaluation and are presented in Table 7. Numerical feature selection was performed within each fit of the common model pipeline.
Table 7.
Fixed learner parameters and voting weights used in model training and evaluation.
The ensemble conflict probability was calculated as the normalized weighted average of the three learners’ predictions, as expressed in Equation (3). The weights were 1.310, 1.091, and 1.784 for Random Forest, XGBoost, and CatBoost, respectively.
Here, , , and denote the conflict probabilities predicted by Random Forest, XGBoost, and CatBoost, respectively, for interaction . The term denotes the combined ensemble probability.
The 2508 labeled interactions were divided into a stratified training partition of 2006 samples and an evaluation partition of 502 samples, using a random seed of 42. Decision-threshold selection was performed exclusively within the training partition. Five-fold stratified cross-validation generated out-of-fold probabilities, so each training observation received a prediction from a model fitted without that observation.
Within each outer training fold, numerical feature selection, scaling, correlation filtering, categorical encoding, Borderline-SMOTE, and classifier fitting were performed using only that fold’s training observations. RFECV used a separate internal five-fold stratified cross-validation procedure. The same model-building function was used for out-of-fold prediction generation and subsequent fitting to the complete training partition.
Candidate probability thresholds from 0.01 to 0.99, in increments of 0.01, were evaluated using the pooled out-of-fold predictions. The threshold maximizing the conflict-class F1-score was selected; ties were resolved by selecting the lower threshold. This procedure selected τ = 0.53, with an out-of-fold F1-score of 0.7385, precision of 0.7287, and recall of 0.7485. These values describe the threshold-selection results and are not independent estimates of final model performance.
After threshold selection, the common pipeline was fitted to all 2006 training observations, and the selected threshold was held fixed during evaluation. The Filtering Model decision rule is given in Equation (4).
A predicted label of 1 indicates a traffic conflict, whereas 0 indicates a normal interaction. Equation (4) defines the learned Filtering Model decision. In the complete DTC-FM, candidates with are classified directly as traffic conflicts. Equation (4) is applied to candidates with The selected probability threshold maximized the out-of-fold F1-score of the Filtering Model applied to the entire candidate pool. It was not separately optimized for the complete DTC-FM architecture. Both configurations were evaluated using the same fixed threshold to examine the effect of the lower-PET bypass rule. Because the 502-sample evaluation partition had also been examined during model development, we conducted a separate evaluation to assess performance at an intersection whose records had not been used for training. We trained the model on records from Intersection A and tested it on Intersection B, then reversed the roles of the two intersections.
The Python 3.12.7 code for model development, training-based decision-threshold selection, and final evaluation is provided in the supplementary code package (DTC_FM_Supplementary_Code.zip), together with a README describing the execution workflow, software dependencies, and access to the input dataset.
3.6. Application of the Dual-Threshold Decision Rule
DTC-FM uses two PET thresholds to retain interactions with very low PET values and limit the number of candidates requiring further assessment. Interactions at or below the lower PET threshold () are flagged directly as traffic conflicts. The upper PET threshold () defines the candidate pool. The Filtering Model therefore assesses only candidates with PET values above the lower threshold and at or below the upper threshold.
During the preliminary video review, extending the screening window beyond 3.0 s identified many instances in which the second road user reached the shared area several seconds after the first had left. In these cases, neither road user showed a visible response to the other. Based on this observation, the upper PET threshold for candidate screening was set at 3.0 s.
With the upper and lower PET thresholds set at 3.0 s and 1.0 s, respectively, the decision rule is applied as follows:
- PET ≤ 1.0 s. The interaction is flagged directly as a traffic conflict.
- 1.0 s < PET ≤ 3.0 s. The Filtering Model classifies the interaction as a traffic conflict if its predicted conflict probability pi is at or above the decision threshold τ, and as a normal interaction otherwise.
- PET > 3.0 s. The interaction is excluded from the candidate pool. Because expert labeling was limited to this pool, the available data cannot establish how many conflicts occurred above the upper threshold.
The conventional PET rule, which classifies every interaction with as a conflict, served as the baseline for evaluating DTC-FM on the same 502 records. To assess the contribution of the lower PET threshold, the same candidates were first classified using the Filtering Model alone and then with the lower-threshold rule applied at different settings. The fitted model, its probability threshold, and the upper PET threshold were held fixed. Changes in classification at each setting were compared with the expert labels. At 1.0 s, interactions with very low PET values could be flagged directly while preserving the classifications obtained with the Filtering Model alone. Higher thresholds produced more false alarms. On the basis of this exploratory comparison, 1.0 s was selected as the lower PET threshold for this study. Section 4.2.2 presents the detailed threshold comparison. Section 4.5 reports the results of training the model at one intersection and testing it at the other in both directions.
4. Experimental Results and Performance Evaluation
The practical value of DTC-FM depends on how well it filters out normal interactions flagged by the PET criterion while retaining interactions that experts identify as conflicts. We first examine how the components of the Filtering Model contribute to these two outcomes. We then assess how the lower PET threshold affects classification decisions, how closely DTC-FM predictions agree with expert labels, and which conflicts the model misses. Finally, we examine how a model trained at one intersection performs at the other.
4.1. Classifier Comparison and Ablation Experiments
The Filtering Model uses a soft-voting ensemble that combines the predictions of Random Forest, XGBoost, and CatBoost. To assess what combining the classifiers contributed, we compared the number of conflicts detected and false alarms generated by the ensemble with the corresponding counts for each classifier. We then conducted ablation experiments to examine the contributions of two training steps, oversampling with Borderline-SMOTE and feature selection. All comparisons used the same 502 interactions, of which the experts labeled 128 as conflicts and 374 as normal interactions. The probability threshold was fixed at τ = 0.53 throughout.
Panel A of Table 8 presents the ensemble used in the main evaluation and the three classifiers fitted as part of that ensemble. For the ablation experiments in Panel B, we retrained the ensemble on the same training records under three conditions. The first included both Borderline-SMOTE and feature selection. The second omitted only Borderline-SMOTE, and the third omitted only feature selection. With both steps included, the retrained ensemble differed from the original ensemble on five of the 502 classification decisions. We therefore used the retrained ensemble in the first row of Panel B as the reference for both ablation comparisons.
Table 8.
Results of the classifier comparison and ablation experiments.
Random Forest detected 104 of the 128 expert-labeled conflicts and achieved the highest recall. The ensemble detected 98 conflicts and generated 28 false alarms. Using Random Forest would therefore have identified six more conflicts at the cost of flagging 11 more normal interactions for review. CatBoost showed a similar trade-off, detecting two more conflicts than the ensemble and generating six more false alarms. XGBoost generated the same number of false alarms as the ensemble but detected three fewer conflicts. The ensemble achieved the highest precision and F1 score among the four classifiers. Its F1 score (0.7717) was close to that of Random Forest (0.7675), although the two classifiers differed in how many conflicts they missed and how many normal interactions they flagged.
The clearest effect of Borderline-SMOTE was on missed conflicts. With feature selection included in both training runs, oversampling reduced the number of missed conflicts from 40 to 29 and increased recall from 68.8% to 77.3%. False alarms increased from 21 to 30. At the selected probability threshold, the ensemble trained with Borderline-SMOTE thus detected 11 more expert-labeled conflicts while flagging nine more normal interactions for review.
Feature selection had its clearest effect on false alarms. With Borderline-SMOTE included in both training runs, feature selection reduced the number of false alarms from 36 to 30, while the number of conflicts detected increased from 98 to 99. On these 502 interactions, the two training steps therefore made distinct contributions. Borderline-SMOTE helped the ensemble detect more conflicts, while feature selection reduced the number of normal interactions requiring review and maintained conflict detection.
4.2. Threshold Sensitivity Analyses
In Section 4.1, we compared the classifiers at a common probability threshold. Here, we first examine how changing that threshold affects the number of expert-labeled conflicts the Filtering Model detects and the number of normal interactions it flags. We then hold the probability threshold fixed and vary the lower PET threshold to determine how many additional conflicts the direct classification rule captures and how many additional false alarms it introduces.
4.2.1. Probability Decision Threshold
The probability decision threshold, τ, was examined using pooled out-of-fold predictions from five-fold stratified cross-validation within the 2006-sample training partition. This analysis concerns the Filtering Model’s probability threshold and is distinct from the lower PET threshold, λL, which controls direct classification in the DTC-FM architecture.
Thresholds from 0.01 to 0.99 were evaluated in increments of 0.01. Figure 4 presents the corresponding precision, recall, and F1-score curves. At the default threshold of τ = 0.50, the pooled out-of-fold predictions yielded a precision of 0.7090, recall of 0.7505, and F1-score of 0.7292. The highest F1-score within the examined grid was obtained at τ = 0.53, with precision of 0.7287, recall of 0.7485, and an F1-score of 0.7385.
Figure 4.
Precision, recall, and F1-score across probability decision thresholds, calculated from pooled five-fold out-of-fold predictions within the training partition.
Increasing the probability threshold from 0.50 to 0.53 increased precision by 1.97 percentage points and reduced recall by 0.20 percentage points in the training-based analysis. It was subsequently held fixed when fitting the model to the complete training partition and evaluating the Filtering Model and DTC-FM configurations reported in Table 9. The values in Figure 4 describe threshold selection and should not be interpreted as independent validation performance.
Table 9.
Classification performance of conventional PET screening, the Filtering Model, and DTC-FM configurations on the previously examined 502-sample evaluation partition.
The evaluation compared five configurations on the same 502-sample partition, comprising 374 expert-labeled normal interactions and 128 traffic conflicts. All observations belonged to the PET ≤ 3.0 s candidate pool. The configurations included the conventional PET rule, the Filtering Model at probability thresholds of τ = 0.50 and τ = 0.53, and the complete DTC-FM architecture with lower PET thresholds of λL = 1.0 s and λL = 1.5 s.
The Filtering Model configurations used the same fitted ensemble and differed only in their probability thresholds. Both DTC-FM configurations used τ = 0.53 and directly assigned a conflict label to interactions at or below their respective lower PET thresholds. Interactions above the lower threshold were classified using the Filtering Model. The λL = 1.0 s configuration was examined as part of the exploratory lower-threshold sensitivity analysis.
The conventional PET rule classified every candidate interaction as a conflict, achieving a recall of 1.0000 but generating 374 false positives. At τ = 0.53, the Filtering Model reduced false positives to 28, corresponding to a 92.51% reduction. It correctly detected 98 of the 128 expert-labeled conflicts, yielding a precision of 0.7778, recall of 0.7656, and F1-score of 0.7717.
Increasing the probability threshold from 0.50 to the training-selected value of 0.53 reduced false positives from 34 to 28 while increasing false negatives from 27 to 30. This change illustrates the trade-off between filtering false alarms and retaining genuine conflicts.
The DTC-FM configuration with λL = 1.0 s preserved all predictions of the Filtering Model at τ = 0.53 while identifying ten interactions, representing 1.99% of the evaluation partition, that could be classified without invoking the learned classifier. This result demonstrates the potential of the lower-threshold stage to reduce classifier use without additional classification errors relative to the Filtering Model in this partition. Nine of these interactions were expert-labeled conflicts and one was expert-labeled normal; the latter was also misclassified by the Filtering Model. Thus, the bypass rule introduced no additional errors, although it did not guarantee that every directly classified interaction was a genuine conflict. The present comparison calculated probabilities for all observations, so the reduction in classifier use represents an opportunity for a short-circuit implementation rather than a measured runtime improvement.
In contrast, the λL = 1.5 s configuration directly classified 58 interactions as conflicts. Relative to the Filtering Model, this rule converted 16 correctly classified normal interactions into false positives without detecting additional conflicts. False positives therefore increased to 44, and the F1-score decreased to 0.7259.
These findings support treating the lower PET threshold as a context-dependent operating parameter. The 1.0 s setting preserved classification performance in this exploratory comparison, whereas the 1.5 s setting increased false alarms. Neither result establishes a universally applicable threshold, and independent validation is required before adopting the candidate setting in other traffic environments.
4.2.2. Lower PET Threshold and Classifier Bypass
We examined how directly classifying interactions with low PET values affected the final decisions while keeping the Filtering Model’s probability threshold fixed τ = 0.53 and the upper PET threshold fixed at λU = 3.0 s. We first applied the Filtering Model alone to the same 502 interactions. We then varied the lower PET threshold (), classifying interactions with directly as conflicts and retaining the model’s predictions for the remaining candidates. Table 10 reports how many interactions met the direct classification criterion at each threshold and how many additional expert-labeled conflicts and false alarms resulted relative to the Filtering Model alone.
Table 10.
Classification outcomes by lower PET threshold.
With the rule disabled, all 502 interactions were classified by the Filtering Model. At 0.50 s, no interaction met the criterion for direct classification. Raising the threshold from 0.75 to 1.00 s increased the number classified directly from one to ten (1.99% of the evaluation set at 1.00 s). The Filtering Model had already classified all ten as conflicts. Experts had labeled nine of them as conflicts and one as a normal interaction. Thus, the 1.00 s rule preserved all model decisions, including the existing false alarm.
At 1.25 and 1.50 s, direct classification introduced three and 16 additional false alarms, respectively, without detecting any additional expert-labeled conflicts. At 2.00 s, the rule recovered four conflicts missed by the Filtering Model and flagged 65 additional normal interactions as conflicts. Based on this exploratory comparison, we selected 1.00 s as the lower PET threshold for this study. Of the thresholds examined, it allowed the largest number of interactions to be classified directly while preserving all 502 decisions. Section 4.5 examines how the rule affected decisions when the model was trained at one intersection and evaluated at the other.
4.3. Classification Outcomes and Error Analysis
Table 9 reports the number of conflicts detected and false alarms generated by DTC-FM at the selected thresholds. We first examined how well the Filtering Model and DTC-FM distinguished expert-labeled conflicts from normal interactions across probability thresholds. We then examined the conflicts missed at the selected thresholds. To identify where these errors occurred, we calculated the proportion of conflicts missed within each PET interval and compared missed and correctly detected conflicts in terms of PET, road-user speeds, and pedestrian involvement.
4.3.1. ROC and Precision–Recall Curves
Lowering the probability threshold can increase the number of conflicts detected while also flagging more normal interactions for review. To examine this trade-off, we evaluated the receiver operating characteristic (ROC) and precision–recall (PR) curves for the 502 interactions. Figure 5 compares the Filtering Model alone with DTC-FM using a lower PET threshold of s. The ROC curve shows how the proportion of expert-labeled conflicts detected varies with the proportion of normal interactions flagged as conflicts. The PR curve shows how the proportion of flagged interactions confirmed as conflicts by experts varies as recall increases.
Figure 5.
(A) ROC and (B) precision–recall curves for the Filtering Model and DTC-FM.
The area under the ROC curve was 0.9329 for the Filtering Model and 0.9315 for DTC-FM. The corresponding areas under the PR curve, calculated by trapezoidal integration, were 0.8454 and 0.8283. The difference between the two methods was small for ROC area and more pronounced for PR area. At the selected threshold of , both methods produced identical decisions for all 502 interactions, achieving 76.56% recall and 77.78% precision. As shown in Table 10, the Filtering Model had already classified all ten interactions with s as conflicts at this probability threshold. This explains why the two methods share the same operating point in Figure 5 even though their curves differ at other thresholds.
4.3.2. Classification Errors and Characteristics of Missed Conflicts
A false alarm adds a normal interaction to the list for detailed review, whereas a missed conflict is excluded from that list. To assess how often each type of error occurred, we compared DTC-FM predictions with the expert labels (Figure 6). We then examined the 128 expert-labeled conflicts in more detail, comparing the 30 missed conflicts with the 98 correctly detected conflicts.
Figure 6.
Confusion matrix for DTC-FM with λL = 1.0 s, λU = 3.0 s, and τ = 0.53.
False alarms and missed conflicts occurred in similar numbers (28 and 30, respectively), but their frequencies differed when calculated within each expert-labeled class. DTC-FM correctly classified 346 of the 374 normal interactions (specificity of 92.51%), flagged the remaining 28 as conflicts (7.5%), and classified 30 of the 128 conflicts as normal interactions (23.4%). Thus, nearly one in four expert-labeled conflicts in this evaluation set was excluded from review.
Median PET was 2.43 s for missed conflicts and 1.62 s for correctly detected conflicts. To examine this difference across the PET range, we calculated the proportion of expert-labeled conflicts missed within each interval (Figure 7). DTC-FM detected all 39 conflicts with PET ≤ 1.5 s. The proportion missed rose to 10.5% (4/38) in the interval from 1.5 to 2.0 s, 35.5% (11/31) from 2.0 to 2.5 s, and 75.0% (15/20) from 2.5 to 3.0 s. Half of the 30 missed conflicts therefore fell within the interval closest to λ< = 3.0.
Figure 7.
Percentage of expert-labeled conflicts missed by DTC-FM within each PET interval.
The speed differences between missed and correctly detected conflicts varied by road user. For the first road user, median speed was 7.5 km/h in missed conflicts and 8 km/h in correctly detected conflicts. For the second road user, the corresponding medians were 11 and 9 km/h. Pedestrian involvement was also similar across the two groups. A pedestrian was involved in 16 of the 30 missed conflicts (53.3%) and 58 of the 98 correctly detected conflicts (59.2%). Among the characteristics examined, PET showed the clearest descriptive pattern. As PET approached the upper threshold, the filter classified an increasing proportion of expert-labeled conflicts as normal interactions.
4.4. Variable Importance in the Filtering Model
The median PET was higher for missed conflicts than for correctly detected conflicts. We therefore examined how strongly the Filtering Model relied on PET and the other interaction features to distinguish conflicts from normal interactions. Using the 502 interactions in the evaluation set, we randomly shuffled the values of one feature at a time across the records and calculated the decrease in the conflict-class F1-score. The fitted model, its probability threshold (), and the values of all other features remained fixed. Figure 8 shows the mean decrease in F1-score across repeated permutations of each feature. The horizontal error bars indicate ±1 standard deviation around the mean decrease in F1-score across repeated permutations.
Figure 8.
Permutation importance of the Filtering Model features.
The largest mean decreases in F1-score occurred when image-plane distance in pixels () was shuffled (0.325), followed by PET (0.149) and interaction angle (0.043). For the remaining features, which included the classes of the two road users, the number of road users in the first frame, their speeds, and the acceleration of the second road user, the mean decreases ranged from 0.009 to 0.030. As shown in Table 5, feature selection retained from the two highly correlated distance measures, and . The decrease in F1-score when was shuffled indicates that the Filtering Model relied strongly on image-plane distance to classify interactions in this evaluation set.
4.5. Cross-Site Evaluation
To assess how well DTC-FM detected conflicts and how often it flagged normal interactions at an intersection excluded from training, we used each intersection in turn as the test site. We first trained the model on 1166 interactions from Intersection A and tested it on 1342 interactions from Intersection B. We then trained the model on Intersection B and tested it on Intersection A. In both evaluations, we fixed the lower and upper PET thresholds at 1.0 and 3.0 s, respectively. The Filtering Model’s probability threshold (), selected using the training data, was 0.50 for the model trained on Intersection A and 0.49 for the model trained on Intersection B. Figure 9 shows precision, recall, specificity, and F1-score at each test site.
Figure 9.
Cross-site classification performance of DTC-FM.
At Intersection B, DTC-FM detected 230 of the 280 expert-labeled conflicts (82.1% recall). It also flagged 312 normal interactions as conflicts, yielding a precision of 42.4%. At Intersection A, the model generated 39 false alarms, and 85.8% of the interactions it flagged were expert-labeled conflicts. However, it missed 126 of the 361 conflicts at this site, yielding a recall of 65.1%. Thus, the model detected a larger proportion of expert-labeled conflicts at Intersection B, while it misclassified a smaller proportion of normal interactions as conflicts at Intersection A (4.8% at Intersection A and 29.4% at Intersection B).
To examine the contribution of the lower PET threshold, we compared the Filtering Model’s decisions with those of DTC-FM for interactions with s. At Intersection B, experts labeled all nine interactions in this range as conflicts. The Filtering Model detected all nine, so the lower-threshold rule left every decision unchanged. At Intersection A, 40 interactions met the same criterion. Experts labeled 38 as conflicts and two as normal interactions. The Filtering Model alone detected 35 of the 38 conflicts. Applying the lower-threshold rule at this site therefore captured the three remaining conflicts at the cost of two additional false alarms.
5. Discussion
Using a fixed PET threshold to classify every interaction below that threshold as a conflict can generate many false alarms. In this study, accounting for road-user movements and relative positions allowed the Filtering Model to exclude most normal interactions from the review list. However, the model also excluded some interactions that experts had identified as conflicts. The two PET thresholds served distinct purposes in this respect. The upper threshold defined the pool of candidates for assessment, while the lower threshold retained interactions with very low PET values for direct review, including some conflicts that the Filtering Model missed.
5.1. PET-Based Screening and the Contribution of the Lower Threshold
Previous studies help explain why interactions with similar PET values can warrant different safety assessments. Hasain and Ahmed [34] assessed critical interactions under heterogeneous traffic conditions by comparing the distance required for a vehicle to stop with the distance available. Kathuria and Vedagiri [35] distinguished pedestrian–vehicle interactions according to whether road users took evasive action and applied different indicators to the two patterns. The paired video examples in the present study illustrate the relevance of these approaches. Even when PET was identical within a pair, experts classified one interaction as a conflict and the other as a normal passage based on the observed behavior (Supplementary Videos S1–S4). Applying DTC-FM to the same candidates with and without the lower-threshold rule allowed us to assess how often contextual filtering removed false alarms and when direct classification retained a conflict that the filter would otherwise have excluded.
A PET threshold of 1 s has also been used for a different purpose. Peesapati et al. [28] examined interactions between left-turning and opposing through vehicles at four-leg signalized intersections and found the strongest association with historical crashes at a threshold of 1 s. In DTC-FM, the same numerical value determines whether a candidate is flagged directly for review. Its practical contribution can therefore be assessed by counting the conflicts recovered and the additional false alarms generated. At Intersection A, the 1.0 s rule recovered three expert-labeled conflicts and added two false alarms. At Intersection B, the Filtering Model had already detected all nine conflicts in this PET range. Extending the threshold also had a cost. On the 502-interaction evaluation set, the 1.5 s rule added 16 false alarms without recovering any further conflicts. These findings show why the choice of a lower threshold should take account of its effect on classification decisions at the site of interest.
5.2. Ablation Results and the Probability Decision Threshold
The ablation experiments showed that oversampling and feature selection made different contributions. With the training records and probability threshold held fixed, Borderline-SMOTE helped the ensemble detect more conflicts, although it also increased false alarms. Feature selection reduced false alarms while maintaining conflict detection. The comparison with the individual classifiers showed a similar trade-off. Random Forest detected six more conflicts than the ensemble but flagged 11 more normal interactions. The ensemble thus offered a balance between conflict detection and the number of false alarms requiring review.
For the Filtering Model, we selected the probability threshold of 0.53 that yielded the highest F1-score on the out-of-fold training predictions. The practical significance of this choice lies in which interactions reach an expert for review. A normal interaction flagged as a conflict takes additional time to review, whereas a conflict classified as normal is omitted from the review list. Lowering the threshold to 0.50 added nine interactions to the list. According to the expert labels, three were conflicts and six were normal passages. If a lower threshold is considered at another site, the decision should take into account both the additional conflicts detected and the additional false alarms generated at that site.
5.3. Missed Conflicts and Implications for Field Use
The distribution of missed conflicts indicates where expert review could be most informative. Half of the 30 missed conflicts in the main evaluation had PET values in the interval s. The descriptive comparisons of road-user speeds and pedestrian involvement showed no similarly clear separation between missed and correctly detected conflicts. At sites with comparable conditions, reviewing a sample of interactions classified as normal near the upper PET threshold could help identify conflicts overlooked by the filter. Relevant observations include yielding behavior, the onset of braking, and the timing of any evasive maneuver. Kathuria and Vedagiri [35] also identified critical interactions in which neither road user took visible evasive action. An assessment of the potential severity of a missed conflict should therefore consider how the road users’ trajectories developed, including when neither visibly altered course or speed.
The cross-site evaluation showed how the main concern during field review can vary by site. At Intersection B, DTC-FM detected a larger proportion of expert-labeled conflicts but more frequently flagged normal interactions. At Intersection A, experts confirmed a larger share of the flagged interactions, although the model missed more conflicts. This distinction matters if the results are displayed on an intersection map. A concentration of flagged interactions at a turning movement or pedestrian crossing could help identify locations for closer inspection. In an area with few flagged events, reviewing a sample of interactions classified as normal would help establish whether conflicts at that location were overlooked.
5.4. Limitations and Future Research
Images from 11 intersections were used for road-user detection, while expert annotation and conflict evaluation were based on interactions from two uncontrolled intersections. Using each intersection in turn as the test site allowed us to examine performance at a site excluded from training. A larger set of intersections would be needed to distinguish the contributions of geometry, road-user composition, and recording conditions to the observed performance differences. The 502 interactions used in the main evaluation had also been examined during model development, and the 1.0 s lower PET threshold was selected through exploratory comparison on those records. The Filtering Model’s probability threshold of 0.53 was selected separately using out-of-fold training predictions. Evaluating both thresholds on new sites and recording sessions, with their values fixed in advance, would provide a stronger basis for assessing transferability.
One priority for future work is to determine which conflicts are missed and what features of the interaction account for the disagreement with expert judgment. Experts could independently assess samples of both flagged and unflagged events from additional intersections without seeing the model predictions. Recording their initial judgments before reaching consensus would distinguish events consistently identified as conflicts by experts from those on which experts themselves disagree. At higher-speed approaches, extending expert review to interactions with PET above 3.0 s would also help establish whether the current upper threshold excludes conflicts before they reach the Filtering Model.
A second priority concerns the transferability of distance measurements. Shuffling image-plane distance () produced the largest decrease in F1-score in the permutation analysis. Because the same pixel distance can represent different physical distances at different flight altitudes, future work could compare models trained with image-plane and physical distance using identical training and test sites. This would clarify how the choice of distance measure affects classification at a new intersection. Computational performance also warrants direct measurement. In the main evaluation, 1.99% of candidates could be classified without invoking the Filtering Model. Processing the same videos with and without the lower-threshold rule would establish whether this reduction in classifier use translates into a measurable difference in end-to-end processing time.
The practical contribution of DTC-FM is its ability to remove many normal passages from the review list while retaining very low-PET interactions that the filter might otherwise exclude. Its value at a given intersection therefore depends both on the quality of the events brought to an expert’s attention and on the characteristics of the conflicts that remain outside the review list.
6. Conclusions
We proposed DTC-FM to reduce false alarms from PET-based conflict screening at uncontrolled intersections. In the evaluation set of 502 interactions, DTC-FM reduced the number of false alarms from 374 to 28 and detected 98 of the 128 expert-labeled conflicts. The cross-site evaluation also showed that directly flagging interactions with very low PET values could recover some conflicts missed by the Filtering Model.
DTC-FM can help identify interactions for detailed review in long video recordings. At new intersections, reviewing a sample of interactions that the model classifies as normal can also help identify conflicts that would otherwise go unexamined.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/app162311750/s1: Four supplementary videos illustrate two pairs of traffic interactions with matching PET values within each pair. Each pair comprises one expert-labeled traffic conflict and one expert-labeled normal interaction, illustrating that the same PET value can correspond to different behavioral risk conditions. Video S1: Traffic conflict in Pair 1; Video S2: Normal interaction in Pair 1; Video S3: Traffic conflict in Pair 2; Video S4: Normal interaction in Pair 2. The supplementary code package, DTC_FM_Supplementary_Code.zip, contains six Python 3.12.7 scripts, an English README describing the execution workflow, and a software dependency list. The dataset used to develop and evaluate DTC-FM contains 2508 expert-labeled traffic interactions and is provided as Dataset S1 (DTC-FM_Expert-Labeled_Traffic_Interactions.csv). It is also available through the Aperta repository linked in the Data Availability Statement.
Author Contributions
Conceptualization, E.D.; methodology, E.D. and E.A.; software, E.A. and E.D.; investigation, E.K. and A.P.A.; data curation, E.K. and A.P.A.; formal analysis, E.D.; writing—original draft preparation, E.D., E.K. and A.P.A.; writing—review and editing, E.D., A.P.A. and E.K. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Scientific and Technological Research Council of Türkiye (TÜBİTAK), grant number 123M640.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The TrafficDrone UAV dataset is available at https://doi.org/10.5281/zenodo.19682816. The expert-annotated traffic conflict and surrogate safety dataset used to develop and evaluate DTC-FM is available at https://doi.org/10.48623/aperta.302842.
Acknowledgments
We would like to thank Hakan Yildirim, Onur Çaydere, and Rabia Begen for their contributions to the data collection and object annotation processes.
Conflicts of Interest
The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
Abbreviations
The following abbreviations are used in this manuscript:
| AI | Artificial Intelligence |
| B-SMOTE | Borderline Synthetic Minority Over-sampling Technique |
| DTC-FM | Dual-Threshold Controlled Filtering Model |
| FN | False Negative |
| FP | False Positive |
| PET | Post-Encroachment Time |
| RF | Random Forest |
| RFE | Recursive Feature Elimination |
| RFECV | Recursive Feature Elimination with Cross-Validation |
| SSM | Surrogate Safety Measure |
| TCT | Traffic Conflicts Technique |
| TTC | Time-to-Collision |
| UAV | Unmanned Aerial Vehicle |
| XGBoost | Extreme Gradient Boosting |
| YOLO | You Only Look Once |
References
- Wijnen, W.; Stipdonk, H. Social costs of road crashes: An international analysis. Accid. Anal. Prev. 2016, 94, 97–106. [Google Scholar] [CrossRef] [Scilit]
- Choi, E.H. Crash Factors in Intersection-Related Crashes: An On-Scene Perspective; Report No. DOT HS 811 366; National Highway Traffic Safety Administration: Washington, DC, USA, 2010.
- Briz-Redón, Á.; Martínez-Ruiz, F.; Montes, F. Spatial analysis of traffic accidents near and between road intersections in a directed linear network. Accid. Anal. Prev. 2019, 132, 105252. [Google Scholar] [CrossRef] [Scilit]
- Imprialou, M.; Quddus, M. Crash data quality for road safety research: Current state and future directions. Accid. Anal. Prev. 2019, 130, 84–90. [Google Scholar] [CrossRef] [Scilit]
- Montella, A.; Andreassen, D.; Tarko, A.P.; Turner, S.; Mauriello, F.; Imbriani, L.L.; Romero, M.A. Crash databases in Australasia, the European Union, and the United States: Review and prospects for improvement. Transp. Res. Rec. 2013, 2386, 128–136. [Google Scholar] [CrossRef] [Scilit]
- Amundsen, F.H.; Hydén, C. Proceedings of the First Workshop on Traffic Conflicts; Institute of Transport Economics: Oslo, Norway, 1977. [Google Scholar]
- Tarko, A.P. Estimating the expected number of crashes with traffic conflicts and the Lomax Distribution—A theoretical and numerical exploration. Accid. Anal. Prev. 2018, 113, 63–73. [Google Scholar] [CrossRef] [Scilit]
- Federal Highway Administration. Manual on Uniform Traffic Control Devices for Streets and Highways, 11th ed.; Section 4C.01; U.S. Department of Transportation: Washington, DC, USA, 2023. Available online: https://mutcd.fhwa.dot.gov/pdfs/11th_Edition/mutcd11thedition.pdf (accessed on 19 November 2026).
- Abdel-Aty, M.; Wang, Z.; Zheng, O.; Abdelraouf, A. Advances and applications of computer vision techniques in vehicle trajectory generation and surrogate traffic safety indicators. Accid. Anal. Prev. 2023, 191, 107191. [Google Scholar] [CrossRef] [Scilit]
- Arun, A.; Haque, M.M.; Bhaskar, A.; Washington, S.; Sayed, T. A systematic mapping review of surrogate safety assessment using traffic conflict techniques. Accid. Anal. Prev. 2021, 153, 106016. [Google Scholar] [CrossRef] [Scilit]
- Park, B.; Chen, Y.; Hourdos, J. Opportunities for preventing rear-end crashes: Findings from the analysis of actual freeway crash data. J. Transp. Saf. Secur. 2011, 3, 95–107. [Google Scholar] [CrossRef] [Scilit]
- Perez, M.A.; Sudweeks, J.D.; Sears, E.; Antin, J.; Lee, S.; Hankey, J.M.; Dingus, T.A. Performance of basic kinematic thresholds in the identification of crash and near-crash events within naturalistic driving data. Accid. Anal. Prev. 2017, 103, 10–19. [Google Scholar] [CrossRef] [Scilit]
- Zheng, L.; Ismail, K. A generalized exponential link function to map a conflict indicator into severity index within safety continuum framework. Accid. Anal. Prev. 2017, 102, 23–30. [Google Scholar] [CrossRef] [Scilit]
- Mahmud, S.M.S.; Ferreira, L.; Hoque, M.S.; Tavassoli, A. Application of proximal surrogate indicators for safety evaluation: A review of recent developments and research needs. IATSS Res. 2017, 41, 153–163. [Google Scholar] [CrossRef] [Scilit]
- Singh, D.; Das, P.; Ghosh, I. Conflict-based safety evaluations at unsignalized intersections using surrogate safety measures. Heliyon 2024, 10, e27665. [Google Scholar] [CrossRef] [Scilit]
- Doğan, E.; Korkmaz, E.; Ayan, E.; Akgüngör, A.P. DTC-FM: Expert-Annotated UAV Traffic Conflict and Surrogate Safety Dataset; Erdem Publishing: Istanbul, Turkey, 2026. [Google Scholar] [CrossRef]
- Doğan, E.; Ayan, E.; Korkmaz, E.; Akgüngör, A.P. TrafficDrone: A High-Resolution Multi-Altitude UAV Dataset for Traffic Object Detection; Zenodo: Geneva, Switzerland, 2026. [Google Scholar] [CrossRef]
- Tarko, A.P. Surrogate measures of safety. In Safe Mobility: Challenges, Methodology and Solutions; Lord, D., Washington, S., Eds.; Emerald Publishing: Bingley, UK, 2018; Volume 11, pp. 383–405. [Google Scholar] [CrossRef] [Scilit]
- Mohamed, A.I.Z.; Ci, Y.; Tan, Y. Safety performance evaluation of the new mega elliptical roundabout interchanges using the surrogate safety assessment model. J. Transp. Eng. Part A Syst. 2020, 146, 04020137. [Google Scholar] [CrossRef] [Scilit]
- Ye, L.; Yamamoto, T. Evaluating the impact of connected and autonomous vehicles on traffic safety. Phys. A 2019, 526, 121009. [Google Scholar] [CrossRef] [Scilit]
- Hu, L.; Ou, J.; Huang, J.; Wang, F.; Wang, Y.; Ren, B.; Peng, H.; Zhou, L. Safety evaluation of pedestrian-vehicle interaction at signalized intersections in Changsha, China. J. Transp. Saf. Secur. 2022, 14, 1750–1775. [Google Scholar] [CrossRef] [Scilit]
- Maji, A.; Ghosh, I.; Chandra, S. Development of conflict-based safety performance function for safety evaluation of urban roundabouts in India. Can. J. Civ. Eng. 2025, 52, 498–515. [Google Scholar] [CrossRef] [Scilit]
- Zheng, L.; Sayed, T.; Mannering, F. Modeling traffic conflicts for use in road safety analysis: A review of analytic methods and future directions. Anal. Methods Accid. Res. 2021, 29, 100142. [Google Scholar] [CrossRef] [Scilit]
- Wang, C.; Xie, Y.; Huang, H.; Liu, P. A review of surrogate safety measures and their applications in connected and automated vehicles safety modeling. Accid. Anal. Prev. 2021, 157, 106157. [Google Scholar] [CrossRef] [Scilit]
- Chen, P.; Zeng, W.; Yu, G. Assessing right-turning vehicle-pedestrian conflicts at intersections using an integrated microscopic simulation model. Accid. Anal. Prev. 2019, 129, 211–224. [Google Scholar] [CrossRef] [Scilit]
- Hasain, N.M.; Ahmed, M.A. Safety evaluation of unsignalized intersection with heterogeneous traffic using Post Encroachment Time and conflicting vehicle speed. Eur. Transp. 2022, 88, 1–14. [Google Scholar] [CrossRef] [Scilit]
- Hussain, M.S.; Bahrha, G.; Goswami, A.K. An integrated VISSIM-SSAM approach to predicting and mitigating pedestrian crashes and severity along urban crossings. Case Stud. Transp. Policy 2024, 15, 101153. [Google Scholar] [CrossRef] [Scilit]
- Peesapati, L.N.; Hunter, M.P.; Rodgers, M.O. Evaluation of postencroachment time as surrogate for opposing left-turn crashes. Transp. Res. Rec. 2013, 2386, 42–51. [Google Scholar] [CrossRef] [Scilit]
- Hayward, J.C. Near miss determination through use of a scale of danger. Highw. Res. Rec. 1972, 384, 24–34. [Google Scholar]
- Shahdah, U.; Saccomanno, F.; Persaud, B. Integrated traffic conflict model for estimating crash modification factors. Accid. Anal. Prev. 2014, 71, 228–235. [Google Scholar] [CrossRef] [Scilit]
- Machiani, S.G.; Abbas, M. Safety surrogate histograms (SSH): A novel real-time safety assessment of dilemma zone related conflicts at signalized intersections. Accid. Anal. Prev. 2016, 96, 361–370. [Google Scholar] [CrossRef] [Scilit]
- Zhang, S.; Abdel-Aty, M.; Cai, Q.; Li, P.; Ugan, J. Prediction of pedestrian-vehicle conflicts at signalized intersections based on long short-term memory neural network. Accid. Anal. Prev. 2020, 148, 105799. [Google Scholar] [CrossRef] [Scilit]
- Shirazi, M.S.; Morris, B.T. Looking at intersections: A survey of intersection monitoring, behavior and safety analysis of recent studies. IEEE Trans. Intell. Transp. Syst. 2017, 18, 4–24. [Google Scholar] [CrossRef] [Scilit]
- Hasain, N.M.; Ahmed, M.A. Proposing an effective approach for traffic safety assessment on heterogeneous traffic conditions using surrogate safety measures and speed of the involved vehicles. Traffic Inj. Prev. 2024, 25, 219–227. [Google Scholar] [CrossRef] [Scilit]
- Kathuria, A.; Vedagiri, P. Evaluating pedestrian vehicle interaction dynamics at un-signalized intersections: A proactive approach for safety analysis. Accid. Anal. Prev. 2020, 134, 105316. [Google Scholar] [CrossRef] [Scilit]
- Islam, Z.; Abdel-Aty, M.; Goswamy, A.; Abdelraouf, A.; Zheng, O. Effect of signal timing on vehicles’ near misses at intersections. Sci. Rep. 2023, 13, 9065. [Google Scholar] [CrossRef] [Scilit]
- Ranjan, R.; Kumar, D.; Sinha, S.; Suman, N.K.; Kumar, L. Assessment of traffic safety at unsignalized intersections using post encroachment time under heterogeneous traffic conditions. Discov. Veh. 2026, 2, 14. [Google Scholar] [CrossRef] [Scilit]
- Naseralavi, S.; Soltanirad, M.; Piri, M.; Ranjbar, E.; Baghersad, M.; Lucero, M.; Zada, M.J.H.; Mazaheri, A. A new ordinal framework for real-time traffic risk assessment using an integrated surrogate safety measure. IEEE Access 2026, 14, 105195–105208. [Google Scholar] [CrossRef] [Scilit]
- Sengupta, A.; Guler, S.I.; Gayah, V.V.; Warchol, S. Evaluating the reliability of automatically generated pedestrian and bicycle crash surrogates. Accid. Anal. Prev. 2024, 203, 107614. [Google Scholar] [CrossRef] [Scilit]
- Hula, A.; Ziakopoulos, A.; Losada, Á.; Schaub, A.; Saleh, P.; Yannis, G. Trajectory-based indicators to determine the local character of intersection conflicts: A micro-spatial analysis. Accid. Anal. Prev. 2025, 220, 108155. [Google Scholar] [CrossRef] [Scilit]
- Pettirsch, A.; Garcia-Hernandez, A. Knowledge PET3D: An interpretable framework for 3D near-miss detection in thermal traffic video. Expert Syst. Appl. 2026, 304, 130821. [Google Scholar] [CrossRef] [Scilit]
- Dwyer, B.; Nelson, J.; Hansen, T.; Solawetz, J. Roboflow, Version 1.0; Roboflow, Inc.: Des Moines, IA, USA, 2026; Available online: https://roboflow.com (accessed on 19 November 2026).
- Doğan, E.; Ayan, E.; Korkmaz, E.; Akgüngör, A.P.; Çaydere, O.; Yıldırım, H. Intersection user class detection using UAV images and YOLO-based algorithms in smart cities. In Proceedings of the 2025 Smart City Symposium Prague (SCSP), Prague, Czech Republic, 29–30 May 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 1–5. [Google Scholar] [CrossRef] [Scilit]
- Aharon, N.; Orfaig, R.; Bobrovsky, B.Z. BoT-SORT: Robust associations multi-pedestrian tracking. arXiv 2022, arXiv:2206.14651. [Google Scholar] [CrossRef] [Scilit]
- Bulla-Cruz, L.A.; Lyons, L.; Darghan, E. Microscopic traffic risk assessment at signalized intersections of a bus rapid transit system. J. Transp. Eng. Part A Syst. 2023, 149, 04023044. [Google Scholar] [CrossRef] [Scilit]
- Chandrashekar, G.; Sahin, F. A survey on feature selection methods. Comput. Electr. Eng. 2014, 40, 16–28. [Google Scholar] [CrossRef] [Scilit]
- Guyon, I.; Weston, J.; Barnhill, S.; Vapnik, V. Gene selection for cancer classification using support vector machines. Mach. Learn. 2002, 46, 389–422. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; Association for Computing Machinery: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
- Prokhorenkova, L.; Gusev, G.; Vorobev, A.; Dorogush, A.V.; Gulin, A. CatBoost: Unbiased boosting with categorical features. In Advances in Neural Information Processing Systems; Bengio, S., Wallach, H., Larochelle, H., Grauman, K., Cesa-Bianchi, N., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2018; Volume 31. [Google Scholar]
- Tax, D.M.J.; van Breukelen, M.; Duin, R.P.W.; Kittler, J. Combining multiple classifiers by averaging or by multiplying? Pattern Recognit. 2000, 33, 1475–1485. [Google Scholar] [CrossRef] [Scilit]
- Han, H.; Wang, W.Y.; Mao, B.H. Borderline-SMOTE: A new over-sampling method in imbalanced data sets learning. In Advances in Intelligent Computing; Huang, D.S., Zhang, X.P., Huang, G.B., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2005; Volume 3644, pp. 878–887. [Google Scholar] [CrossRef] [Scilit]
- Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A next-generation hyperparameter optimization framework. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; Association for Computing Machinery: New York, NY, USA, 2019; pp. 2623–2631. [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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.








