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.

A case study of forensic psychiatry experts' reports analysis through large language models / Petroni, Giulia; Alaimo, Salvatore; Mandarelli, Gabriele; Catanesi, Roberto; Niolu, Cinzia; Siracusano, Alberto; Pulvirenti, Alfredo. - In: INTERNATIONAL JOURNAL OF LAW AND PSYCHIATRY. - ISSN 0160-2527. - 102:(2025), pp. 1-10. [10.1016/j.ijlp.2025.102122]

A case study of forensic psychiatry experts' reports analysis through large language models

Petroni, Giulia
;
Siracusano, Alberto;
2025

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.
2025
Artificial intelligence; Forensic psychiatry; GPT; Mental insanity; Social dangerousness; Variable extraction
01 Pubblicazione su rivista::01a Articolo in rivista
A case study of forensic psychiatry experts' reports analysis through large language models / Petroni, Giulia; Alaimo, Salvatore; Mandarelli, Gabriele; Catanesi, Roberto; Niolu, Cinzia; Siracusano, Alberto; Pulvirenti, Alfredo. - In: INTERNATIONAL JOURNAL OF LAW AND PSYCHIATRY. - ISSN 0160-2527. - 102:(2025), pp. 1-10. [10.1016/j.ijlp.2025.102122]
File allegati a questo prodotto
File Dimensione Formato  
1-s2.0-S016025272500055X-main.pdf

solo gestori archivio

Note: Petroni_A case study_2025
Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 687.46 kB
Formato Adobe PDF
687.46 kB Adobe PDF   Contatta l'autore

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1741466
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact