Abstract
The goal in Rule Ensemble Learning (REL) is the simultaneous discovery of a small set of simple rules and their optimal weights that lead to good generalization. Rules are assumed to be conjunctions of basic propositions concerning the values taken by the input features. In this paper, we generalize the rule ensemble learning using hierarchical kernels (RELHKL) framework to multi-class structured output spaces. We build on the StructSVM model for sequence prediction problems and employ a $\rho$-norm hierarchical regularizer for observation features and a conventional 2-norm regularizer for state transition features. The exponentially large feature space is searched using an active set algorithm, and the exponentially large set of constraints are handled using a cutting plane algorithm. We demonstrate that our approach, StructRELHKL, outperforms other approaches on activity recognition datasets.
Introduction
In smart home environments, activity recognition relies on a multitude of sensors. Recognizing complex activities like "preparing breakfast" requires more than monitoring a single sensor; it necessitates understanding the conjunction of multiple sensor activations. StructRELHKL is a framework designed to efficiently learn these complex rules for structured sequences, such as daily human activities.
Problem Statement
Activity recognition in smart homes is challenged by data that is typically sparse, noisy, and highly skewed. Standard models like Hidden Markov Models (HMMs) or Conditional Random Fields (CRFs) often focus on individual sensor readings, failing to capture the nuanced rules that define human behavior (e.g., "If the bedroom door is open AND the hallway light is on, the user is likely heading to the kitchen").
The primary computational hurdle is the exponentially large number of possible sensor combinations. Searching this space exhaustively is infeasible, and previous greedy methods often failed to find optimal feature sets or converge reliably.
Methodology
StructRELHKL integrates two core components: StructSVM for predicting structured outputs and Hierarchical Kernel Learning (HKL) to organize features into a searchable lattice.
Algorithmic Approach
To manage the computational complexity, the framework employs:
- Active Set Algorithm: This algorithm starts with simple rules and iteratively adds complex conjunctions only when they violate a sufficiency condition, effectively pruning the search space.
- Cutting Plane Algorithm: This handles the massive constraint set inherent in structured prediction by identifying the most violated constraints iteratively.
The model utilizes a specialized $\rho$-norm regularizer to enforce sparsity, selecting a small set of interpretable, high-quality rules. Notably, the authors separate features into "emissions" (sensor-state relationships) using hierarchical rules and "transitions" (state-to-state relationships) using a standard 2-norm, reflecting the different complexities of these relationships.
Experimental Evaluation
The model was evaluated on two benchmarks: the Kasteren (UA) Dataset (14 sensors, 8 activities) and the MIT Place-Lab Dataset (up to 76 sensors, 9 activities across two subjects).
Key Results
StructRELHKL consistently outperformed baseline models across both datasets. On the UA dataset, it achieved a micro-average accuracy of 63.96%, significantly higher than standard StructSVM (58.02%) and HMM (25.40%).
The model also demonstrated superior performance on the more complex MIT Place-Lab dataset, maintaining high accuracy and lower standard deviation compared to CRFs and StructSVMs.
Beyond accuracy, the model proved efficient, with the active set algorithm converging in approximately 24 hours despite the theoretical exponential search space. Furthermore, the resulting rules are human-readable, offering transparency into the sensor combinations the model identifies as defining specific activities.
Conclusion
StructRELHKL provides a robust framework for rule-based learning in structured output spaces. While the current implementation is computationally intensive for very large networks and assumes static rules, it offers a significant advancement in accuracy and interpretability for activity recognition. Future work may explore scaling to larger sensor networks and extending the framework to non-sequential structures like trees or graphs.
Summary updated