{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,28]],"date-time":"2026-10-28T11:55:04Z","timestamp":1793188504803,"version":"4.5.0"},"reference-count":39,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2026,1,4]],"date-time":"2026-01-04T00:00:00Z","timestamp":1767484800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"FAIR\u2014Future AI Research","award":["PE00000013"],"award-info":[{"award-number":["PE00000013"]}]},{"DOI":"10.13039\/100031478","name":"NextGenerationEU","doi-asserted-by":"crossref","id":[{"id":"10.13039\/100031478","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Information"],"abstract":"<jats:p>Road safety ranks among the most apparent concerns in present-day urban existence, with risky driving the most prevalent cause of road crashes. In this paper, we present an external camera video-based automatic hazardous driving behavior detection model for use in smart cities. We addressed the problem with a holistic approach covering data collection to hazardous driving behavior classification including zig-zag driving, risky overtaking, and speeding over a pedestrian crossing. Our strategy employs a specially generated dataset with diverse driving situations under diverse traffic conditions and luminosities. We advocate for a Multi-Speed Transformer model with dual vehicle trajectory data timescale operation to capture near-future actions in the context of extended driving trends. A new contribution lies in our symbiotic system which, apart from the detection of unsafe driving, also assumes the responsibility of triggering countermeasures through a real-time continuous loop with vehicle systems. Empirical results demonstrate the Multi-Speed Transformer\u2019s performance with 97.5% in accuracy and 93% in F1-score over our balanced corpus, surpassing comparison baselines including Temporal Convolutional Networks and Random Forest classifiers by significant amounts. The performance is boosted to 98.7% in accuracy as well as 95.5% in F1-score with the symbiotic framework. They confirm the promise of leading-edge neural architectures paired with symbiotic systems in enhancing road safety in smart cities. The ability of the system to provide real-time risky driving behavior detection with mitigation offers a real-world solution for the prevention of accidents while not restricting driver autonomy, a balance between automatic intervention, and passive monitoring. Empirical evidence on the TRAF-derived corpus, which includes 18 videos and 414 labelled trajectory segments, indicates that the Multi-Speed Transformer reaches an accuracy of 97.5% and an F1-score of 93% under the balanced-training protocol, and in this configuration it consistently surpasses the considered baselines when we use the same data splits and the same evaluation metrics.<\/jats:p>","DOI":"10.3390\/info17010044","type":"journal-article","created":{"date-parts":[[2026,1,5]],"date-time":"2026-01-05T12:38:56Z","timestamp":1767616736000},"page":"44","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Safety in Smart Cities\u2014Automatic Recognition of Dangerous Driving Styles"],"prefix":"10.3390","volume":"17","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1148-332X","authenticated-orcid":false,"given":"Vincenzo","family":"Dentamaro","sequence":"first","affiliation":[{"name":"Department of Computer Science, Universit\u00e0 degli Studi di Bari Aldo Moro, Via Orabona 4, 70125 Bari, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lorenzo","family":"Di Maggio","sequence":"additional","affiliation":[{"name":"Department of Computer Science, Universit\u00e0 degli Studi di Bari Aldo Moro, Via Orabona 4, 70125 Bari, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3955-0478","authenticated-orcid":false,"given":"Stefano","family":"Galantucci","sequence":"additional","affiliation":[{"name":"Department of Computer Science, Universit\u00e0 degli Studi di Bari Aldo Moro, Via Orabona 4, 70125 Bari, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9285-2555","authenticated-orcid":false,"given":"Donato","family":"Impedovo","sequence":"additional","affiliation":[{"name":"Department of Computer Science, Universit\u00e0 degli Studi di Bari Aldo Moro, Via Orabona 4, 70125 Bari, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7305-2210","authenticated-orcid":false,"given":"Giuseppe","family":"Pirlo","sequence":"additional","affiliation":[{"name":"Department of Computer Science, Universit\u00e0 degli Studi di Bari Aldo Moro, Via Orabona 4, 70125 Bari, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,1,4]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"e1240","DOI":"10.1002\/hsr2.1240","article-title":"Road traffic accidental injuries and deaths: A neglected global health issue","volume":"6","author":"Ahmed","year":"2023","journal-title":"Health Sci. Rep."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"42","DOI":"10.1016\/j.aap.2019.02.017","article-title":"Hidden figures behind two-vehicle crashes: An assessment of the risk and external costs of drunk driving in Spain","volume":"127","year":"2019","journal-title":"Accid. Anal. Prev."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"4264","DOI":"10.1109\/TVT.2013.2263400","article-title":"Context-aware driver behavior detection system in intelligent transportation systems","volume":"62","author":"Zedan","year":"2013","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Chandra, R., Bhattacharya, U., Mittal, T., Li, X., Bera, A., and Manocha, D. (August, January 31). Graphrqi: Classifying driver behaviors using graph spectrums. Proceedings of the 2020 IEEE International Conference on Robotics and Automation (ICRA), Paris, France.","DOI":"10.1109\/ICRA40945.2020.9196751"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Chandra, R., Bhattacharya, U., Bera, A., and Manocha, D. (2019, January 15\u201320). Traphic: Trajectory prediction in dense and heterogeneous traffic using weighted interactions. Proceedings of the 2019 IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.00868"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Huang, X., Cheng, X., Geng, Q., Cao, B., Zhou, D., Wang, P., Lin, Y., and Yang, R. (2018, January 18\u201322). The apolloscape dataset for autonomous driving. Proceedings of the 2018 IEEE Conference on Computer Vision and Pattern Recognition Workshops, Salt Lake City, UT, USA.","DOI":"10.1109\/CVPRW.2018.00141"},{"key":"ref_7","unstructured":"Federal Highway Administration (2022). Next Generation Simulation (NGSIM)."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Narayanan, A., Dwivedi, I., and Dariush, B. (2019, January 20\u201324). Dynamic traffic scene classification with space-time coherence. Proceedings of the 2019 International Conference on Robotics and Automation (ICRA), Montreal, QC, Canada.","DOI":"10.1109\/ICRA.2019.8794137"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Cheung, E., Bera, A., Kubin, E., Gray, K., and Manocha, D. (2018, January 1\u20135). Identifying driver behaviors using trajectory features for vehicle navigation. Proceedings of the 2018 IEEE\/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain.","DOI":"10.1109\/IROS.2018.8594348"},{"key":"ref_10","unstructured":"Federal Highway Administration (2006). Interstate 80 (I-80) Freeway Dataset, Federal Highway Administration Research and Technology."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"409","DOI":"10.1080\/15472450.2017.1305271","article-title":"Dangerous driving behavior detection using video-extracted vehicle trajectory histograms","volume":"21","author":"Chen","year":"2017","journal-title":"J. Intell. Transp. Syst."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"6943","DOI":"10.1109\/TVT.2020.2993247","article-title":"Abnormal driving detection with normalized driving behavior data: A deep learning approach","volume":"69","author":"Hu","year":"2020","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"100013","DOI":"10.1016\/j.ophoto.2022.100013","article-title":"Detection of anomalous vehicle trajectories using federated learning","volume":"4","author":"Koetsier","year":"2022","journal-title":"ISPRS Open J. Photogramm. Remote Sens."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"61","DOI":"10.1016\/j.trc.2015.03.036","article-title":"An integrated solution for lane level irregular driving detection on highways","volume":"56","author":"Sun","year":"2015","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Chen, S., Xue, Q., Zhao, X., Xing, Y., and Lu, J.J. (2021). Risky driving behavior recognition based on vehicle trajectory. Int. J. Environ. Res. Public Health, 18.","DOI":"10.3390\/ijerph182312373"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1052","DOI":"10.1109\/TVT.2004.830974","article-title":"Real-time nonintrusive monitoring and prediction of driver fatigue","volume":"53","author":"Ji","year":"2004","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_17","first-page":"1","article-title":"Driversonar: Fine-grained dangerous driving detection using active sonar","volume":"5","author":"Jiang","year":"2021","journal-title":"Proc. ACM Interact. Mob. Wearable Ubiquitous Technol."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"You, C.W., Montes-de Oca, M., Bao, T.J., Lane, N.D., Lu, H., Cardone, G., Torresani, L., and Campbell, A.T. (2012, January 5\u20138). CarSafe: A driver safety app that detects dangerous driving behavior using dual-cameras on smartphones. Proceedings of the 2012 ACM Conference on Ubiquitous Computing, Pittsburgh, Pennsylvania.","DOI":"10.1145\/2370216.2370360"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Galarza, E.E., Egas, F.D., Silva, F.M., Velasco, P.M., and Galarza, E.D. (2018, January 10\u201312). Real time driver drowsiness detection based on driver\u2019s face image behavior using a system of human computer interaction implemented in a smartphone. Proceedings of the International Conference on Information Technology & Systems (ICITS 2018), Libertad City, Ecuador.","DOI":"10.1007\/978-3-319-73450-7_53"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Aljaafreh, A., Alshabatat, N., and Al-Din, M.S.N. (2012, January 24\u201327). Driving style recognition using fuzzy logic. Proceedings of the 2012 IEEE International Conference on Vehicular Electronics and Safety (ICVES 2012), Istanbul, Turkey.","DOI":"10.1109\/ICVES.2012.6294318"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"30653","DOI":"10.3390\/s151229822","article-title":"A review of intelligent driving style analysis systems and related artificial intelligence algorithms","volume":"15","author":"Meiring","year":"2015","journal-title":"Sensors"},{"key":"ref_22","first-page":"21","article-title":"Predicting aggressive driving behavior: The role of macho personality, age, and power of car","volume":"28","author":"Fenske","year":"2002","journal-title":"Aggress. Behav. Off. J. Int. Soc. Res. Aggress."},{"key":"ref_23","first-page":"106","article-title":"Selected model and sensitivity analysis of aggressive driving behavior","volume":"25","author":"Feng","year":"2012","journal-title":"Zhongguo Gonglu Xuebao (China J. Highw. Transp.)"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Liang, M., Yang, B., Hu, R., Chen, Y., Liao, R., Feng, S., and Urtasun, R. (2020, January 23\u201328). Learning lane graph representations for motion forecasting. Proceedings of the European Conference on Computer Vision, Glasgow, UK.","DOI":"10.1007\/978-3-030-58536-5_32"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Gao, J., Sun, C., Zhao, H., Shen, Y., Anguelov, D., Li, C., and Schmid, C. (2020, January 13\u201319). Vectornet: Encoding hd maps and agent dynamics from vectorized representation. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.01154"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Yuan, Y., Weng, X., Ou, Y., and Kitani, K. (2021, January 10\u201317). AgentFormer: Agent-Aware Transformers for Socio-Temporal Multi-Agent Forecasting. Proceedings of the IEEE\/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada.","DOI":"10.1109\/ICCV48922.2021.00967"},{"key":"ref_27","unstructured":"Ngiam, J., Vasudevan, V., Caine, B., Zhang, Z., Chiang, H.T.L., Ling, J., Roelofs, R., Bewley, A., Liu, C., and Venugopal, A. (2021). Scene Transformer: A Unified Architecture for Predicting Multiple Agent Trajectories. arXiv."},{"key":"ref_28","unstructured":"Girgis, R., Golemo, F., Codevilla, F., Weiss, M., D\u2019Souza, J.A., Ebrahimi Kahou, S., Heide, F., and Pal, C. (2022, January 25\u201329). Latent Variable Sequential Set Transformers for Joint Multi-Agent Motion Prediction. Proceedings of the International Conference on Learning Representations (ICLR), Virtual."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Nayakanti, N., Al-Rfou, R., Zhou, A., Goel, K., Refaat, K.S., and Sapp, B. (2022). Wayformer: Motion Forecasting via Simple & Efficient Attention Networks. arXiv.","DOI":"10.1109\/ICRA48891.2023.10160609"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"3955","DOI":"10.1109\/TPAMI.2024.3352811","article-title":"MTR++: Multi-Agent Motion Prediction With Symmetric Scene Modeling and Guided Intention Querying","volume":"46","author":"Shi","year":"2024","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Del-Coco, M., Carcagn\u00ec, P., Oliver, S.T., Iskandaryan, D., and Leo, M. (2025). The Role of AI in Smart Mobility: A Comprehensive Survey. Electronics, 14.","DOI":"10.3390\/electronics14091801"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Chandra, R., Bhattacharya, U., Roncal, C., Bera, A., and Manocha, D. (2019). RobustTP: End-to-End Trajectory Prediction for Heterogeneous Road-Agents in Dense Traffic with Noisy Sensor Inputs. arXiv.","DOI":"10.1145\/3359999.3360495"},{"key":"ref_33","unstructured":"Raedt, L.D. (2022). T-SMOTE: Temporal-oriented Synthetic Minority Oversampling Technique for Imbalanced Time Series Classification. Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022, Vienna, Austria, 23\u201329 July 2022, IJCAI."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Polack, P., Altch\u00e9, F., d\u2019Andrea Novel, B., and Lusetti, A. (2017, January 11\u201314). The kinematic bicycle model: A consistent model for planning feasible trajectories for autonomous vehicles. Proceedings of the 2017 IEEE Intelligent Vehicles Symposium (IV), Los Angeles, CA, USA.","DOI":"10.1109\/IVS.2017.7995816"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"107344","DOI":"10.1016\/j.cmpb.2023.107344","article-title":"Multi-speed transformer network for neurodegenerative disease assessment and activity recognition","volume":"230","author":"Cheriet","year":"2023","journal-title":"Comput. Methods Programs Biomed."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Li, A., Ning, X., Z\u00f6ldy, M., Chen, J., and Xu, G. (2025). Intelligent Vehicle Target Detection Algorithm Based on Multiscale Features. Sensors, 25.","DOI":"10.3390\/s25165084"},{"key":"ref_37","first-page":"6000","article-title":"Attention is all you need","volume":"30","author":"Vaswani","year":"2017","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_38","unstructured":"(2018). Road Vehicles\u2014Functional Safety (Standard No. ISO 26262:2018)."},{"key":"ref_39","unstructured":"(2022). Road Vehicles\u2014Safety of the Intended Functionality (SOTIF) (Standard No. ISO 21448:2022)."}],"container-title":["Information"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2078-2489\/17\/1\/44\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,6]],"date-time":"2026-01-06T05:26:15Z","timestamp":1767677175000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2078-2489\/17\/1\/44"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,4]]},"references-count":39,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2026,1]]}},"alternative-id":["info17010044"],"URL":"https:\/\/doi.org\/10.3390\/info17010044","relation":{},"ISSN":["2078-2489"],"issn-type":[{"value":"2078-2489","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,4]]}}}