Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Query-Conditioned Graph Retrieval for Contextualized LLM Reasoning in Personalized Wearable Data

About

Large language models (LLMs) are increasingly applied to analyzing wearable sensing data, which are long-term, multimodal, and highly personalized. A key challenge is context selection: providing insufficient context limits reasoning, while including all available data leads to inefficiency and degraded generation quality. We propose Wearable As Graph (WAG), a graph-based context retrieval framework that enables query-adaptive reasoning over wearable data with LLMs. WAG organizes wearable metrics and user-specific signals into a personalized knowledge graph, and retrieves a query-conditioned subgraph to support downstream generation. The retrieval process integrates global relationships, capturing prior knowledge and population- and individual-level patterns via hierarchical Bayesian modeling, with local relationships that reflect short-term signal deviations. A query openness signal further controls retrieval breadth. We evaluate WAG on over 10,000 data-grounded queries from real-world wearable datasets. Across LLM-based and human evaluations, WAG achieves an approximately 70% win rate over baseline and standard RAG methods, demonstrating the effectiveness of structured, query-adaptive context retrieval for LLM-driven analysis of wearable data.

Zhenyu Lu, Mahyar Abbasian, Amir M. Rahmani• 2026

Related benchmarks

TaskDatasetResultRank
Human RankingMain Experiment
Mean Rank1.37
15
Global Modeling Weighting Strategy AnalysisOverall (Globem, IFH Affect, Lifesnap, Pmdata) (test)
Average Rank2.16
8
Local Modeling Effectiveness AnalysisOverall (Globem, IFH Affect, Lifesnap, Pmdata) (test)
Average Rank1.88
6
Personalized RetrievalOverall (Globem, IFH Affect, Lifesnap, Pmdata) (test)
Average Rank1.41
6
Retrieval-Augmented GenerationGlobem
Insight1.43
3
Retrieval-Augmented GenerationIFH Affect
Insight1.4
3
Retrieval-Augmented GenerationLifesnap
Insight Score1.39
3
Retrieval-Augmented GenerationPmdata
Insight Score1.41
3
Showing 8 of 8 rows

Other info

Follow for update