top of page
grad-purple-blue.png

Ranking road risk with a machine-learning model (D4.3)

Methodology

Training

Intervention

Tool

Data

Study

Use case

University of Bristol (UBRIS)

Overview

Many cities can map where crashes happen. It is harder to say why a street is dangerous: its layout, missing crossings or signals, the speed of traffic, or the schools and shops nearby. Without that, a hotspot map does not tell you what to change.

ELABORATOR deliverable D4.3 describes a method that addresses this question, called HierMAHGNN (Hierarchical Multi-Attention Hypergraph Neural Network), developed by the University of Bristol. It combines police crash records, open map data and traffic-flow data for each road segment. It then ranks the features most closely linked to fatal crashes.

It is a method, not a ready-to-download tool. As of August 2026, it had been tested on British data only and had not yet been applied to ELABORATOR cities.


Highlights

  • Tested on ten British cities (modelled results). The model used police-reported crashes from 2021 to 2023 in the ten largest urban areas of Great Britain, including London, Birmingham and Manchester.

  • Speed came out on top. Free-flow traffic speed was the feature most strongly linked to fatal risk, followed by actual travel speed and time of day and week. Segment length, the number of schools nearby, parking, barriers and the speed limit followed. As a group, how a road is used (its speed and traffic) mattered more than its fixed layout or the surrounding land use. Speed was the only result on which all four model variants agreed.

  • These are links, not causes. The ranking shows which features go together with fatal crashes in the data. D4.3 reads it as pointing towards speed management and traffic calming at corridor and junction level.

  • Built for rare events. Fewer than 1% of crashes are fatal. The model found 80% of the fatal cases in the test data. About 37% of the segments it flagged as fatal were correct, compared with 2% for the same model trained in the usual way.


The road features most closely linked to fatal crash risk in the British test data, led by traffic speed (modelled result).
The road features most closely linked to fatal crash risk in the British test data, led by traffic speed (modelled result).

Practical relevance

The method can help a city choose between candidate sites for safety work, such as junction redesign, traffic calming or speed management. D4.3 presents it as complementary to road-assessment methods such as those of iRAP and EIRA: those score how safe a road's design is, while this method looks at what is linked to the fatal crashes actually recorded. Where both agree, the case for action is stronger.

Lessons for any city using crash models:

  • Do not trust accuracy alone. In D4.3's test, the method with the highest overall accuracy (about 80%) detected almost no fatal cases. When serious crashes are rare, a model can score well by always predicting "minor".

  • Check your data first. The model needs crash records for each crash, with location and severity. Reporting rules differ between countries, so D4.3 suggests comparing rankings between cities rather than rates.

  • Small cities need more data. D4.3 notes that smaller Living Labs such as Velenje, Trikala and Ioannina have fewer crashes, so data may need to be pooled over more years or across cities.

  • Mind the dates. Open map data shows today's streets, while crash records describe the past.

  • No public code. D4.3 gives no download link. Cities interested in applying the method should contact the University of Bristol through the ELABORATOR project.


Publication details

Based on Chapter 5 of ELABORATOR deliverable D4.3, Machine-learning based analytic and prediction models (Work Package 4, review version 0.1, August 2026), edited by Hakan Erdol (UBRIS), with contributions from George Oikonomou and Theo Tryfonas (UBRIS) and Hans Skov-Petersen (UCPH). Public.


Related


Disclaimer: The content of this article may be updated or changed, and this page will be updated if it does.

Full materials

Share this page:

Stay in touch!

Sign up to our mailing list to receive exclusive access to our newsletter and stay up to date with the latest project news and events.

Thanks for submitting!

Elaborator logo
  • LinkedIn
  • X

© 2023 Elaborator

Crafted with ♥️ by Threerooms

Co-funded EU logo

Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or CINEA. Neither the European Union nor the granting authority can be held responsible for them.

Civitas-Logo
EU-Mission-Logo

ELABORATOR is part of the CIVITAS Initiative and contributes to the goals of the EU Mission: Climate-Neutral and Smart Cities

UKRI logo [W].png

UKRI supports UK participants with grant numbers 10078745 (iRAP ) and 10069203 (UBRIS)

bottom of page