{"id":{"repo_id":"heriot-watt","oai_identifier":"oai:ros.hw.ac.uk:10399/5246"},"canonical_url":"https://search.ndltd.org/etd/heriot-watt/oai:ros.hw.ac.uk:10399/5246","repository":{"repo_id":"heriot-watt","name":"Heriot-Watt University","base_url":"https://www.ros.hw.ac.uk/oai/request"},"display":{"title":"Probabilistic logic programming for reasoning about goals in assisted living scenarios","abstract":"When asked to explain why a person performed an action, we often reply with something along the lines of “because they wanted to X” or “so that they could Y,” where X and Y typically represent some kind of goal or need. That is, we recognise human behaviour as (at least partially) goal driven. Observing a sequence of actions allows us to infer a person’s goal. This process of predicting an agent’s goals given observations of their behaviour is known as goal recognition. A good example of where goal recognition can be vitally important is in smart homes, particularly smart assisted care facilities. Imagine your grandma wakes up at 5 am, goes to the kitchen, where she fills up the kettle and gets a mug. Seeing this, we can predict that she probably intends to make tea or coffee. Suppose we turn your grandma’s house into a smart home with simple sensors to detect actions like opening a cupboard. Perhaps her kettle and cooker are smart devices connected to the system too. If the system could predict her goals given those action observations, then we could trigger a reminder to take her medication when the system predicts she intends to have breakfast. The system could automatically switch off the hob and lock the front door when she intends to go to bed. These things could make your grandma safer while remaining independent in her own home. In this thesis we present a system that performs goal recognition in scenarios relevant to ambient-assisted living, we explore why such a model should be equipped with agent-specific background knowledge rather than more general background knowledge, and we present a novel model of human habits. Both the goal recognition model and the model of human habits are implemented in ProbLog, a probabilistic logic programming language. We demonstrate how the probabilistic logic programming language ProbLog can be used for goal recognition in a smart-home environment. We show that ProbLog can capture the dependencies between environmental factors, goals, and actions to build a model capable of inferring the goals of smart home residents. We empirically evaluate our model using a domain modelling a smart home. Our model achieved reasonable accuracy in this domain and remained robust even when actions were only partially observable. Including background knowledge in a goal recognition system can help personalise that system. We advocate for the use of agent-specific background knowledge in projects such as ours by presenting a novel argument that general background knowledge, such as cultural knowledge, is both ethically problematic and difficult to capture with a list of rules. We do this with an in depth case study of how culture is understood within robotics and autonomous systems research. We then examine human habits of daily living as background knowledge for reasoning about goals. People form predictable routines when repeatedly pursuing a goal in the same way, these habits inform us about how agents pursue their goals and what triggers them. We present a novel formalisation of human habits. Based on this formalisation we build an implementation in the probabilistic logic programming language ProbLog, and validate the model against a set of queries that capture motivating smart-home scenarios.","abstract_html":"When asked to explain why a person performed an action, we often reply with something along the lines of “because they wanted to X” or “so that they could Y,” where X and Y typically represent some kind of goal or need. That is, we recognise human behaviour as (at least partially) goal driven. Observing a sequence of actions allows us to infer a person’s goal. This process of predicting an agent’s goals given observations of their behaviour is known as goal recognition. A good example of where goal recognition can be vitally important is in smart homes, particularly smart assisted care facilities. Imagine your grandma wakes up at 5 am, goes to the kitchen, where she fills up the kettle and gets a mug. Seeing this, we can predict that she probably intends to make tea or coffee. Suppose we turn your grandma’s house into a smart home with simple sensors to detect actions like opening a cupboard. Perhaps her kettle and cooker are smart devices connected to the system too. If the system could predict her goals given those action observations, then we could trigger a reminder to take her medication when the system predicts she intends to have breakfast. The system could automatically switch off the hob and lock the front door when she intends to go to bed. These things could make your grandma safer while remaining independent in her own home. In this thesis we present a system that performs goal recognition in scenarios relevant to ambient-assisted living, we explore why such a model should be equipped with agent-specific background knowledge rather than more general background knowledge, and we present a novel model of human habits. Both the goal recognition model and the model of human habits are implemented in ProbLog, a probabilistic logic programming language. We demonstrate how the probabilistic logic programming language ProbLog can be used for goal recognition in a smart-home environment. We show that ProbLog can capture the dependencies between environmental factors, goals, and actions to build a model capable of inferring the goals of smart home residents. We empirically evaluate our model using a domain modelling a smart home. Our model achieved reasonable accuracy in this domain and remained robust even when actions were only partially observable. Including background knowledge in a goal recognition system can help personalise that system. We advocate for the use of agent-specific background knowledge in projects such as ours by presenting a novel argument that general background knowledge, such as cultural knowledge, is both ethically problematic and difficult to capture with a list of rules. We do this with an in depth case study of how culture is understood within robotics and autonomous systems research. We then examine human habits of daily living as background knowledge for reasoning about goals. People form predictable routines when repeatedly pursuing a goal in the same way, these habits inform us about how agents pursue their goals and what triggers them. We present a novel formalisation of human habits. Based on this formalisation we build an implementation in the probabilistic logic programming language ProbLog, and validate the model against a set of queries that capture motivating smart-home scenarios.","abstract_has_math":false,"creators":["Smith, Gary Brian"],"institution":"Heriot-Watt University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Petrick, Professor Ron","Belle, Doctor Vaishak"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-04","date_published":"2025-04","updated_at":"2026-11-26T14:05:09Z","subjects":[],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://www.ros.hw.ac.uk/handle/10399/5246","outbound_label":"Repository record","outbound_source":"dc:identifier.uri","record_url":"https://www.ros.hw.ac.uk/handle/10399/5246","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aheriot-watt%3Aoai%3Aros.hw.ac.uk%3A10399%2F5246","prefix":"oai_dc"},"source_record":{"url":"https://www.ros.hw.ac.uk/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aros.hw.ac.uk%3A10399%2F5246","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Petrick, Professor Ron","Belle, Doctor Vaishak"]},{"key":"dc:creator","label":"Author","values":["Smith, Gary Brian"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-01-16T16:21:31Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-04"]},{"key":"dc:publisher","label":"Institution","values":["Heriot-Watt University","Engineering and Physical Sciences","University of Edinburgh"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://www.ros.hw.ac.uk/handle/10399/5246"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["When asked to explain why a person performed an action, we often reply with something along the lines of “because they wanted to X” or “so that they could Y,” where X and Y typically represent some kind of goal or need. That is, we recognise human behaviour as (at least partially) goal driven. Observing a sequence of actions allows us to infer a person’s goal. This process of predicting an agent’s goals given observations of their behaviour is known as goal recognition. A good example of where goal recognition can be vitally important is in smart homes, particularly smart assisted care facilities. Imagine your grandma wakes up at 5 am, goes to the kitchen, where she fills up the kettle and gets a mug. Seeing this, we can predict that she probably intends to make tea or coffee. Suppose we turn your grandma’s house into a smart home with simple sensors to detect actions like opening a cupboard. Perhaps her kettle and cooker are smart devices connected to the system too. If the system could predict her goals given those action observations, then we could trigger a reminder to take her medication when the system predicts she intends to have breakfast. The system could automatically switch off the hob and lock the front door when she intends to go to bed. These things could make your grandma safer while remaining independent in her own home. In this thesis we present a system that performs goal recognition in scenarios relevant to ambient-assisted living, we explore why such a model should be equipped with agent-specific background knowledge rather than more general background knowledge, and we present a novel model of human habits. Both the goal recognition model and the model of human habits are implemented in ProbLog, a probabilistic logic programming language. We demonstrate how the probabilistic logic programming language ProbLog can be used for goal recognition in a smart-home environment. We show that ProbLog can capture the dependencies between environmental factors, goals, and actions to build a model capable of inferring the goals of smart home residents. We empirically evaluate our model using a domain modelling a smart home. Our model achieved reasonable accuracy in this domain and remained robust even when actions were only partially observable. Including background knowledge in a goal recognition system can help personalise that system. We advocate for the use of agent-specific background knowledge in projects such as ours by presenting a novel argument that general background knowledge, such as cultural knowledge, is both ethically problematic and difficult to capture with a list of rules. We do this with an in depth case study of how culture is understood within robotics and autonomous systems research. We then examine human habits of daily living as background knowledge for reasoning about goals. People form predictable routines when repeatedly pursuing a goal in the same way, these habits inform us about how agents pursue their goals and what triggers them. We present a novel formalisation of human habits. Based on this formalisation we build an implementation in the probabilistic logic programming language ProbLog, and validate the model against a set of queries that capture motivating smart-home scenarios."]},{"key":"dc:title","label":"Title","values":["Probabilistic logic programming for reasoning about goals in assisted living scenarios"]}]}],"canonical_facts":{"dc:contributor.advisor":["Petrick, Professor Ron","Belle, Doctor Vaishak"],"dc:creator":["Smith, Gary Brian"],"dc:date.accessioned":["2026-01-16T16:21:31Z"],"dc:date.issued":["2025-04"],"dc:description.abstract":["When asked to explain why a person performed an action, we often reply with something along the lines of “because they wanted to X” or “so that they could Y,” where X and Y typically represent some kind of goal or need. That is, we recognise human behaviour as (at least partially) goal driven. Observing a sequence of actions allows us to infer a person’s goal. This process of predicting an agent’s goals given observations of their behaviour is known as goal recognition. A good example of where goal recognition can be vitally important is in smart homes, particularly smart assisted care facilities. Imagine your grandma wakes up at 5 am, goes to the kitchen, where she fills up the kettle and gets a mug. Seeing this, we can predict that she probably intends to make tea or coffee. Suppose we turn your grandma’s house into a smart home with simple sensors to detect actions like opening a cupboard. Perhaps her kettle and cooker are smart devices connected to the system too. If the system could predict her goals given those action observations, then we could trigger a reminder to take her medication when the system predicts she intends to have breakfast. The system could automatically switch off the hob and lock the front door when she intends to go to bed. These things could make your grandma safer while remaining independent in her own home. In this thesis we present a system that performs goal recognition in scenarios relevant to ambient-assisted living, we explore why such a model should be equipped with agent-specific background knowledge rather than more general background knowledge, and we present a novel model of human habits. Both the goal recognition model and the model of human habits are implemented in ProbLog, a probabilistic logic programming language. We demonstrate how the probabilistic logic programming language ProbLog can be used for goal recognition in a smart-home environment. We show that ProbLog can capture the dependencies between environmental factors, goals, and actions to build a model capable of inferring the goals of smart home residents. We empirically evaluate our model using a domain modelling a smart home. Our model achieved reasonable accuracy in this domain and remained robust even when actions were only partially observable. Including background knowledge in a goal recognition system can help personalise that system. We advocate for the use of agent-specific background knowledge in projects such as ours by presenting a novel argument that general background knowledge, such as cultural knowledge, is both ethically problematic and difficult to capture with a list of rules. We do this with an in depth case study of how culture is understood within robotics and autonomous systems research. We then examine human habits of daily living as background knowledge for reasoning about goals. People form predictable routines when repeatedly pursuing a goal in the same way, these habits inform us about how agents pursue their goals and what triggers them. We present a novel formalisation of human habits. Based on this formalisation we build an implementation in the probabilistic logic programming language ProbLog, and validate the model against a set of queries that capture motivating smart-home scenarios."],"dc:identifier.uri":["https://www.ros.hw.ac.uk/handle/10399/5246"],"dc:language.iso":["en"],"dc:publisher":["Heriot-Watt University","Engineering and Physical Sciences","University of Edinburgh"],"dc:title":["Probabilistic logic programming for reasoning about goals in assisted living scenarios"],"dc:type":["Thesis"]},"updated_at":"2026-11-26T14:05:09Z"}