GenHAR: Generalizing Cross-domain Human Activity Recognition for Last-mile Delivery Conference: Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1; August 09–13, 2026; Jeju Island, Republic of Korea Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1 (KDD ’26), August 09–13, 2026, Jeju Island, Republic of Korea DOI: 10.1145/3770854.3783921 ISBN: 979-8-4007-2258-5/2026/08 CCS: Human-centered computing Ubiquitous and mobile computing CCS: Computing methodologies Artificial intelligence
Zhiqing Hong, Zelong Li, Xiubin Fan, Guang Yang, Baoshen Guo, Haotian Wang, Tian He, Desheng Zhang · 2026
Read GenHAR: Generalizing Cross-domain Human Activity Recognition for Last-mile Delivery Conference: Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1; August 09–13, 2026; Jeju Island, Republic of Korea Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1 (KDD ’26), August 09–13, 2026, Jeju Island, Republic of Korea DOI: 10.1145/3770854.3783921 ISBN: 979-8-4007-2258-5/2026/08 CCS: Human-centered computing Ubiquitous and mobile computing CCS: Computing methodologies Artificial intelligence by Zhiqing Hong, Zelong Li, Xiubin Fan, Guang Yang, Baoshen Guo, Haotian Wang, Tian He, Desheng Zhang (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-22086.txt.
Introduction
Zhiqing Hong and co-authors present GenHAR, a framework for generalizing cross-domain human activity recognition for last-mile delivery. It works well in many applications, yet distribution shift across sensor data domains degrades performance in real deployments. GenHAR mitigates the domain gap, beating state-of-the-art methods by 9.97 percent in accuracy and reducing floating point operations by 6.4 times on real-world datasets. The team also deployed GenHAR at a leading logistics company in 4 cities, detecting 2.15 billion real-time events, and they release their code.
Catalog record
| CREATOR | Zhiqing Hong, Zelong Li, Xiubin Fan, Guang Yang, Baoshen Guo, Haotian Wang, Tian He, Desheng Zhang |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 47509 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.22086
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
GenHAR: Generalizing Cross-domain Human Activity Recognition for Last-mile Delivery Conference: Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1; August 09–13, 2026; Jeju Island, Republic of Korea Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1 (KDD ’26), August 09–13, 2026, Jeju Island, Republic of Korea DOI: 10.1145/3770854.3783921 ISBN: 979-8-4007-2258-5/2026/08 CCS: Human-centered computing Ubiquitous and mobile computing CCS: Computing methodologies Artificial intelligence Zhiqing Hong, Zelong Li, Xiubin Fan, Guang Yang, Baoshen Guo, Haotian Wang, Tian He, Desheng Zhang 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. 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-Foundation-Model/GenHAR . † † cc-license: by 1. Introduction In recent years, Human Activity Recognition (HAR) using Inertial Measuring Unit (IMU) has attracted increasing attention from the data mining community, given its widespread applications such as healthcare monitoring ( 27 ) and manufacturing efficiency enhancement ( 53 ; 74 ) . However, one major challenge for HAR is the domain discrepancy between the training and testing data, This problem is also known as cross-domain HAR ( 40 ; 71 ) , leading to a marked decline in performance ( 40 ) . For example, activity data gathered from one individual may significantly differ from another’s due to differences in sensor positioning, and individual behavioral patterns, etc. Fig. 1 presents two typical settings of the HAR problem. In the non-cross-domain setting, both the training and testing data originate from the same domain ( D_{A} ). Conversely, in the cross-domain setting, the training and testing data come from different domains ( D_{A} and D_{B} , respectively). We observe that the performance of popular HAR models declines significantly (shown in Fig. 1 ) in the cross-domain setting, demonstrating the practical challenge of cross-domain HAR. Therefore, we aim to generalize HAR across domains for real-world applications, especially for last-mile delivery. Fig 1 . Illustration of performance degradation in on-device cross-domain HAR, where models are trained with source domain ( D_{A} ) and tested with the target domain ( D_{B} ). Existing work generally addresses cross-domain HAR by designing domain adaptation methods, which enhance the generalization capabilities of models trained on source domain data by utilizing data from the target domain ( 25 ; 4 ) . A recent advancement involves using unlabeled data from target domains ( 76 ) . However, obtaining data from the target domain is not always feasible, and the process of collecting such data along with its associated labels can be both time-consuming and costly. As a result, some studies have focused on leveraging only source domain data to improve model generalization capabilities, i.e., domain generalization ( 70 ) . There are different methods for domain generalization such as data augmentation ( 57 ) , knowledge distillation ( 13 ; 41 ) , and self-supervised learning ( 33 ; 32 ) . Nevertheless, most of these methods were designed for other modalities like images ( 32 ) , without fully exploiting the characteristics of IMU sensor data. Only a few studies have focused on improving the generalization capability of HAR totally with data from only source domains ( 52 ; 40 ) . Due to the complexity and dynamics of IMU data, most studies have not achieved optimal performance when multiple distribution shifts exist simultaneously ( 40 ) . Moreover, the increasing parameter size of HAR models ( 8 ) brings challenges to edge devices with low computational resource budgets. We argue that IMU data is different from general time series like finance ( 84 ) , weather ( 34 ) , and COVID ( 56 ) , in terms of the data generation process, multi-sensor and multi-channel correlation, and sensor property heterogeneity. Accurate cross-domain HAR mainly experiences the following challenges: • (i) Uncertainty of distribution shift. The distribution between the source and target domains varies significantly. Different habits generate IMU signals with diverse patterns. A variety of noises, including sensor noise, human movement noise, etc., impact the readings from IMU sensors. Moreover, multiple discrepancies could simultaneously exist between the source domain and the target domain, such as user groups and device placements ( 21 ) . • (ii) Unavailability of target domain data. In the real-world scenario, it is common that the data from target domains are unavailable during the model training phase. The model can only be trained with source domain data and is supposed to generalize well to unseen target domains. • (iii) Real-time requirement of mobile devices. In practice, HAR models are supposed to run on mobile and edge devices with limited computation costs. Especially when the goal is real-time and long-term HAR on low-resource devices. Therefore, reducing computation costs while maintaining high recognition accuracy is crucial. To address these challenges, we design GenHAR , a novel cross-domain HAR framework. (i) To address the first and the second challenges, we transform the IMU signals into the frequency space, rather than in the widely studied time space ( 8 ; 75 ) , and we design a novel framework for learning only with data from the source domain. Firstly, by converting the temporal time series into the frequency space, we obtain a compact representation of the original multi-channel signal. Then, by focusing on the frequency domain, GenHAR can learn patterns that are less sensitive to the domain shift. Furthermore, unlike existing studies, we argue that the correlation between different sensor channels is critical for distinguishing different categories, as well as easy to be impacted by domain shift. Therefore, GenHAR incorporates a novel sensor-wise self-attention module to capture the inherent correlations among sensor channels. (ii) To address the third challenge, we consider efficiency as a constraint and reduce the computation significantly through two design techniques, i.e., calculate self-attention along the sensor channels rather than along the original sequence, and design a selective masking strategy to reduce the calculation in self-attention. In summary, this paper makes the following contributions: • To our knowledge, this is the first work for cross-domain HAR by learning sensor attention in the signal frequency space. Compared to most existing studies, our work sheds light on cross-domain HAR without any training data from the target