GenHAR: Generalizing Cross-domain Human Activity Recognition for Last-mile Delivery

Zhiqing Hong, Zelong Li, Xiubin Fan, Guang Yang, Baoshen Guo +3 more
5/21/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Human Activity Recognition (HAR) has shown remarkable effectiveness in various applications, such as smart healthcare and intelligent manufacturing. However, a major challenge faced by HAR is the distribution shift across different sensor data domains, which often leads to decreased performance when deployed for real-world applications.

Show full abstract

To address this issue, this paper introduces GenHAR, a novel framework designed to mitigate the domain gap by learning domain-invariant sensor representations. GenHAR aims to enhance the generalization capabilities of HAR on target domains purely with data from the source domain. The key novelty of GenHAR lies in two aspects. Firstly, GenHAR tokenizes sensor data and learns correlations among frequency sensor channel dimensions to improve the robustness of HAR models. Secondly, GenHAR improves the efficiency via selective masking and an efficient attention mechanism. We conduct a systematic analysis of GenHAR by comparing it with state-of-the-art HAR methods on real-world human activity datasets. Results show that GenHAR outperforms state-of-the-art methods by 9.97% in accuracy, and reduces Floating Point Operations by 6.4 times. Moreover, we deploy GenHAR at a leading logistics company in 4 cities, and have detected 2.15 billion real-time activities. We release our code at: https://github.com/Sensor-FoundationModel/GenHAR.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hong2026genhar,
  title  = {GenHAR: Generalizing Cross-domain Human Activity Recognition for Last-mile Delivery},
  author = {Zhiqing Hong and Zelong Li and Xiubin Fan and Guang Yang and Baoshen Guo and Haotian Wang and Tian He and Desheng Zhang},
  year   = {2026},
  eprint = {2605.22086},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.22086v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.22086.svg)](https://codeofpaper.com/paper/2605.22086)

Discussion