arXiv

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

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

Abstract:

Human Activity Recognition (HAR) powered by ambient sensors is foundational to smart-home systems, particularly for health monitoring and assisted living scenarios. However, practical implementations face significant challenges: sensor data arrives as a continuous stream, and the precise boundaries between activities are rarely known in advance. Consequently, sliding-window inference often generates segments that span multiple activity transitions, resulting in "mixed" windows. This phenomenon creates boundary contamination, which undermines the pre-segmented instance assumption relied upon by most existing benchmarks and models. Additionally, many current pipelines fail to fully leverage spatial context, often treating sensor identifiers as isolated tokens rather than interconnected spatial elements.

To address these issues, we introduce LastAct, a trajectory-centric framework designed for streaming HAR in smart homes. LastAct specifically targets the identification of the most recent activity within mixed windows while explicitly accounting for spatial structures. The framework projects sensor events onto the home’s floorplan, generating a sequence of layout-aligned trajectory images that maintain spatial continuity. To handle contamination, a lightweight gate detects affected windows, while a boundary localizer pinpoints the most recent transition. This enables boundary-guided masking, a technique that highlights evidence occurring after the boundary while suppressing outdated contextual information. For computational efficiency, the system utilizes a precomputed layout-aligned template cache, eliminating the need for repeated rendering.

Empirical evaluations across four public smart-home datasets, conducted under near-realistic mixed-activity protocols, demonstrate LastAct’s effectiveness. The model achieves competitive or superior performance on pure activity windows and delivers substantial gains in Macro-F1 scores for cross/mixed windows. These results highlight LastAct’s enhanced robustness in realistic sliding-window environments.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...