Related Experiment Video
Updated: Jan 18, 2026

03:14
Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
1.0K
Can Large Language Models Reduce the Cost of Extracting Data from Electronic Health Records for Research?
Medrxiv : the Preprint Server for Health Sciences
|January 16, 2026
Summary
Large language models (LLMs) can make natural language processing (NLP) cost-effective for smaller medical data projects. This approach reduces development time compared to traditional NLP methods, but computational costs need management.
Area of Science:
- Biomedical Informatics
- Computational Linguistics
Background:
- Unstructured electronic health records (EHR) contain valuable medical data.
- Extracting information from EHRs is typically done manually or via natural language processing (NLP).
- Current NLP methods are only cost-effective for large datasets (~6500 records).
Purpose of the Study:
- To investigate if large language models (LLMs) can reduce NLP costs for smaller EHR projects.
- To assess the accuracy and feasibility of an LLM-based NLP framework.
Main Methods:
- Developed an NLP pipeline using an open-source LLM to extract breast cancer biomarker data (ER, PR, HER2) from EHRs.
- Compared the LLM pipeline's development time and performance against a rule-based (RB) NLP pipeline.
- Made the LLM pipeline code publicly available.
Main Results:
- The LLM pipeline achieved performance competitive with manual data extraction.
- Hands-on development time for the LLM pipeline was approximately 38% of that for the RB pipeline.
Conclusions:
- LLMs offer lower hands-on development costs than traditional NLP techniques.
- LLMs require significant computational resources, which can be costly.
- LLMs show potential for making NLP economically viable for smaller EHR projects if computational expenses are managed.

