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

LastAct: Trajectory-Guided Latest-Activity Localization for Real-Time Smart-Home Activity Recognition

About

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.

Zishuai Liu, Ruili Fang, Jin Lu, Fei Dou• 2026

Related benchmarks

TaskDatasetResultRank
Human Activity RecognitionMilan (mixed (pure + cross) windows)
Accuracy70.09
30
Activity RecognitionKyoto (day-based chronological)
Macro-F166.93
24
Activity RecognitionOrange (day-based chronological)
Macro-F172.8
24
Activity RecognitionMilan (day-based chronological)
Macro-F162.29
24
Activity RecognitionAruba (day-based chronological)
Macro-F170.25
24
Human Activity RecognitionAruba mixed (pure + cross) windows
Accuracy85.43
10
Human Activity RecognitionKyoto mixed (pure + cross) windows
Accuracy63.51
6
Latest-activity recognitionAruba raw-stream (test)
Macro-F144.6
6
Latest-activity recognitionMilan raw-stream (test)
Macro-F140.1
6
Latest-activity recognitionKyoto raw-stream (test)
Macro-F148.6
6
Showing 10 of 12 rows

Other info

Follow for update