{"title":"发现交通事故漏报的大型语言模型框架","authors":"Cristian Arteaga, JeeWoong Park","doi":"10.1016/j.jsr.2024.11.009","DOIUrl":null,"url":null,"abstract":"<div><div><em>Introduction:</em> Crash reports support the development of traffic safety countermeasures, but these reports often suffer from underreporting of crucial crash factors due to miscoded entries during data collection. To rectify these issues, the current practice relies on manual information rectification, which is time consuming and error prone, especially with large data volumes. To address these hurdles, we develop a framework to analyze traffic crash narratives and uncover underreported crash factors by capitalizing on the capabilities of Large Language Models (LLM). <em>Method:</em> The framework integrates procedures for prompt definition, selection of LLM generation parameters, output parsing, and underreporting determination. For evaluation, we present a case study on identification of underreported alcohol involvement in traffic crashes. We investigate the framework’s identification accuracy in relation to different underlying LLMs (i.e., ChatGPT, Flan-UL2, and Llama-2), prompt framings (i.e., explicit vs. implicit matching), and generation parameters (i.e., sampling temperature and nucleus probability). Our validation dataset consists of 500 crash reports from the State of Massachusetts. <em>Results:</em> Analysis results demonstrate that the developed framework achieves a recall and precision of up to 1.0 and 0.93, respectively, indicating a successful retrieval of underreported instances. These findings indicate that the developed framework addresses a critical gap in the existing traffic safety analysis workflow by enabling safety analysts to uncover underreporting in crash data efficiently and accurately, without the need for extensive expertise in natural language processing. <em>Practical Applications:</em> Thus, the developed approach offers unprecedented opportunities to maximize the quality and comprehensiveness of traffic crash records, paving the way for more effective countermeasure development.</div></div>","PeriodicalId":48224,"journal":{"name":"Journal of Safety Research","volume":"92 ","pages":"Pages 1-13"},"PeriodicalIF":3.9000,"publicationDate":"2024-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A large language model framework to uncover underreporting in traffic crashes\",\"authors\":\"Cristian Arteaga, JeeWoong Park\",\"doi\":\"10.1016/j.jsr.2024.11.009\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div><em>Introduction:</em> Crash reports support the development of traffic safety countermeasures, but these reports often suffer from underreporting of crucial crash factors due to miscoded entries during data collection. To rectify these issues, the current practice relies on manual information rectification, which is time consuming and error prone, especially with large data volumes. To address these hurdles, we develop a framework to analyze traffic crash narratives and uncover underreported crash factors by capitalizing on the capabilities of Large Language Models (LLM). <em>Method:</em> The framework integrates procedures for prompt definition, selection of LLM generation parameters, output parsing, and underreporting determination. For evaluation, we present a case study on identification of underreported alcohol involvement in traffic crashes. We investigate the framework’s identification accuracy in relation to different underlying LLMs (i.e., ChatGPT, Flan-UL2, and Llama-2), prompt framings (i.e., explicit vs. implicit matching), and generation parameters (i.e., sampling temperature and nucleus probability). Our validation dataset consists of 500 crash reports from the State of Massachusetts. <em>Results:</em> Analysis results demonstrate that the developed framework achieves a recall and precision of up to 1.0 and 0.93, respectively, indicating a successful retrieval of underreported instances. These findings indicate that the developed framework addresses a critical gap in the existing traffic safety analysis workflow by enabling safety analysts to uncover underreporting in crash data efficiently and accurately, without the need for extensive expertise in natural language processing. <em>Practical Applications:</em> Thus, the developed approach offers unprecedented opportunities to maximize the quality and comprehensiveness of traffic crash records, paving the way for more effective countermeasure development.</div></div>\",\"PeriodicalId\":48224,\"journal\":{\"name\":\"Journal of Safety Research\",\"volume\":\"92 \",\"pages\":\"Pages 1-13\"},\"PeriodicalIF\":3.9000,\"publicationDate\":\"2024-11-13\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Safety Research\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0022437524001580\",\"RegionNum\":2,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"ERGONOMICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Safety Research","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0022437524001580","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ERGONOMICS","Score":null,"Total":0}
A large language model framework to uncover underreporting in traffic crashes
Introduction: Crash reports support the development of traffic safety countermeasures, but these reports often suffer from underreporting of crucial crash factors due to miscoded entries during data collection. To rectify these issues, the current practice relies on manual information rectification, which is time consuming and error prone, especially with large data volumes. To address these hurdles, we develop a framework to analyze traffic crash narratives and uncover underreported crash factors by capitalizing on the capabilities of Large Language Models (LLM). Method: The framework integrates procedures for prompt definition, selection of LLM generation parameters, output parsing, and underreporting determination. For evaluation, we present a case study on identification of underreported alcohol involvement in traffic crashes. We investigate the framework’s identification accuracy in relation to different underlying LLMs (i.e., ChatGPT, Flan-UL2, and Llama-2), prompt framings (i.e., explicit vs. implicit matching), and generation parameters (i.e., sampling temperature and nucleus probability). Our validation dataset consists of 500 crash reports from the State of Massachusetts. Results: Analysis results demonstrate that the developed framework achieves a recall and precision of up to 1.0 and 0.93, respectively, indicating a successful retrieval of underreported instances. These findings indicate that the developed framework addresses a critical gap in the existing traffic safety analysis workflow by enabling safety analysts to uncover underreporting in crash data efficiently and accurately, without the need for extensive expertise in natural language processing. Practical Applications: Thus, the developed approach offers unprecedented opportunities to maximize the quality and comprehensiveness of traffic crash records, paving the way for more effective countermeasure development.
期刊介绍:
Journal of Safety Research is an interdisciplinary publication that provides for the exchange of ideas and scientific evidence capturing studies through research in all areas of safety and health, including traffic, workplace, home, and community. This forum invites research using rigorous methodologies, encourages translational research, and engages the global scientific community through various partnerships (e.g., this outreach includes highlighting some of the latest findings from the U.S. Centers for Disease Control and Prevention).