Skip to main content
QUICK REVIEW

[Paper Review] Transforming Wearable Data into Personal Health Insights using Large Language Model Agents

Mike A. Merrill, Akshay Paruchuri|arXiv (Cornell University)|Jun 10, 2024
Topic ModelingComputer Science7 citations
TL;DR

PHIA uses an LLM-based agent with code generation and web search to transform wearable data into personalized health insights, achieving 84% accuracy on objective queries and 83% favorable ratings on open-ended queries in human evaluation. It significantly outperforms a strong code-generation baseline.

ABSTRACT

Deriving personalized insights from popular wearable trackers requires complex numerical reasoning that challenges standard LLMs, necessitating tool-based approaches like code generation. Large language model (LLM) agents present a promising yet largely untapped solution for this analysis at scale. We introduce the Personal Health Insights Agent (PHIA), a system leveraging multistep reasoning with code generation and information retrieval to analyze and interpret behavioral health data. To test its capabilities, we create and share two benchmark datasets with over 4000 health insights questions. A 650-hour human expert evaluation shows that PHIA significantly outperforms a strong code generation baseline, achieving 84% accuracy on objective, numerical questions and, for open-ended ones, earning 83% favorable ratings while being twice as likely to achieve the highest quality rating. This work can advance behavioral health by empowering individuals to understand their data, enabling a new era of accessible, personalized, and data-driven wellness for the wider population.

Motivation & Objective

  • Motivate and enable data-driven, personalized health insights from wearable time-series data.
  • Demonstrate that an LLM-driven agent can perform multi-step numerical reasoning with external tools (code and search) to derive insights.
  • Create and release high-fidelity synthetic wearable data and a large evaluation dataset for reproducibility and benchmarking.

Proposed method

  • Introduce the Personal Health Insights Agent (PHIA) that combines multi-step iterative reasoning, code generation, and web search within a ReAct framework.
  • Use a Python data analysis runtime (Pandas) as the code execution tool to derive numerical insights from wearable data while keeping raw data private.
  • Incorporate a web search mechanism to retrieve up-to-date health information from reliable domains to support reasoning and provide citations.
  • Employ few-shot prompting with curated trajectories to master tool use and multi-step reasoning.
  • Develop and evaluate three datasets: objective queries for automatic evaluation, open-ended queries for human evaluation, and high-fidelity synthetic wearable data for realistic scenarios.

Experimental results

Research questions

  • RQ1How accurately can PHIA answer objective, numerical health questions from wearable data?
  • RQ2How well does PHIA reason about open-ended health queries compared with baselines?
  • RQ3What is the impact of tool use (code generation and web search) on performance vs. non-agent baselines?
  • RQ4Can synthetic wearable data support realistic, scalable evaluation of health-insight agents?
  • RQ5How does PHIA perform in terms of safety/harm avoidance and code quality?

Key findings

  • PHIA achieves 84% exact-match accuracy on objective questions, outperforming a strong code-generation baseline at 74%.
  • For open-ended questions, PHIA receives 83% favorable ratings and is twice as likely to reach the highest quality level compared with the baseline.
  • PHIA’s advantage is strongest in general knowledge and cohort comparison queries due to web search and iterative reasoning.
  • PHIA demonstrates high harm-avoidance, with over 99% of responses rated as harmless.
  • Baseline numerical reasoning without tools underperforms PHIA on precise numerical tasks, underscoring the value of tool use for wearable data.

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.