Severity: Warning
Message: file_get_contents(https://...@gmail.com&api_key=61f08fa0b96a73de8c900d749fcb997acc09&a=1): Failed to open stream: HTTP request failed! HTTP/1.1 429 Too Many Requests
Filename: helpers/my_audit_helper.php
Line Number: 197
Backtrace:
File: /var/www/html/application/helpers/my_audit_helper.php
Line: 197
Function: file_get_contents
File: /var/www/html/application/helpers/my_audit_helper.php
Line: 271
Function: simplexml_load_file_from_url
File: /var/www/html/application/helpers/my_audit_helper.php
Line: 3165
Function: getPubMedXML
File: /var/www/html/application/controllers/Detail.php
Line: 597
Function: pubMedSearch_Global
File: /var/www/html/application/controllers/Detail.php
Line: 511
Function: pubMedGetRelatedKeyword
File: /var/www/html/index.php
Line: 317
Function: require_once
98%
921
2 minutes
20
Effective short-term prediction of bicycle crashes at the urban regional level is critical for proactive infrastructure safety interventions and data-driven traffic management. However, three key challenges persist: (1) inadequate modeling of complex spatiotemporal dependencies in multi-source heterogeneous data; (2) poor handling of extreme class imbalance and lack of interpretability in deep learning-based short-term predictions; and (3) limited exploration of bicycle infrastructure's role in regional crash risk assessment. In response to these challenges, we propose an Interpretable Multi-variable Transformer Network (IMTN) that employs four specialized Transformer encoder blocks to extract spatial and temporal dependencies from heterogeneous inputs. To mitigate the severe class imbalance, our approach uses a single, shared model to predict crash risk for one region at a time, rather than all regions simultaneously. This reformulation avoids data sparsity while retaining multi-region inputs, and a spatial weighting mechanism is used to preserve inter-regional dependencies. Meanwhile, an improved Layer-wise Relevance Propagation (LRP) framework is employed to enhance the interpretability of IMTN. We conduct our experiments on a four-year dataset from London, which includes crash records, public bicycle trips, time, weather, road networks, land use, and a rich set of 48 bicycle infrastructure features. The model comparison demonstrates that IMTN consistently outperforms competitive baselines, reducing false positive rate (FPR) by up to 9.08%, improving the area under the curve (AUC) by up to 3.49%, and increasing the G-mean by up to 5.39%. Our model achieves the best performance at the finest temporal resolution (1-hour aggregation), contrary to common expectations. This suggests that the proposed class imbalance handling method may enhance model performance in high-resolution settings. In addition, interpretability analysis identifies segregated cycle lanes, Sheffield stands, and colored path markings as high-impact infrastructure variables, providing data-driven insights that can help inform urban safety planning.
Download full-text PDF |
Source |
---|---|
http://dx.doi.org/10.1016/j.aap.2025.108169 | DOI Listing |