{"title":"Learning salient representation of crashes and near-crashes using supervised contrastive variational autoencoder","authors":"Boyu Jiang , Feng Guo","doi":"10.1016/j.aap.2025.108148","DOIUrl":null,"url":null,"abstract":"<div><div>Models capable of learning representations that are salient in safety–critical events (SCEs; including crashes and near-crashes) are crucial for road safety. This study proposes a novel deep learning model, the supervised contrastive variational autoencoder (scVAE), that incorporates supervised contrastive learning methods into the variational autoencoder (VAE) framework. By leveraging two distinct encoders, the scVAE encourages the salient latent variables to be discriminative, capturing the unique representations of SCEs while being regulated by the response variable to focus on the most relevant representations for accurate clustering. Through application on the Second Strategic Highway Research Program (SHRP 2) Naturalistic Driving Study kinematic datasets, we demonstrated the effectiveness of the scVAE in learning salient representations that enable improved clustering compared to alternative models. Quantitative analysis revealed clear clustering patterns in the learned salient representation space, facilitating downstream tasks such as generating samples, denoising, and prediction. The proposed approach of combining contrastive and supervised learning can be scaled to other model frameworks and data modalities, offering a promising direction for learning-enhanced representations that cater to tasks of interest. The study findings highlight the contributions of scVAE to traffic safety, offering enhanced capabilities for driving scenario generation and SCE detection.</div></div>","PeriodicalId":6926,"journal":{"name":"Accident; analysis and prevention","volume":"220 ","pages":"Article 108148"},"PeriodicalIF":5.7000,"publicationDate":"2025-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Accident; analysis and prevention","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0001457525002349","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ERGONOMICS","Score":null,"Total":0}
引用次数: 0
Abstract
Models capable of learning representations that are salient in safety–critical events (SCEs; including crashes and near-crashes) are crucial for road safety. This study proposes a novel deep learning model, the supervised contrastive variational autoencoder (scVAE), that incorporates supervised contrastive learning methods into the variational autoencoder (VAE) framework. By leveraging two distinct encoders, the scVAE encourages the salient latent variables to be discriminative, capturing the unique representations of SCEs while being regulated by the response variable to focus on the most relevant representations for accurate clustering. Through application on the Second Strategic Highway Research Program (SHRP 2) Naturalistic Driving Study kinematic datasets, we demonstrated the effectiveness of the scVAE in learning salient representations that enable improved clustering compared to alternative models. Quantitative analysis revealed clear clustering patterns in the learned salient representation space, facilitating downstream tasks such as generating samples, denoising, and prediction. The proposed approach of combining contrastive and supervised learning can be scaled to other model frameworks and data modalities, offering a promising direction for learning-enhanced representations that cater to tasks of interest. The study findings highlight the contributions of scVAE to traffic safety, offering enhanced capabilities for driving scenario generation and SCE detection.
期刊介绍:
Accident Analysis & Prevention provides wide coverage of the general areas relating to accidental injury and damage, including the pre-injury and immediate post-injury phases. Published papers deal with medical, legal, economic, educational, behavioral, theoretical or empirical aspects of transportation accidents, as well as with accidents at other sites. Selected topics within the scope of the Journal may include: studies of human, environmental and vehicular factors influencing the occurrence, type and severity of accidents and injury; the design, implementation and evaluation of countermeasures; biomechanics of impact and human tolerance limits to injury; modelling and statistical analysis of accident data; policy, planning and decision-making in safety.