{"title":"A case study of forensic psychiatry experts' reports analysis through large language models","authors":"Giulia Petroni , Salvatore Alaimo , Gabriele Mandarelli , Roberto Catanesi , Cinzia Niolu , Alberto Siracusano , Alfredo Pulvirenti","doi":"10.1016/j.ijlp.2025.102122","DOIUrl":null,"url":null,"abstract":"<div><div>The integration of artificial intelligence (AI) technologies in forensic psychiatry has gained significant attention due to their potential to enhance tasks such as outcome prediction and decision-making. In this study, we explored the feasibility and performance of a large language model (LLM-GPT) in extracting both clinical and non-clinical variables from authentic forensic psychiatric reports concerning defendants' criminal responsibility and social dangerousness. We employed GPT-4o to extract relevant data using a set of custom queries, which we applied to two forensic psychiatric expert reports. The results of the study demonstrated that the system was capable of extracting information from the forensic psychiatric reports and generating a summarized version. Identifying the most important parts to construct a meaningful synthesis in a highly specialized application domain is currently a challenge. This study highlights the potential of AI in forensic psychiatry and suggests that this approach could be valuable for collecting semi-automated or automated data from reports, enabling the creation of a large dataset that could be used for further research and analysis.</div></div>","PeriodicalId":47930,"journal":{"name":"International Journal of Law and Psychiatry","volume":"102 ","pages":"Article 102122"},"PeriodicalIF":1.4000,"publicationDate":"2025-06-13","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/S016025272500055X","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"LAW","Score":null,"Total":0}
引用次数: 0
Abstract
The integration of artificial intelligence (AI) technologies in forensic psychiatry has gained significant attention due to their potential to enhance tasks such as outcome prediction and decision-making. In this study, we explored the feasibility and performance of a large language model (LLM-GPT) in extracting both clinical and non-clinical variables from authentic forensic psychiatric reports concerning defendants' criminal responsibility and social dangerousness. We employed GPT-4o to extract relevant data using a set of custom queries, which we applied to two forensic psychiatric expert reports. The results of the study demonstrated that the system was capable of extracting information from the forensic psychiatric reports and generating a summarized version. Identifying the most important parts to construct a meaningful synthesis in a highly specialized application domain is currently a challenge. This study highlights the potential of AI in forensic psychiatry and suggests that this approach could be valuable for collecting semi-automated or automated data from reports, enabling the creation of a large dataset that could be used for further research and analysis.
期刊介绍:
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.