Evidence map›Paper›PMID 40832382›Full record

ArticlemedRxiv : the preprint server for health sciences2025

Large Language Models for Psychiatric Phenotype Extraction from Electronic Health Records.

Clara Frydman-Gani, Alejandro Arias, Maria Perez Vallejo, John Daniel Londoño Martínez, Johanna Valencia-Echeverry, Mauricio Castaño, Alex A T Bui, Nelson B Freimer, Carlos Lopez-Jaramillo, Loes M Olde Loohuis

Abstract readPreprint
In one paragraph

Article in medRxiv : the preprint server for health sciences, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

10 authors.

Clara Frydman-GaniCenter for Neurobehavioral Genetics, Semel Institute for Neuroscience and Human Behavior, David Geffen School of Medicine, University of California Los Angeles, Los Angeles, USA.ORCID 0009-0000-9025-3690
Alejandro AriasDepartment of Mental Health and Human Behavior, University of Caldas, Manizales, Colombia.
Maria Perez VallejoResearch Group in Psychiatry (GIPSI), Department of Psychiatry, School of Medicine, Universidad de Antioquia, Medellin, Colombia.
John Daniel Londoño MartínezResearch Group in Psychiatry (GIPSI), Department of Psychiatry, School of Medicine, Universidad de Antioquia, Medellin, Colombia.
Johanna Valencia-EcheverryResearch Group in Psychiatry (GIPSI), Department of Psychiatry, School of Medicine, Universidad de Antioquia, Medellin, Colombia.
Mauricio CastañoDepartment of Mental Health and Human Behavior, University of Caldas, Manizales, Colombia.
Alex A T BuiDepartment of Radiological Sciences, University of California Los Angeles, California, USA.
Nelson B FreimerCenter for Neurobehavioral Genetics, Semel Institute for Neuroscience and Human Behavior, David Geffen School of Medicine, University of California Los Angeles, Los Angeles, USA.
Carlos Lopez-JaramilloResearch Group in Psychiatry (GIPSI), Department of Psychiatry, School of Medicine, Universidad de Antioquia, Medellin, Colombia.
Loes M Olde LoohuisCenter for Neurobehavioral Genetics, Semel Institute for Neuroscience and Human Behavior, David Geffen School of Medicine, University of California Los Angeles, Los Angeles, USA.

Funding

A Latin American biobank for large-scale genetics research on severe mental illnessR01MH123157 · NIMH · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI FREIMER, NELSON B., LOPEZ JARAMILLO, CARLOS · 2020 to 2025
$10.6M
4/4 Powering Genetic Discovery for Severe Mental Illness in Latin American and African AncestriesU01MH125042 · NIMH · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI FREIMER, NELSON B., LOPEZ JARAMILLO, CARLOS · 2020 to 2024
$5.3M
The Impact of the COVID-19 Pandemic on Severe Mental IllnessRF1MH133426 · NIMH · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI FREIMER, NELSON B., LOPEZ JARAMILLO, CARLOS · 2023 to 2023
$3.1M
5/7-PsycheMERGE: Advancing Precision PsychiatryR01MH137219 · NIMH · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI Loes Marlein Olde Loohuis · 2024 to 2026
$2.3M
Accelerating the Diagnosis of Bipolar Disorder Using Genetic and Phenotypic SignaturesR00MH116115 · NIMH · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI OLDE LOOHUIS, LOES MARLEIN · 2020 to 2022
$747k
NIMH NIH HHS R00 MH116115NIMH NIH HHS R01 MH123157NIMH NIH HHS R01 MH137219NIMH NIH HHS RF1 MH133426NIMH NIH HHS U01 MH125042
6 · The paper itself

Abstract

The accurate detection of clinical phenotypes from electronic health records (EHRs) is pivotal for advancing large-scale genetic and longitudinal studies in psychiatry. Free-text clinical notes are an essential source of symptom-level information, particularly in psychiatry. However, the automated extraction of symptoms from clinical text remains challenging. Here, we tested 11 open-source generative large language models (LLMs) for their ability to detect 109 psychiatric phenotypes from clinical text, using annotated EHR notes from a psychiatric clinic in Colombia. The LLMs were evaluated both "out-of-the-box" and after fine-tuning, and compared against a traditional natural language processing (tNLP) method developed from the same data. We show that while base LLM performance was poor to moderate (0.2-0.6 macro-F1 for zero-shot; 0.2-0.74 macro-F1 for few shot), it improved significantly after fine-tuning (0.75-0.86 macro-F1), with several fine-tuned LLMs outperforming the tNLP method. In total, 100 phenotypes could be reliably detected (F1>0.8) using either a fine-tuned LLM or tNLP. To generate a fine-tuned LLM that can be shared with the scientific and medical community, we created a fully synthetic dataset free of patient information but based on original annotations. We fine-tuned a top-performing LLM on this data, creating "Mistral-small-psych", an LLM that can detect psychiatric phenotypes from Spanish text with performance comparable to that of LLMs trained on real EHR data (macro-F1=0.79). Finally, the fine-tuned LLMs underwent an external validation using data from a large psychiatric hospital in Colombia, the Hospital Mental de Antioquia, highlighting that most LLMs generalized well (0.02-0.16 point loss in macro-F1). Our study underscores the value of domain-specific adaptation of LLMs and introduces a new model for accurate psychiatric phenotyping in Spanish text, paving the way for global precision psychiatry.

Identifiers

PMID40832382
PMCPMC12363723

What OpenQuestion holds

Textmetadata
LicenceCC BY-NC-ND
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.