TL;DR
This paper introduces "Deep Auto-Set," a novel deep learning framework for human activity recognition (HAR) from wearable sensors. It tackles the challenge of recognizing multiple activities within a single time segment by framing HAR as a "set prediction" problem, outputting a set of activities rather than a single label. The approach combines unsupervised feature learning with a supervised set-learning objective, achieving significant improvements over existing methods.
What Problem Does This Paper Address?
Human Activity Recognition (HAR) using wearable sensors is crucial for applications ranging from health monitoring to smart environments. The traditional approach treats HAR as a multi-class classification problem, where a segment of sensor data is assigned a single activity label. However, human activities are diverse and often overlap or transition within a short time frame. This means a single segment might contain multiple activities, or no activity of interest at all. Forcing a single label onto such segments leads to information loss and inaccurate recognition. Existing deep learning methods for HAR often require large amounts of labeled data, which are scarce and expensive to collect for sensor data. This paper addresses these limitations by proposing a more natural formulation of HAR as a "set prediction" problem, where the system predicts a set of ongoing activities with an unknown number of elements.
Methods
The core of the proposed "Deep Auto-Set" network is a unified deep learning architecture that addresses HAR in two stages:
- Unsupervised Feature Learning: To overcome the scarcity of labeled data, the network first employs a convolutional auto-encoder. This component is trained on unlabeled sensor data to learn robust feature representations. The auto-encoder reconstructs the input sensor segments, forcing the encoder to capture underlying patterns and correlations across sensor channels. This unsupervised pre-training step helps in learning effective features without relying on explicit labels.
- Supervised Activity Set Learning: The pre-trained encoder is then fine-tuned using labeled data. This stage involves a novel "set objective" function. Instead of predicting a single class, the network is trained to output a set of activity labels. This is achieved by having two output components: one predicting the cardinality (number of activities) and another predicting the presence of each activity type. The loss function combines binary cross-entropy for activity presence and negative log-likelihood for cardinality. The inference process then uses these outputs to predict the most likely set of activities.
The architecture itself is based on a convolutional neural network (CNN) structure, with modifications to accommodate the set prediction task.
Datasets
The proposed method was evaluated on two widely used public HAR datasets:
- WISDM Actitracker dataset: Contains triaxial accelerometer readings from 36 users, reflecting activities like walking, jogging, sitting, and standing.
- Opportunity dataset: Features annotated recordings from multiple on-body sensors for four subjects performing daily living activities. This dataset is noted for including a "Null activity" class, making recognition more challenging.
The paper uses standard data preparation techniques, including per-channel normalization and time-series segmentation with sliding windows.
Key Insights and Ideas
- Framing HAR as Set Prediction: The most significant insight is reframing HAR from a single-label classification problem to a set prediction problem. This more accurately reflects the real-world nature of human activities, which often overlap or transition.
- Unsupervised Pre-training for Data Scarcity: Leveraging unlabeled sensor data through auto-encoders is a crucial strategy to improve performance when labeled data is limited, a common issue in HAR.
- Joint Learning of Cardinality and Set Elements: The novel set objective function allows the network to learn both what activities are happening and how many are happening simultaneously, a capability missing in traditional multi-class approaches.
- Improved Handling of Activity Transitions: By predicting sets, the system can naturally capture transitions between activities (e.g., "walking" to "standing") by outputting a set like
{walk, stand}.
Key Results
The Deep Auto-Set network demonstrated substantial improvements over baseline models on both the Actitracker and Opportunity datasets.
- Exact Match Ratio (MR): The proposed Deep Auto-Set achieved the highest MR across various cardinalities, indicating superior performance in correctly predicting the entire set of activities. For instance, on the Actitracker dataset, it reached an MR of 94.9% compared to the baseline Deep-BCE's 90.1%.
- F1-score (Fmean): The system also outperformed baselines in terms of F1-score, a metric that balances precision and recall. For the Opportunity dataset, Deep Auto-Set achieved an Fmean of 0.943, while the best baseline (Deep-BCE) reached 0.954 (though the paper highlights Deep Auto-Set's superiority in handling multi-activity segments).
- Component Effectiveness: Experiments showed that both the unsupervised feature learning component and the supervised set-learning objective individually contribute to performance gains, but their combination in Deep Auto-Set yields the most effective results.
Limitations and Future Work
- Limitations: The paper acknowledges that while the set prediction formulation is more natural, a direct comparison with existing multi-class methods is challenging due to the fundamental difference in how ground truth is handled. The current evaluation focuses on comparing against other multi-label approaches.
- Future Work: The authors suggest that their set-based methodology offers a promising avenue for tackling the more complex problem of concurrent human activity recognition, where the goal is to recognize not only sequential but also co-occurring activities from sensor data.
Summary updated