TL;DR
This paper introduces a novel framework for detecting conflicts among IoT services in multi-resident smart homes. By developing a formal conflict ontology and a hybrid detection algorithm that combines knowledge-driven and data-driven approaches, the authors aim to improve the efficiency and comfort of smart home environments where multiple users with differing preferences coexist.
What Problem Does This Paper Address?
Smart homes promise enhanced convenience and efficiency by automating various tasks. However, in multi-resident smart homes, where different individuals have distinct habits and preferences (e.g., one person wants the AC at 20°C, another at 25°C), these services can easily conflict. Existing approaches often struggle to handle these complex interactions, either by being too rigid, not formally modeling conflicts, or relying solely on data-driven methods that lack reusability. This paper tackles the critical challenge of detecting these conflicts as a prerequisite to resolving them, ensuring a harmonious smart home experience for all residents.
Methods
The proposed framework is built upon three core components:
- IoT Service Model: Services are abstracted with their functional (e.g., telecasting programs) and non-functional (e.g., luminosity, power consumption) properties. Service events capture the state, time, location, and user of a service instance.
- Conflict Ontology: A hierarchical ontology is designed to formally define various types of conflicts. This includes distinguishing between conflicts on individual services (functional, non-functional) and conflicts among multiple services (service impact). The ontology provides a structured way to categorize and understand conflicts.
- Hybrid Conflict Detection Algorithm: This algorithm combines knowledge-driven and data-driven approaches.
- Knowledge-Driven: Leverages the conflict ontology to define rules for conflict detection.
- Data-Driven: Utilizes service usage history (sequences of service events) to understand resident preferences and identify overlapping service usage.
- Hybridization: The algorithm first identifies frequently used services and their temporal overlaps. Then, it matches these overlapping service events against the rules defined in the conflict ontology. For quantitative conflicts (like temperature), it employs a technique that considers a comfort range based on standard deviation and median of historical preferences, making it more robust than strict equality checks.
Datasets
The paper evaluates its approach using two types of datasets:
- Real-world Dataset: Data from the Center for Advanced Studies in Adaptive Systems (CASAS) [16] is used. This dataset contains sensor data (e.g., door sensors, light switches, temperature sensors) reflecting single-resident activity. For this study, sensors are treated as IoT services, and the data primarily allows for the detection of functional conflicts.
- Augmented Dataset: To test the framework's ability to detect non-functional conflicts (like temperature preferences), a dataset was augmented with QoS attributes such as TV volume, TV channels, AC temperature, and window opening/closing times. This augmented dataset contains two months of thermal preference records for two residents.
Key Insights and Ideas
- Formalizing Conflicts: The creation of a conflict ontology is a significant step towards systematically understanding and categorizing the diverse ways IoT services can clash in a multi-user environment.
- Hybrid Approach Superiority: Combining knowledge-driven (ontology) and data-driven (usage history) methods proves more effective than either approach alone. The ontology provides structure, while usage data provides context and personalization.
- Comfort Range for Quantitative Conflicts: Simply checking for exact matches in quantitative preferences (like temperature) is often too rigid. The paper's approach of using a comfort range (m ± σ) better reflects real-world human comfort and reduces false positives.
- Focus on Overlap: The core of conflict detection lies in identifying services that are used simultaneously or with temporal overlap by different residents in the same location.
Key Results
- Accuracy: The hybrid approach achieved an accuracy of 95% in detecting conflicts and non-conflicts on the augmented dataset, outperforming the ontology-only approach.
- Conflict Detection: The hybrid approach accurately identified 45 conflict instances and 290 non-conflict instances out of 352 overlapping events, aligning well with ground truth. The ontology-only approach, while detecting more conflicts, also misclassified a significant number of non-conflicts as conflicts.
- Comparison with Existing Work: When compared to UTEA and IRIS, the proposed work demonstrated competitive or superior performance across various conflict types, particularly in capturing quantitative non-functional conflicts.
- Efficiency: While the brute-force approach might offer higher accuracy in some scenarios, the heuristic approach is more efficient, especially when only a subset of services is frequently used.
Limitations and Future Work
- Dataset Limitations: The real-world CASAS dataset primarily allowed for the detection of functional conflicts due to the absence of QoS attributes. The augmented dataset was created to address this, but real-world multi-resident datasets with rich QoS information are scarce.
- Future Work: The authors plan to extend their work to focus on conflict resolution strategies and the development of a recommender system that can leverage conflict detection to suggest convenient and efficient IoT services for multi-resident smart homes.
Summary updated