Introduction
Traditional Human Activity Recognition (HAR) in smart homes typically relies on a "closed set" of rigid labels such as "Cooking," "Sleeping," or "Bathing." While these categories provide a high-level overview, they often fail to capture the unique behavioral nuances of individual residents. Furthermore, this approach is extremely data-hungry, requiring months of manually labeled sensor data. In many standard datasets, up to 77% of sensor data is discarded as "No Label" because it does not fit into these predefined categories. This "lost data" often contains critical information for tracking long-term health trends, such as early signs of cognitive decline.
To address these limitations, we present DISCOVER, a framework that shifts the focus from rigid labels to discovering "Patterns of Daily Living" (PDL) directly from raw sensor data. By combining self-supervised learning with a human-in-the-loop visualization tool, DISCOVER identifies meaningful sub-activities while requiring labels for only 0.01% of the dataset.
Methodology
The DISCOVER framework utilizes a multi-stage pipeline designed to transform raw sensor streams into interpretable activity clusters.
1. Representation Learning and Clustering
The process begins with Self-Supervised Pre-training. Sequences of sensor events are treated similarly to sentences in a language. A BERT-based Transformer model is trained using a Masked Language Modeling (MLM) objective, learning to predict missing sensor events based on context. This creates semantically rich embeddings of activity windows without human intervention.
Following pre-training, the model undergoes Representation-Aware Clustering using SCAN (Semantic Clustering by Adopting Nearest neighbors) loss. This step fine-tunes the encoder to ensure that similar activity windows are grouped into distinct, cohesive clusters.
2. Human-in-the-Loop Annotation
Rather than labeling the entire dataset, experts use a custom 2D visualization tool to inspect "replays" of sensor activations on a house floor plan. They only need to annotate the "centroids"—the most representative samples—of each cluster. Once a centroid is labeled (e.g., "Sitting in TV armchair"), that label is automatically propagated to all other data points within that cluster.
Evaluation and Results
The framework was evaluated on three longitudinal datasets from the CASAS testbed: Aruba (220 days), Milan (72 days), and Cairo (58 days). Unlike traditional studies that use pre-segmented snippets, DISCOVER was tested on continuous, unsegmented sensor streams, including the previously ignored "No Label" data.
Key Findings
- Efficiency: Labeling just 0.01% of the data allowed DISCOVER to match the accuracy of models trained on 100% human-labeled data, achieving weighted F1 scores between 0.82 and 0.90.
- Behavioral Insights: The system successfully identified "within-person habitual drift." For instance, in the Milan dataset, it detected a resident shifting their preference from a living room armchair to a TV room armchair—a nuance a broad "Relaxing" label would have missed.
- Reliability: The annotation process showed high inter-rater agreement (Cohen’s Kappa > 0.85), confirming that the discovered clusters are consistently interpretable by humans.
Conclusion
DISCOVER demonstrates that a data-grounded approach to HAR can unlock the vast majority of sensor data currently discarded by researchers. By identifying fine-grained sub-activities with minimal human effort, the framework provides a more complete "behavioral fingerprint" of residents, offering a powerful new tool for long-term health monitoring and early intervention in smart home environments.
Summary updated