LongHealth: A Question Answering Benchmark with Long Clinical Documents

Lisa Adams, Felix Busch, Tianyu Han, Jean-Baptiste Excoffier, Matthieu Ortala, Alexander Löser, Hugo J. W. L. Aerts, Jakob Nikolas Kather, Daniel Truhn, Keno K. Bressem · DOI

Abstract

As clinical documentation grows in length and complexity, Large Language Models (LLMs) are increasingly viewed as potential tools for information synthesis. However, existing benchmarks often fail to capture the challenges of multi-document, long-context clinical reasoning. We introduce LongHealth, a specialized benchmark designed to evaluate LLMs on lengthy clinical records. Our findings highlight a significant performance gap, particularly in models' inability to identify missing information, leading to potentially dangerous hallucinations in a medical context.

Introduction

In modern healthcare, patient data is rarely consolidated into a single concise summary. Instead, it exists as a sprawling collection of discharge summaries, radiology reports, and lab results. Recent data indicates that outpatient notes have increased in length by over 60% in recent years. While LLMs offer a promising solution for navigating these massive datasets, standard medical benchmarks like MedQA or PubMedQA typically focus on short-form text or general knowledge.

There is a critical "evaluation gap" regarding how LLMs handle patient histories exceeding 5,000 words, where vital information may be buried or distributed across multiple files. Errors in this domain—such as missing a contraindication or misinterpreting a dosage—can have life-altering consequences.

The LongHealth Benchmark

The researchers developed the LongHealth benchmark to mirror the realistic structure and nuanced jargon of actual electronic health records (EHRs). The dataset consists of 20 detailed, fictional patient cases authored by experienced physicians.

Visualization of the 20 fictional patient cases and their associated clinical documents across various diseases.

Dataset Structure

  • Content: 20 cases covering diverse diseases, including Melanoma, Acute Myeloid Leukemia (AML), and Liver Cirrhosis.
  • Volume: Each case compiles 2 to 15 discharge notes, totaling between 5,090 and 6,754 words.
  • Evaluation: 400 multiple-choice questions were designed across three distinct tasks:
  • Information Retrieval (Single Patient): Extracting facts from a single patient's shuffled documents.
  • Information Retrieval (Multiple Patients): Extracting facts when the target patient's documents are mixed with "distractor" documents from other patients.
  • Refusal/Missing Information: Identifying when the required information is absent and selecting an "information not provided" option.

Experimental Results

The evaluation included nine open-source models (e.g., Yi, Vicuna, Mistral) and OpenAI’s GPT-3.5 Turbo, all supporting at least a 16,000-token context window.

Performance and Context Length

A key finding was the relationship between prompt length and accuracy. Most models exhibited a negative correlation, where performance dipped as more "distractor" text was added. However, the Yi-6B-200K model was a notable exception, showing improved performance as context increased from 4,000 to 16,000 tokens.

Model accuracy on Task 1 as input length increases from 4,000 to 32,000 tokens.

Key Findings

  • Top Performer: The open-source Mixtral-8x7B-Instruct-v0.1 outperformed GPT-3.5 Turbo in retrieval tasks, achieving 77% accuracy in Task 1 and 71% in Task 2.
  • The "I Don't Know" Problem: Task 3 revealed a severe failure state. Models frequently "hallucinated" answers from the text even when the requested information was missing. The best-performing model for this task, Mistral-7B-Instruct-v0.2, reached only 29% accuracy, while others like Longchat-13b scored 0%.
  • Economic Barriers: Evaluating high-end proprietary models like GPT-4 on this benchmark is prohibitively expensive, costing over $2,200 for Task 1 alone, which underscores the importance of capable open-source alternatives.

Discussion and Limitations

While LLMs demonstrate considerable potential for clinical data processing, the LongHealth benchmark proves they are not yet reliable for autonomous use. Their primary weakness lies in the inability to recognize the limits of provided information.

Future work should explore:

  • Open-ended Queries: Moving beyond multiple-choice formats to more realistic clinical interactions.
  • Prompt Engineering: Utilizing techniques like Chain-of-Thought to improve refusal accuracy.
  • RAG vs. Long-Context: Comparing the performance of long-context windows against Retrieval-Augmented Generation (RAG) systems that feed only relevant snippets to the model.

In conclusion, ensuring that models can safely admit when information is missing remains the most significant hurdle for their integration into clinical workflows.

Summary updated

BibTeX
@article{adams2025longhealth,
  author = {Lisa Adams and Felix Busch and Tianyu Han and Jean-Baptiste Excoffier and Matthieu Ortala and Alexander Löser and Hugo J. W. L. Aerts and Jakob Nikolas Kather and Daniel Truhn and Keno K. Bressem},
  title = {{LongHealth: A Question Answering Benchmark with Long Clinical Documents}},
  journal = {J. Heal. Informatics res},
  year = {2025},
  doi = {10.1007/s41666-025-00204-w},
}
Figure