Whereabouts Crash Detection Model
A 1D-CNN (~11K params, 44 KB) that confirms vehicle crashes from smartphone accelerometer data.
Trained on 22,603 real verified crashes from the [VZCrash dataset] (https://huggingface.co/datasets/vzc-research-chapter/VZCrash) (CC BY-NC 4.0) plus real phone motion from WISDM, real driving recordings from a Samsung S23, and synthetic FMVSS phone-mount pulses as a domain bridge.
Architecture
- Conv1d(3β16, k=5, s=2) β ReLU β MaxPool(4) β Conv1d(16β32, k=5, s=2) β ReLU β AdaptiveAvgPool(8) β Linear(256β32) β ReLU β Linear(32β2)
- Input: (3, 400) float32 @ 50 Hz (8 seconds of 3-axis accelerometer)
- Output: [not-crash, crash] logits
Decision threshold
The exported weights bake in a recall-favoring operating point: a +1.735 offset on the crash logit makes the runtime's argmax fire at raw p >= 0.15. At that threshold the model catches 100% of 786 real held-out crashes at 97.1% negative accuracy. False alarms cost a dismissible "I'm OK" countdown; missed crashes cost everything.
Usage
The model runs on-device in the Whereabouts app as a confirmation layer for the rule-based crash detector. The weights binary is loaded at init from assets, with support for hot-swapping via a downloaded update.
Citation
If you use this model, please also cite the VZCrash dataset:
@inproceedings{bianconcini2026vzcrash,
title={VZCrash: A Large-Scale IMU Dataset of Ego-Vehicle Crashes},
author={Bianconcini, Tommaso and Monteagudo, Henrique Pi{\~n}eiro and Pjetri, Aurel and Trinci, Tomaso and Taccari, Leonardo},
year={2026}
}
Training
See train.py and prepare_data.py in this repo. Trained on an RTX 4070
in <1 minute. The synthetic crash pulses use the FMVSS 208 corridor spec.