Multi-Scale Spatio-Temporal Feature Aggregation for Road Safety Attributes Classification From Videos
Open Access
- 21 April 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 14, 65668-65686
Abstract
Proactive assessment of road infrastructure is critical for global road safety. The assessment is conducted by analyzing road infrastructure features, also known as road safety attributes. In current practice, trained human experts manually annotate and identify road safety attributes from geo-referenced videos for each road segment, making this process time-consuming, costly, and susceptible to inter-coder variability. This paper presents a comprehensive single-stage deep learning framework for automated multi-class classification of hierarchical road safety attributes from road survey videos. We address three fundamental challenges inherent in this domain: (1) the simultaneous classification of numerous road-safety critical attributes with severe class imbalance, (2) heterogeneous temporal characteristics where attributes range from spatially persistent to transient point events, and (3) maintaining spatial feature correspondence across frames despite viewpoint variations. Our primary contribution is the Hierarchical Spatio-Temporal Feature Aggregation (HSTFA) module, a novel architecture designed to integrate multi-scale backbone features. HSTFA incorporates: (i) multi-layer temporal self-attention with sinusoidal positional encoding to capture long-range dependencies; (ii) a Spatial Correspondence Module (SCM) utilizing cross-attention to explicitly align road features across frames by using the target segment as a spatial reference; (iii) multi-scale fusion to combine temporal and spatial representations; and (iv) a segment-aware weighted aggregation mechanism that dynamically determines frame importance. Furthermore, we introduce a Weighted Focal Loss with dampened inverse frequency weighting to mitigate class imbalance. Evaluated on a real-world dataset spanning 2,300 km of road videos and covering 23 distinct road safety attributes, our framework achieves a mean Macro F1-score of 72.20%, a +1.51 percentage point improvement over the vanilla baseline CoAtNet, offering a scalable solution for network-wide road safety assessments.Keywords
Funding Information
- European Union’s Horizon Europe research and innovation program (101119590)
- U.K. Participants in Horizon Europe Project IVORY through UK Research and Innovation (EP/Y036026/1 (International Road Assessment Programme—iRAP))
- U.K. Participants in Horizon Europe Project IVORY through UK Research and Innovation (EP/Y036034/1 (Agilysis))
This publication has 76 references indexed in Scilit:
- Advancing crop health with YOLOv11 classification of plant diseasesNeural Computing and Applications, 2025
- A Road Safety Evaluation Framework Using Roadway Influencing Parameters at Urban Road SectionsTransportation in Developing Economies, 2024
- Bridging conventional and proactive approaches for road safety analytic modeling and future perspectivesInnovative Infrastructure Solutions, 2024
- The impact of accidents during the transport of dangerous good, on people, the environment, and infrastructure and measures for their reduction: a reviewEnvironmental Science and Pollution Research, 2023
- Attention-YOLOV4: a real-time and high-accurate traffic sign detection algorithmMultimedia Tools and Applications, 2022
- Class-Wise Difficulty-Balanced Loss for Solving Class-Imbalance2021
- Single class detection-based deep learning approach for identification of road safety attributesNeural Computing and Applications, 2021
- Identifying traffic accident black spots with Poisson-Tweedie modelsAccident Analysis & Prevention, 2018
- The effect of curb parking on road capacity and traffic safetyEuropean Transport Research Review, 2016
- Effects of road lighting: An analysis based on Dutch accident statistics 1987–2006Accident Analysis & Prevention, 2009