RF-Net: a Unified Meta-learning Framework for RF-enabled One-shot Human Activity Recognition

Shuya Ding, Zhe Chen, Tianyue Zheng, Jun Luo

Introduction: The Challenge of RF-HAR

Radio-Frequency Human Activity Recognition (RF-HAR) leverages signals like Wi-Fi or Radar to detect human movement, offering a privacy-preserving alternative to cameras and a more convenient option than wearables. However, RF-HAR is plagued by a significant environment-dependency problem. Changes in physical surroundings, such as moving furniture or changing rooms, alter signal reflections (multipath effects), causing traditional AI models to fail unless they are retrained on massive amounts of new, labeled data for every specific environment.

A major bottleneck in this field is that raw RF data is unintelligible to humans, making manual "offline" labeling impossible. Labels must be recorded in real-time alongside the action, a process that is both slow and labor-intensive. As shown in the signal representations below, the data appears as complex patterns that are difficult for a human to interpret as specific activities.

Time and frequency domain representations of walking and wiping activities, illustrating the complexity of raw RF data and the dual-domain nature of the signals.

The RF-Net Framework

RF-Net addresses these challenges through a unified meta-learning framework designed for one-shot learning—the ability to adapt to a new environment with just a single labeled sample per activity.

Dual-Path Feature Extraction

Unlike conventional models that focus on either time or frequency, RF-Net employs a dual-path architecture to handle varying resolutions across different RF hardwares:

  • Spatial Module: A CNN-based component that extracts features from signal matrices.
  • Temporal Module: An attention-based LSTM that captures the evolution of these features over time, allowing the model to focus on specific moments of movement and ignore "dead air."

Metric-Based Meta-Learning

Instead of full retraining, RF-Net learns an embedding space where similar activities across different environments are mapped closely together. It utilizes a trainable linear mapping as a metric module, learning to weigh features that are invariant to environmental changes. A Residual Classification Module further stabilizes learning by combining similarity scores with direct network predictions. The authors mathematically demonstrated that the loss function for this framework is convex, ensuring efficient training and convergence.

Experimental Evaluation

The framework was tested across three distinct RF technologies to demonstrate its unified nature:

  • Wi-Fi (CSI): Evaluated in up to 120 indoor environments covering activities like wiping, walking, and sitting.
  • FMCW Radar: Tested in 10 environments for activities such as entering or putting on clothes.
  • Impulse Radio (IR): Tested in 50 environments for activities including falling and bending.

To ensure robustness, researchers varied environments by moving furniture, changing subject locations, and involving different human participants.

Key Results and Insights

RF-Net consistently outperformed state-of-the-art meta-learning baselines like MAML and Prototypical Networks. Key findings include:

  • One-Shot Accuracy: The model achieved high accuracy in one-shot scenarios, exceeding performance levels seen in some mature image recognition benchmarks.
  • Environment Robustness: Performance remained stable even as the number of environments increased, whereas traditional fine-tuning methods saw significant drops.
  • Ablation Study: The dual-path design contributed a 4.2% accuracy boost over single-path versions, validating the integration of time and frequency domains.

Limitations and Future Work

While effective, the ResNet18 backbone accounts for approximately 85% of the system's computational complexity, which may pose challenges for low-power edge devices. Future research will explore more complex, multi-user scenarios and the potential for cross-modality applications in acoustic or visible light-based sensing.

Summary updated

BibTeX
@inproceedings{ding2020rf,
  author = {Shuya Ding and Zhe Chen and Tianyue Zheng and Jun Luo},
  title = {{RF-Net: a Unified Meta-learning Framework for RF-enabled One-shot Human Activity Recognition}},
  booktitle = {SenSys},
  year = {2020},
  doi = {10.1145/3384419.3430735},
}
Figure