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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Does MMD Really Align? A Cross Domain Wireless Sensing Method via Local Distribution

Guangxu Zhu, Qimei Chen, Zhijie Cai, Xiaoyang Li et al.
Indoor and Outdoor Localization Technologies
article

Does MMD Really Align? A Cross Domain Wireless Sensing Method via Local Distribution

Guangxu Zhu, Qimei Chen, Zhijie Cai, Xiaoyang Li, Hang Li, Zijian Zhao, Ting-Wei Chen
article en

Abstract

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.

Wuhan University (CN), Chinese University of Hong Kong, Shenzhen (CN)
Openalex Percentile: Top 77%
Indoor and Outdoor Localization Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.