{"title":"Injury degree appraisal of large language model based on retrieval-augmented generation and deep learning","authors":"Fan Zhang , Yifang Luo , Zihuan Gao , Aihua Han","doi":"10.1016/j.ijlp.2025.102070","DOIUrl":null,"url":null,"abstract":"<div><div>Large Language Models (LLMs) have shown impressive performance in various natural language processing tasks. However, their application in specialized domains like forensic injury appraisal remains challenging due to the lack of domain-specific knowledge and the need for accurate retrieval of relevant information. This study proposes a novel approach that combines Retrieval-Augmented Generation (RAG) with graph-based knowledge bases and deep learning to enable LLMs to conduct injury appraisals based on China’s Standards for Assessing the Extent of Bodily Injuries (SAEBI). We create a dataset of 26,199 real-world injury appraisal cases and develop a RoBERTa-CNN model for accurate classification of injury locations and severity levels. By integrating this model with a graph-based knowledge base, our RAG strategy significantly improves the performance of nine state-of-the-art LLMs in injury appraisal tasks, with accuracy gains ranging from 21 to 59 percentage points compared to traditional retrieval methods. The additional experiments on crime classification also show that our method has good transferability in different domains. Our approach showcases the potential of combining domain-specific knowledge, advanced retrieval techniques, and deep learning to enhance the performance of LLMs in specialized domains like forensic injury appraisal.</div></div>","PeriodicalId":47930,"journal":{"name":"International Journal of Law and Psychiatry","volume":"100 ","pages":"Article 102070"},"PeriodicalIF":1.4000,"publicationDate":"2025-02-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Law and Psychiatry","FirstCategoryId":"3","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0160252725000032","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"LAW","Score":null,"Total":0}
引用次数: 0
Abstract
Large Language Models (LLMs) have shown impressive performance in various natural language processing tasks. However, their application in specialized domains like forensic injury appraisal remains challenging due to the lack of domain-specific knowledge and the need for accurate retrieval of relevant information. This study proposes a novel approach that combines Retrieval-Augmented Generation (RAG) with graph-based knowledge bases and deep learning to enable LLMs to conduct injury appraisals based on China’s Standards for Assessing the Extent of Bodily Injuries (SAEBI). We create a dataset of 26,199 real-world injury appraisal cases and develop a RoBERTa-CNN model for accurate classification of injury locations and severity levels. By integrating this model with a graph-based knowledge base, our RAG strategy significantly improves the performance of nine state-of-the-art LLMs in injury appraisal tasks, with accuracy gains ranging from 21 to 59 percentage points compared to traditional retrieval methods. The additional experiments on crime classification also show that our method has good transferability in different domains. Our approach showcases the potential of combining domain-specific knowledge, advanced retrieval techniques, and deep learning to enhance the performance of LLMs in specialized domains like forensic injury appraisal.
期刊介绍:
The International Journal of Law and Psychiatry is intended to provide a multi-disciplinary forum for the exchange of ideas and information among professionals concerned with the interface of law and psychiatry. There is a growing awareness of the need for exploring the fundamental goals of both the legal and psychiatric systems and the social implications of their interaction. The journal seeks to enhance understanding and cooperation in the field through the varied approaches represented, not only by law and psychiatry, but also by the social sciences and related disciplines.