Abstract
Research has shown promise in the design of large scale common sense probabilistic models to infer human state from environmental sensor data. These models have made use of mined and preexisting common sense data and traditional probabilistic machine learning techniques to improve recognition of the state of everyday human life. In this paper, we demonstrate effective techniques for structure learning on graphical models designed for this domain, improving the SRCS system of (Pentney et al. 2006) by learning additional dependencies between variables. Because the models used for common sense reasoning typically involve a large number of variables, issues of scale arise in searching for additional dependencies; we discuss how we use data mining techniques to address this problem. We show experimentally that these techniques improve the accuracy of state prediction, and that, with a good prior model, the use of a common sense model with structure learning provides better prediction of unlabeled variables as well as labeled variables. The results also demonstrate that it is possible to collect new common sense information about daily life using such a statistical model and labeled data.
Introduction
To build truly intelligent environments—such as assisted living facilities that monitor the safety of elderly residents—AI systems must be able to infer a person's state (e.g., "they are cooking" or "the floor is wet") from raw sensor data. A powerful approach to this problem involves the use of "common sense" databases, such as OMICS, which contain thousands of facts like "people who are hungry eat." These facts can be used to build large-scale probabilistic models that bridge the gap between low-level sensor traces and high-level human activities.
However, these databases are often incomplete or collected in a haphazard manner. For example, a database might identify a pen as an object but lack the specific rule that "using a pen implies the action of writing." Manually adding millions of potential missing links is infeasible, and traditional "structure learning"—the process of finding new dependencies in a model—is computationally explosive when dealing with the tens of thousands of variables required to describe daily life. This paper addresses these challenges by introducing a hybrid approach that combines data mining with probabilistic graphical models.
Methodology
The SRCS Framework
The authors build upon the State Recognition using Common Sense (SRCS) system. This system represents human state using Markov Random Fields (MRFs), an undirected graphical model where nodes represent Boolean facts (e.g., state(plate, dirty)) and edges represent logical dependencies, often expressed as Horn clauses.
Candidate Generation via Apriori
To overcome the computational complexity of searching for new dependencies among over 50,000 variables, the researchers employ the Apriori algorithm. Originally a data mining tool for finding frequent itemsets in transaction data, Apriori is used here as a high-speed filter to identify logical rules that are likely to be true based on sensor data. This drastically narrows the search space, providing a set of "candidate candidates" for the more complex statistical model to evaluate.
Weighted Probabilistic Apriori and Regularization
Because sensor data is often sparsely labeled, the system uses the existing model to predict unlabeled variables. To maintain data quality, these variables are only included in the learning process if the model exhibits high confidence, measured by low mean entropy.
During training, the researchers apply L1-norm regularization (similar to LASSO). This technique encourages the weights of irrelevant or redundant features to drop to zero. This effectively prunes the model, ensuring that only the most predictive dependencies are retained.
Experimental Evaluation
The approach was evaluated using household object traces consisting of 70–75 minutes of data from three users in a simulated home. The underlying SRCS database contained over 50,000 variables and 130,000 features derived from the OMICS database and web-mined data (KnowItAll). A query set of 24 specific Boolean variables, such as location(pantry) and action(eat), served as the ground truth for testing.
Results and Discussion
The inclusion of structure learning provided a clear performance boost over models that relied solely on parameter tuning. The system successfully discovered logical rules missing from the original human-written database, such as the relationship between using a pen and the act of writing a letter. Furthermore, the use of L1-regularization actually simplified the model, reducing the number of features from approximately 24,000 to 17,000 while simultaneously increasing predictive power.
As shown in the table above, accuracy improved from 94.87% to 95.67%, while the F-measure—a balanced metric of precision and recall—jumped from 53.47 to 60.75. These results indicate that the original common sense database contained significant "noise" that the structure learning process was able to filter out.
Detailed Query Analysis
The model showed significant improvements in specific, difficult queries. For example, the F-measure for the action(eat) query more than doubled once the model learned the relationship between using a spoon and the act of eating.
In the detailed query results, we observe that while parameter learning alone often achieved high precision, it frequently suffered from low recall. The structure learning approach, particularly when incorporating unlabeled data, significantly bolstered recall across several categories, leading to a higher aggregate F-measure of 53.59 compared to 51.04 for parameter learning alone.
Conclusion
This research demonstrates that data mining techniques can be effectively leveraged to perform structure learning on a scale previously considered impractical for common sense reasoning. By using the Apriori algorithm as a filter and L1-regularization for pruning, the system creates more accurate and efficient models of human behavior.
Future work will explore techniques to find dependencies in even more sparsely labeled data and refine methods for automatically selecting regularization parameters. While performance can vary if training queries are contextually unrelated to test queries, the ability to automatically "fill the gaps" in common sense knowledge bases represents a significant step forward for robust human activity recognition.
Summary updated