LastAct: Trajectory-Guided Latest-Activity Localization for Real-Time Smart-Home Activity Recognition
Zishuai Liu, Ruili Fang, Jin Lu, Fei Dou
Abstract
Human Activity Recognition (HAR) from ambient sensors enables smart-home applications such as health monitoring and assisted living. In realistic deployments, however, sensor events arrive as a continuous stream and activity boundaries are unknown. Sliding-window inference therefore produces many windows that straddle transitions and contain mixed activities, creating boundary contamination that violates the pre-segmented instance assumption used by most benchmarks and models. Moreover, many pipelines under-use spatial context by treating sensor IDs as independent tokens. We present LastAct, a trajectory-centric framework for streaming smart-home HAR that targets the most recent activity under mixed windows while explicitly modeling spatial structure. LastAct projects sensor events onto the home floorplan to form a layout-aligned trajectory image sequence that preserves spatial continuity. A lightweight gate identifies contaminated windows, and a boundary localizer estimates the last transition to enable boundary-guided masking that emphasizes post-boundary evidence and suppresses stale context. For efficiency, we reuse a precomputed layout-aligned template cache to avoid repeated rendering. Empirically, across four public smart-home datasets under near-realistic mixed-activity protocols, LastAct achieves competitive or superior performance on pure windows and yields substantial Macro-F1 gains on cross/mixed windows, demonstrating improved robustness under near-realistic sliding-window regimes.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on4
- Contrastive Predictive Coding for Human Activity RecognitionHarish Haresamudram, Irfan A. Essa, Thomas PlötzUbiComp 2021 · 149 citations
- DeXAR: Deep Explainable Sensor-Based Activity Recognition in Smart-Home EnvironmentsLuca Arrotta, Gabriele Civitarese, Claudio BettiniUbiComp 2022 · 40 citations
- Incremental Real-Time Personalization in Human Activity Recognition Using Domain Adaptive Batch NormalizationAlan Mazankiewicz, Klemens Böhm, Mario BergesUbiComp 2021 · 35 citations
- Layout-Agnostic Human Activity Recognition in Smart Homes through Textual Descriptions Of Sensor Triggers (TDOST)Megha Thukral, Sourish Gunesh Dhekane, Shruthi K. Hiremath, Harish Haresamudram et al.UbiComp 2025 · 19 citations
Related papers
- Bootstrapping Human Activity Recognition Systems for Smart Homes from ScratchShruthi K. Hiremath, Yasutaka Nishimura, Sonia Chernova, Thomas PlötzUbiComp 2022 · 37 citations
- ESPRESSO: Entropy and ShaPe awaRe timE-Series SegmentatiOn for Processing Heterogeneous Sensor DataShohreh Deldari, Daniel V. Smith, Amin Sadri, Flora D. SalimUbiComp 2020 · 46 citations
- EchoLIFE: Zero-Shot In-Home ADL Recognition with LLM-Guided Active Acoustic SensingYubin Lan, Qian Zhang, Shukai Ma, Changfei Dong et al.UbiComp 2026
- Multi-Resident Data Association in Smart Homes via MDP Modeling and Behavior CloningXi Chen, Julien Cumin, Fano Ramparany, Dominique VaufreydazUbiComp 2026
- Open-ended Human Activity Understanding via LLM-assisted Motion Decomposition and Semantic FusionQingxin Wei, Kai Hu, Jiaming Huang, Cheng Guo et al.UbiComp 2026
