Evaluating LLMs for Temporal Entity Extraction from Pediatric Clinical Text in Rare Diseases Context
Judith Jeyafreeda Andrew, Marc Vincent, Anita Burgun, Nicolas Garcelon
Abstract
The aim of this work is to extract Temporal Entities from patients’ EHR from pediatric hospital specialising in Rare Diseases, thus allowing to create a patient timeline relative to diagnosis . We aim to perform an evaluation of NLP tools and Large Language Models (LLM) to test their application in the field of clinical study where data is limited and sensitive. We present a short annotation guideline for temporal entity identification. We then use the tool EDS-NLP, the Language Model CamemBERT-with-Dates and the LLM Vicuna to extract temporal entities. We perform experiments using three different prompting techniques on the LLM Vicuna to evaluate the model thoroughly. We use a small dataset of 50 EHR describing the evolution of rare diseases in patients to perform our experiments. We show that among the different methods to prompt a LLM, using a decomposed structure of prompting method on the LLM vicuna produces the best results for temporal entity recognition. The LLM learns from examples in the prompt and decomposing one prompt to several prompts allows the model to avoid confusions between the different entity types. Identifying the temporal entities in EHRs helps to build the timeline of a patient and to learn the evolution of a diseases. This is specifically important in the case of rare diseases due to the availability of limited examples. In this paper, we show that this can be made possible with the use of Language Models and LLM in a secure environment, thus preserving the privacy of the patient- Anthology ID:
- 2024.cl4health-1.18
- Volume:
- Proceedings of the First Workshop on Patient-Oriented Language Processing (CL4Health) @ LREC-COLING 2024
- Month:
- May
- Year:
- 2024
- Address:
- Torino, Italia
- Editors:
- Dina Demner-Fushman, Sophia Ananiadou, Paul Thompson, Brian Ondov
- Venues:
- CL4Health | WS
- SIG:
- Publisher:
- ELRA and ICCL
- Note:
- Pages:
- 145–152
- Language:
- URL:
- https://aclanthology.org/2024.cl4health-1.18
- DOI:
- Cite (ACL):
- Judith Jeyafreeda Andrew, Marc Vincent, Anita Burgun, and Nicolas Garcelon. 2024. Evaluating LLMs for Temporal Entity Extraction from Pediatric Clinical Text in Rare Diseases Context. In Proceedings of the First Workshop on Patient-Oriented Language Processing (CL4Health) @ LREC-COLING 2024, pages 145–152, Torino, Italia. ELRA and ICCL.
- Cite (Informal):
- Evaluating LLMs for Temporal Entity Extraction from Pediatric Clinical Text in Rare Diseases Context (Andrew et al., CL4Health-WS 2024)
- PDF:
- https://preview.aclanthology.org/nschneid-patch-4/2024.cl4health-1.18.pdf