TLDR: Johns Hopkins University researchers have developed an AI-powered tool, SafeTraffic Copilot, that leverages large language models (LLMs) to identify car crash risk factors and predict future incident locations across the U.S. Published in Nature Communications, the tool aims to provide data-driven insights for policymakers and engineers to reduce fatalities and injuries, operating as a ‘copilot’ for human decision-making with quantifiable prediction trustworthiness.
In a significant stride towards enhancing road safety, researchers at Johns Hopkins University have introduced an innovative artificial intelligence (AI) tool named SafeTraffic Copilot. This groundbreaking system is designed to pinpoint the various risk factors contributing to vehicular accidents across the United States and to accurately forecast the sites of future incidents. The findings of this pivotal work have been published in the esteemed journal, Nature Communications.
The impetus behind SafeTraffic Copilot stems from the persistent rise in motor vehicle fatalities and injuries in the U.S., despite decades of implementing various safety countermeasures. Senior author Hao “Frank” Yang, an assistant professor of civil and systems engineering at Johns Hopkins, highlighted the intricate nature of these events, stating, “Motor vehicle fatalities in the U.S. continue to increase, despite decades of countermeasures, and these are complex events affected by numerous variables, like weather, traffic patterns, roadway design, and driver behavior.” He added, “With SafeTraffic Copilot, our goal is to simplify this complexity and provide infrastructure designers and policymakers with data-based insights to mitigate crashes.”
At its core, SafeTraffic Copilot utilizes a sophisticated form of AI known as large language models (LLMs). These models are specifically engineered to process, comprehend, and learn from vast and diverse datasets. The tool’s training regimen included a wide array of information, such as textual descriptions of road conditions, numerical data like blood alcohol levels, and visual inputs from satellite images and on-site photography. This comprehensive training enables the model to evaluate both individual and combined risk factors, offering a nuanced understanding of how these elements interact to influence crash occurrences.
A key feature of SafeTraffic Copilot is its continuous learning loop, which ensures that its predictive performance steadily improves as more crash-related data is integrated into the model over time. Furthermore, the researchers have developed a method to quantify the trustworthiness of the predictions, allowing them to state, for instance, that a given prediction will be 70% accurate in a real-world scenario.
Yang emphasized the transformative potential of this approach: “By reframing crash prediction as a reasoning task and using LLMs to integrate written and visual data, the stakeholders can move from coarse, aggregate statistics, to a fine-tuned understanding of what causes specific crashes.” The model is intended to serve as a reliable and interpretable tool for policymakers and transportation designers, empowering them to identify combinations of factors that elevate crash risk. This data can then be leveraged to implement evidence-based interventions and foster more effective infrastructure planning, ultimately saving lives and reducing injuries.
Crucially, the researchers envision SafeTraffic Copilot as a ‘copilot’ for human decision-making, rather than a replacement. Yang clarified, “Rather than replacing humans, LLMs should serve as copilots—processing information, identifying patterns, and quantifying risks—while humans remain the final decision-makers.” This approach addresses concerns about the ‘black-box’ nature of many LLMs, where users often lack insight into how predictions are generated, which can deter their adoption in high-stakes fields.
The development of SafeTraffic Copilot also sets a precedent for the responsible integration of AI-based models into critical domains such as public health and human safety. The Johns Hopkins team plans to continue its research to further explore how AI models can be utilized responsibly in these settings, with a central focus on optimally combining human strengths with LLM capabilities to ensure decisions are data-driven, transparent, accountable, and aligned with societal values.
Also Read:
- Meta AI and Ohio State University Introduce ‘Early Experience’ for Reward-Free Language Agent Training
- Accelerating Automotive Crashworthiness Design with AI-Powered Simulations
The research team includes Johns Hopkins doctoral candidates Yang Zhao and Pu Wang, master’s student Yibo Zhao, and Hongru Du, an assistant professor at the University of Virginia who earned his PhD from the Johns Hopkins Department of Civil and Systems Engineering.


