Quantum-Assisted Memory-Efficient Training for Parameter-Intensive Wi-Fi-Based Human Activity Recognition
Organizations: Centre for Wireless Innovation, School of Electronics, Electrical Engineering and Computer Science, Queen’s University Belfast, Belfast BT7 1NN, UK · School of Computer Science and Informatics, University of Liverpool, Liverpool, L69 3DR, U.K. · Institute of Engineering Technology, University of Science and Technology Beijing, Beijing 100083, China · Faculty of Engineering and Applied Science, Memorial University, St. John’s, NL A1C 5S7, Canada
Abstract
Wi-Fi-based human activity recognition (HAR) has become an important part of integrated sensing and communications, paving the way for a range of context-aware services. However, most existing Wi-Fi-based HAR systems rely on deep learning (DL) models that are computationally and memory intensive in both training and inference, which poses significant challenges for real-world deployment. Conventional training requires simultaneous updates of millions of parameters, leading to prohibitive memory consumption. In this paper, we propose a novel quantum-assisted memory-efficient training framework (Q-MET) designed to improve efficiency in both training and inference. Q-MET utilizes a hybrid quantum classical neural network to indirectly generate parameters for HAR models, significantly reducing the trainable parameter count compared to direct optimization. To further support the deployment on resource-constrained devices, we integrate structured pruning during the training phase. Experimental results demonstrate that Q-MET achieves a 90% to 95% reduction in trainable parameters compared with conventional backpropagation-based DL training while maintaining or even exceeding classical classification accuracy. Additionally, Q-MET supports lightweight inference through structured pruning, achieving 75% to 85% model sparsity with less than 2% loss in classification accuracy. To the best of our knowledge, this work represents the first quantum-assisted approach to simultaneously tackle memory inefficiencies in both the training and inference stages of HAR systems.
Figures & tables
| Symbol | Definition |
| Parameterized unitary of the PQC | |
| Parameterized unitary at the -th layer | |
| Output state of the PQC | |
| Probability of measurement outcome | |
| Possible measurement outcome | |
| Channel frequency response (CFR) |
| Tasks | Studies | Key Idea | Advantages & Limitations |
| HAR Accuracy Improvement | [ 56 ] | Dual-task DL with domain-independent motion features | ✓Achieves high recognition accuracy in both in-domain and cross-domain settings while improving processing efficiency ✓ Supports adaptation to environmental changes without full retraining ✗ Requires complex DL architectures with high computational overhead, making deployment on resource-constrained devices challenging |
| [ 57 ] | ResNet-based spatiotemporal dual-attention learning with domain-independent gesture features | ||
| [ 58 ] | Graph-based few-shot learning with dual attention for CSI-based HAR | ||
| [ 59 , 60 ] | Online and incremental learning for robust sensing in dynamic environments | ||
| HAR Efficiency Improvement | [ 24 ] | Channel pruning for efficient Wi-Fi CSI-based sensing | ✓Reduces model complexity and parameter count while maintaining good recognition performance, enabling deployment on resource-constrained devices ✗ Primarily improves inference efficiency, with limited gains in training efficiency |
| [ 32 ] | Quantization for efficient on-device Wi-Fi sensing |
| Component | Layer Type | Parameters |
| Inner Function † | FC (1 → 16) + BN | 64 |
| FC (16 → 1) | 17 | |
| Outer Function | FC (3 → 32) + BN | 192 |
| FC (32 → 64) | 2112 | |
| FC (64 → 5) | 325 | |
| FC (5 → ) |
| Number of Qubits ( ) | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 |
| Datasets | UT-HAR | Widar3.0 |
| Hardware Platform | Intel 5300 NIC | Intel 5300 NIC |
| Number of Classes | 7 | 22 |
| Sample Dimensionality | (1,250,90) | (22,20,20) |
| Training samples | 3,977 | 34,926 |
| Testing samples | 996 | 8,726 |
| Model | Datasets | Parameters | Acc (%) | ||
| Highest | Lowest | Average | |||
| ResNet-18 | UT-HAR | 11,622,599 | 98.80 | 97.60 | 98.08 0.44 |
| Widar3.0 | 11,227,798 | 72.22 | 69.71 | 71.29 1.02 | |
| QT Variants | UT-HAR | Widar3.0 | ||||||
| Acc (%) | Acc (%) | |||||||
| Highest | Lowest | Average | Highest | Lowest | Average | |||
| QT-3 | 25.00 | 24.98 | 99.20 | 99.00 | 99.12 0.10 | 73.02 | 72.43 | 72.78 0.22 |
| QT-4 | 62.50 | 62.48 | 99.20 | 98.80 | 99.08 0.16 | 73.14 | 71.82 | 72.35 0.47 |
| QT-5 | 81.25 | 81.22 | 99.40 | 98.80 | 99.20 0.22 | 71.74 | 71.05 | 71.40 0.23 |
| QT-6 | 90.63 | 90.60 | 99.20 | 98.60 | 98.80 0.22 | 72.16 | 69.02 | 70.61 0.45 |
| Model | UT-HAR | Widar3.0 | ||
| Parameters | Acc (%) | Parameters | Acc (%) | |
| Lightweight ResNet-18 | 529,295 | 97.60 0.42 | 525,958 | 62.60 0.46 |
| Hypernetwork | 547,323 | 98.60 0.75 | 547,244 | 63.50 7.39 |
| QT-7 | 547,424 | 99.08 0.24 | 528,830 | 68.76 1.31 |
| Pruning Ratio | UT-HAR | Widar3.0 | ||||||
| Q-MET | TTP 0 | TTP 10 | TTP 50 | Q-MET | TTP 0 | TTP 10 | TTP 50 | |
| QT-7 (Unpruned) | 99.08 0.24 | 68.76 1.31 | ||||||
| 0.1 | 99.08 0.10 | 84.32 18.42 | 98.36 0.59 | 99.16 0.15 | 68.43 1.33 | 62.08 2.73 | 67.65 0.89 | 66.17 1.78 |
| 0.2 | 98.96 0.32 | 46.88 21.82 | 97.84 0.86 | 99.16 0.23 | 69.00 1.46 | 47.27 4.77 | 67.46 1.10 | 66.16 1.15 |
| 0.3 | 99.00 0.33 | 24.88 14.44 | 98.00 0.55 | 99.28 0.10 | 68.96 1.31 | 19.19 2.89 | 66.97 1.22 | 65.89 1.49 |
| 0.4 | 98.96 0.20 | 10.84 3.86 | 97.04 1.22 | 99.36 0.23 | 68.46 1.60 | 7.46 2.94 | 66.34 0.92 | 65.50 1.16 |
Memory-Efficient Training
Memory-efficient training reduces the memory needed to optimize neural networks by compressing, recomputing, or relocating training state.
See all 90 papers