PaperarXiv:2610.15292

OntoAR-HAR: Ontology-Guided Agentic RAG with Personalized Memory for Human Activity Recognition

PreprintFirst posted Oct 11, 2026Added Oct 14, 2026

  • XL
  • TZ
  • LY
  • SL
  • LB
  • FD
  • MN
  • LC
  • +1

Authors: Xiangqing Lu, Tao Zhu, Liang Yu, Shuangjian Li, Lulu Ban, Furong Duan, Mingxing Nie, Liming Chen, Yaping Wan

arXiv 2610.15292 (v1 2026-10-11, cs.AI)

TL;DR

A tree-structured activity ontology turns HAR into a sequence of local decisions among related activities (e.g. stationary → sit/stand/lie). At each node an agentic LLM combines (a) node-constrained examples from a static population store, (b) executable signal features discovered offline by an LLM-propose / rule-execute / error-feedback loop (≤5 rounds), and (c) a personalized memory that collects the target user's own confidently-labelled windows during inference.

  • Form factor: other

Abstract

LLMs increasingly support sensor-based human activity recognition (HAR) by linking motion signals with activity semantics and physical knowledge. Retrieval-augmented generation (RAG) grounds decisions in sensor examples and domain features, enabling training-free target-user inference with less dependence on raw numerical arrays. However, existing LLM/RAG-based HAR typically searches single-level activity spaces using static population knowledge. Consequently, they compare many unrelated candidates using the same static population evidence and overlook personalized motion patterns. We propose OntoAR-HAR, an ontology-guided agentic RAG framework combining static population and personalized knowledge. Its tree-structured activity ontology decomposes classification into local decisions among semantically related activities. The static store supplies node-constrained examples, while offline-discovered executable signal features provide numerical evidence for local distinctions. During inference, the personalized store collects selected user observations, which the LLM integrates with static knowledge and signal features while traversing the ontology to an activity label. Cross-subject and heterogeneous-sensing experiments show complementary gains from hierarchical retrieval and personalized memory across multiple LLM backbones, achieving state-of-the-art performance. By explicitly modeling hierarchical relations across activity granularities, OntoAR-HAR also addresses the long-overlooked semantic inclusion problem and avoids treating related labels as independent categories.

Verbatim from arXiv (opens in a new tab) · arXiv metadata (abstracts are released under CC0)

Results on ChatPPG leaderboards · 3

All leaderboards
LeaderboardMethodResultRank
MHEALTH macro-F1 (ZARA protocol, training-free LLM agents)Human activity recognitionOntoAR-HAR84.6 ± 2.6 (%)macro-F1, higher is better#3 of 3
OPPORTUNITY macro-F1 (ZARA protocol, training-free LLM agents)Human activity recognitionOntoAR-HAR91.5 ± 1.6 (%)macro-F1, higher is better#2 of 3
PAMAP2 macro-F1 (ZARA protocol, training-free LLM agents)Human activity recognitionOntoAR-HAR87.3 ± 1.1 (%)macro-F1, higher is better#1 of 3

3 rows are credited to this paper. Ranks apply within each leaderboard only, as reported by the source.

Tasks & signals

Tasks

Human activity recognitionActivity recognition

Signals

Devices

Keywords

LLM HARAgentic RAGOntologyPersonalizationMemoryTraining FreeGeminiZARA Lineage

Datasets used

How it works

How Method works: Setup → Method → TargetSetup: Signals (ACC, GYRO, MAG, text); Form factor (other). Method: Method (Language-aligned). Target: Activity recognition.SetupSignals: ACC, GYRO, MAG, textxyzSignalsACC, GYRO, MAG, textForm factor: otherForm factorotherMethodMethodLanguage-alignedTargetActivity recognitionActivity recognition

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

Lu, X., Zhu, T., Yu, L., Li, S., Ban, L., Duan, F., Nie, M., Chen, L., & Wan, Y. (2026). OntoAR-HAR: Ontology-Guided Agentic RAG with Personalized Memory for Human Activity Recognition. arXiv 2610.15292. https://arxiv.org/abs/2610.15292
Lu, Xiangqing, Tao Zhu, Liang Yu, Shuangjian Li, Lulu Ban, Furong Duan, Mingxing Nie, Liming Chen, and Yaping Wan. 2026. "OntoAR-HAR: Ontology-Guided Agentic RAG with Personalized Memory for Human Activity Recognition." arXiv 2610.15292. https://arxiv.org/abs/2610.15292.
Lu, X., Zhu, T., Yu, L., Li, S., Ban, L., Duan, F., Nie, M., Chen, L. and Wan, Y. (2026) 'OntoAR-HAR: Ontology-Guided Agentic RAG with Personalized Memory for Human Activity Recognition', arXiv 2610.15292. Available at: https://arxiv.org/abs/2610.15292
Lu, Xiangqing, et al. "OntoAR-HAR: Ontology-Guided Agentic RAG with Personalized Memory for Human Activity Recognition." arXiv 2610.15292, 2026. https://arxiv.org/abs/2610.15292.
X. Lu et al., "OntoAR-HAR: Ontology-Guided Agentic RAG with Personalized Memory for Human Activity Recognition," arXiv 2610.15292, 2026, [Online]. Available: https://arxiv.org/abs/2610.15292.
@misc{lu2026ontoarhar,
  title         = {{OntoAR-HAR: Ontology-Guided Agentic RAG with Personalized Memory for Human Activity Recognition}},
  author        = {Lu, Xiangqing and Zhu, Tao and Yu, Liang and Li, Shuangjian and Ban, Lulu and Duan, Furong and Nie, Mingxing and Chen, Liming and Wan, Yaping},
  year          = {2026},
  howpublished  = {arXiv 2610.15292},
  eprint        = {2610.15292},
  archivePrefix = {arXiv}
}

Source metadata: 2026

Record updated Oct 14, 2026

Added to the ChatPPG research hub