Abstract
Occupancy detection is a cornerstone of smart building applications, yet it faces significant hurdles regarding privacy, power consumption, and data scarcity. This paper introduces Siamese Convolutional Few-shot Clustering (SCFC), a framework designed to detect room occupancy using extremely low-quality, privacy-preserving images from battery-free cameras. By combining Siamese neural networks with an iterative Expectation-Maximization (E-M) clustering approach, the system can be commissioned with minimal labeled data and adapt to environmental changes in an unsupervised, online fashion.
Introduction
Smart building applications, such as automated HVAC control and elderly monitoring, rely heavily on knowing if a room is occupied. However, three major hurdles prevent widespread adoption: privacy concerns with high-resolution cameras, the maintenance burden of battery-powered devices, and the high cost of labeling data for every specific room configuration.
To address these challenges, this research utilizes battery-free cameras powered by ambient light and RF energy. These cameras produce grainy, low-resolution images that inherently preserve privacy but render traditional person-detection algorithms ineffective. The proposed SCFC algorithm overcomes these limitations by enabling accurate detection from degraded imagery with "zero-knowledge" commissioning.
Methodology: Siamese Convolutional Few-shot Clustering (SCFC)
The SCFC framework operates in two primary phases to enable rapid deployment and continuous adaptation.
Siamese Network Initialization
The system utilizes a Siamese CNN—a pair of identical networks that learn to determine if two images are "similar" (e.g., both occupied) or "dissimilar." Unlike standard deep learning models that require thousands of labeled images, SCFC can be initialized with a "Test Set" of as few as 1–5 handpicked examples of the room being empty versus occupied.
Online Adaptation via E-M Clustering
To handle changing environmental conditions like shifting light or furniture layouts, the model employs an iterative process:
- The "E" Step: The model evaluates new, unlabeled images (the Support Set) against the initial calibration images, assigning "imaginary labels" based on similarity scores.
- The "M" Step: The model retrains itself using these newly labeled images to refine its understanding of the specific room's occupancy states.
Experimental Evaluation
The authors evaluated SCFC on several benchmarks, including the PIROPO indoor occupancy dataset and standard computer vision benchmarks like miniImageNet. Crucially, they also tested the system on a novel dataset collected from six real-world residential rooms using custom battery-free hardware.
Key Results
- Superior Accuracy: On the PIROPO dataset, SCFC achieved 82.5% accuracy, significantly outperforming the standard k-Nearest Neighbor (kNN) baseline of 78.5%.
- Benchmark Performance: In the 5-way 5-shot miniImageNet challenge, SCFC reached 65.5% accuracy, surpassing established meta-learning models like MAML and Matching Nets.
- Real-World Adaptation: When tested on custom battery-free camera images, the algorithm improved accuracy by approximately 10% over baseline methods, typically landing in the 75%–85% range despite the extreme image degradation.
Discussion and Insights
The research highlights several critical insights for low-power, privacy-centric sensing:
- Privacy by Degradation: The study found a "sweet spot" for privacy; using a 10x10 max-pooling window blurs images enough to make humans unrecognizable while maintaining high occupancy detection accuracy.
- Clustering as Adaptation: Using clustering for online adaptation allows the model to "drift" with environmental changes, such as lighting transitions, without requiring further human intervention.
Limitations and Future Work
Current limitations include a reliance on a relatively stable background; significant layout changes may require re-calibration. Additionally, while inference is lightweight, the computational demands of the "M" step retraining may require offloading to an edge gateway for ultra-low-power microcontrollers like the MSP430. Future work will explore multi-person counting and activity recognition using similar few-shot logic.
Summary updated