Cited by 16Biomedical Text Mining and OntologiesTopic ModelingMachine Learning in Healthcare

LLM-IE: a python package for biomedical generative information extraction with large language models

Open access
Hsu, Enshuo, Roberts, Kirk·2025·JAMIA Open

Abstract

Objectives: Despite the recent adoption of large language models (LLMs) for biomedical information extraction (IE), challenges in prompt engineering and algorithms persist, with no dedicated software available. To address this, we developed LLM-IE: a Python package for building complete IE pipelines. Materials and Methods: The LLM-IE supports named entity recognition, entity attribute extraction, and relation extraction tasks. We benchmarked it on the i2b2 clinical datasets. Results: The sentence-based prompting algorithm resulted in the best 8-shot performance of over 70% strict F1 for entity extraction and about 60% F1 for entity attribute extraction. Discussion: We developed a Python package, LLM-IE, highlighting (1) an interactive LLM agent to support schema definition and prompt design, (2) state-of-the-art prompting algorithms, and (3) visualization features. Conclusion: The LLM-IE provides essential building blocks for developing robust information extraction pipelines. Future work will aim to expand its features and further optimize computational efficiency.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1093/jamiaopen/ooaf012

Cites

8 of 8 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • LLMs can identify relevant literature given mechanistic context, read scientific text, and extract information into structured templates.

    “LLMs can identify relevant literature given mechanistic context, read scientific text, and extract information into structured templates [14, 15, 16, 17, 18].”

    From Structured Schemas for Provenance‐Rich, <scp>LLM</scp> ‐Assisted <scp>QSP</scp> Model Calibration (2026) · cites this paper as [17]

    The Background and significance section (page not provided) describes LLMs extracting entities and relations from documents into a structured format, supporting the information-extraction part of the sentence. It does not address identifying relevant literature from mechanistic context; its examples concern biomedical and clinical text extraction. (LLM, conf=0.85)

    Experimental — accuracy not yet measured
  • LLMs can identify relevant literature given mechanistic context, read scientific text, and extract information into structured templates.

    “LLMs can identify relevant literature given mechanistic context, read scientific text, and extract information into structured templates14,15,16,17,18.”
  • MAPLE addresses a gap between general-purpose biomedical extraction frameworks17,18, which do not address QSP-specific downstream requirements (uncertainty quantification, forward model specification, code generation), and QSP-focused tools like QSP-Copilot16, which include literature extraction components but emphasize model structure discovery rather than quantitative parameter calibration with

    “MAPLE addresses a gap between general-purpose biomedical extraction frameworks17,18, which do not address QSP-specific downstream requirements (uncertainty quantification, forward model specification, code generation), and QSP-focused tools like QSP-Copilot16”

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 11

  1. [1]Xu D, Chen W, Peng W, et al. Large language models for generative information extraction: a survey. Front Comput Sci. 2024;18:186357.
  2. [2]Brown T, Mann B, Ryder N, et al Language models are Few-Shot learners. Adv Neural Inf Process Syst. 2020; 33: 1877- 1901.
  3. [3]Agrawal M, Hegselmann S, Lang H, et al Large language models are few-shot clinical information extractors. 2022, preprint: not peer reviewed.
  4. [7]Kwon W, Li Z, Zhuang S, et al Efficient memory management for large language model serving with pagedattention. Proceedings of the 29th Symposium on Operating Systems Principles. 2023: 611- 626.
  5. [11]Renze M, Guven E. Self-reflection in LLM agents: effects on problem-solving performance. arXiv preprint arXiv:240506682. 2024.
  6. [13]Wang X, Zhou W, Zu C, et al. Instructuie: multi-task instruction tuning for unified information extraction. arXiv preprint arXiv:230408085. 2023.
  7. [14]Xie T, Li Q, Zhang Y, et al. Self-improving for zero-shot named entity recognition with large language models. arXiv preprint arXiv:231108921. 2023.
  8. [15]Jahan I, Laskar MTR, Peng C, et al Evaluation of ChatGPT on biomedical tasks: a zero-shot comparison with fine-tuned generative transformers. The 22nd Workshop on Biomedical Natural Language Processing and BioNLP Shared Tasks. Association for Computational Linguistics; 2023: 326-3 36.
  9. [20]Meoni S, De la Clergerie E, Ryffel T. Large language models as instructors: a study on multilingual clinical entity extraction. The 22nd Workshop on Biomedical Natural Language Processing and BioNLP Shared Tasks. Association for Computational Linguistics; 2023: 178-1 90.
  10. [24]Dubey A, Jauhri A, Pandey A, et al. The llama 3 herd of models. arXiv preprint arXiv:240721783. 2024.
  11. [25]Hsu E, Roberts K. Leveraging large language models for knowledge-free weak supervision in clinical natural language processing. arXiv preprint arXiv:240606723. 2024. PMC11893743 40064991

Cited by

Sorted by citations

Authors
Hsu, E., & Roberts, K.
Affiliations
  • The University of Texas MD Anderson Cancer Center (US)
  • The University of Texas Health Science Center at Houston (US)
Corresponding author
Roberts, Kirk
Venue
JAMIA Open
Published
2025-03-06
Volume
8
Issue
2
Pages
ooaf012-ooaf012
ISSN
2574-2531 (ISSN-L)
OpenAlex
W4408345962
Cited by
16
References
8
Citations by year
2026: 8 · 2025: 8
Type
software paper
Language
en
Open access
Locations
  • JAMIA Open (publishedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • Digital Commons-TMC (Texas Medical Center) (submittedVersion)
Funders
National Library of Medicine (R01LM011934)
Topics
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Biomedical Text Mining and Ontologies
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
Keywords
large language models, biomedical information extraction, named entity recognition, entity attribute extraction, relation extraction, prompt engineering, clinical text mining

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review