A Course Shared Task on Evaluating LLM Output for Clinical Questions

Yufang Hou, Thy Thy Tran, Doan Nam Long Vu, Yiwen Cao, Kai Li, Lukas Rohde, Iryna Gurevych · DOI

Introduction

As Large Language Models (LLMs) increasingly become primary tools for information seeking, their tendency to "hallucinate" or provide overconfident, incorrect advice poses a significant risk, particularly in high-stakes domains like healthcare. While standard benchmarks exist, they often rely on simple binary (True/False) labels that fail to capture the nuance of medical misinformation. This paper details a "shared task" integrated into a university NLP course where students evaluated the factuality and safety of LLM-generated medical advice against gold-standard evidence.

Methodology and Annotation Framework

The core of the evaluation framework is a fine-grained taxonomy designed to identify specific types of failures in LLM outputs. Rather than a simple correctness check, the task required students to categorize sentences into six distinct classes: Contradiction, Exaggeration, Understatement, Agree, Cannot access, and General comment.

Definitions of the six fine-grained categories used for annotating LLM factuality and safety.

"Harmful" content was specifically defined as any sentence containing a contradiction or an exaggeration of a treatment's effects. This distinction is crucial because LLMs often "oversell" evidence, which can be just as dangerous as direct falsehoods in a clinical setting.

The Shared Task Pipeline

The shared task was structured into four sub-tasks to mirror a professional research pipeline:

  1. Data Annotation: Students used Label Studio to label LLM responses sentence-by-sentence against a reference answer.
  2. Agreement & Consolidation: Teams calculated inter-annotator agreement and resolved discrepancies to create a "ground truth" dataset.
  3. Data Analysis: Students derived insights, such as comparing Retrieval-Augmented Generation (RAG) models (e.g., BingChat) against standard LLMs.
  4. Model Development: Students built classifiers to automate the detection of harmful content, ranging from simple neural networks to prompt engineering on models like Mistral-7b-instruct.
The annotation interface used by students to perform sentence-level labeling of LLM outputs against gold-standard Cochrane Clinical Answers.

Datasets

The task utilized Cochrane Clinical Answers (CCAs), a trusted resource of evidence-based medical responses. The source material included 500 CCAs published between 2021 and 2023. From these, 1,800 answers were generated using five models: Llama-2-70b-chat, GPT-3.5, Microsoft BingChat, and PerplexityAI. The project resulted in a released dataset of 850 annotated LLM answers for 130 CCAs, providing a specialized resource for the research community to study clinical fact-checking.

Key Insights and Results

  • The Nuance of Harm: Distinguishing between "Exaggeration" and "Contradiction" revealed that LLMs frequently misrepresent the strength of evidence rather than just providing false facts.
  • RAG vs. Vanilla LLMs: Student analysis investigated whether RAG-based models are inherently safer, encouraging critical thinking about architectural solutions to factuality.
  • Educational Success: The task saw high participation, with 87 students completing all four sub-tasks. Competitive leaderboards proved to be effective motivators in the classroom setting.
  • Prompting Challenges: Students found designing prompts for accurate classification to be the most difficult task, highlighting that prompt engineering is a non-trivial discipline.

Limitations and Future Work

While successful, the authors noted that students occasionally struggled with complex medical concepts due to a lack of domain expertise. Future iterations may include lay-language dictionaries or focus on less specialized topics. Additionally, to prevent data leakage, future tasks should ensure the test set remains entirely hidden from students during the prompt engineering phase. Finally, reducing the manual annotation load could allow students to focus more deeply on model architecture.

Summary updated

BibTeX
@misc{hou2024course,
  author = {Yufang Hou and Thy Thy Tran and Doan Nam Long Vu and Yiwen Cao and Kai Li and Lukas Rohde and Iryna Gurevych},
  title = {{A Course Shared Task on Evaluating LLM Output for Clinical Questions}},
  year = {2024},
  eprint = {2408.00122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.00122},
}
Figure