Abstract
A major challenge in activity recognition within sensor networks is the automatic segmentation of low-level signal sequences to optimize probabilistic recognition models. Traditionally, this process has relied on labor-intensive manual segmentation. This paper presents a novel method for building probabilistic activity models that simultaneously segments signal sequences into motion patterns. By modeling motion patterns as linear dynamic systems (LDS) and transitions as a Markov process conditioned on goals, our Expectation-Maximization (EM) algorithm learns both boundaries and models. Experimental results in a real-world wireless environment demonstrate that this approach significantly reduces human effort while maintaining high recognition accuracy.
Introduction
Traditional activity recognition systems, particularly those using WLAN-based tracking, often follow a hierarchical architecture: raw signals are transformed into locations or actions, which are then used to infer high-level goals. However, this creates a "calibration bottleneck." To train these systems, researchers must manually label thousands of signal samples to specific coordinates—a process that is time-consuming, error-prone, and must be repeated whenever the environment changes.
This research addresses a fundamental question: Can we recognize high-level goals directly from raw signal segments by allowing the system to learn the segmentation itself?
The Goal-Based Segmentation (GBS) Model
The proposed Goal-Based Segmentation (GBS) model treats segmentation and goal recognition as a joint optimization problem. The architecture is built on two primary components:
- Motion Patterns as LDS: Each atomic motion pattern (e.g., walking down a specific hallway) is modeled as a Linear Dynamic System (LDS). This captures the local signal trends over time.
- Global Transitions: The sequence of these motion patterns is modeled as a Markov process conditioned on the user's goal ($l_k$).
To avoid manual labeling, the system employs an Expectation-Maximization (EM) framework. In the E-Step, dynamic programming finds the most likely segment boundaries and labels for a given trace. In the M-Step, the system updates the LDS parameters and transition probabilities. This "circular" approach allows the system to discover the specific "alphabet" of motion patterns most relevant to the defined goals without requiring intermediate location labels.
Experimental Evaluation
The model was evaluated in a real-world office environment equipped with an IEEE 802.11b network and eight detectable access points. The dataset consisted of 180 user traces representing six distinct goals, such as "Seminar-in-Room1" or "Exit-through-Entrance1."
The GBS model was compared against a traditional Sensor-Model (SM) based system. While the SM-based model required days of manual calibration (collecting 100 samples at each of 99 distinct locations), the GBS model only required goal labels for the entire traces.
Key Results
The experimental results show that the GBS model achieves recognition accuracy comparable to the manually-calibrated SM-based model. Notably, the GBS model demonstrates superior performance when training data is limited. Because it has fewer parameters to estimate than a full hierarchical model, it is more robust to sparse data.
Furthermore, the research identified that the "minimum segment length" ($T_{min}$) is a critical hyperparameter. If $T_{min}$ is too large, the LDS cannot accurately model the segment; if it is too small, the search space becomes too noisy for the initial greedy algorithm used to seed the EM process.
Conclusion
By bypassing the need for explicit location or action labeling, the GBS model offers a flexible and efficient alternative to traditional activity recognition. It effectively shifts the burden from human annotators to the learning algorithm, allowing the system to focus on the signal signatures of paths toward goals rather than absolute coordinates. Future work may involve applying these discovered motion patterns to automated planning and anomaly detection.
Summary updated