Safety in Smart Cities—Automatic Recognition of Dangerous Driving Styles
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’s 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.
Authors
- Lorenzo Di Maggio
- Donato Impedovo (ORCID: https://orcid.org/0000-0002-9285-2555)
- Vincenzo Dentamaro (ORCID: https://orcid.org/0000-0003-1148-332X)
- Stefano Galantucci (ORCID: https://orcid.org/0000-0002-3955-0478)
- Giuseppe Pirlo
Institutions
- University of Bari Aldo Moro (IT)
Publication Details
- Journal
- Information
- Published
- 2026-01-04
- DOI
- https://doi.org/10.3390/info17010044
- Primary Topic
- Autonomous Vehicle Technology and Safety
- Type
- article
- Field-Weighted Citation Impact
- 0.00