SensingAgents: A Multi-Agent Collaborative Framework for Robust IMU Activity Recognition

Naiyu Zheng, Tianlong Yu, Haochen Yin, Xiaoyi Fan, Xiping Hu, Zhimeng YinarXiv 2026

TL;DR

SensingAgents is a novel, zero-shot multi-agent Large Language Model (LLM) framework designed for robust Human Activity Recognition (HAR) using wearable IMU sensors. By decoupling numerical signal processing from semantic reasoning and introducing a structured "Dynamic-Static" adversarial debate mechanism, it achieves 79.5% accuracy on benchmark data without requiring any task-specific training data, significantly outperforming traditional single-agent LLM approaches and demonstrating superior generalization to unseen users compared to deep learning baselines.

What Problem Does This Paper Address?

Human Activity Recognition (HAR) using Inertial Measurement Units (IMUs)—like those in your smartphone or smartwatch—is vital for mobile health, fitness tracking, and elder care. However, current deep learning models are notorious "black boxes" that require massive amounts of labeled data and struggle to generalize when a new user moves differently or when sensors are placed on different body parts.

Recently, researchers have tried using LLMs for zero-shot HAR to bypass the need for labeled data. Unfortunately, dumping raw, high-frequency sensor streams into a single LLM leads to "cognitive overload," token explosion, and severe hallucinations because language models are fundamentally unsuited for raw numerical time-series processing. Furthermore, when sensors on different body parts provide conflicting signals (e.g., a static torso but swinging arms during walking), single-agent models fail to reconcile the data reliably.

Figure 2: A traditional single agent leads to cognitive overload and hallucinations.

Methods

The authors introduce SensingAgents, a hierarchical, multi-agent architecture that treats activity recognition as a collaborative, structured debate. The workflow consists of three specialized layers:

  1. Position-Specific Analyst Agents: Individual LLM agents are assigned to specific sensor locations (Arm, Wrist, Belt, Pocket). Instead of reading raw data, they use a Domain-Expert Tool Layer to extract features. These human-designed tools handle deterministic signal processing across three tiers:
  2. Tier 1 (Intensity): Signal Magnitude Area (SMA) and basic statistics to separate static vs. dynamic states.
  3. Tier 2 (Periodicity): Fast Fourier Transforms (FFT) and step detection to analyze cadence.
  4. Tier 3 (Asymmetry): Vertical asymmetry and skewness analysis to distinguish complex movements like walking upstairs vs. downstairs.
  5. Advocate Agents (Conflict Resolution): When analyst agents disagree, two specialized advocates step in: a Dynamic Activity Advocate (arguing for higher-intensity states) and a Static Activity Advocate (arguing for lower-intensity states). They engage in a multi-round dialectical debate using the semantic feature summaries provided by the analysts.
  6. Decision Agent: Acting as the ultimate arbiter, this agent reviews the debate history and analyst reports to output the final activity label alongside a transparent, human-readable Chain-of-Thought (CoT) explanation.
Figure 3: Workflow of SensingAgents.

Datasets

The framework was evaluated on the Shoaib dataset, a widely recognized multi-sensor HAR benchmark. It contains 3D accelerometer and gyroscope data sampled at 50 Hz from 10 participants performing 7 daily activities: Walking, Jogging, Sitting, Standing, Biking, Upstairs, and Downstairs. The data was captured simultaneously from 5 body positions: right pocket, left pocket, belt, right upper arm, and right wrist.

Key Insights and Ideas

  • Decoupling Math from Reasoning: LLMs shouldn't do signal processing math. Grounding the agents with deterministic, classical signal processing tools (like FFT) drops the cognitive load and prevents the LLM from hallucinating numerical patterns.
  • The Power of Adversarial Debate: Rather than using naive majority voting or statistical averaging to merge sensor data, framing conflicting sensor inputs as a structured debate between "Dynamic" and "Static" personas forces a rigorous, multi-perspective appraisal of the data.
  • Zero-Shot Generalization: Supervised models overfit to the specific motion patterns of users in their training set. Because SensingAgents relies on zero-shot LLM reasoning grounded in physical principles (like gait cadence), its performance remains completely stable when introduced to entirely unseen users.

Key Results

  • State-of-the-Art Zero-Shot Performance: SensingAgents achieved 79.5% accuracy on the Shoaib dataset in a zero-shot setting. This is roughly 49% higher than a single LLM processing raw data (30.2%), 29% higher than an optimized single-agent baseline (50.5%), and 18.2% higher than an LLM code-generation multi-agent framework (61.3%).
  • Outperforming Supervised Baselines on Unseen Users: While deep learning models like IMU-BERT score near-perfectly (98.4%) on users they have seen during training, their performance plummets to 70.1% on unseen users due to overfitting. SensingAgents outperforms them on unseen users by 9.4% without ever seeing a single training label.
  • Latency vs. Accuracy Trade-Offs: When testing different LLM backends, Claude Sonnet 4.6 yielded the highest accuracy (79.5%) but was slow (55s/sample). DeepSeek-chat emerged as a highly practical alternative, delivering competitive accuracy (73.4%) with a 3× speed advantage (23s/sample).

Limitations and Future Work

Despite its strengths, SensingAgents has a few notable limitations:

  • Controlled Placements: The framework was tested on a dataset with fixed, controlled sensor placements. Real-world scenarios involving arbitrary device orientations or missing sensors remain an open challenge.
  • Short Window Constraints: The system struggled with fine-grained distinctions, such as confusing walking upstairs vs. downstairs, because the 2-second evaluation windows were occasionally too short for the asymmetry tools to stabilize.
  • Manual Tool Dependency: The signal processing tools currently rely heavily on human domain expertise. The authors suggest that future iterations could explore automated tool synthesis, allowing the LLM to autonomously propose and validate its own feature extraction functions.

Summary updated

BibTeX
@misc{zheng2026sensingagents,
  author = {Naiyu Zheng and Tianlong Yu and Haochen Yin and Xiaoyi Fan and Xiping Hu and Zhimeng Yin},
  title = {{SensingAgents: A Multi-Agent Collaborative Framework for Robust IMU Activity Recognition}},
  year = {2026},
  eprint = {2605.04608},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.04608},
}
Figure