Back to search

Cal Poly

When, Not Whether: Driving-Specific Self-Supervised Pretraining for Car Crash Anticipation

Abstract

dc:description.abstract

Anticipating a car crash requires a model to recognize a dangerous situation as it develops, yet labeled crash footage to learn such development is scarce. For this reason, creating crash prediction methods through traditional supervised learning remains a challenge. This thesis asks whether self-supervised pretraining on unlabeled driving video can help learn meaningful driving semantics and, in turn, improve crash prediction. We pretrain a small video encoder (ViT-Tiny with a temporal RoPE block, 6.4 M parameters) with a joint-embedding predictive architecture (JEPA) on 104 hours of unlabeled dashcam footage from the Honda Driving Dataset, using masked-tube prediction in latent space. To isolate what pretraining adds, every backbone is frozen, and the pretrained encoder is compared against an architecture-matched control: the same network with its ImageNet initialization. Two supervised video transformers, Video Swin-T and ViViT-B, are pretrained only on Kinetics-400, and evaluated under the same protocol for comparison. We find pretraining learns driving semantics: on held-out HDD sessions, the JEPA encoder nearly doubles the control's driving maneuver mAP (0.236 vs. 0.129) and outperforms both video transformers. For crash anticipation, we separate evaluation into two questions. First is when the risk score rises within a crash video, and second is whether a crash video is caught at a fixed false-alarm rate. For the “when”, on the Nexar dataset, JEPA leads the control in every one of 20 cross-validation runs (precursor AUC 0.680 vs. 0.611), and the gain transfers zero-shot to DADA-2000 at the same margin. On “whether”, there is no consistent advantage: the two models tie on Nexar, and the control leads on the official Nexar competition test set. Explainability analyses are carried out to locate the “when”’s gain. A temporal-block ablation shows that it comes entirely from JEPA's learned temporal block, while its per-frame features are slightly weaker than ImageNet's. Occlusion and frozen-history perturbation tests show that JEPA relies on motion in the center of the frame, whereas the control relies on per-frame appearance. Self-supervised pretraining on driving video therefore yields an improvement in when a model registers rising risk, but not yet in whether it can tell a crash from normal driving.

Degree

thesis:*
Name thesis:degree_name
MS in Electrical Engineering

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Thyssen, Jonas
Contributors dc:contributor
  • Jane Zhang
  • Electrical Engineering
  • College of Engineering

Identifiers

dc:identifier.*
Repository record dc:identifier
https://digitalcommons.calpoly.edu/theses/3455

Chain of custody

source
Harvested from
Cal Poly
Base URL
digitalcommons.calpoly.edu/do/oai/
Last updated
2026-12-04
Source record
OAI-PMH GetRecord
related terms
citation

Thyssen, Jonas. When, Not Whether: Driving-Specific Self-Supervised Pretraining for Car Crash Anticipation. https://digitalcommons.calpoly.edu/theses/3455