Timing-Aware and Interpretable Self-Attention for Event-Based Wearable Task Transition Detection
Anda Ouyang, Siyuan Chen, Julien Epps
Key points
From the paper's conclusion- These results indicate that explicit modelling of event timing and duration enhances both classification performance and interpretability, supporting reliable deployment in biomedical and health informatics applications.
Abstract
Task transition detection aims to identify when a person shifts from one task to another, providing a foundation for continuous health monitoring and timely context-aware interventions. While statistical and deep feature representations have demonstrated strong classification performance, they often rely on aggregated or latent features that are difficult to interpret in behavioural terms. Event-based features provide a compact and interpretable alternative by encoding behavioural and physiological patterns as discrete tokens with explicit semantic meaning, making them well suited for behavioural analysis in health informatics. Self-attention offers a mechanism for modelling interactions among such tokens; however, conventional self-attention classifiers primarily rely on token order and do not explicitly incorporate timing or duration information. As a result, informative temporal cues in event representations may not be fully exploited for task transition detection. This study proposes an event-based time-aware self-attention framework that represents behavioural signals as sequences of discrete events augmented with onset timestamps and durations. Event timing is encoded using a parameter-efficient kernel-based representation, while a novel type-aware duration embedding modulates information propagation according to event persistence. Experiments on a semi-naturalistic wearable dataset show that the proposed model outperforms existing event-based approaches, achieves performance beyond or comparable with statistical and deep-learning models with a more compact input representation, and provides improved interpretability through integrated-gradient-based analysis. These results indicate that explicit modelling of event timing and duration enhances both classification performance and interpretability, supporting reliable deployment in biomedical and health informatics applications.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Broken time, stable models? Evaluating desynchronization robustness in wearable human activity recognitionFrontiers in Computer Science · 2026
- NeuroDETR: Multiscale Discrete Spatiotemporal Tokenization for Asynchronous EEG Event DetectionarXiv · 2026
- Beyond the Binary: Operationalizing Receptivity to Digital Health Interventions as a Time-to-Event SpectrumProceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies · 2026
- EgoUseBench: Benchmarking Computer-Use Agents under Evolving First-Person ContextsarXiv · 2026
- Attention-Based CNN-BiGRU-Transformer Model for Human Activity RecognitionApplied Sciences · 2025
- UniHAR: A unified hierarchical transformer with multi-scale temporal modeling for wearable human activity recognition.PloS one · 2026