Collaborative Language Models for Semantic IoT Data Processing: Validation through Zero-Shot Human Activity Recognition
Mohsen Shirali, Kean Ooi, Anna Knab, Mohammadreza Fani Sani, Estefania Serral
Abstract
Internet of Things (IoT) systems generate low-level sensor observations that are not directly suitable for process analysis and must first be transformed into semantically meaningful events. This paper investigates collaborative language models as a zero-shot semantic abstraction layer for converting such observations into higher-level event and activity labels. We propose a five-stage workflow comprising semantic mapping, semantic aggregation, temporal and contextual aggregation, specialized reasoning, and final event abstraction. The resulting labels and contextual information can subsequently be represented as event records for downstream Process Mining (PM) tasks. The approach is evaluated through Human Activity Recognition on the CASAS Aruba smart home dataset using eleven workflow configurations. The experiments show that collaboration alone does not guarantee improved performance: general-purpose auxiliary SLMs can degrade recognition, whereas assigning complementary specialist roles leads to better results and allows a smaller final classifier to retain much of the performance of a larger model. The selected workflow achieves a macro F1 of 0.643 in the 1.5-day comparison and 0.567 (weighted F1 0.680) in a one-week evaluation. Although trained ML approaches remain more accurate on this dataset, the results demonstrate a different design point: modular semantic event abstraction using off-the-shelf models without task-specific parameter fine-tuning. The findings indicate that the structure of LM collaboration and task decomposition is more important than simply increasing the number of participating models.
Create a lesson
Metadata
- Categories
- cs.AI, cs.ET
- Comments
- 13 pages, 1 figures
Related papers
Evaluating Aviation Safety Knowledge Extraction with SmolLM2: From Zero-Shot to Retrieval-Grounded Prompting
Shared title terminologycs.AIAziida Nanyonga, Mustafa Tahsin Yilmaz, Amir Hussain et al.
A Failure-Driven Data Flywheel for Post-Training Vision-Language-Action Models
Shared title terminologycs.AIYuhao Luo, Zihao Sheng, Zilin Huang et al.
Few-Shot Adaptation of Vision-Language Models via Agentic Model Editing
Shared title terminologycs.AIYusheng Zhao, Xiao Luo, Zhiping Xiao et al.
Seeking in Space: Benchmarking Purposeful Active Exploration of Vision-Language Models for Spatial Reasoning
Shared title terminologycs.AIXiwei Liu, Yulong Li, Xuhui Li et al.
TASK Memory: Beyond Text-Only Memory with Activation Steering and Knowledge Editing against Memory Hallucination
Shared title terminologycs.AIJinkun Zhao, Wenjun Wu
ZeroHero: Training Small Language Agents from Scratch
Shared title terminologycs.AINikita Sorokin, Zoya Volovikova, Alexey Skrynnik et al.