SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.00164 · NeurIPS · 2023

Graph Neural Networks for Road Safety Modeling: Datasets and Evaluations for Accident Analysis

Hongyang Zhang, Dongyue Li, Haotian Ju, Abhinav Nippani, Haris Koutsopoulos

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2311.00164.json · badge: /api/ran/2311.00164.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
virtuosoresearch/ml4roadsafety canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
VirtuosoResearch/ML4RoadSafety canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
concat_files_one_subfolder Ran
ran; our contract draft was wrong, not the code
virtuosoresearch/ml4roadsafety/datasets/1_road_network_Harvard.py
pointer only (licence: NONE) · get_code("c65e1b82ba6db6a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, virtuosoresearch/ml4roadsafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

concat_files_two_subfolder Ran
ran; our contract draft was wrong, not the code
virtuosoresearch/ml4roadsafety/datasets/1_road_network_Harvard.py
pointer only (licence: NONE) · get_code("1be64592d0f69840")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, virtuosoresearch/ml4roadsafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

eval_hits Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
VirtuosoResearch/ML4RoadSafety/ml_for_road_safety/evaluators.py
pointer only (licence: NONE) · get_code("d83142b999c4605c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, VirtuosoResearch/ML4RoadSafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

eval_mae Ran
ran; our contract draft was wrong, not the code
VirtuosoResearch/ML4RoadSafety/ml_for_road_safety/evaluators.py
pointer only (licence: NONE) · get_code("67daec1e9c1b03a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, VirtuosoResearch/ML4RoadSafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

eval_rocauc Ran
ran; our contract draft was wrong, not the code
VirtuosoResearch/ML4RoadSafety/ml_for_road_safety/evaluators.py
pointer only (licence: NONE) · get_code("24a30de439ff18c8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, VirtuosoResearch/ML4RoadSafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_nearest_street Ran
ran, honoured the contract we drafted
virtuosoresearch/ml4roadsafety/datasets/3_extract_nearest_street.py
pointer only (licence: NONE) · get_code("215496ed7fb0bbd5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, virtuosoresearch/ml4roadsafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_monthly_data Ran
ran; our contract draft was wrong, not the code
virtuosoresearch/ml4roadsafety/ml_for_road_safety/data_loaders.py
pointer only (licence: NONE) · get_code("18f0d2384d627b16")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, virtuosoresearch/ml4roadsafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_yearly_data Ran
ran; our contract draft was wrong, not the code
virtuosoresearch/ml4roadsafety/ml_for_road_safety/data_loaders.py
pointer only (licence: NONE) · get_code("e7a60aa2233f86b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, virtuosoresearch/ml4roadsafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_static_edge_features Not yet run
unverified (harvested, no recorded run)
virtuosoresearch/ml4roadsafety/ml_for_road_safety/data_loaders.py
pointer only (licence: NONE) · get_code("7bbfe555fa39575f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, virtuosoresearch/ml4roadsafety when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We consider the problem of traffic accident analysis on a road network based on road network connections and traffic volume. Previous works have designed various deep-learning methods using historical records to predict traffic accident occurrences. However, there is a lack of consensus on how accurate existing methods are, and a fundamental issue is the lack of public accident datasets for comprehensive evaluations. This paper constructs a large-scale, unified dataset of traffic accident records from official reports of various states in the US, totaling 9 million records, accompanied by road networks and traffic volume reports. Using this new dataset, we evaluate existing deep-learning methods for predicting the occurrence of accidents on road networks. Our main finding is that graph neural networks such as GraphSAGE can accurately predict the number of accidents on roads with less than 22% mean absolute error (relative to the actual count) and whether an accident will occur or not with over 87% AUROC, averaged over states. We achieve these results by using multitask learning to account for cross-state variabilities (e.g., availability of accident labels) and transfer learning to combine traffic volume with accident prediction. Ablation studies highlight the importance of road graph-structural features, amongst other features. Lastly, we discuss the implications of the analysis and develop a package for easily using our new dataset.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.00164")
get_code_for_paper("2311.00164")
have("2311.00164")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.00164.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.00164.svg)](https://syntology.ai/paper/2311.00164)

Connect an agent — have() is free.