Skip to content
Papyrus AI
All work

PhD research · University of British Columbia · 2020–2025

Real-time crash risk from self-driving vehicle data

Can self-driving vehicles tell us how dangerous a road is right now, before anyone crashes?

hours of AV perception data
1,000+
study sites on the Las Vegas Strip
13
of local data needed to transfer a model
20%
first-author journal papers
4

Crashes are a poor teacher.

Road crashes kill about 1.35 million people a year, yet safety analysis still waits for crashes to happen and then counts them. Crashes are rare, they take years to accumulate, and every one is harm that has already happened.

The global road safety challenge: 1.35 million road deaths a year, 50 million injuries and disabilities, road crashes the leading cause of death among young people, and a 30% reduction in Canada's road fatalities from 2003 to 2022.
  • Crash data scarcitytraditional safety analysis relies on historical crashes, but crashes are rare, and counting them is reactive.
  • Real-time requirementsautomated vehicles need safety decisions in the moment, not after-the-fact analysis.
  • Modelling extremessafety is about predicting rare, severe events, not averages.
  • Transferability gapmodels trained in one city often fail elsewhere because traffic patterns differ.

Learn from near-misses instead.

Automated vehicles record near-misses all day. The approach models the most extreme of them and turns them into a crash probability for each short interval, with models that can move from a data-rich city to a data-scarce one.

Top-down view of a four-leg intersection: the self-driving car's path crosses a left-turning car and a pedestrian; their near-misses fall in the tail of a distribution whose area beyond zero is the crash probability.
Illustration: rendered 3D scene, conflicts illustrative

Real sensor data, cleaned site by site.

Cleaned 1,000+ hours of Lyft and nuScenes perception data, removing duplicate detections from overlapping vehicles, parked cars and out-of-bounds objects.

Extracted traffic conflicts, such as time-to-collision and post-encroachment time.

13 study sites along the Las Vegas Strip. Select a site to play its trajectories.Tiles © Esri, Maxar, Earthstar Geographics

From near-misses to a crash probability.

Built Bayesian hierarchical spatial extreme value models that estimate the risk of a crash, and the safety margin, in each short interval.

How traffic conditions shift crash risk
As traffic conditions change, the extreme value distribution shifts, updating the risk of a crash and the return level.

Checking a model when crashes are missing.

Validated the models where no matching crash records existed, using crash-independent criteria built from observed extreme conflicts.

What it found

  1. Models trained on 68,000 conflicts in Las Vegas held up on 35,000 conflicts in Palo Alto, and stayed reliable with only 20% of the local data.
  2. Bivariate peaks-over-threshold models beat block maxima for intervals under 5 minutes.
  3. Crash risk peaks in congested, turbulent flow.
  4. Published in 4 first-author journal papers.
  • Extreme value theory
  • Bayesian hierarchical models
  • Stan
  • Conflict analysis
  • Transferability
Next case studyRed-light camera site selection for ICBC

Contact us