Naoto Takeda, Roberto Legaspi, Yasutaka Nishimura, Kazushi Ikeda, A. Minamikawa, Thomas Plötz, Sonia Chernova
{"title":"Sensor event sequence prediction for proactive smart home: A GPT2-based autoregressive language model approach","authors":"Naoto Takeda, Roberto Legaspi, Yasutaka Nishimura, Kazushi Ikeda, A. Minamikawa, Thomas Plötz, Sonia Chernova","doi":"10.3233/ais-230429","DOIUrl":null,"url":null,"abstract":"We propose a framework for predicting sensor event sequences (SES) in smart homes, which can proactively support residents’ activities and alert them if activities are not completed as intended. We leverage ongoing activity recognition to enhance the prediction performance, employing a GPT2-based model typically used for sentence generation. We hypothesize that the relationship between ongoing activities and SES patterns is akin to the relationship between topics and word sequence patterns in natural language processing (NLP), enabling us to apply the GPT2-based model to SES prediction. We empirically evaluated our method using two real-world datasets in which residents performed their usual daily activities. Our experimental results demonstrates that the use of the GPT2-based model significantly improves the F1 value of SES prediction from 0.461 to 0.708 compared to the state-of-the-art method, and that leveraging knowledge on ongoing activity can further improve performance to 0.837. Achieving these SES predictions using the ongoing activity recognition model required simple feature engineering and modeling, yielding a performance rate of approximately 80%.","PeriodicalId":508128,"journal":{"name":"Journal of Ambient Intelligence and Smart Environments","volume":" February","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Ambient Intelligence and Smart Environments","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3233/ais-230429","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We propose a framework for predicting sensor event sequences (SES) in smart homes, which can proactively support residents’ activities and alert them if activities are not completed as intended. We leverage ongoing activity recognition to enhance the prediction performance, employing a GPT2-based model typically used for sentence generation. We hypothesize that the relationship between ongoing activities and SES patterns is akin to the relationship between topics and word sequence patterns in natural language processing (NLP), enabling us to apply the GPT2-based model to SES prediction. We empirically evaluated our method using two real-world datasets in which residents performed their usual daily activities. Our experimental results demonstrates that the use of the GPT2-based model significantly improves the F1 value of SES prediction from 0.461 to 0.708 compared to the state-of-the-art method, and that leveraging knowledge on ongoing activity can further improve performance to 0.837. Achieving these SES predictions using the ongoing activity recognition model required simple feature engineering and modeling, yielding a performance rate of approximately 80%.
我们提出了一个预测智能家居中传感器事件序列(SES)的框架,它可以主动支持居民的活动,并在活动未按预期完成时发出警报。我们采用通常用于句子生成的基于 GPT2 的模型,利用正在进行的活动识别来提高预测性能。我们假设,正在进行的活动与 SES 模式之间的关系类似于自然语言处理 (NLP) 中主题与词序模式之间的关系,这使我们能够将基于 GPT2 的模型应用于 SES 预测。我们使用两个真实世界的数据集对我们的方法进行了实证评估,这些数据集中的居民都在进行日常活动。我们的实验结果表明,与最先进的方法相比,使用基于 GPT2 的模型可显著提高 SES 预测的 F1 值,从 0.461 提高到 0.708,而利用正在进行的活动知识可将性能进一步提高到 0.837。利用正在进行的活动识别模型实现这些 SES 预测只需简单的特征工程和建模,性能比约为 80%。