Introduction
In Ambient Assisted Living (AAL) contexts, such as the E-Care@Home project, smart homes are equipped with a diverse array of sensors and actuators. To assist healthcare professionals, these systems must "plan" how to utilize these devices to answer high-level queries, such as determining if a patient is sitting on a couch. Traditionally, AI planners require a manually defined "domain"—a set of rules describing every possible action and sensor capability. However, this approach is brittle and redundant; if a patient moves to a new home with different hardware, the planning domain must be manually updated.
Bridging Knowledge and Planning
The authors address the gap between high-level knowledge representation (ontologies) and low-level execution (automated planning) to eliminate this redundancy. By "outsourcing" environmental knowledge to an ontology, the researchers demonstrate how to dynamically generate planning domains, allowing systems to adapt to new sensor setups without rewriting code.
Methods
The proposed system links the SmartEnv ontology with SpiderPlan, a constraint-based planner, using two primary methods:
- Direct SPARQL Integration: The planner’s domain language is extended to include a
:sparqlconstraint. When encountered, the planner executes a pre-defined SPARQL query against the ontology, substituting results (e.g., available sensors and costs) back into the planner’s variables. - Triple-based Dynamic Generation: This advanced approach allows the planner to refer to parts of the ontology using RDF-style triples (subject-predicate-object) directly within its domain definition. This enables the planner to dynamically assemble queries based on current context, including the use of negation to find simpler sensor configurations.
Key Results
The researchers evaluated the triple-based approach by measuring the reduction in manual modeling effort. By moving device-specific details to the ontology, the planning domain becomes a generic template that the system "inflates" on the fly.
As illustrated in the evaluation, the manual planning domain initially consisted of only 4 operators and 4 domain constraints. After fetching information from the ontology, the planner automatically generated 62 operators and 80 domain constraints. This demonstrates that a developer only needs to maintain a tiny fraction of the code; to move the system to a different house, they simply swap the ontology file, and the planner reconfigures itself.
Limitations and Future Work
While effective, the system currently relies on existing templates and cannot "invent" entirely new types of actions if a template does not exist. Additionally, as requirements grow more complex, the number of template operators needed can increase significantly. Future research will focus on dynamically generating the structure of operators itself, rather than just filling variables in a template, to handle even more complex and unforeseen hardware configurations.
Summary updated