When a Window Is Not an Action: Selective Phase-Script Deliberation for Sliding-Window Human Activity Recognition
Abstract
Sliding-window human activity recognition (HAR) segments continuous sensor streams into fixed-length, overlapping windows and trains a classifier to assign a single activity label to each window. In practice, window length and stride are dictated by sampling rates, latency or computation constraints, and assumed motion durations, yet they need not align with complete motion cycles or activity transitions. Individual windows may therefore capture only part of a repeated motion, fragments shared by related activities, or mixed evidence near a transition. Yet each window still receives a single label, creating a granularity mismatch between activity-level supervision and partial local motion evidence. To address this mismatch, we propose PSDNet (Phase-Script Deliberation Network), which decouples local phase interpretation from final activity classification. PSDNet encodes the current window into latent phase primitives, integrates them with recent history against learned class-specific phase scripts—compact templates of short-term phase patterns—and produces an initial evidential prediction with an uncertainty score. When uncertainty remains high, a selective deliberation module leverages targeted contextual evidence to refine classification scores over a small candidate set. An auxiliary boundary objective further encourages sensitivity to activity transitions without serving as a hard routing rule. This design concentrates extra computation where direct classification is least reliable while keeping unambiguous cases efficient. Experiments across eight public HAR benchmarks demonstrate that PSDNet consistently improves accuracy and weighted F1 over strong CNN- and sequence-based baselines, with extensive analyses on boundary-adjacent windows and look-alike confusion pairs further validating phase-aware selective deliberation under insufficient local evidence.