Abstract
This paper deals with a context-aware application based on Bayesian network in the smart home. Bayesian network is a powerful graphical tool for learning casual dependencies between various context events and obtaining probability distributions. So we can recognize the resident's activities and home environment based on it. However as the sensors become various, learning the structure become difficult. We construct Bayesian network simple and efficient way with mutual information and evaluated the method in the virtual smart home.
Introduction
The evolution of smart homes has moved beyond simple remote controls toward "context-aware" environments capable of proactively supporting residents. A primary challenge in these systems is managing the inherent uncertainty of human behavior and noisy sensor data. Bayesian Networks (BNs) are well-suited for this task due to their probabilistic nature. However, as the number of sensors grows, the computational complexity of defining network structures increases exponentially. This research addresses this bottleneck by utilizing information theory to streamline the creation of activity recognition models.
Methodology
The proposed approach simplifies Bayesian Network construction through a two-step process. Initially, a Naive Bayesian Network (NBN) serves as the foundation, where various sensor inputs are linked to a central activity node. To optimize this structure, the researchers employed Mutual Information (MI)—a metric from information theory that quantifies the dependency between variables.
By calculating the MI between specific sensors (e.g., light, location, time) and target activities (e.g., showering, watching TV), the system identifies and retains only the most "informative" connections. This pruning process removes noise and reduces the computational overhead required for real-time inference.
Due to the lack of comprehensive real-world datasets at the time, the system was validated using a custom-built virtual smart home simulator developed in Adobe Flash. This environment featured 23 distinct sensor types and simulated 10 days of activity for a virtual resident across 21 different tasks, such as eating, sleeping, and cleaning.
Results and Discussion
The system's performance was evaluated using 10-fold cross-validation. The results indicated a peak activity recognition accuracy of 79.10% when the network was optimized with approximately 78 connections. The study highlighted a clear trade-off: while increasing connections initially improves accuracy, the gains eventually plateau, justifying the use of a "leaner" pruned model.
Recognition rates varied significantly by activity type. Tasks with distinct sensor signatures, such as "Showering" (water and light sensors) or "Sleeping," achieved high success rates. Conversely, "passive" activities like "Reading" or "Resting" were frequently confused because they lacked unique, identifiable sensor triggers within the simulated environment.
Conclusion
This research demonstrates that combining Bayesian Networks with mutual information filtering provides an efficient framework for context-aware smart home applications. While the use of simulated data is a limitation, the methodology offers a scalable way to handle increasing sensor complexity. Future work should focus on real-world deployment and the implementation of online learning algorithms that allow the system to adapt to changing resident habits over time.
Summary updated