ConSense: Continually Sensing Human Activity with WiFi via Growing and Picking

Rong Li, Tao Deng, Siwei Feng, Mingjie Sun, Juncheng Jia

Abstract

Human Activity Recognition (HAR) using WiFi signals offers a privacy-preserving alternative to camera-based systems. However, these systems struggle with catastrophic forgetting—the loss of previously learned knowledge when trained on new tasks. Existing incremental learning solutions often rely on storing sensitive historical data (exemplars), which poses privacy risks and storage challenges for edge devices. This paper introduces ConSense, a lightweight, exemplar-free framework that enables continual learning in WiFi-based HAR. By utilizing a "Growing and Picking" strategy—combining dynamic model expansion with selective neuron retraining—ConSense achieves state-of-the-art performance with significantly reduced parameter overhead and zero reliance on historical data storage.

1. Introduction

WiFi-based Human Activity Recognition (HAR) leverages Channel State Information (CSI) to detect movements without the intrusive nature of video surveillance. Despite its potential, real-world deployment is hindered by the dynamic nature of human environments. As new activities are introduced, models must adapt without overwriting their ability to recognize existing ones. This phenomenon, known as catastrophic forgetting, is typically addressed through incremental learning.

Traditional incremental learning methods often require "exemplars"—snippets of old data used to refresh the model's memory. In the context of WiFi sensing, storing raw CSI data on edge devices like routers is problematic due to limited storage and significant privacy concerns. ConSense addresses these hurdles by providing a framework that learns indefinitely without ever needing to save old user data.

2. The ConSense Framework

ConSense is built upon a Transformer-based architecture specifically optimized for the unique temporal characteristics of WiFi signals. The framework employs three core innovations to balance plasticity (the ability to learn new things) and stability (the ability to remember old things).

2.1 Gaussian Range Encoding

Unlike image data, WiFi CSI signals are highly sensitive to temporal shifts and environmental noise. Standard positional encodings used in Computer Vision often fail to capture the "fuzzy" temporal nature of human movement. ConSense replaces these with Gaussian Range Encoding, which uses Gaussian distributions to encode sequences, allowing the model to better represent the temporal variance inherent in CSI data.

2.2 Growing: Dynamic Expansion via Prefixes

To accommodate new tasks without interfering with established knowledge, ConSense utilizes a "Growing" strategy within its Multi-Head Self-Attention (MHSA) layers. Instead of retraining the core weights, the model adds small-scale trainable parameters called prefixes for each new task. These prefixes act as task-specific prompts that guide the attention mechanism. By keeping the core weights frozen and only training these tiny adapters, the model protects its foundational knowledge while expanding its capabilities.

2.3 Picking: Selective Retraining

In the Multi-Layer Perceptron (MLP) layers, ConSense employs a "Picking" strategy. The system monitors the "stability" of individual neurons by tracking their average activation across different tasks. Neurons that remain consistent are deemed stable and are frozen to preserve old knowledge. Only "unstable" neurons—those that do not contribute effectively to the current knowledge base—are selected for retraining. This selective plasticity ensures the model can integrate new information without a total overhaul of its internal structure.

3. Experimental Evaluation

3.1 Datasets and Setup

The authors evaluated ConSense against five major baselines (including LWF, PASS, and PRD) using three public WiFi-based HAR benchmarks:

  • WiAR: 16 activity classes.
  • MMFi: WiFi CSI data consisting of 27 classes.
  • XRF: A large-scale dataset featuring 48 distinct activities.

To simulate real-world conditions, the datasets were organized into both short and long task sequences, testing the model's endurance over extended learning periods.

3.2 Performance and Efficiency

ConSense consistently outperformed all baselines across every metric:

  • Accuracy: On the WiAR long task sequence, ConSense achieved an average accuracy of 89.85%, significantly outperforming the next best competitor, PRD, which reached only 60.23%.
  • Forgetting Rate: While traditional fine-tuning methods often see forgetting rates exceed 50%, ConSense maintained a forgetting rate below 20% in most scenarios.
  • Model Size: ConSense demonstrated remarkable efficiency. On the XRF dataset, it required only 1.50M parameters, compared to the 18.52M parameters used by the LWF baseline—a 12x reduction in size that facilitates deployment on resource-constrained edge devices.

4. Discussion and Key Insights

A critical finding of this research is that WiFi signals require a different approach than Computer Vision. While CV methods prioritize spatial patterns, WiFi HAR relies on subtle phase and amplitude shifts over time. ConSense's success stems from its ability to treat WiFi as a distinct time-series modality. Furthermore, the use of parallel adapters to generate prefixes was found to be more stable than random initialization, providing a more reliable path for incremental updates.

5. Conclusion and Future Work

ConSense represents a significant step forward for privacy-preserving, edge-compatible human activity recognition. By eliminating the need for exemplars and minimizing parameter growth, it provides a viable path for long-term deployment in smart homes. Future research will focus on improving robustness against environmental noise (such as moving furniture), optimizing the architecture for ultra-low-power IoT microcontrollers, and expanding the framework to handle multi-user scenarios where CSI signals become significantly more complex.

Summary updated

BibTeX
@inproceedings{li2025consense,
  author = {Rong Li and Tao Deng and Siwei Feng and Mingjie Sun and Juncheng Jia},
  title = {{ConSense: Continually Sensing Human Activity with WiFi via Growing and Picking}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i13.33565},
}
Figure