Context-aware application for smart home based on Bayesian network

Wooyong Chung, Euntai KimJournal of Korean Institute of Intelligent Systems 2007

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.

Bayesian Network structure mapping sensor data to human activities.

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.

The virtual smart home simulator showing real-time activity recognition.

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

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.
BibTeX
@article{chung2007context,
  author = {Wooyong Chung and Euntai Kim},
  title = {{Context-aware application for smart home based on Bayesian network}},
  journal = {Journal of Korean Institute of Intelligent Systems},
  year = {2007},
  doi = {10.5391/jkiis.2007.17.2.179},
}
Figure