Domain Generalization for Improved Human Activity Recognition in Office Space Videos Using Adaptive Pre-processing
Partho Ghosh, Raisa Bentay Hossain, Mohammad Zunaed, Taufiq Hasan
TL;DR
This work tackles domain generalization for office-space human activity recognition in FPV data by introducing encoder-agnostic, pre-processing techniques that generate dual frame stacks (raw and YOLOv7-masked), plus an adaptive, single-stream selection mechanism guided by a Learnable Decision Embedding and a Class Array, and a Framewise Attention module. The approach yields a dynamic, object-aware input strategy and frame-level weighting that improve generalization to unseen domains, demonstrated on the BON FPV dataset with different backbones, notably MViT, outperforming domain adaptation baselines in both seen and unseen domains. Ablation studies confirm the contributions of the decision embedding and framewise attention, and empirical results show significant gains in accuracy, precision, recall, and F1 scores for unseen domains. The method offers a practical, plug-and-play preprocessing framework to boost cross-domain HAR in realistic office environments, with potential extension to broader domains and modalities.
Abstract
Automatic video activity recognition is crucial across numerous domains like surveillance, healthcare, and robotics. However, recognizing human activities from video data becomes challenging when training and test data stem from diverse domains. Domain generalization, adapting to unforeseen domains, is thus essential. This paper focuses on office activity recognition amidst environmental variability. We propose three pre-processing techniques applicable to any video encoder, enhancing robustness against environmental variations. Our study showcases the efficacy of MViT, a leading state-of-the-art video classification model, and other video encoders combined with our techniques, outperforming state-of-the-art domain adaptation methods. Our approach significantly boosts accuracy, precision, recall and F1 score on unseen domains, emphasizing its adaptability in real-world scenarios with diverse video data sources. This method lays a foundation for more reliable video activity recognition systems across heterogeneous data domains.
