It appears you don't have support to open PDFs in this web browser. To view this file, Open with your PDF reader
Abstract
Social determinants of health (SDoH) play a critical role in patient outcomes, yet their documentation is often missing or incomplete in the structured data of electronic health records (EHRs). Large language models (LLMs) could enable high-throughput extraction of SDoH from the EHR to support research and clinical care. However, class imbalance and data limitations present challenges for this sparsely documented yet critical information. Here, we investigated the optimal methods for using LLMs to extract six SDoH categories from narrative text in the EHR: employment, housing, transportation, parental status, relationship, and social support. The best-performing models were fine-tuned Flan-T5 XL for any SDoH mentions (macro-F1 0.71), and Flan-T5 XXL for adverse SDoH mentions (macro-F1 0.70). Adding LLM-generated synthetic data to training varied across models and architecture, but improved the performance of smaller Flan-T5 models (delta F1 + 0.12 to +0.23). Our best-fine-tuned models outperformed zero- and few-shot performance of ChatGPT-family models in the zero- and few-shot setting, except GPT4 with 10-shot prompting for adverse SDoH. Fine-tuned models were less likely than ChatGPT to change their prediction when race/ethnicity and gender descriptors were added to the text, suggesting less algorithmic bias (p < 0.05). Our models identified 93.8% of patients with adverse SDoH, while ICD-10 codes captured 2.0%. These results demonstrate the potential of LLMs in improving real-world evidence on SDoH and assisting in identifying patients who could benefit from resource support.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer
Details



1 Mass General Brigham, Harvard Medical School, Artificial Intelligence in Medicine (AIM) Program, Boston, USA (GRID:grid.38142.3c) (ISNI:000000041936754X); Brigham and Women’s Hospital/Dana-Farber Cancer Institute, Department of Radiation Oncology, Boston, USA (GRID:grid.62560.37) (ISNI:0000 0004 0378 8294)
2 Mass General Brigham, Harvard Medical School, Artificial Intelligence in Medicine (AIM) Program, Boston, USA (GRID:grid.38142.3c) (ISNI:000000041936754X); Brigham and Women’s Hospital/Dana-Farber Cancer Institute, Department of Radiation Oncology, Boston, USA (GRID:grid.62560.37) (ISNI:0000 0004 0378 8294); Boston Children’s Hospital, Harvard Medical School, Computational Health Informatics Program, Boston, USA (GRID:grid.38142.3c) (ISNI:000000041936754X)
3 Brigham and Women’s Hospital/Dana-Farber Cancer Institute, Department of Radiation Oncology, Boston, USA (GRID:grid.62560.37) (ISNI:0000 0004 0378 8294)
4 Dana-Farber Cancer Institute, Adult Resource Office, Boston, USA (GRID:grid.65499.37) (ISNI:0000 0001 2106 9910)
5 Mass General Brigham, Harvard Medical School, Artificial Intelligence in Medicine (AIM) Program, Boston, USA (GRID:grid.38142.3c) (ISNI:000000041936754X); Brigham and Women’s Hospital/Dana-Farber Cancer Institute, Department of Radiation Oncology, Boston, USA (GRID:grid.62560.37) (ISNI:0000 0004 0378 8294); Maastricht University, Radiology and Nuclear Medicine, GROW & CARIM, Maastricht, The Netherlands (GRID:grid.5012.6) (ISNI:0000 0001 0481 6099)
6 Dana-Farber Cancer Institute and Department of Biostatistics, Harvard T. H. Chan School of Public Health, Department of Data Science, Boston, USA (GRID:grid.65499.37) (ISNI:0000 0001 2106 9910)
7 Boston Children’s Hospital, Harvard Medical School, Computational Health Informatics Program, Boston, USA (GRID:grid.38142.3c) (ISNI:000000041936754X)