Leveraging Open-Source Large Language Models for encoding Social Determinants of Health using an Intelligent Router
Not on the map. Why?
Abstract (arXiv)
Social Determinants of Health (SDOH), also known as Health-Related Social Needs (HSRN), play a significant role in patient health outcomes. The Centers for Disease Control and Prevention (CDC) introduced a subset of ICD-10 codes called Z-codes to recognize and measure SDOH. However, Z-codes are infrequently coded in a patient's Electronic Health Record (EHR), and instead, in many cases, need to be inferred from clinical notes. Previous research has shown that large language models (LLMs) show promise on extracting unstructured data from EHRs, but it can be difficult to identify a single model that performs best on varied coding tasks. Further, clinical notes contain protected health information posing a challenge for the use of closed-source language models from commercial vendors. The identification of open-source LLMs that can be run within health organizations and exhibit high performance on SDOH tasks is an important issue to solve. Here, we introduce an intelligent routing system for SDOH coding that uses a language model router to direct medical record data to open-source LLMs that demonstrate optimal performance on specific SDOH codes. This intelligent routing system exhibits state of the art performance of 96.4% accuracy averaged across 13 codes, including homelessness and food insecurity, outperforming closed models such as GPT-4o. We leveraged a publicly-available, deidentified dataset of medical record notes to run the router, but we also introduce a synthetic data generation and validation paradigm to increase the scale of training data without needing privacy-protected medical records. Together, we demonstrate an architecture for intelligent routing of inputs to task-optimal language models to achieve high performance across a set of medical coding sub-tasks.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 7 of its 17 references that are in the map. First posted on arXiv 30 May 2024.
Builds on
7 of 17 references.
References · 7
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
- 2023OpenChat: Advancing Open-source Language Models with Mixed-Quality Datacited by 252
- 2023Large Language Models to Identify Social Determinants of Health in Electronic Health Recordscited by 55
- 2020Annotating Social Determinants of Health Using Active Learning, and Characterizing Determinants Using Neural Event Extractioncited by 32
- 2023Tryage: Real-time, intelligent Routing of User Prompts to Large Language Modelscited by 30
- 2023Herd: Using multiple, smaller LLMs to match the performances of proprietary, large LLMs via an intelligent composercited by 1
Built on by
Not cited yet.