Analysing zero-shot temporal relation extraction on clinical notes using temporal consistency

Vasiliki Kougia, Anastasiia Sedova, Andreas Stephan, Klim Zaporojets, Benjamin Roth
6/17/2024
cs.CLcs.LG

No official code found. Best implementation: vasilikikou/consistent_bioTempRE (3 stars, Apache-2.0, last commit 2024-10-02).

Abstract

This paper presents the first study for temporal relation extraction in a zero-shot setting focusing on biomedical text. We employ two types of prompts and five LLMs (GPT-3.5, Mixtral, Llama 2, Gemma, and PMC-LLaMA) to obtain responses about the temporal relations between two events. Our experiments demonstrate that LLMs struggle in the zero-shot setting performing worse than fine-tuned specialized models in terms of F1 score, showing that this is a challenging task for LLMs. We further contribute a novel comprehensive temporal analysis by calculating consistency scores for each LLM. Our findings reveal that LLMs face challenges in providing responses consistent to the temporal properties of uniqueness and transitivity. Moreover, we study the relation between the temporal consistency of an LLM and its accuracy and whether the latter can be improved by solving temporal inconsistencies. Our analysis shows that even when temporal consistency is achieved, the predictions can remain inaccurate.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
30PythonJun 14, 20242 years agoApache-2.0

Cite this paper

@article{kougia2024analysing,
  title  = {Analysing zero-shot temporal relation extraction on clinical notes using temporal consistency},
  author = {Vasiliki Kougia and Anastasiia Sedova and Andreas Stephan and Klim Zaporojets and Benjamin Roth},
  year   = {2024},
  eprint = {2406.11486},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.11486v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.11486.svg)](https://codeofpaper.com/paper/2406.11486)

Discussion