Author
Listed:
- Sarah Pungitore
- Shashank Yadav
- Molly Douglas
- Jarrod Mosier
- Vignesh Subbian
Abstract
Computational phenotyping is a central informatics activity with resulting cohorts supporting a wide variety of applications. However, it is time-intensive because of manual data review and limited automation. Since LLMs have demonstrated promising capabilities for text classification, comprehension, and generation, we posit they will perform well at repetitive manual review tasks traditionally performed by human experts. To support next-generation computational phenotyping, we developed SHREC, a framework for integrating LLMs into end-to-end phenotyping pipelines. We applied and tested three lightweight LLMs (Gemma2 27 billion, Mistral Small 24 billion, and Phi-4 14 billion) to classify concepts and phenotype patients using phenotypes for ARF respiratory support therapies. All models performed well on concept classification, with the best (Mistral) achieving an AUROC of 0.896. For phenotyping, models demonstrated near-perfect specificity for all phenotypes with the top-performing model (Mistral) achieving an average AUROC of 0.853 for single-therapy phenotypes. In conclusion, lightweight LLMs can assist researchers with resource-intensive phenotyping tasks. Several advantages of LLMs included their ability to adapt to new tasks with prompt engineering alone and their ability to incorporate raw EHR data. Future steps include determining optimal strategies for integrating biomedical data and understanding reasoning errors.Author summary: In our research, we explored how large language models like ChatGPT could help make the process of identifying patient groups from electronic health records faster and less labor-intensive. Traditionally, defining these patient groups requires careful manual review of large amounts of clinical data, which can be time-consuming and costly. We developed a framework called SHREC that integrates language models into these workflows, allowing the models to classify relevant clinical information and help create patient groups automatically. We tested several models on respiratory support therapies and found that even relatively small models were highly effective at accurately identifying concepts and patients. Our work shows that language models can complement human expertise, reducing the effort needed for routine tasks while still maintaining high accuracy. By demonstrating how these tools can fit into the larger research process, we hope to encourage further development of methods that make clinical data analysis faster, more efficient, and more accessible to researchers.
Suggested Citation
Sarah Pungitore & Shashank Yadav & Molly Douglas & Jarrod Mosier & Vignesh Subbian, 2026.
"SHREC: A framework for advancing next-generation computational phenotyping with large language models,"
PLOS Digital Health, Public Library of Science, vol. 5(2), pages 1-13, February.
Handle:
RePEc:plo:pdig00:0001217
DOI: 10.1371/journal.pdig.0001217
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pdig00:0001217. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: digitalhealth (email available below). General contact details of provider: https://journals.plos.org/digitalhealth .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.