Does MMD Really Align? A Cross Domain Wireless Sensing Method via Local Distribution
In wireless sensing, Channel State Information (CSI) is commonly used for detecting human behavior, but its sensitivity to environmental changes can degrade performance when models trained in one environment are applied to another. To tackle this, Domain Alignment (DAL), particularly the Maximum Mean Discrepancy (MMD), is often employed to align the global distributions of source and target domains. However, DAL typically overlooks inter-category relationships, leading to misalignment even with global alignment. To address these limitations, we propose K-Nearest Neighbors Maximum Mean Discrepancy (KNN-MMD), a novel few-shot method for crossdomain wireless sensing. Our approach constructs a “help set” using K-Nearest Neighbors (KNN) from the target domain, enabling local alignment within each category via MMD. We also address the instability often seen in cross-domain methods, where performance fluctuates between epochs, and the challenge of determining an optimal stopping point during training due to the lack of labeled data. Our method resolves this by excluding the support set from the target domain during training and uses it as a validation set for early stopping. We evaluate the effectiveness of KNN-MMD on cross-domain Wi-Fi gesture recognition and people identification tasks, achieving accuracy rates of $\mathbf{9 3. 2 6 \%}$ and $\mathbf{8 1. 8 4 \%}$ in one-shot scenarios. To support future research, we will release our code and dataset to the public upon publication. The dataset and code are publicly available at https://github.com/RS2002/KNN-MMD.
Authors
- Guangxu Zhu (ORCID: https://orcid.org/0000-0001-9532-9201)
- Qimei Chen (ORCID: https://orcid.org/0000-0003-2497-8911)
- Zhijie Cai (ORCID: https://orcid.org/0009-0001-4172-940X)
- Xiaoyang Li (ORCID: https://orcid.org/0000-0003-4899-0835)
- Hang Li (ORCID: https://orcid.org/0000-0002-6221-6195)
- Zijian Zhao (ORCID: https://orcid.org/0000-0002-3326-9650)
- Ting-Wei Chen (ORCID: https://orcid.org/0009-0003-0590-4789)
Institutions
- Wuhan University (CN)
- Chinese University of Hong Kong, Shenzhen (CN)
Publication Details
- Published
- 2025-08-10
- DOI
- https://doi.org/10.1109/iccc65529.2025.11149311
- Primary Topic
- Indoor and Outdoor Localization Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00