NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Ontology-based Context-aware System for Smart Homes: E-care@home

Marjan Alirezaie, Jennifer Renoux, Uwe Köckemann, Annica Kristoffersson, Lars Karlsson, Eva Blomqvist, Nicolas Tsiftes, Thiemo Voigt, Amy Loutfi2017

TL;DR

This paper introduces E-care@home, a novel ontology-based system for smart homes designed to provide context-aware services for elderly individuals. By integrating heterogeneous sensor data through a rich semantic model, the system enables accurate activity recognition and lays the groundwork for proactive health monitoring and automated home configuration.

What Problem Does This Paper Address?

The aging population presents a growing need for technologies that support independent living at home. While smart home environments with numerous sensors offer potential, a significant challenge lies in interpreting the vast amounts of raw sensor data to understand user activities and infer meaningful context. Existing approaches often struggle with the heterogeneity of devices, the ambiguity of sensor readings, and the need for real-time, robust reasoning. This paper addresses the gap by proposing a system that leverages ontologies to create a shared, unambiguous understanding of the smart home environment, enabling sophisticated context awareness and activity recognition crucial for ambient assisted living.

Methods

The core of the E-care@home system is its ontology-based knowledge representation. The authors developed a modular ontology, the "SmartHome ontology," which extends existing standards like the Semantic Sensor Network (SSN) ontology. This ontology models various aspects of a smart home, including physical entities, temporal and spatial relationships, sensor properties, events, and situations.

Key methodological contributions include:

  • Ontology Design: A modular approach to the SmartHome ontology was adopted to manage complexity and facilitate extensibility. Modules cover aspects like time intervals, geometry, properties, objects, situations, sensing processes, networks, places, and events.
  • Semantic Interoperability: The ontology provides a unified semantic layer, allowing data from diverse IoT devices to be interpreted consistently.
  • Context Reasoning: The system employs an Answer Set Programming (ASP) solver for non-monotonic reasoning. This approach is chosen for its ability to handle uncertainty and incomplete data, which is common with sensor readings.
  • Stream Reasoning: The system is designed to process data streams in real-time, enabling continuous context awareness and activity recognition.
  • Activity Recognition: Activities are recognized by defining them as complex events with specific preconditions, which are then translated into logic programs for the ASP solver.

Datasets

The paper describes an experimental setup in a living lab environment. While no specific pre-existing datasets were used for training, the system was tested with data collected from sensors within this controlled apartment. A health data simulator was also developed to generate realistic medical data (e.g., heart rate) to augment the sensor data for testing. The authors acknowledge that a limitation is the need for longer observation periods and more complex scenarios for comprehensive evaluation.

Key Insights and Ideas

  • Ontology as the Foundation: The paper strongly emphasizes that a well-structured ontology is fundamental for achieving true context awareness in smart homes, moving beyond simple event detection to semantic understanding.
  • Modularity for Scalability: The decision to use a modular ontology design is crucial for managing the complexity of smart home environments and allowing for easier updates and extensions.
  • Non-Monotonic Reasoning for Robustness: Employing ASP for reasoning is a key insight, as it allows the system to handle the inherent uncertainty and dynamism of sensor data and infer context even with incomplete information.
  • Bridging Low-Level Data to High-Level Activities: The system effectively demonstrates how raw sensor data (e.g., pressure, motion) can be semantically enriched and reasoned upon to infer complex human activities (e.g., "exercising," "cooking").
  • Context is Key for Interpretation: The example of "increased heart rate" highlights how context (e.g., physical exercise vs. stress event) is essential for correctly interpreting sensor data and avoiding false alarms.

Key Results

The system was tested in a living lab environment, demonstrating its ability to recognize 12 different activities with reasonable accuracy. The authors report that the context recognition process operates in near real-time, with a time difference between sensing and inference of less than 2 seconds for activities like "watching TV" and "exercising." This indicates the system's efficiency and its potential for real-time applications. The paper also shows how the system can differentiate between normal and critical health events based on context.

Limitations and Future Work

  • Controlled Environment: The current deployment is in a controlled living lab, and testing in real homes over extended periods is a necessary next step.
  • Scenario Simplification: Some activities and events (e.g., exercising, burning) were simplified for testing within the controlled environment and with limited sensors. Real-world scenarios will be more complex.
  • Rule-Based System: The current system relies on hard-coded rules defined in the ontology. While this allows for easy reconfiguration, system performance is directly tied to rule precision. Hybrid approaches combining data-driven and model-driven techniques are suggested for future work.
  • Single Occupant Focus: The system currently assumes a single occupant. Future work will address multi-occupant scenarios and the challenge of counting occupants.
  • Scalability and Evaluation: Further study is needed on the system's scalability and a more comprehensive evaluation with a larger number of sensors and longer observation periods.
  • Automatic Configuration: The paper outlines future work on using the ontology to enable automatic configuration planning for smart home devices, reducing manual setup effort.

Summary updated

BibTeX
@misc{alirezaie2017ontology,
  author = {Marjan Alirezaie and Jennifer Renoux and Uwe Köckemann and Annica Kristoffersson and Lars Karlsson and Eva Blomqvist and Nicolas Tsiftes and Thiemo Voigt and Amy Loutfi},
  title = {{An Ontology-based Context-aware System for Smart Homes: E-care@home}},
  year = {2017},
  doi = {10.3390/s17071586},
}
Figure