Safety Evaluation of Highways with Sharp Curves in Highland Mountainous Areas Using an Enhanced Stacking and Low-Cost Dataset Production Method
Abstract
1. Introduction
1.1. Research Background
1.2. Literature Review
- The research focuses on high-altitude, mountainous, sharp-curve roads, filling the research gap in this field.
- Compared to previous studies, this research has the advantage of low data acquisition costs, using only drone-collected video as the raw data source. The dataset is constructed using data processing methods such as Tracker software 6.2, SegFormer road image segmentation technology, and CAD 2021 annotations. The dataset comprehensively covers all key elements in the traffic system, including humans, vehicles, roads, and the environment.
- Unlike other machine learning models, this research selects decision trees, random forests, and gradient boosting trees as base learners. These models are advantageous because of their strong interpretability, and by integrating multiple tree models, they can effectively improve the overall model’s generalization ability.
- This study innovatively replaces the second-level meta-learner in the traditional Stacking strategy with a linear weighting function. Unlike the traditional Stacking strategy, where meta-learners learn from the meta-training set produced by base learners, the traditional method cannot interpret feature importance. In contrast, the simple structure of a linear weighting function can achieve this function.
- This study also supplements the explanation of feature importance using a perturbation-based sensitivity analysis method, which avoids the issues of dataset limitations and potential multicollinearity of some features.
- This study uses the Spearman correlation coefficient to determine the positivity or negativity of the indicators and employs a weighted TOPSIS evaluation method to assess and rank the safety of sharp-bend roads in Tibet, providing a decision-making basis for the Quality Improvement Project of National Highway 318.
2. Research Methodology
2.1. Selection of Indicators
2.2. Calculation of the Importance of Indicator Features
2.3. Integrated Evaluation Method
3. Overview of the Research Subject and Dataset Creation
3.1. Study Area
3.2. Dataset Creation
- Road Segmentation: The SegFormer is used to segment the road images, separating the road from the background.
- Import to CAD Software: The segmented images are imported into CAD software.
- Determining the Road Centerline: The road edges are fitted using a spline curve, and then the road edges on both sides are connected to determine the fitting points of the road centerline.
- Spline Curve Fitting: A spline curve is used to fit the road centerline in order to obtain a smooth representation of the road centerline.
- Polyline Fitting: The fitted spline curve is segmented and converted into a polyline.
- Curvature Variation Rate Calculation: Spatial calibration is performed using vehicle reference objects on the image. After calibration, the curvature radius is obtained using the annotation function of CAD software, and the rate of curvature change in the road is calculated.
4. Safety Evaluation
4.1. Indicator Importance Calculation
4.2. TOPSIS Evaluation
5. Conclusions
6. Limitations
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Huiying, W.; Xiaolong, C. Traffic safety evaluation model for mountain road under bad weather based fuzzy comprehensive evaluation. In Proceedings of the 2011 International Conference on Multimedia Technology, Hangzhou, China, 26–28 July 2011; pp. 1865–1868. [Google Scholar]
- Tian, L.; Li, J.; Li, Y. Analysis of driving fatigue characteristics in cold and hypoxia environment of high-altitude areas. Big Data 2023, 11, 255–267. [Google Scholar] [CrossRef] [PubMed]
- Haynes, R.; Lake, I.R.; Kingham, S.; Sabel, C.E.; Pearce, J.; Barnett, R. The influence of road curvature on fatal crashes in New Zealand. Accid. Anal. Prev. 2008, 40, 843–850. [Google Scholar] [CrossRef] [PubMed]
- Alghafli, A.; Mohamad, E.; Ahmed, A.Z. The Effect of Geometric Road Conditions on Safety Performance of Abu Dhabi Road Intersections. Safety 2021, 7, 73. [Google Scholar] [CrossRef]
- Shawky, M.; Alsobky, A.; Al Sobky, A.; Hassan, A. Traffic safety assessment for roundabout intersections using drone photography and conflict technique. Ain Shams Eng. J. 2023, 14, 102115. [Google Scholar] [CrossRef]
- Wu, K.F.; Ardiansyah, M.N.; Ye, W.J. An evaluation scheme for assessing the effectiveness of intersection movement assist (IMA) on improving traffic safety. Traffic Inj. Prev. 2018, 19, 179–183. [Google Scholar] [CrossRef]
- Yaibok, C.; Suwanno, P.; Pornbunyanon, T.; Kanjanakul, C.; Luathep, P.; Fukuda, A. Improving urban intersection safety insights from simulation analysis. IATSS Res. 2024, 48, 523–536. [Google Scholar] [CrossRef]
- Alhajyaseen, W.K. The integration of conflict probability and severity for the safety assessment of intersections. Arab. J. Sci. Eng. 2015, 40, 421–430. [Google Scholar] [CrossRef]
- Ghaneei, Z.; Momeni Rad, F.; El-Basyouny, K. A surrogate safety assessment of scrambled phase intersections. Can. J. Civ. Eng. 2024, 52, 155–169. [Google Scholar] [CrossRef]
- Zhao, Y.; Qiu, R.; Chen, M.; Xiao, S. Research on operational safety risk assessment method for long and large highway tunnels based on FAHP and SPA. Appl. Sci. 2023, 13, 9151. [Google Scholar] [CrossRef]
- Chen, J.; You, L.; Yang, M.; Wang, X. Traffic safety assessment and prediction under different lighting service states in road tunnels. Tunn. Undergr. Space Technol. 2023, 134, 105001. [Google Scholar] [CrossRef]
- Liu, H. Safety state evaluation method of the highway tunnel structure. Heliyon 2023, 9, e17537. [Google Scholar] [CrossRef] [PubMed]
- Zhao, X.; Liu, Q.; Li, H.; Qi, J.; Dong, W.; Ju, Y. Evaluation of the effect of decorated sidewall in tunnels based on driving behavior characteristics. Tunn. Undergr. Space Technol. 2022, 127, 104591. [Google Scholar] [CrossRef]
- Jiao, F.; Du, Z.; Wong, Y.D.; Mei, J.; Sun, F. Design and evaluation of visual guiding facilities along urban road tunnel horizontal curves based on vision and speed perception. Tunn. Undergr. Space Technol. 2023, 133, 104937. [Google Scholar] [CrossRef]
- Chen, Y.; Wang, K.; Xu, C.; Shi, Q.; He, J.; Li, P.; Shi, T. Evaluation of the safety performance of highway alignments based on fault tree analysis and safety boundaries. Traffic Inj. Prev. 2018, 19, 409–416. [Google Scholar] [CrossRef]
- Khattak, A.J.; Shamayleh, H. Highway safety assessment through geographic information system-based data visualization. J. Comput. Civ. Eng. 2005, 19, 407–411. [Google Scholar] [CrossRef]
- Mullakkal-Babu, F.A.; Wang, M.; van Arem, B.; Happee, R. Comparative safety assessment of automated driving strategies at highway merges in mixed traffic. IEEE Trans. Intell. Transp. Syst. 2020, 23, 3626–3639. [Google Scholar] [CrossRef]
- Wang, J.; Ma, C.; Wang, S.; Lu, X.; Li, D. Risk Assessment Model and Sensitivity Analysis of Ordinary Arterial Highways Based on RSR–CRITIC–LVSSM–EFAST. Sustainability 2022, 14, 16096. [Google Scholar] [CrossRef]
- Shi, L.; Huseynova, N.; Yang, B.; Li, C.; Gao, L. A Cask Evaluation Model to Assess Safety in Chinese Rural Roads. Sustainability 2018, 10, 3864. [Google Scholar] [CrossRef]
- Li, Q.; Cui, J.; Wu, X.; Chen, Z.; Lv, S.; Liu, Y.; Li, W. Evaluation of Rural Road Traffic Safety in Loess Plateau Gully Area of China. Sustainability 2025, 17, 721. [Google Scholar] [CrossRef]
- Llopis-Castelló, D.; Camacho-Torregrosa, F.J.; García, A. Calibration of the inertial consistency index to assess road safety on horizontal curves of two-lane rural roads. Accid. Anal. Prev. 2018, 118, 1–10. [Google Scholar] [CrossRef]
- Lamm, R.; Psarianos, B.; Cafiso, S. Safety evaluation process for two-lane rural roads: A 10-year review. Transp. Res. Rec. 2002, 1796, 51–59. [Google Scholar] [CrossRef]
- Yuan, Z.; Huang, D.; Tong, W.; Liu, Z. Characteristic analysis and prediction of traffic accidents in the multiethnic plateau mountain area. J. Transp. Eng. Part A Syst. 2020, 146, 04020068. [Google Scholar] [CrossRef]
- Wang, J.J.; Cao, X.D. System analysis of potential accidents on mountain road based on rough set and quantitative theory. KSCE J. Civ. Eng. 2021, 25, 1031–1042. [Google Scholar] [CrossRef]
- Lin, S.; Liu, J.-B.; Yan, Y.; Luo, J.; Yua, Z.-Z. Safety evaluation model of long-steep downgrade section for montane highway based on driving workload. J. Traffic Transp. Eng. 2013, 13, 99–106. [Google Scholar]
- Zhang, H.; Zhang, M.; Zhang, C.; Hou, L. Formulating a GIS-based geometric design quality assessment model for Mountain highways. Accid. Anal. Prev. 2021, 157, 106172. [Google Scholar] [CrossRef]
- Qin, W.; Li, H.; Li, W.; Han, C.; Ji, X.; Gu, J. A proactive driving risk assessment on mountainous two-lane roads considering opposite-direction vehicle interactions from video-based trajectories. Comput. Ind. Eng. 2025, 200, 110848. [Google Scholar] [CrossRef]
- Kim, S.; Ulfarsson, G.F. Traffic safety in an aging society: Analysis of older pedestrian crashes. J. Transp. Saf. Secur. 2019, 11, 323–332. [Google Scholar] [CrossRef]
- Deluka-Tibljaš, A.; Šurdonja, S.; Ištoka Otković, I.; Campisi, T. Child-Pedestrian Traffic Safety at Crosswalks—Literature Review. Sustainability 2022, 14, 1142. [Google Scholar] [CrossRef]
- Li, X.; Zhuge, C.; Yu, B. Analysis on the impact of illegal driver behaviors on road traffic accidents case study on China. In Proceedings of the 2019 11th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC), Hangzhou, China, 24–25 August 2019; Volume 1. [Google Scholar]
- Zhang, S.; Xing, Y.; Lu, J.; Zhang, H.M. Exploring the Influence of Truck Proportion on Freeway Traffic Safety Using Adaptive Network-Based Fuzzy Inference System. J. Adv. Transp. 2019, 2019, 3879385. [Google Scholar] [CrossRef]
- Taylor, M.C.; Baruya, A.; Kennedy, J.V. The Relationship Between Speed and Accidents on Rural Single-Carriageway Roads; TRL: Crowthorne, UK, 2002; Volume 511. [Google Scholar]
- Tang, Z.; Chen, S.; Cheng, J.; Ghahari, S.A.; Labi, S. Highway design and safety consequences: A case study of interstate highway vertical grades. J. Adv. Transp. 2018, 2018, 1492614. [Google Scholar] [CrossRef]
- De Santos-Berbel, C.; Ferreira, S.; Couto, A.; Lobo, A. Development of Motorway Horizontal Alignment Databases for Accurate Accident Prediction Models. Sustainability 2024, 16, 7296. [Google Scholar] [CrossRef]
- Anderson, I.B.; Bauer, K.M.; Harwood, D.W.; Fitzpatrick, K. Relationship to safety of geometric design consistency measures for rural two-lane highways. Transp. Res. Rec. 1999, 1658, 43–51. [Google Scholar] [CrossRef]
- Aram, A. Effective safety factors on horizontal curves of two-lane highways. J. Appl. Sci. 2010, 10, 2814–2822. [Google Scholar] [CrossRef]
- Abebe, M.T. Quantifying the influence of road geometric parameters on road safety (case study: Hawassa-Shashemene-Bulbula Rural Two-Lane Highway, Ethiopia). J. Transp. Technol. 2019, 9, 354. [Google Scholar] [CrossRef]
- Wang, C.; Zhang, W.; Wu, C.; Ding, H.; Li, Z. A short-term vehicle speed prediction approach considering dynamic traffic scene. Phys. A Stat. Mech. Its Appl. 2024, 655, 130182. [Google Scholar] [CrossRef]
- Montella, A.; Pariota, L.; Galante, F.; Imbriani, L.L.; Mauriello, F. Prediction of drivers’ speed behavior on rural motorways based on an instrumented vehicle study. Transp. Res. Rec. 2014, 2434, 52–62. [Google Scholar] [CrossRef]
- Nadimi, N.; Fathipour, H.; Sheykhfard, A. Assessing safety in horizontal curves using surrogate safety measures and machine learning. Sci. Rep. 2025, 15, 12384. [Google Scholar] [CrossRef]
Transportation System | Indexes | Rationale |
---|---|---|
Person | Whether to meet the car | Objectively reflects the driver’s psychological state |
Follow or not | Objectively reflects the driver’s psychological state | |
Driving style | Directly reflects the driver’s behavior | |
Vehicles | Vehicle type | Turning radius and speed are different for each vehicle type |
Acceleration Velocity | Acceleration reflects the state of the vehicle and road conditions Positive correlation between speed and accident frequency | |
Roads | Rate of change in curvature Lane width Curve deflection angle | Reflects the consistency of road linearity Reflects lane width Reflects the degree of curvature |
Environment | Altitude | Plateau Characteristics |
Target values | Velocity, curve radius, MDR | Thresholds for assessing safety |
Item | Decision Tree | Random Forest | Gradient Boosted Trees |
---|---|---|---|
Training Methods | Single Tree, Greedy Split | Parallelizing multiple trees | Serial multiple trees |
Objectives | Maximizing Single Tree Purity | Reduces variance and improves stability | Reduces bias and approximates the optimal solution |
Strategies | Basic Model | Bagging | Boosting |
Hyperparameterization | Set Value |
---|---|
keys | values |
num_classes | 2 |
input_shape | [512, 512] |
Init_Epoch | 0 |
Freeze_Epoch | 50 |
UnFreeze_Epoch | 300 |
Freeze_batch_size | 8 |
Unfreeze_batch_size | 16 |
Freeze_Train | FALSE |
Init_lr | 0.0001 |
Min_lr | 1.00 × 10−6 |
optimizer_type | adamw |
momentum | 0.9 |
lr_decay_type | cos |
save_period | 5 |
save_dir | logs |
num_workers | 4 |
num_train | 4980 |
num_val | 1246 |
Hyperparameterization | Decision Tree | Random Forest | GBDT |
---|---|---|---|
n_estimators | / | 1–200 | 1–300 |
learning_rate | / | / | 0.01–0.2 |
max_depth | 3–50 | 3–50 | 3–50 |
min_samples_split | 2–50 | 2–50 | 2–50 |
min_samples_leaf | 1–50 | 1–50 | 1–50 |
subsample | / | / | 0.4–0.6 |
max_features | / | sqrt, log2, None | sqrt, log2, None |
criterion | gini, entropy | gini, entropy | / |
Model | Decision Tree | Random Forest | GBDT |
---|---|---|---|
n_estimators | / | 175 | 49 |
learning_rate | / | / | 0.0919 |
max_depth | 14 | 39 | 42 |
min_samples_split | 8 | 2 | 7 |
min_samples_leaf | 2 | 1 | 5 |
subsample | / | / | 0.9803 |
max_features | / | log2 | None |
criterion | entropy | entropy | / |
Hyperparameterization | Logistic Regression | Ridge Regression | Lasso Regression |
---|---|---|---|
alpha | \ | 9.8777 | 0.0176 |
max_iter | 100 | \ | 100 |
solver | newton-cg | svd | \ |
penalty | l2 | \ | \ |
C | 0.2548 | \ | \ |
Decision Tree | Random Forest | GBDT | Logistic Regression | Ridge Regression | Lasso Regression | |
---|---|---|---|---|---|---|
Average AUC Value of 5-Fold Cross-Validation | 0.982 | 0.9979 | 0.9967 | 0.9506 | 0.8746 | 0.8746 |
Model | Passing Car | Car Following | Driving Mode | Vehicle Type | Acceleration | Velocity | CCR | Altitude | Road Width | Curve Angle | Accuracy |
---|---|---|---|---|---|---|---|---|---|---|---|
Decision tree | 0.0037 | 0.0027 | 0.0059 | 0.0013 | 0.5898 | 0.035 | 0.2771 | 0.0506 | 0.0155 | 0.0185 | 99.05% |
Random forest | 0.0041 | 0.0051 | 0.0184 | 0.013 | 0.4757 | 0.0828 | 0.2655 | 0.0424 | 0.0703 | 0.0228 | 98.86% |
GBDT | 0.0027 | 0.0001 | 0.008 | 0.0006 | 0.5087 | 0.0474 | 0.3665 | 0.0132 | 0.0244 | 0.0284 | 99.24% |
Passing Car | Car Following | Driving Mode | Vehicle Type | Acceleration | Velocity | CCR | Altitude | Road Width | Curve Angle | |
---|---|---|---|---|---|---|---|---|---|---|
ρ | −0.0415 | −0.0642 | 0.1224 | −0.1833 | 0.5868 | 0.237 | −0.3917 | −0.2144 | 0.3446 | 0.0308 |
Passing Car | Car Following | Driving Mode | Vehicle Type | Acceleration | Velocity | CCR | Altitude | Road Width | Curve Angle | |
---|---|---|---|---|---|---|---|---|---|---|
G318-K3657+200 | 0.142 | 0.167 | 2.696 | 2.833 | 1.866 | 6.313 | 1 | 4150 | 8.524 | 175 |
G318-K3665+300 | 0.221 | 0.857 | 2.418 | 3.000 | 1.439 | 5.973 | 1 | 3757 | 7.932 | 173 |
G318-K3665+450 | 0.000 | 0.396 | 2.354 | 3.143 | 1.021 | 6.070 | 1 | 3679 | 6.377 | 175 |
G318-K3669+250 | 0.000 | 0.333 | 3.196 | 2.333 | 3.792 | 7.559 | 1 | 3485 | 9.411 | 180 |
G318-K3671+900 | 0.307 | 0.714 | 2.989 | 2.714 | 2.369 | 10.005 | 1 | 3366 | 10.135 | 167 |
G318-K3675+600 | 0.071 | 0.143 | 2.529 | 3.000 | 1.789 | 7.243 | 1 | 3120 | 7.879 | 178 |
G318-K3682+500 | 0.271 | 0.143 | 2.571 | 2.571 | 11.766 | 17.137 | 1 | 2854 | 10.073 | 180 |
G318-K3685+100 | 0.025 | 0.143 | 1.832 | 2.857 | 4.320 | 10.009 | 1 | 2757 | 11.297 | 177 |
G318-K3707 | 0.004 | 0.667 | 2.883 | 2.500 | 3.614 | 15.131 | 1 | 2743 | 10.200 | 61 |
G318-K3712+400 | 0.138 | 0.029 | 2.779 | 3.167 | 11.334 | 21.035 | 1 | 2890 | 10.473 | 124 |
Station | Ci | Ranking |
---|---|---|
G318-K3682+500 | 0.980159 | 1 |
G318-K3712+400 | 0.958806 | 2 |
G318-K3685+100 | 0.307888 | 3 |
G318-K3669+250 | 0.25807 | 4 |
G318-K3707 | 0.244917 | 5 |
G318-K3671+900 | 0.128366 | 6 |
G318-K3657+200 | 0.080616 | 7 |
G318-K3675+600 | 0.074647 | 8 |
G318-K3665+300 | 0.042646 | 9 |
G318-K3665+450 | 0.018505 | 10 |
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. |
© 2025 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gong, X.; Bo, W.; Chen, F.; Wu, X.; Zhang, X.; Li, D.; Gou, F.; Ren, H. Safety Evaluation of Highways with Sharp Curves in Highland Mountainous Areas Using an Enhanced Stacking and Low-Cost Dataset Production Method. Sustainability 2025, 17, 5857. https://doi.org/10.3390/su17135857
Gong X, Bo W, Chen F, Wu X, Zhang X, Li D, Gou F, Ren H. Safety Evaluation of Highways with Sharp Curves in Highland Mountainous Areas Using an Enhanced Stacking and Low-Cost Dataset Production Method. Sustainability. 2025; 17(13):5857. https://doi.org/10.3390/su17135857
Chicago/Turabian StyleGong, Xu, Wu Bo, Fei Chen, Xinhang Wu, Xue Zhang, Delu Li, Fengying Gou, and Haisheng Ren. 2025. "Safety Evaluation of Highways with Sharp Curves in Highland Mountainous Areas Using an Enhanced Stacking and Low-Cost Dataset Production Method" Sustainability 17, no. 13: 5857. https://doi.org/10.3390/su17135857
APA StyleGong, X., Bo, W., Chen, F., Wu, X., Zhang, X., Li, D., Gou, F., & Ren, H. (2025). Safety Evaluation of Highways with Sharp Curves in Highland Mountainous Areas Using an Enhanced Stacking and Low-Cost Dataset Production Method. Sustainability, 17(13), 5857. https://doi.org/10.3390/su17135857