Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models are Few-Shot Health Learners

Xin Liu, Daniel McDuff|arXiv (Cornell University)|May 24, 2023
Machine Learning in HealthcareComputer Science34 citations
TL;DR

The paper shows that a 24B PaLM language model can ground numerical health time-series data via few-shot prompt tuning, achieving substantial improvements on cardiac, metabolic, activity, and mental health tasks over zero-shot and some supervised baselines.

ABSTRACT

Large language models (LLMs) can capture rich representations of concepts that are useful for real-world tasks. However, language alone is limited. While existing LLMs excel at text-based inferences, health applications require that models be grounded in numerical data (e.g., vital signs, laboratory values in clinical domains; steps, movement in the wellness domain) that is not easily or readily expressed as text in existing training corpus. We demonstrate that with only few-shot tuning, a large language model is capable of grounding various physiological and behavioral time-series data and making meaningful inferences on numerous health tasks for both clinical and wellness contexts. Using data from wearable and medical sensor recordings, we evaluate these capabilities on the tasks of cardiac signal analysis, physical activity recognition, metabolic calculation (e.g., calories burned), and estimation of stress reports and mental health screeners.

Motivation & Objective

  • Curate a dataset of numerical consumer health tasks for evaluating LLM grounding of time-series data.
  • Demonstrate that LLMs can serve as universal few-shot learners for wellness and clinical health tasks.
  • Identify the limitations of pretrained LLMs on health tasks and the benefits of grounding with data.
  • Propose physiologically and behaviorally tuned prompt-based approaches that achieve strong results with few examples.

Proposed method

  • Embed quantitative health data into textual templates to form question-answer pairs for the LLM.
  • Evaluate zero-shot, prompt engineering, and prompt tuning (with a soft learnable prompt) approaches.
  • Compare context-inclusive versus numerical-only prompts to assess the role of domain context in grounding time-series data.
  • Use a 24B transformer (PaLM) pretrained on large text and code, with 5,000-step tuning and a 4096x1 prompt embedding.
  • Include a supervised baseline (MLP with 4096x1) trained on the same few-shot samples for comparison.

Experimental results

Research questions

  • RQ1Can a large language model ground numerical time-series health data and perform meaningful inferences in clinical and wellness tasks with few-shot prompts?
  • RQ2How does prompt tuning (vs zero-shot or prompt engineering) affect performance on health-related time-series tasks?
  • RQ3What is the impact of including domain context in prompts (context-inclusive) versus raw numerical data (numerical-only) on model accuracy?
  • RQ4What are the limitations and potential risks of using LLMs for health tasks, and how do grounding approaches mitigate them?

Key findings

  • Prompt-tuned LLMs with context-inclusive prompts outperform zero-shot and supervised baselines across multiple health tasks.
  • Performance gains include up to 130% improvement over certain baselines for some tasks when moving from 25-shot prompts to tuned prompts.
  • Context-inclusive prompts generally improve accuracy over numerical-only prompts across tasks like atrial fibrillation classification and activity recognition.
  • Prompt tuning reduced failure rates on long time-series inputs (0% failure) compared to prompt engineering approaches which had substantial data failures.
  • Zero-shot LLMs perform poorly on many physiological tasks, highlighting the need for grounding and/or context in health applications.
  • Across tasks, tuned LLMs show substantial reductions in error and increases in accuracy relative to zero-shot and, in some cases, to supervised baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.